/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 24 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7431
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1521
RA = 212.969, Dec = 52.8278
tmin = 633571201, tmax = 633830401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='249790', job_status='RUN', time_executed='2021-09-09 04:37:58.112160', time_epoch_executed='1631187478.11' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249790

Creating custom pfile directory:
/scratch/kocevski/249790/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=633571201.0 && nMetStart<633830401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=633571201.0 && nMetStart<633830401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249790/ft1_4FGL_J1411.8+5249_daily_bin1521.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=633571201.0 && nMetStart<633830401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249790/ft1_4FGL_J1411.8+5249_daily_bin1521.fits outfile=/scratch/kocevski/249790/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1521.fits ra=212.969 dec=52.8278 rad=12.0 tmin=633571201.0 tmax=633830401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.65
user 3.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/249790/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1521.fits evtable="EVENTS" outfile="/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.72
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits" evtable="EVENTS" scfile=/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits sctable="SC_DATA" outfile=/scratch/kocevski/249790/ltcube_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits
.....................!
real 13.82
user 13.43
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits sctable="SC_DATA" expcube=/scratch/kocevski/249790/ltcube_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits outfile=/scratch/kocevski/249790/expmap_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/249790/ltcube_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits
.....................!
real 192.02
user 187.67
sys 3.88

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 212 point sources and 0 extended sources

Setting source of interest to:
4FGL J1411.8+5249 @ 212.969 52.8278

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits scfile=/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits outfile=/scratch/kocevski/249790/cmap_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=212.969 yref=52.8278 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.08
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits scfile=/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits outfile=/scratch/kocevski/249790/cmap_HighResolution_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=212.969 yref=52.8278 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.63
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/249790/Model_4FGL_J1411.8+5249_daily_bin1521.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits.....................!
real 49.79
user 47.02
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits', '/scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits', expMap='/scratch/kocevski/249790/expmap_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits', expCube='/scratch/kocevski/249790/ltcube_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/249790/Model_4FGL_J1411.8+5249_daily_bin1521.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1411.8+5249'

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  5.211e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/249790/ft1_filtered_4FGL_J1411.8+5249_daily_bin1521.fits
Spacecraft file(s): /scratch/kocevski/249790/ft2_4FGL_J1411.8+5249_daily_bin1521.fits
Exposure map: /scratch/kocevski/249790/expmap_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits
Exposure cube: /scratch/kocevski/249790/ltcube_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/249790/Model_4FGL_J1411.8+5249_daily_bin1521.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5800.98671665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5800.92974175

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2904       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4212       1.0000         .10000E-03   10000.    
     3 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9064       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.9989       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35262E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.0187       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.876       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.724       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16924E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7486       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.9682       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0988       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .77284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5800.930     FROM MIGRAD    STATUS=CONVERGED    820 CALLS     3506 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2903        1.2517       -.54689E-08    .12674E-04
   2  Prefactor     7.4190        8.8730        .18658E-06    .11495E-04
   3  norm          .10000E-03    1.9824        .39025E-07** at limit **
   4  Prefactor     .10000E-03    16.507        .80538E-06** at limit **
   5  Prefactor     8.8835        14.103        .34729E-06    .27066E-04
   6  Prefactor     .10000E-03    52.040        .12040E-05** at limit **
   7  norm          2.0004        4.1057        .20368E-06    .25492E-04
   8  Prefactor     .10000E-03    140.53       -.10085E-04** at limit **
   9  Prefactor     .10000E-03    15.873        .54754E-06** at limit **
  10  norm          4.0193        1.5849        .12636E-07   -.53901E-04
  11  norm          .10000E-03    21.114       -.87941E-06** at limit **
  12  norm          .10000E-03    1.4122       -.79512E-08** at limit **
  13  Prefactor     .10000E-03    228.38        .98519E-05** at limit **
  14  Prefactor     10.839        57.039        .46132E-06    .38006E-05
  15  Prefactor     .10000E-03    16.171        .60460E-06** at limit **
  16  Prefactor     .10000E-03    1.5898       -.35852E-08** at limit **
  17  Prefactor     16.729        16.188        .90708E-08   -.39854E-05
  18  Prefactor     .10000E-03    1.5502       -.48065E-06** at limit **
  19  Prefactor     .10000E-03    14.570       -.45584E-06** at limit **
  20  Prefactor     2.7476        20.625        .31879E-05    .19103E-04
  21  Prefactor     .10000E-03    14.555       -.65916E-06** at limit **
  22  Prefactor     .10000E-03    9.2263       -.37871E-06** at limit **
  23  Prefactor     .10000E-03    9.9199        .46554E-06** at limit **
  24  Prefactor     5.9708        12.473        .15366E-05    .15217E-04
  25  Prefactor     .10000E-03    8.2591        .13226E-06** at limit **
  26  norm          .10000E-03    .53371        .39087E-07** at limit **
  27  Prefactor     .10000E-03    2.7522        .31712E-07** at limit **
  28  Prefactor     .10000E-03    2.7699        .42825E-07** at limit **
  29  Prefactor     .10000E-03    2.3701        .39631E-07** at limit **
  30  Normalizat    1.0986        .15386       -.19109E-06    .21337E-04
  31  Prefactor     .77292        .17920       -.74785E-06   -.16958E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29034
  Prefactor  = 7.41903
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.88354
  Prefactor  = 0.0001
  norm       = 2.00041
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.01926
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.7476
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.97082
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09855
  Prefactor  = 0.772923
 **********
 **   18 **HESSE 
 **********

 FCN=   5800.930     FROM HESSE     STATUS=OK           614 CALLS     4120 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2903        1.2808        .81902E-04   -1.5481    
   2  Prefactor     7.4190        8.8692        .14722E-03   -1.5163    
   3  norm          .10000E-03    2.0615        .20940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8835        13.943        .13430E-03   -1.5112    
   6  Prefactor     .10000E-03    52.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.0004        4.0302        .19077E-03   -1.5425    
   8  Prefactor     .10000E-03    140.16        .19646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.0193        1.5852        .57777E-04   -1.5307    
  11  norm          .10000E-03    21.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.4197        .88331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    229.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.839        54.431        .12148E-03   -1.5049    
  15  Prefactor     .10000E-03    16.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5994        .93764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.729        16.244        .97939E-04   -1.4890    
  18  Prefactor     .10000E-03    4.7539        .16569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.7476        21.734        .12277E-02   -1.5376    
  21  Prefactor     .10000E-03    14.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.2372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.9271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.9708        12.350        .82183E-03   -1.5219    
  25  Prefactor     .10000E-03    8.3003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .54069        .54300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.7583        .12340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.7917        .12377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.3852        .11451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0986        .18322        .19612E-03   -.89798    
  31  Prefactor     .77292        .21284        .27405E-03   -1.0073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.40486e-11
Minuit parameter uncertainties:
  1  1.28083
  2  8.87081
  3  1.82565e-06
  4  9.61239e-06
  5  13.9486
  6  3.41721e-05
  7  4.03075
  8  0.000296439
  9  1.30268e-05
  10  1.58521
  11  6.38534e-06
  12  1.62604e-06
  13  0.000262938
  14  48.6485
  15  6.47404e-06
  16  7.35395e-07
  17  16.2478
  18  7.62912e-05
  19  1.17955e-05
  20  15.4627
  21  6.76361e-06
  22  1.09286e-06
  23  4.99444e-06
  24  12.3553
  25  2.13519e-06
  26  2.58717e-07
  27  1.81295e-06
  28  2.14378e-06
  29  2.13975e-06
  30  0.183327
  31  0.213061
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5800.92971623

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.084e+01  4.865e+01  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  7.729e-01  2.131e-01  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.099e+00  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 212.969 52.828
Photon Flux Upper Limit: 6.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/249790/likelihoodResults_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5800.74747926
delta logL = 0.182236976766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5800.73353848
delta logL = 0.196177748384

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5401       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8718       1.0000          .0000       10.000    
     3 'Normalizat'    1.0759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78493       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5800.734     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      268 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5239        50.941        .13717E-03    .48070E-05
   2  Index         2.8727        1.9001        .72113E-02    .24315E-04
   3  Normalizat    1.0759        .18238        .19792E-03    .27572E-05
   4  Prefactor     .78494        .21376        .27186E-03   -.72765E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.52392
  Index      = 2.87268
  Normalizat = 1.07594
  Prefactor  = 0.784936
 **********
 **   18 **HESSE 
 **********

 FCN=   5800.734     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5239        24.469        .54869E-05   -1.5124    
   2  Index         2.8727        1.1363        .28845E-03   -.43948    
   3  Normalizat    1.0759        .18183        .79166E-05   -.90528    
   4  Prefactor     .78494        .21272        .10874E-04   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26819e-13
Minuit parameter uncertainties:
  1  24.4981
  2  1.14857
  3  0.181938
  4  0.212944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249790': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5800.73353803
delta logL = 0.196178197971

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  8.524e+00  2.450e+01  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.873e+00  1.149e+00  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  7.849e-01  2.129e-01  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  1.076e+00  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 212.969 52.828

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/249790/cmap_HighResolution_633571201_633830401_4FGL_J1411.8+5249_daily_bin1521.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/249790

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-09-09 04:52:50.654779', job_id='249790', GAL2='0.78', fit_tolerance='1e-08', EG2='1.08', EG='1.10', time_epoch_completed='1631188370.65', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.96e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1521' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 04:52:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 249790: <4FGL_J1411.8+5249_daily_bin1521> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1521> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 04:36:41 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 04:36:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 04:36:44 2021
Terminated at Thu Sep  9 04:52:51 2021
Results reported at Thu Sep  9 04:52:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1521 212.969 52.8278 633571201 633830401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1411.8+5249 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   878.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            970 sec.

The output (if any) is above this job summary.

