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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1395
RA = 238.402, Dec = 12.9524
tmin = 600912001, tmax = 601171201
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='786049', job_status='RUN', time_executed='2021-09-12 17:38:53.279162', time_epoch_executed='1631493533.28' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1395'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786049

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786049/ft1_4FGL_J1553.6+1257_daily_bin1395.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786049/ft1_4FGL_J1553.6+1257_daily_bin1395.fits outfile=/scratch/kocevski/786049/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1395.fits ra=238.402 dec=12.9524 rad=12.0 tmin=600912001.0 tmax=601171201.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.61
user 3.37
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/786049/ft1_filtered_4FGL_J1553.6+1257_daily_bin1395.fits" evtable="EVENTS" scfile=/scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits sctable="SC_DATA" outfile=/scratch/kocevski/786049/ltcube_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.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/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits
.....................!
real 14.34
user 13.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786049/ft1_filtered_4FGL_J1553.6+1257_daily_bin1395.fits evtable="EVENTS" scfile=/scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits sctable="SC_DATA" expcube=/scratch/kocevski/786049/ltcube_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.fits outfile=/scratch/kocevski/786049/expmap_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.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/786049/ltcube_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.fits
.....................!
real 191.60
user 185.87
sys 5.13

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/786049/ft1_filtered_4FGL_J1553.6+1257_daily_bin1395.fits scfile=/scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits outfile=/scratch/kocevski/786049/cmap_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.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.57
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/786049/ft1_filtered_4FGL_J1553.6+1257_daily_bin1395.fits scfile=/scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits outfile=/scratch/kocevski/786049/cmap_HighResolution_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/786049/ft1_filtered_4FGL_J1553.6+1257_daily_bin1395.fits', '/scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits', expMap='/scratch/kocevski/786049/expmap_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.fits', expCube='/scratch/kocevski/786049/ltcube_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/786049/Model_4FGL_J1553.6+1257_daily_bin1395.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/786049/ft1_filtered_4FGL_J1553.6+1257_daily_bin1395.fits
Spacecraft file(s): /scratch/kocevski/786049/ft2_4FGL_J1553.6+1257_daily_bin1395.fits
Exposure map: /scratch/kocevski/786049/expmap_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.fits
Exposure cube: /scratch/kocevski/786049/ltcube_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/786049/Model_4FGL_J1553.6+1257_daily_bin1395.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) = 8481.38814598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4036       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4972       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.093       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8291       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11500E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.0088       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14573E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.649       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9112       1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.980       1.0000         .10000E-03   10000.    
    11 'norm      '    16.753       1.0000         .10000E-03   10000.    
    12 'norm      '    4.2115       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    45.714       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .51236E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1360       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80498       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=   8481.316     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2251 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4203        71.517        .39384E-04   -.11679E-04
   2  Prefactor     8.4736        43.839       -.47504E-04   -.48604E-05
   3  Prefactor     11.111        27.268        .12552E-04   -.18357E-04
   4  Prefactor     9.8000        26.350       -.24518E-04   -.30368E-04
   5  Prefactor     .10000E-03    92.683        .90778E-05** at limit **
   6  norm          6.0093        2.8151        .16376E-06   -.29198E-05
   7  Prefactor     .10000E-03    1.9552       -.23395E-07** at limit **
   8  Prefactor     14.656        16.645        .41846E-06    .31941E-04
   9  norm          1.9111        2.0463       -.26992E-07    .29391E-04
  10  Prefactor     37.983        36.628        .23428E-05    .81274E-06
  11  norm          16.756        9.1883       -.25819E-06   -.33900E-04
  12  norm          4.2114        1.6248        .65565E-09    .18089E-03
  13  Prefactor     .10000E-03    3.8794       -.14662E-06** at limit **
  14  norm          .10000E-03    16.086       -.38760E-06** at limit **
  15  norm          45.684        71.627       -.38346E-04    .16209E-05
  16  Prefactor     .10000E-03    3.6478        .19434E-07** at limit **
  17  Prefactor     .10000E-03    7.7459       -.18728E-06** at limit **
  18  Prefactor     .10000E-03    3.9495        .32624E-07** at limit **
  19  Prefactor     .10000E-03    3.9965        .33536E-06** at limit **
  20  Normalizat    1.1355        .20343       -.10421E-05    .58427E-04
  21  Prefactor     .80521        .94352E-01    .13961E-05   -.31372E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.42033
  Prefactor  = 8.47358
  Prefactor  = 11.111
  Prefactor  = 9.80004
  Prefactor  = 0.0001
  norm       = 6.00929
  Prefactor  = 0.0001
  Prefactor  = 14.6562
  norm       = 1.91113
  Prefactor  = 37.9828
  norm       = 16.7558
  norm       = 4.21142
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 45.6845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 1.13546
  Prefactor  = 0.805212
 **********
 **   18 **HESSE 
 **********

 FCN=   8481.316     FROM HESSE     STATUS=OK           319 CALLS     2570 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4203        71.509        .17287E-03   -1.5242    
   2  Prefactor     8.4736        43.978        .13752E-03   -1.5126    
   3  Prefactor     11.111        27.353        .12029E-03   -1.5041    
   4  Prefactor     9.8000        26.497        .12782E-03   -1.5082    
   5  Prefactor     .10000E-03    95.413        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.0093        2.8125        .10096E-03   -1.5218    
   7  Prefactor     .10000E-03    3.9756        .24802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.656        16.635        .10465E-03   -1.4942    
   9  norm          1.9111        2.0424        .13204E-03   -1.5431    
  10  Prefactor     37.983        36.630        .65035E-04   -1.4475    
  11  norm          16.756        9.1904        .97852E-04   -1.4889    
  12  norm          4.2114        1.6257        .70490E-04   -1.5298    
  13  Prefactor     .10000E-03    3.8942        .17713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    16.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          45.684        71.651        .59300E-04   -1.4355    
  16  Prefactor     .10000E-03    3.6585        .17176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.7523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.9812        .17868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.904        .35735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1355        .24928        .31370E-03   -.88621    
  21  Prefactor     .80521        .11536        .17644E-03   -.99537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33965e-10
Minuit parameter uncertainties:
  1  39.4328
  2  38.653
  3  27.3836
  4  26.5285
  5  0.000251859
  6  2.81258
  7  5.06366e-06
  8  16.6404
  9  2.04246
  10  36.6519
  11  9.19113
  12  1.62574
  13  2.97781e-06
  14  2.72777e-05
  15  71.786
  16  5.33556e-08
  17  3.91361e-06
  18  6.86935e-06
  19  0.000406502
  20  0.249544
  21  0.115393
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.676e+01  9.191e+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

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  8.052e-01  1.154e-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.135e+00  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.66
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 8.11e-08 +/- 4.45e-08
Energy Flux (Fixed Index): 2.85e-05 +/- 1.56e-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) = 8480.77463068
delta logL = 0.541355226147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8480.74775726
delta logL = 0.568228640057

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.223       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9375       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82368       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=   8480.748     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      273 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.222        10.706        .11959E-03    .54359E-03
   2  alpha         2.9381        .74595        .11995E-01    .75012E-04
   3  Normalizat    1.0822        .24185        .32002E-03   -.19468E-03
   4  Prefactor     .82370        .11558        .17463E-03   -.51327E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.2223
  alpha      = 2.93812
  Normalizat = 1.08225
  Prefactor  = 0.8237
 **********
 **   18 **HESSE 
 **********

 FCN=   8480.748     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.222        9.4537        .47834E-05   -1.5038    
   2  alpha         2.9381        .66042        .47980E-03    .17616    
   3  Normalizat    1.0822        .24149        .12801E-04   -.90324    
   4  Prefactor     .82370        .11537        .34926E-04   -.98861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30733e-10
Minuit parameter uncertainties:
  1  9.45495
  2  0.668616
  3  0.241739
  4  0.115404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786049': 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) = 8480.7477562
delta logL = 0.56822969856

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.122e+01  9.455e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.938e+00  6.686e-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.237e-01  1.154e-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.082e+00  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 238.402 12.952
Photon Index (Free Index): 2.94 +/- 0.67
Photon Flux (Free Index): 1.17e-07 +/- 6.08e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.28e-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/786049/cmap_HighResolution_600912001_601171201_4FGL_J1553.6+1257_daily_bin1395.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.11e-08', energy_flux2='2.53e-05', photon_flux_error='4.45e-08', dlogl='5.68e-01', energy_flux='2.85e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-09-12 17:51:00.737047', photon_index_error2='0.67', photon_index2='2.94', ts='5.66', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.14', time_epoch_completed='1631494260.74', return_code='0', job_id='786049', GAL2='0.82', EG2='1.08', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='6.08e-08', ts2='6.93', photon_index='2.30' WHERE bin_id='1395' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:51:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 786049: <4FGL_J1553.6+1257_daily_bin1395> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1395> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 17:35:34 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:36:46 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:36:46 2021
Terminated at Sun Sep 12 17:51:01 2021
Results reported at Sun Sep 12 17:51:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1395 238.402 12.9524 600912001 601171201 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 :                                   623.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            927 sec.

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

