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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin569
RA = 18.2893, Dec = -35.894
tmin = 386812801, tmax = 387072001
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='431589', job_status='RUN', time_executed='2021-08-13 16:59:09.270090', time_epoch_executed='1628899149.27' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='569'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431589

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431589/ft1_4FGL_J0113.1-3553_daily_bin569.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431589/ft1_4FGL_J0113.1-3553_daily_bin569.fits outfile=/scratch/kocevski/431589/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin569.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=386812801.0 tmax=387072001.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 9.70
user 3.22
sys 6.35

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.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/431589/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin569.fits evtable="EVENTS" outfile="/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.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 6.88
user 0.33
sys 6.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits" evtable="EVENTS" scfile=/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits sctable="SC_DATA" outfile=/scratch/kocevski/431589/ltcube_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.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/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits
.....................!
real 20.30
user 12.83
sys 7.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits evtable="EVENTS" scfile=/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits sctable="SC_DATA" expcube=/scratch/kocevski/431589/ltcube_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.fits outfile=/scratch/kocevski/431589/expmap_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.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/431589/ltcube_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.fits
.....................!
real 200.41
user 186.03
sys 13.12

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J0113.1-3553 @ 18.2893 -35.894

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits scfile=/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits outfile=/scratch/kocevski/431589/cmap_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.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=18.2893 yref=-35.894 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 6.84
user 0.39
sys 6.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits scfile=/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits outfile=/scratch/kocevski/431589/cmap_HighResolution_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.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=18.2893 yref=-35.894 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 6.80
user 0.39
sys 6.30

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits evtable="EVENTS" scfile=/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431589/Model_4FGL_J0113.1-3553_daily_bin569.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/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits.....................!
real 52.12
user 42.42
sys 9.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits', '/scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits', expMap='/scratch/kocevski/431589/expmap_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.fits', expCube='/scratch/kocevski/431589/ltcube_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/431589/Model_4FGL_J0113.1-3553_daily_bin569.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0113.1-3553'

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.217e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/431589/ft1_filtered_4FGL_J0113.1-3553_daily_bin569.fits
Spacecraft file(s): /scratch/kocevski/431589/ft2_4FGL_J0113.1-3553_daily_bin569.fits
Exposure map: /scratch/kocevski/431589/expmap_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.fits
Exposure cube: /scratch/kocevski/431589/ltcube_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/431589/Model_4FGL_J0113.1-3553_daily_bin569.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) = 5573.88133926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8656       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12312E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.941       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14853E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    38.852       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23689       1.0000         .10000E-03   10000.    
    11 'norm      '    4.0032       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.7130       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .65806       1.0000         .10000E-03   10000.    
    15 'norm      '    .73456       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.868       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .91476       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .72858       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5573.777     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1765 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8736        14.078        .24239E-06   -.14791E-04
   2  Prefactor     .10000E-03    5.1119        .68087E-05** at limit **
   3  Prefactor     20.968        22.104       -.65179E-06   -.11024E-03
   4  Prefactor     .10002E-03    5.3417        .16308E-05** at limit **
   5  norm          38.863        29.481        .72017E-06    .63698E-04
   6  norm          .10000E-03    .69709       -.49962E-07** at limit **
   7  Prefactor     .10000E-03    2.9424       -.87063E-07** at limit **
   8  Prefactor     .10000E-03    5.6005       -.26544E-07** at limit **
   9  Prefactor     .10000E-03    3.4474       -.92026E-07** at limit **
  10  Prefactor     .23661        1.8873        .68435E-06   -.48436E-03
  11  norm          4.0031        2.3474        .12374E-07   -.13803E-03
  12  Prefactor     9.7133        15.396        .36014E-06   -.38972E-04
  13  Prefactor     .10000E-03    6.0766       -.16670E-06** at limit **
  14  Prefactor     .65812        2.0178        .73529E-06    .27377E-04
  15  norm          .73447        2.3028        .88846E-06    .35670E-04
  16  Prefactor     20.867        10.555        .11748E-06   -.61635E-04
  17  Normalizat    .91480        .13921       -.24100E-05   -.57010E-03
  18  Prefactor     .72854        .15694        .17052E-05   -.56722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.8736
  Prefactor  = 0.0001
  Prefactor  = 20.9676
  Prefactor  = 0.000100015
  norm       = 38.8631
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.236612
  norm       = 4.00313
  Prefactor  = 9.71329
  Prefactor  = 0.0001
  Prefactor  = 0.658122
  norm       = 0.734469
  Prefactor  = 20.8669
  Normalizat = 0.9148
  Prefactor  = 0.728535
 **********
 **   18 **HESSE 
 **********

 FCN=   5573.777     FROM HESSE     STATUS=OK           248 CALLS     2013 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8736        14.051        .15312E-03   -1.5184    
   2  Prefactor     .10000E-03    5.1834        .32557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.968        22.094        .87526E-04   -1.4792    
   4  Prefactor     .10002E-03    15.881        .32295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          38.863        29.535        .64304E-04   -1.4460    
   6  norm          .10000E-03    .69935        .60864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9560        .12505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.6063        .17256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.4575        .13536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .23661        4.1156        .19284E-02   -1.5611    
  11  norm          4.0031        2.3467        .78439E-04   -1.5308    
  12  Prefactor     9.7133        15.390        .12858E-03   -1.5085    
  13  Prefactor     .10000E-03    6.1031        .17973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65812        1.9971        .17843E-03   -1.5546    
  15  norm          .73447        2.2898        .19016E-03   -1.5537    
  16  Prefactor     20.867        10.554        .87679E-04   -1.4794    
  17  Normalizat    .91480        .16040        .18993E-03   -.95942    
  18  Prefactor     .72854        .18226        .24724E-03   -1.0242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48846e-09
Minuit parameter uncertainties:
  1  14.0574
  2  2.84341e-05
  3  22.1022
  4  0.000986841
  5  29.5465
  6  2.79363e-07
  7  4.49158e-06
  8  1.11197e-05
  9  3.27218e-07
  10  1.97336
  11  2.34676
  12  15.396
  13  1.70573e-05
  14  1.99729
  15  2.29005
  16  10.5547
  17  0.160483
  18  0.182412
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.366e-01  1.973e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  7.285e-01  1.824e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.148e-01  1.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 18.289 -35.894
Photon Flux Upper Limit: 5.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431589/likelihoodResults_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.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) = 5573.69815995
delta logL = 0.078667938018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5573.68698166
delta logL = 0.0898462259247

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25525       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4880       1.0000          .0000       10.000    
     3 'Normalizat'    .90295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5573.687     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25528        12.479        .10227E-01    .20453E-02
   2  Index         3.4898        6.7124        .21190        .64252E-04
   3  Normalizat    .90300        .21233E-01    .44939E-01    .31393E-05
   4  Prefactor     .73541        .25053E-01    .42871E-01    .22848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.255276
  Index      = 3.4898
  Normalizat = 0.903
  Prefactor  = 0.735407
 **********
 **   18 **HESSE 
 **********

 FCN=   5573.687     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25528        72.003        .84478E-04   -1.5607    
   2  Index         3.4898        8.2466        .13180E-01   -.30683    
   3  Normalizat    .90300        .16575        .19107E-03   -.96355    
   4  Prefactor     .73541        .19619        .24618E-03   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26862e-06
Minuit parameter uncertainties:
  1  8.58327
  2  20.6063
  3  0.165842
  4  0.196372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431589': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5573.68698067
delta logL = 0.089847212761

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.553e-01  8.583e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.490e+00  2.061e+01  0.000e+00  1.000e+01 (-1.000e+00)
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  7.354e-01  1.964e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.030e-01  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 18.289 -35.894

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/431589/cmap_HighResolution_386812801_387072001_4FGL_J0113.1-3553_daily_bin569.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.07e-03', job_status='DONE', photon_flux_upper_limit='5.26e-08', time_completed='2021-08-13 17:09:58.851530', job_id='431589', GAL2='0.74', fit_tolerance='1e-08', EG2='0.90', EG='0.91', time_epoch_completed='1628899798.85', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='8.98e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='569' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:09:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 431589: <4FGL_J0113.1-3553_daily_bin569> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin569> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 13 16:55:51 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:57:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 16:57:10 2021
Terminated at Fri Aug 13 17:10:00 2021
Results reported at Fri Aug 13 17:10:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin569 18.2893 -35.894 386812801 387072001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0113.1-3553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   745.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            849 sec.

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

