/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 218 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 = 7417
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1553.6+1257_daily_bin89
RA = 238.402, Dec = 12.9524
tmin = 262396801, tmax = 262656001
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='777410', job_status='RUN', time_executed='2021-09-12 17:09:53.674794', time_epoch_executed='1631491793.67' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='89'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/777410

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/777410/ft1_4FGL_J1553.6+1257_daily_bin89.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/777410/ft1_4FGL_J1553.6+1257_daily_bin89.fits outfile=/scratch/kocevski/777410/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin89.fits ra=238.402 dec=12.9524 rad=12.0 tmin=262396801.0 tmax=262656001.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 1.42
user 1.24
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.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/777410/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin89.fits evtable="EVENTS" outfile="/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits" evtable="EVENTS" scfile=/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits sctable="SC_DATA" outfile=/scratch/kocevski/777410/ltcube_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.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/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits
.....................!
real 15.19
user 14.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/777410/ltcube_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.fits outfile=/scratch/kocevski/777410/expmap_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.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/777410/ltcube_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.fits
.....................!
real 190.94
user 186.08
sys 4.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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1553.6+1257 @ 238.402 12.9524

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits scfile=/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits outfile=/scratch/kocevski/777410/cmap_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.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=238.402 yref=12.9524 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits scfile=/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits outfile=/scratch/kocevski/777410/cmap_HighResolution_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.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=238.402 yref=12.9524 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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/777410/Model_4FGL_J1553.6+1257_daily_bin89.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/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits.....................!
real 64.63
user 63.25
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits', '/scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits', expMap='/scratch/kocevski/777410/expmap_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.fits', expCube='/scratch/kocevski/777410/ltcube_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/777410/Model_4FGL_J1553.6+1257_daily_bin89.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.6+1257'

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.777e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/777410/ft1_filtered_4FGL_J1553.6+1257_daily_bin89.fits
Spacecraft file(s): /scratch/kocevski/777410/ft2_4FGL_J1553.6+1257_daily_bin89.fits
Exposure map: /scratch/kocevski/777410/expmap_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.fits
Exposure cube: /scratch/kocevski/777410/ltcube_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/777410/Model_4FGL_J1553.6+1257_daily_bin89.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) = 8137.83706031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.404       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .16763       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5104       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27305E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6314       1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.517       1.0000         .10000E-03   10000.    
    11 'norm      '    35.188       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6842       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5100       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8964       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7699       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8137.743     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     1977 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.399        30.667        .23732E-07   -.12086E-04
   2  Prefactor     .10000E-03    16.119       -.65473E-07** at limit **
   3  Prefactor     .10000E-03    48.534       -.20964E-07** at limit **
   4  Prefactor     .10000E-03    10.689        .29763E-08** at limit **
   5  Prefactor     .10000E-03    8.4449       -.49451E-07** at limit **
   6  norm          .14381        1.5003        .25247E-06   -.32265E-03
   7  Prefactor     8.5090        4.5173        .14003E-05   -.73897E-03
   8  Prefactor     .10000E-03    54.427       -.63338E-06** at limit **
   9  norm          1.6315        1.8185       -.88606E-07   -.31188E-04
  10  Prefactor     43.565        42.774        .41207E-05    .26032E-03
  11  norm          35.213        12.033       -.74044E-07   -.14655E-03
  12  norm          1.6840        1.2502       -.13116E-07   -.23109E-04
  13  Prefactor     .10000E-03    4.0464       -.13613E-07** at limit **
  14  norm          .10004E-03    10.015        .35114E-06** at limit **
  15  norm          .10000E-03    31.605        .21631E-06** at limit **
  16  Prefactor     .10000E-03    4.1793        .10624E-07** at limit **
  17  Prefactor     3.5015        62.055        .61734E-06   -.92693E-05
  18  Prefactor     8.8957        8.9630        .50895E-07   -.23824E-04
  19  Prefactor     .10000E-03    2.6176        .71812E-09** at limit **
  20  Normalizat    1.7697        .24381       -.62108E-06   -.50702E-04
  21  Prefactor     .80967        .11593       -.23881E-06   -.96714E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.143811
  Prefactor  = 8.50904
  Prefactor  = 0.0001
  norm       = 1.63146
  Prefactor  = 43.5645
  norm       = 35.2132
  norm       = 1.684
  Prefactor  = 0.0001
  norm       = 0.000100036
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.50154
  Prefactor  = 8.89573
  Prefactor  = 0.0001
  Normalizat = 1.76973
  Prefactor  = 0.809669
 **********
 **   18 **HESSE 
 **********

 FCN=   8137.743     FROM HESSE     STATUS=OK           327 CALLS     2304 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.399        30.687        .10205E-03   -1.4923    
   2  Prefactor     .10000E-03    16.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    48.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.4492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .14381        17.025        .20719E-02   -1.5632    
   7  Prefactor     8.5090        4.6571        .68706E-03   -1.5124    
   8  Prefactor     .10000E-03    55.727        .21429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6315        1.8212        .12510E-03   -1.5453    
  10  Prefactor     43.565        45.686        .30386E-03   -1.4387    
  11  norm          35.213        12.092        .67557E-04   -1.4520    
  12  norm          1.6840        1.2551        .84362E-04   -1.5448    
  13  Prefactor     .10000E-03    4.0673        .17722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10004E-03    13.986        .81568E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    31.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1898        .18010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5015        61.696        .21579E-03   -1.5334    
  18  Prefactor     8.8957        8.9378        .13438E-03   -1.5111    
  19  Prefactor     .10000E-03    2.6234        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.7697        .29349        .31941E-03   -.70456    
  21  Prefactor     .80967        .14019        .21232E-03   -.99373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06099e-10
Minuit parameter uncertainties:
  1  30.7184
  2  7.30443e-06
  3  3.5131e-05
  4  3.18997e-06
  5  8.08769e-06
  6  3.12928
  7  4.65735
  8  9.03705e-05
  9  1.8213
  10  45.7226
  11  12.0924
  12  1.25517
  13  8.43363e-07
  14  0.00142042
  15  3.81134e-05
  16  2.5927e-06
  17  29.4311
  18  8.93915
  19  6.75463e-07
  20  0.293779
  21  0.14025
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  3.521e+01  1.209e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.097e-01  1.403e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.770e+00  2.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.07
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.70e-07 +/- 5.85e-08
Energy Flux (Fixed Index): 5.98e-05 +/- 2.05e-05

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) = 8137.74168441
delta logL = 0.00115346209259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8137.74132862
delta logL = 0.00150925073285

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.892       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3147       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81050       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+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=   8137.741     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      259 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.893        13.225        .67842E-04   -.73901E-03
   2  alpha         2.3147        .32950        .94701E-02   -.15977E-03
   3  Normalizat    1.7674        .29361        .31957E-03    .43294E-04
   4  Prefactor     .81046        .13857        .21223E-03    .89031E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 34.8927
  alpha      = 2.31469
  Normalizat = 1.7674
  Prefactor  = 0.810456
 **********
 **   18 **HESSE 
 **********

 FCN=   8137.741     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.893        13.053        .13568E-04   -1.4526    
   2  alpha         2.3147        .32511        .37880E-03   -.74192E-01
   3  Normalizat    1.7674        .29386        .12783E-04   -.70518    
   4  Prefactor     .81046        .13869        .84891E-05   -.99344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30054e-10
Minuit parameter uncertainties:
  1  13.0541
  2  0.326039
  3  0.294158
  4  0.13875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/777410': 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) = 8137.74132855
delta logL = 0.0015093169859

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  3.489e+01  1.305e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.315e+00  3.260e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.105e-01  1.387e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.767e+00  2.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.11
Ra Dec: 238.402 12.952
Photon Index (Free Index): 2.31 +/- 0.33
Photon Flux (Free Index): 1.72e-07 +/- 6.49e-08
Energy Flux (Free Index): 5.92e-05 +/- 2.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/777410/cmap_HighResolution_262396801_262656001_4FGL_J1553.6+1257_daily_bin89.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.70e-07', energy_flux2='5.92e-05', photon_flux_error='5.85e-08', dlogl='1.51e-03', energy_flux='5.98e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2021-09-12 17:19:51.002589', photon_index_error2='0.33', photon_index2='2.31', ts='21.07', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.77', time_epoch_completed='1631492391.0', return_code='0', job_id='777410', GAL2='0.81', EG2='1.77', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='6.49e-08', ts2='21.11', photon_index='2.30' WHERE bin_id='89' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:19:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 777410: <4FGL_J1553.6+1257_daily_bin89> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin89> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 17:05:18 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:06:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:06:07 2021
Terminated at Sun Sep 12 17:19:51 2021
Results reported at Sun Sep 12 17:19:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin89 238.402 12.9524 262396801 262656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1553.6+1257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   596.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             252.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            873 sec.

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

