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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin570
RA = 223.392, Dec = 35.0884
tmin = 387072001, tmax = 387331201
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='829784', job_status='RUN', time_executed='2021-09-10 11:47:53.257260', time_epoch_executed='1631299673.26' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='570'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829784/ft1_4FGL_J1453.5+3505_daily_bin570.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829784/ft2_4FGL_J1453.5+3505_daily_bin570.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829784/ft1_4FGL_J1453.5+3505_daily_bin570.fits outfile=/scratch/kocevski/829784/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin570.fits ra=223.392 dec=35.0884 rad=12.0 tmin=387072001.0 tmax=387331201.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.84
user 3.16
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829784/ft1_filtered_4FGL_J1453.5+3505_daily_bin570.fits" evtable="EVENTS" scfile=/scratch/kocevski/829784/ft2_4FGL_J1453.5+3505_daily_bin570.fits sctable="SC_DATA" outfile=/scratch/kocevski/829784/ltcube_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.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/829784/ft2_4FGL_J1453.5+3505_daily_bin570.fits
.....................!
real 12.89
user 11.86
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829784/ft1_filtered_4FGL_J1453.5+3505_daily_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/829784/ft2_4FGL_J1453.5+3505_daily_bin570.fits sctable="SC_DATA" expcube=/scratch/kocevski/829784/ltcube_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.fits outfile=/scratch/kocevski/829784/expmap_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.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/829784/ltcube_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.fits
.....................!
real 193.57
user 185.89
sys 5.11

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/829784/ft1_filtered_4FGL_J1453.5+3505_daily_bin570.fits scfile=/scratch/kocevski/829784/ft2_4FGL_J1453.5+3505_daily_bin570.fits outfile=/scratch/kocevski/829784/cmap_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.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.59
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829784/ft1_filtered_4FGL_J1453.5+3505_daily_bin570.fits scfile=/scratch/kocevski/829784/ft2_4FGL_J1453.5+3505_daily_bin570.fits outfile=/scratch/kocevski/829784/cmap_HighResolution_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1758       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15293E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    4.7924       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13159E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.359       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.107       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10554E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10858E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.2308       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.939       1.0000         .10000E-03   10000.    
    13 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.227       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.2385       1.0000         .10000E-03   10000.    
    17 'norm      '    .34330       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11974E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15623E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.384       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .81929       1.0000         .10000E-03   10000.    
    23 'norm      '    .83112       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.3728       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.8750       1.0000         .10000E-03   10000.    
    26 'Prefactor '    51.966       1.0000         .10000E-03   10000.    
    27 'norm      '    .63846E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .82931       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1291       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=   5299.179     FROM MIGRAD    STATUS=CONVERGED    812 CALLS     4053 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1850        23.311       -.51176E-06    .71223E-04
   2  Prefactor     .10526E-03    26.711       -.22271E-05** at limit **
   3  norm          4.7922        3.8490        .37144E-08    .33611E-04
   4  Prefactor     .10000E-03    42.390        .27893E-05** at limit **
   5  Prefactor     34.343        22.906        .40273E-06    .10363E-03
   6  Prefactor     .10000E-03    1.5309        .79886E-08** at limit **
   7  norm          13.101        13.321        .23860E-07   -.15536E-05
   8  Prefactor     .10000E-03    10.950        .32480E-07** at limit **
   9  norm          .10000E-03    3.6300        .29067E-07** at limit **
  10  Prefactor     .10000E-03    12.427        .24556E-08** at limit **
  11  norm          4.2333        4.7502        .86843E-07   -.69092E-04
  12  Prefactor     15.976        34.421       -.26315E-05   -.18183E-04
  13  norm          .10000E-03    3.1343        .71739E-08** at limit **
  14  Prefactor     14.229        14.038        .16820E-06    .95486E-06
  15  Prefactor     .10000E-03    2.8808        .11833E-07** at limit **
  16  norm          2.2388        1.7288        .94517E-08   -.17241E-03
  17  norm          .34326        3.0565        .24187E-06   -.33885E-03
  18  Prefactor     .10000E-03    6.5357       -.13407E-06** at limit **
  19  Prefactor     .10000E-03    65.610       -.62219E-06** at limit **
  20  Prefactor     .10000E-03    3.0090        .72414E-08** at limit **
  21  Prefactor     18.427        22.660       -.95909E-06   -.25236E-03
  22  Prefactor     .81001        20.911        .56919E-06   -.11474E-03
  23  norm          .83117        1.0638        .72584E-08    .11377E-03
  24  Prefactor     9.3753        13.166       -.29299E-06   -.63344E-04
  25  Prefactor     2.8758        210.36       -.36035E-06   -.89228E-06
  26  Prefactor     51.942        26.774       -.28083E-05   -.12090E-03
  27  norm          .10000E-03    16.897        .33306E-05** at limit **
  28  Prefactor     .10000E-03    38.627       -.21066E-05** at limit **
  29  Normalizat    .82916        .20293        .89891E-06   -.12469E-03
  30  Prefactor     1.1292        .18936       -.47661E-06   -.28705E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.18504
  Prefactor  = 0.000105259
  norm       = 4.79222
  Prefactor  = 0.0001
  Prefactor  = 34.3433
  Prefactor  = 0.0001
  norm       = 13.1014
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.2333
  Prefactor  = 15.976
  norm       = 0.0001
  Prefactor  = 14.2287
  Prefactor  = 0.0001
  norm       = 2.23879
  norm       = 0.343259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.4267
  Prefactor  = 0.810011
  norm       = 0.831172
  Prefactor  = 9.37526
  Prefactor  = 2.87584
  Prefactor  = 51.9417
  norm       = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 0.829163
  Prefactor  = 1.12921
 **********
 **   18 **HESSE 
 **********

 FCN=   5299.179     FROM HESSE     STATUS=OK           604 CALLS     4657 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1850        23.294        .14021E-03   -1.5136    
   2  Prefactor     .10526E-03    30.806        .97588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.7922        3.8441        .12278E-03   -1.5270    
   4  Prefactor     .10000E-03    41.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     34.343        22.870        .68365E-04   -1.4535    
   6  Prefactor     .10000E-03    2.6792        .17464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.101        13.316        .11064E-03   -1.4984    
   8  Prefactor     .10000E-03    10.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6789        .13540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2333        4.7440        .16140E-03   -1.5296    
  12  Prefactor     15.976        34.264        .10032E-03   -1.4908    
  13  norm          .10000E-03    3.1355        .12586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.229        14.061        .10619E-03   -1.4953    
  15  Prefactor     .10000E-03    2.8856        .12061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.2388        1.7211        .79443E-04   -1.5409    
  17  norm          .34326        10.948        .22302E-02   -1.5591    
  18  Prefactor     .10000E-03    6.5515        .18118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    65.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0175        .12331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.427        24.440        .93412E-04   -1.4849    
  22  Prefactor     .81001        102.47        .47850E-02   -1.5528    
  23  norm          .83117        1.0030        .71130E-04   -1.5526    
  24  Prefactor     9.3753        12.503        .13090E-03   -1.5095    
  25  Prefactor     2.8758        197.91        .23972E-03   -1.5369    
  26  Prefactor     51.942        27.575        .55636E-04   -1.4265    
  27  norm          .10000E-03    88.051        .51840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    38.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .82916        .23266        .25652E-03   -.98996    
  30  Prefactor     1.1292        .21854        .23047E-03   -.88538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09626e-09
Minuit parameter uncertainties:
  1  23.3202
  2  0.0254695
  3  3.84428
  4  9.50351e-05
  5  22.8763
  6  5.55623e-06
  7  13.3186
  8  8.57466e-06
  9  5.57517e-06
  10  3.45606e-06
  11  4.74443
  12  34.3061
  13  9.0581e-07
  14  14.064
  15  1.75809e-06
  16  1.72115
  17  3.87733
  18  2.9331e-06
  19  2.51589e-05
  20  3.20479e-07
  21  24.4535
  22  18.2517
  23  1.00305
  24  12.5066
  25  47.8788
  26  27.5817
  27  0.00128796
  28  5.06251e-05
  29  0.232943
  30  0.218713
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.423e+01  1.406e+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:  1.129e+00  2.187e-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:  8.292e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.90
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 3.25e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/829784/likelihoodResults_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.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) = 5298.88553836
delta logL = 0.293851032571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5298.87648073
delta logL = 0.302908664282

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6557       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1042       1.0000          .0000       10.000    
     3 'Normalizat'    .79376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1512       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=   5298.876     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      269 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6509        124.38        .38885E-02    .20666E-03
   2  Index         3.1051        3.6213        .11037        .13036E-03
   3  Normalizat    .79369        .73971E-01    .43529E-01    .12500E-04
   4  Prefactor     1.1514        .66711E-01    .51704E-01   -.54708E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.65086
  Index      = 3.10514
  Normalizat = 0.793693
  Prefactor  = 1.15138
 **********
 **   18 **HESSE 
 **********

 FCN=   5298.876     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6509        16.048        .13845E-03   -1.5192    
   2  Index         3.1051        1.3857        .55413E-02   -.38868    
   3  Normalizat    .79369        .21217        .26157E-03   -1.0030    
   4  Prefactor     1.1514        .21390        .22859E-03   -.87841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54824e-08
Minuit parameter uncertainties:
  1  16.0582
  2  1.40727
  3  0.212393
  4  0.214057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829784': 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) = 5298.87647909
delta logL = 0.302910295833

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  6.651e+00  1.606e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.105e+00  1.407e+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:  1.151e+00  2.141e-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:  7.937e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.56
Ra Dec: 223.392 35.088
Photon Index (Free Index): 3.11 +/- 1.41
Photon Flux (Free Index): 5.97e-08 +/- 5.45e-08
Energy Flux (Free Index): 1.14e-05 +/- 9.05e-06

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/829784/cmap_HighResolution_387072001_387331201_4FGL_J1453.5+3505_daily_bin570.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', comment='SUCCESS', photon_flux='3.25e-08', energy_flux2='1.14e-05', photon_flux_error='3.21e-08', dlogl='3.03e-01', energy_flux='1.12e-05', photon_flux2='5.97e-08', job_status='DONE', time_completed='2021-09-10 12:00:56.186847', photon_index_error2='1.41', photon_index2='3.11', ts='1.90', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='9.05e-06', EG='0.83', time_epoch_completed='1631300456.19', return_code='0', job_id='829784', GAL2='1.15', EG2='0.79', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='5.45e-08', ts2='2.56', photon_index='2.36' WHERE bin_id='570' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:00:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 829784: <4FGL_J1453.5+3505_daily_bin570> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin570> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 10 11:46:16 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:46:18 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:46:18 2021
Terminated at Fri Sep 10 12:00:59 2021
Results reported at Fri Sep 10 12:00:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin570 223.392 35.0884 387072001 387331201 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 :                                   776.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            883 sec.

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

