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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin485
RA = 223.392, Dec = 35.0884
tmin = 365040001, tmax = 365299201
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='828543', job_status='RUN', time_executed='2021-09-10 11:43:25.811288', time_epoch_executed='1631299405.81' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828543

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828543/ft1_4FGL_J1453.5+3505_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828543/ft1_4FGL_J1453.5+3505_daily_bin485.fits outfile=/scratch/kocevski/828543/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin485.fits ra=223.392 dec=35.0884 rad=12.0 tmin=365040001.0 tmax=365299201.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.72
user 3.40
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.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/828543/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin485.fits evtable="EVENTS" outfile="/scratch/kocevski/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.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.82
user 0.33
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/828543/ltcube_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.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/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits
.....................!
real 12.62
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/828543/ltcube_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.fits outfile=/scratch/kocevski/828543/expmap_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.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/828543/ltcube_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.fits
.....................!
real 190.43
user 185.24
sys 4.73

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/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.fits scfile=/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits outfile=/scratch/kocevski/828543/cmap_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.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.90
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.fits scfile=/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits outfile=/scratch/kocevski/828543/cmap_HighResolution_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.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.72
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.fits', '/scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits', expMap='/scratch/kocevski/828543/expmap_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.fits', expCube='/scratch/kocevski/828543/ltcube_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/828543/Model_4FGL_J1453.5+3505_daily_bin485.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/828543/ft1_filtered_4FGL_J1453.5+3505_daily_bin485.fits
Spacecraft file(s): /scratch/kocevski/828543/ft2_4FGL_J1453.5+3505_daily_bin485.fits
Exposure map: /scratch/kocevski/828543/expmap_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.fits
Exposure cube: /scratch/kocevski/828543/ltcube_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/828543/Model_4FGL_J1453.5+3505_daily_bin485.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) = 6488.60877008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.2026       1.0000         .10000E-03   10000.    
     3 'norm      '    34.494       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.909       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.2353       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.068       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8441       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.880       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6343       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.700       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.675       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.0659       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.522       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8139       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10920E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.4742       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.9533       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    38.821       1.0000         .10000E-03   10000.    
    27 'norm      '    .10361E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    11.767       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1477       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .71537       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6488.586     FROM MIGRAD    STATUS=CONVERGED    736 CALLS     3848 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.158        .15303E-06** at limit **
   2  Prefactor     8.2015        13.160        .82363E-07   -.25483E-04
   3  norm          34.495        6.6879        .72128E-09   -.25182E-04
   4  Prefactor     .10000E-03    9.1717        .74799E-06** at limit **
   5  Prefactor     .10000E-03    4.5662        .12680E-07** at limit **
   6  Prefactor     .10000E-03    .77429        .11266E-07** at limit **
   7  norm          13.909        10.709       -.11937E-07   -.14874E-04
   8  Prefactor     .10000E-03    12.657       -.84536E-06** at limit **
   9  norm          3.2351        4.8239       -.36800E-06   -.13096E-03
  10  Prefactor     16.070        22.105        .57830E-06    .77323E-04
  11  norm          1.8429        5.0706        .78957E-06   -.23395E-03
  12  Prefactor     29.882        25.282        .79543E-06    .11501E-03
  13  norm          4.6341        12.295        .65766E-05   -.67838E-03
  14  Prefactor     10.698        18.817       -.34028E-05   -.96209E-04
  15  Prefactor     10.676        6.7953        .53997E-07   -.11674E-04
  16  norm          .10000E-03    .63596        .39011E-07** at limit **
  17  norm          7.0647        4.5834        .63095E-06   -.91748E-03
  18  Prefactor     12.520        9.7651       -.41828E-06    .10523E-04
  19  Prefactor     .10000E-03    30.348        .52663E-06** at limit **
  20  Prefactor     .10000E-03    13.541        .46672E-06** at limit **
  21  Prefactor     3.8170        14.384        .10632E-05    .24761E-04
  22  Prefactor     .10000E-03    7.9306       -.47588E-06** at limit **
  23  norm          4.4744        1.6925        .27817E-07   -.54644E-04
  24  Prefactor     5.9535        7.2613        .45796E-07   -.19695E-04
  25  Prefactor     .10000E-03    10.425       -.45787E-07** at limit **
  26  Prefactor     38.818        22.811       -.39757E-06   -.16173E-03
  27  norm          .10000E-03    5.8433        .93982E-08** at limit **
  28  Prefactor     11.747        23.015       -.79694E-05   -.60111E-03
  29  Normalizat    1.1475        .17080        .21671E-06   -.50384E-04
  30  Prefactor     .71564        .16538       -.38560E-06   -.16724E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.20151
  norm       = 34.495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.909
  Prefactor  = 0.0001
  norm       = 3.23509
  Prefactor  = 16.0704
  norm       = 1.84293
  Prefactor  = 29.8824
  norm       = 4.63414
  Prefactor  = 10.6983
  Prefactor  = 10.6756
  norm       = 0.0001
  norm       = 7.0647
  Prefactor  = 12.5202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.81705
  Prefactor  = 0.0001
  norm       = 4.47436
  Prefactor  = 5.95346
  Prefactor  = 0.0001
  Prefactor  = 38.8181
  norm       = 0.0001
  Prefactor  = 11.7471
  Normalizat = 1.14751
  Prefactor  = 0.715639
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.586     FROM HESSE     STATUS=OK           586 CALLS     4434 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.2015        13.146        .13998E-03   -1.5135    
   3  norm          34.495        6.6951        .68231E-04   -1.4533    
   4  Prefactor     .10000E-03    9.3359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5762        .16808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .77659        .69211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.909        10.706        .10740E-03   -1.4962    
   8  Prefactor     .10000E-03    12.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.2351        4.8074        .20476E-03   -1.5348    
  10  Prefactor     16.070        22.120        .99916E-04   -1.4906    
  11  norm          1.8429        5.0856        .28650E-03   -1.5436    
  12  Prefactor     29.882        25.326        .73296E-04   -1.4614    
  13  norm          4.6341        13.325        .93479E-03   -1.5277    
  14  Prefactor     10.698        19.053        .12249E-03   -1.5054    
  15  Prefactor     10.676        6.7831        .12263E-03   -1.5054    
  16  norm          .10000E-03    .65360        .12504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.0647        4.6493        .60771E-03   -1.5176    
  18  Prefactor     12.520        9.7980        .11320E-03   -1.5000    
  19  Prefactor     .10000E-03    30.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.069        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.8170        14.350        .20668E-03   -1.5317    
  22  Prefactor     .10000E-03    7.9696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4744        1.6981        .56585E-04   -1.5285    
  24  Prefactor     5.9535        7.2811        .16457E-03   -1.5220    
  25  Prefactor     .10000E-03    10.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     38.818        22.851        .64329E-04   -1.4461    
  27  norm          .10000E-03    5.8479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     11.747        25.207        .11678E-03   -1.5022    
  29  Normalizat    1.1475        .20341        .23215E-03   -.88241    
  30  Prefactor     .71564        .19519        .28590E-03   -1.0292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01947e-09
Minuit parameter uncertainties:
  1  1.55638e-05
  2  13.1508
  3  6.69526
  4  8.03879e-05
  5  1.45069e-06
  6  5.49165e-08
  7  10.7074
  8  0.000127535
  9  4.808
  10  22.131
  11  5.08681
  12  25.3346
  13  13.3339
  14  19.0634
  15  6.78361
  16  1.67643e-06
  17  4.64952
  18  9.79924
  19  0.000123211
  20  3.40422e-05
  21  14.3633
  22  4.12617e-05
  23  1.69809
  24  7.28222
  25  7.16602e-06
  26  22.8563
  27  1.48097e-05
  28  25.2296
  29  0.203547
  30  0.195378
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.070e+01  1.906e+01  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:  7.156e-01  1.954e-01  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.148e+00  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/828543/likelihoodResults_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.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) = 6487.8581502
delta logL = 0.728223694126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6487.8336745
delta logL = 0.752699392865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4714       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6538       1.0000          .0000       10.000    
     3 'Normalizat'    1.0924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75054       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.

 FCN=   6487.834     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      304 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4681        38.871        .65024E-02    .73719E-03
   2  Index         3.6544        3.0106        .10283        .20076E-03
   3  Normalizat    1.0925        .53194E-01    .38316E-01   -.11607E-04
   4  Prefactor     .75050        .52062E-01    .63237E-01    .21041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46806
  Index      = 3.65438
  Normalizat = 1.0925
  Prefactor  = 0.750503
 **********
 **   18 **HESSE 
 **********

 FCN=   6487.834     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4681        72.346        .93520E-04   -1.5394    
   2  Index         3.6544        6.7781        .50555E-02   -.27248    
   3  Normalizat    1.0925        .18654        .23676E-03   -.89993    
   4  Prefactor     .75050        .18429        .27972E-03   -1.0158    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.78877e-10
Minuit parameter uncertainties:
  1  26.76
  2  5.29592
  3  0.186649
  4  0.184438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828543': 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): 102
logL (Free Index) = 6487.83367432
delta logL = 0.752699573507

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  2.468e+00  2.676e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.654e+00  5.296e+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:  7.505e-01  1.844e-01  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.093e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.10
Ra Dec: 223.392 35.088
Photon Index (Free Index): 3.65 +/- 5.30
Photon Flux (Free Index): 6.68e-08 +/- 5.24e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.49e-05

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/828543/cmap_HighResolution_365040001_365299201_4FGL_J1453.5+3505_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='7.53e-01', photon_flux2='6.68e-08', job_status='DONE', time_completed='2021-09-10 11:57:55.689144', photon_index_error2='5.30', photon_index2='3.65', ts='0.49', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.49e-05', EG='1.15', time_epoch_completed='1631300275.69', return_code='0', job_id='828543', GAL2='0.75', EG2='1.09', return_code2='102', photon_flux_error2='5.24e-08', ts2='2.10', photon_index='2.36' WHERE bin_id='485' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:57:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 828543: <4FGL_J1453.5+3505_daily_bin485> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin485 223.392 35.0884 365040001 365299201 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 :                                   863.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

