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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1040
RA = 223.392, Dec = 35.0884
tmin = 508896001, tmax = 509155201
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='834454', job_status='RUN', time_executed='2021-09-10 12:05:47.683559', time_epoch_executed='1631300747.68' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834454

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834454/ft1_4FGL_J1453.5+3505_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834454/ft2_4FGL_J1453.5+3505_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834454/ft1_4FGL_J1453.5+3505_daily_bin1040.fits outfile=/scratch/kocevski/834454/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1040.fits ra=223.392 dec=35.0884 rad=12.0 tmin=508896001.0 tmax=509155201.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.55
user 3.45
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834454/ft1_filtered_4FGL_J1453.5+3505_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/834454/ft2_4FGL_J1453.5+3505_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/834454/ltcube_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.fits outfile=/scratch/kocevski/834454/expmap_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.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/834454/ltcube_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.fits
.....................!
real 195.70
user 185.85
sys 5.35

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/834454/ft1_filtered_4FGL_J1453.5+3505_daily_bin1040.fits scfile=/scratch/kocevski/834454/ft2_4FGL_J1453.5+3505_daily_bin1040.fits outfile=/scratch/kocevski/834454/cmap_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.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.65
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834454/ft1_filtered_4FGL_J1453.5+3505_daily_bin1040.fits scfile=/scratch/kocevski/834454/ft2_4FGL_J1453.5+3505_daily_bin1040.fits outfile=/scratch/kocevski/834454/cmap_HighResolution_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.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.63
user 0.37
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.198       1.0000         .10000E-03   10000.    
     3 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9977       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4152       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.425       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5146       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.380       1.0000         .10000E-03   10000.    
    13 'norm      '    6.9492       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.366       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .73712       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2849       1.0000         .10000E-03   10000.    
    19 'Prefactor '    107.98       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5467       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.8257       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.7212       1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.763       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    8.6989       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0720       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .96964       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=   6164.996     FROM MIGRAD    STATUS=CONVERGED    727 CALLS     3855 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.3188        .34169E-07** at limit **
   2  Prefactor     10.197        10.286       -.16077E-06   -.25701E-04
   3  norm          .10001E-03    2.0029       -.12883E-05** at limit **
   4  Prefactor     .10001E-03    21.611       -.21166E-05** at limit **
   5  Prefactor     5.9812        15.380        .27342E-06   -.59290E-04
   6  Prefactor     5.4147        4.5675       -.66822E-07    .12555E-04
   7  norm          .10000E-03    7.8578       -.69693E-06** at limit **
   8  Prefactor     15.418        25.857        .79951E-06   -.34305E-04
   9  norm          .10000E-03    4.2309       -.12974E-06** at limit **
  10  Prefactor     .10000E-03    16.801       -.14578E-05** at limit **
  11  norm          2.5156        5.3595        .56566E-05   -.31630E-03
  12  Prefactor     14.375        47.237       -.12865E-06   -.10524E-04
  13  norm          6.9494        6.7828        .17306E-07    .18506E-04
  14  Prefactor     19.360        17.301        .69087E-06    .48171E-04
  15  Prefactor     .10000E-03    2.9124        .12625E-07** at limit **
  16  norm          .73823        1.6269       -.77359E-06   -.12475E-02
  17  norm          .10000E-03    1.6165       -.69421E-07** at limit **
  18  Prefactor     1.2869        7.6684        .15402E-05    .61148E-04
  19  Prefactor     107.94        80.133        .39081E-05   -.41604E-05
  20  Prefactor     7.5479        8.3844        .39875E-06   -.16843E-04
  21  Prefactor     .10000E-03    8.9657       -.14983E-06** at limit **
  22  Prefactor     .10000E-03    8.6909       -.30407E-06** at limit **
  23  norm          2.8257        1.4653        .16769E-07   -.23573E-04
  24  Prefactor     9.7211        9.6069        .15367E-06    .30675E-05
  25  Prefactor     12.765        28.016        .26159E-06    .37647E-05
  26  Prefactor     .10000E-03    7.3285        .27622E-06** at limit **
  27  norm          8.6995        10.379        .14507E-07   -.47349E-04
  28  Prefactor     .10000E-03    11.446        .61151E-06** at limit **
  29  Normalizat    1.0722        .19290        .36674E-05    .30381E-03
  30  Prefactor     .96943        .18386       -.52793E-05    .32387E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10.1969
  norm       = 0.000100012
  Prefactor  = 0.000100007
  Prefactor  = 5.98117
  Prefactor  = 5.4147
  norm       = 0.0001
  Prefactor  = 15.4179
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.51564
  Prefactor  = 14.375
  norm       = 6.94941
  Prefactor  = 19.3597
  Prefactor  = 0.0001
  norm       = 0.738231
  norm       = 0.0001
  Prefactor  = 1.28693
  Prefactor  = 107.942
  Prefactor  = 7.54788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.82571
  Prefactor  = 9.72112
  Prefactor  = 12.7651
  Prefactor  = 0.0001
  norm       = 8.69954
  Prefactor  = 0.0001
  Normalizat = 1.07217
  Prefactor  = 0.969431
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.996     FROM HESSE     STATUS=OK           592 CALLS     4447 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.3414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.197        10.285        .12547E-03   -1.5069    
   3  norm          .10001E-03    11.849        .20636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    22.006        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9812        15.282        .16396E-03   -1.5219    
   6  Prefactor     5.4147        4.5668        .14493E-03   -1.5243    
   7  norm          .10000E-03    7.8965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.418        25.929        .10198E-03   -1.4922    
   9  norm          .10000E-03    4.2881        .15767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5156        5.4630        .12751E-02   -1.5391    
  12  Prefactor     14.375        47.325        .10562E-03   -1.4949    
  13  norm          6.9494        6.7829        .15219E-03   -1.5181    
  14  Prefactor     19.360        17.309        .91013E-04   -1.4828    
  15  Prefactor     .10000E-03    2.9158        .13074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .73823        1.6178        .13813E-03   -1.5536    
  17  norm          .10000E-03    1.6342        .96883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2869        7.5933        .39118E-03   -1.5481    
  19  Prefactor     107.94        80.160        .19352E-03   -1.3626    
  20  Prefactor     7.5479        8.3905        .14599E-03   -1.5158    
  21  Prefactor     .10000E-03    8.9779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.7182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.8257        1.4623        .61332E-04   -1.5372    
  24  Prefactor     9.7211        9.5916        .12853E-03   -1.5084    
  25  Prefactor     12.765        28.010        .11212E-03   -1.4993    
  26  Prefactor     .10000E-03    7.3277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          8.6995        10.375        .13591E-03   -1.5118    
  28  Prefactor     .10000E-03    11.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0722        .22697        .24933E-03   -.90650    
  30  Prefactor     .96943        .21035        .25544E-03   -.93756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60691e-09
Minuit parameter uncertainties:
  1  3.91064e-06
  2  10.2869
  3  0.000757842
  4  0.000766605
  5  15.2924
  6  4.56707
  7  4.40514e-05
  8  25.9476
  9  1.52012e-05
  10  3.98862e-05
  11  5.46405
  12  47.4493
  13  6.7836
  14  17.313
  15  4.55626e-06
  16  1.61791
  17  7.73633e-06
  18  6.25302
  19  80.2405
  20  8.39179
  21  1.38899e-06
  22  6.84504e-06
  23  1.46228
  24  9.59315
  25  28.0393
  26  2.19609e-05
  27  10.377
  28  1.98171e-05
  29  0.227173
  30  0.210532
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.936e+01  1.731e+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:  9.694e-01  2.105e-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.072e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 4.42e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/834454/likelihoodResults_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.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) = 6164.31621403
delta logL = 0.679909514344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6164.28908586
delta logL = 0.707037677764

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6164.289     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      275 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8981        21.000        .12550E-03   -.15571E-02
   2  Index         3.2913        1.5776        .44118E-02   -.49646E-03
   3  Normalizat    1.0173        .21390        .25476E-03   -.69490E-03
   4  Prefactor     1.0045        .20611        .25142E-03   -.64183E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.8981
  Index      = 3.29135
  Normalizat = 1.01728
  Prefactor  = 1.00453
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.289     FROM HESSE     STATUS=OK            23 CALLS      298 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8981        11.927        .50199E-05   -1.5183    
   2  Index         3.2913        .90624        .17647E-03   -.34876    
   3  Normalizat    1.0173        .21226        .50952E-04   -.92454    
   4  Prefactor     1.0045        .20420        .50284E-04   -.92579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10351e-09
Minuit parameter uncertainties:
  1  11.9313
  2  0.911949
  3  0.212439
  4  0.204358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834454': 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) = 6164.28908562
delta logL = 0.707037921476

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  6.898e+00  1.193e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.291e+00  9.119e-01  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:  1.005e+00  2.044e-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.017e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.53
Ra Dec: 223.392 35.088
Photon Index (Free Index): 3.29 +/- 0.91
Photon Flux (Free Index): 8.95e-08 +/- 6.16e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.05e-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/834454/cmap_HighResolution_508896001_509155201_4FGL_J1453.5+3505_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.92e-03', comment='SUCCESS', photon_flux='4.42e-08', energy_flux2='1.59e-05', photon_flux_error='3.95e-08', dlogl='7.07e-01', energy_flux='1.52e-05', photon_flux2='8.95e-08', job_status='DONE', time_completed='2021-09-10 12:19:27.369316', photon_index_error2='0.91', photon_index2='3.29', ts='2.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.05e-05', EG='1.07', time_epoch_completed='1631301567.37', return_code='0', job_id='834454', GAL2='1.00', EG2='1.02', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='6.16e-08', ts2='3.53', photon_index='2.36' WHERE bin_id='1040' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:19:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 834454: <4FGL_J1453.5+3505_daily_bin1040> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1040> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:02:53 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:02:54 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:02:54 2021
Terminated at Fri Sep 10 12:19:28 2021
Results reported at Fri Sep 10 12:19:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1040 223.392 35.0884 508896001 509155201 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 :                                   809.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

