/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 44 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 = 7403
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1192
RA = 223.392, Dec = 35.0884
tmin = 548294401, tmax = 548553601
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='834656', job_status='RUN', time_executed='2021-09-10 12:06:40.883503', time_epoch_executed='1631300800.88' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1192'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834656

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834656/ft1_4FGL_J1453.5+3505_daily_bin1192.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834656/ft1_4FGL_J1453.5+3505_daily_bin1192.fits outfile=/scratch/kocevski/834656/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1192.fits ra=223.392 dec=35.0884 rad=12.0 tmin=548294401.0 tmax=548553601.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 4.19
user 3.68
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.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/834656/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1192.fits evtable="EVENTS" outfile="/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.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.76
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits" evtable="EVENTS" scfile=/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits sctable="SC_DATA" outfile=/scratch/kocevski/834656/ltcube_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.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/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits
.....................!
real 15.35
user 14.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits evtable="EVENTS" scfile=/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits sctable="SC_DATA" expcube=/scratch/kocevski/834656/ltcube_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.fits outfile=/scratch/kocevski/834656/expmap_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.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/834656/ltcube_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.fits
.....................!
real 192.87
user 187.11
sys 4.78

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1453.5+3505 @ 223.392 35.0884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits scfile=/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits outfile=/scratch/kocevski/834656/cmap_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.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=223.392 yref=35.0884 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits scfile=/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits outfile=/scratch/kocevski/834656/cmap_HighResolution_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.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=223.392 yref=35.0884 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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits evtable="EVENTS" scfile=/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834656/Model_4FGL_J1453.5+3505_daily_bin1192.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/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits....!
real 14.54
user 12.63
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits', '/scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits', expMap='/scratch/kocevski/834656/expmap_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.fits', expCube='/scratch/kocevski/834656/ltcube_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/834656/Model_4FGL_J1453.5+3505_daily_bin1192.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1453.5+3505'

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/834656/ft1_filtered_4FGL_J1453.5+3505_daily_bin1192.fits
Spacecraft file(s): /scratch/kocevski/834656/ft2_4FGL_J1453.5+3505_daily_bin1192.fits
Exposure map: /scratch/kocevski/834656/expmap_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.fits
Exposure cube: /scratch/kocevski/834656/ltcube_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/834656/Model_4FGL_J1453.5+3505_daily_bin1192.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 60.9737998602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 60.1025499573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1182       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0336       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0953       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9926       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9654       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8644       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4655       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2458       1.0000         .10000E-03   10000.    
     9 'norm      '    4.7089       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4813       1.0000         .10000E-03   10000.    
    11 'norm      '    140.32       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5524       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7763       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9696       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4132       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4448       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4750       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1843       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1833       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10963E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3927       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.3443       1.0000         .10000E-03   10000.    
    23 'norm      '    .14374E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .48898E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .77005       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.5481       1.0000         .10000E-03   10000.    
    27 'norm      '    5.2097       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.0130       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2854       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .47410E-05   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.10111     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      268 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1182        1.0076         .0000         .0000    
   2  Prefactor     1.0336        1.2636         .0000         .0000    
   3  norm          4.0953        1.0076         .0000         .0000    
   4  Prefactor     4.9926        1.0051         .0000         .0000    
   5  Prefactor     1.9654        1.0367         .0000         .0000    
   6  Prefactor     1.8644        1.0414         .0000         .0000    
   7  norm          3.4655        1.0108         .0000         .0000    
   8  Prefactor     6.2458        1.0032         .0000         .0000    
   9  norm          4.7089        1.0057         .0000         .0000    
  10  Prefactor     9.4813        1.0014         .0000         .0000    
  11  norm          140.30        .99993       -.41549E-07    .19812E-01
  12  Prefactor     5.5524        1.0041         .0000         .0000    
  13  norm          3.7763        1.0090         .0000         .0000    
  14  Prefactor     1.9696        1.0365         .0000         .0000    
  15  Prefactor     1.4132        1.0825         .0000         .0000    
  16  norm          2.4448        1.0226         .0000         .0000    
  17  norm          1.4750        1.0736         .0000         .0000    
  18  Prefactor     1.1843        1.1412         .0000         .0000    
  19  Prefactor     6.1833        1.0033         .0000         .0000    
  20  Prefactor     .10004E-03    .20571       -.27853E-05** at limit **
  21  Prefactor     3.3927        1.0113         .0000         .0000    
  22  Prefactor     3.3443        1.0116         .0000         .0000    
  23  norm          .10000E-03    .20571       -.40456E-05** at limit **
  24  Prefactor     .10381E-03    .28006       -.54297E-06** at limit **
  25  Prefactor     .10001E-03    .37993       -.25916E-04** at limit **
  26  Prefactor     2.5481        1.0207         .0000         .0000    
  27  norm          5.2097        1.0047         .0000         .0000    
  28  Prefactor     1.0130        1.3135         .0000         .0000    
  29  Normalizat    1.2854        1.0825        .46335E-04   -.49808E-05
  30  Prefactor     .20872E-12    .25595        .90671E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 4.11821
  Prefactor  = 1.03359
  norm       = 4.09532
  Prefactor  = 4.99259
  Prefactor  = 1.96541
  Prefactor  = 1.8644
  norm       = 3.46549
  Prefactor  = 6.24579
  norm       = 4.70885
  Prefactor  = 9.48128
  norm       = 140.302
  Prefactor  = 5.55242
  norm       = 3.77627
  Prefactor  = 1.96961
  Prefactor  = 1.41322
  norm       = 2.44482
  norm       = 1.47499
  Prefactor  = 1.18428
  Prefactor  = 6.18331
  Prefactor  = 0.000100038
  Prefactor  = 3.39269
  Prefactor  = 3.34434
  norm       = 0.0001
  Prefactor  = 0.00010381
  Prefactor  = 0.000100008
  Prefactor  = 2.5481
  norm       = 5.20967
  Prefactor  = 1.013
  Normalizat = 1.28537
  Prefactor  = 2.08722e-13
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.10111     FROM HESSE     STATUS=FAILED        11 CALLS      279 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          540.83        536.65         .0000       -1.5302    
   2  Prefactor     1.0336        1.2636         .0000       -1.5505    
   3  norm          4.0953        1.0076         .0000       -1.5303    
   4  Prefactor     4.9926        1.0051         .0000       -1.5261    
   5  Prefactor     1.9654        1.0367         .0000       -1.5428    
   6  Prefactor     1.8644        1.0414         .0000       -1.5435    
   7  norm          3.4655        1.0108         .0000       -1.5336    
   8  Prefactor     6.2458        1.0032         .0000       -1.5208    
   9  norm          4.7089        1.0057         .0000       -1.5274    
  10  Prefactor     9.4813        1.0014         .0000       -1.5092    
  11  norm          140.30        .99993       -.41549E-07   -1.3333    
  12  Prefactor     5.5524        1.0041         .0000       -1.5237    
  13  norm          3.7763        1.0090         .0000       -1.5319    
  14  Prefactor     1.9696        1.0365         .0000       -1.5427    
  15  Prefactor     1.4132        1.0825         .0000       -1.5470    
  16  norm          2.4448        1.0226         .0000       -1.5395    
  17  norm          1.4750        1.0736         .0000       -1.5465    
  18  Prefactor     1.1843        1.1412         .0000       -1.5490    
  19  Prefactor     6.1833        1.0033         .0000       -1.5211    
  20  Prefactor     .10004E-03    .20571       -.27853E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.3927        1.0113         .0000       -1.5340    
  22  Prefactor     3.3443        1.0116         .0000       -1.5342    
  23  norm          .10000E-03    .20571       -.40456E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10381E-03    .28006       -.54297E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    .37993       -.25916E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.5481        1.0207         .0000       -1.5389    
  27  norm          5.2097        1.0047         .0000       -1.5251    
  28  Prefactor     1.0130        1.3135         .0000       -1.5507    
  29  Normalizat    1.2854        1.0825        .46335E-04   -.84004    
  30  Prefactor     .20872E-12    .25595        .90671E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.08203e-10
Minuit parameter uncertainties:
  1  1.00757
  2  1.26363
  3  1.00765
  4  1.0051
  5  1.0367
  6  1.04144
  7  1.01081
  8  1.00324
  9  1.00575
  10  1.0014
  11  0.999932
  12  1.00411
  13  1.00904
  14  1.03653
  15  1.08256
  16  1.02261
  17  1.07364
  18  1.14123
  19  1.00331
  20  0.00017695
  21  1.01129
  22  1.01164
  23  8.45275e-06
  24  0.00206585
  25  0.000109394
  26  1.02068
  27  1.00468
  28  1.31358
  29  1.10252
  30  4.64183e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 60.1011060977

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  1.037e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  2.087e-13  4.642e-07  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.285e+00  1.103e+00  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 7.1054273576e-15

TS (Fixed Index): 0.00
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.71e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834656/likelihoodResults_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.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): 101
logL (Free Index) = 60.1013372559
delta logL = -0.000231158180235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 60.1013372559
delta logL = -0.000231158180235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.3631       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.10134     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.3631        1.0118        .24048         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.36312
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.10134     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .62482        1.8142        .24048       -.55551    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834656': 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): 101
logL (Free Index) = 60.1013372559
delta logL = -0.000231158180235

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
274        Index:  2.363e+00  1.022e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  6.038e-05  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.282e+00  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 223.392 35.088

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/834656/cmap_HighResolution_548294401_548553601_4FGL_J1453.5+3505_daily_bin1192.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.71e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-10 12:12:14.658482', job_id='834656', GAL2='0.00', fit_tolerance='1e-08', EG2='1.28', EG='1.29', time_epoch_completed='1631301134.66', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-2.31e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1192' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:12:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 834656: <4FGL_J1453.5+3505_daily_bin1192> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1192> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:03:10 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:03:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:03:12 2021
Terminated at Fri Sep 10 12:12:15 2021
Results reported at Fri Sep 10 12:12:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1192 223.392 35.0884 548294401 548553601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1453.5+3505 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   326.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             222.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   542 sec.
    Turnaround time :                            545 sec.

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

