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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1580
RA = 18.2893, Dec = -35.894
tmin = 648864001, tmax = 649123201
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='437132', job_status='RUN', time_executed='2021-08-13 17:13:47.948735', time_epoch_executed='1628900027.95' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437132

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437132/ft1_4FGL_J0113.1-3553_daily_bin1580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437132/ft1_4FGL_J0113.1-3553_daily_bin1580.fits outfile=/scratch/kocevski/437132/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1580.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=648864001.0 tmax=649123201.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.57
user 2.82
sys 0.72

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.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/437132/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1580.fits evtable="EVENTS" outfile="/scratch/kocevski/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.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.03
user 0.34
sys 0.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits" evtable="EVENTS" scfile=/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits sctable="SC_DATA" outfile=/scratch/kocevski/437132/ltcube_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.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/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits
.....................!
real 13.51
user 12.54
sys 0.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits evtable="EVENTS" scfile=/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits sctable="SC_DATA" expcube=/scratch/kocevski/437132/ltcube_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.fits outfile=/scratch/kocevski/437132/expmap_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.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/437132/ltcube_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.fits
.....................!
real 193.74
user 188.17
sys 5.07

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/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits scfile=/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits outfile=/scratch/kocevski/437132/cmap_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.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 1.09
user 0.40
sys 0.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits scfile=/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits outfile=/scratch/kocevski/437132/cmap_HighResolution_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.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 1.06
user 0.38
sys 0.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits evtable="EVENTS" scfile=/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/437132/Model_4FGL_J0113.1-3553_daily_bin1580.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/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits.....................!
real 51.12
user 49.09
sys 1.83

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits', '/scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits', expMap='/scratch/kocevski/437132/expmap_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.fits', expCube='/scratch/kocevski/437132/ltcube_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/437132/Model_4FGL_J0113.1-3553_daily_bin1580.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/437132/ft1_filtered_4FGL_J0113.1-3553_daily_bin1580.fits
Spacecraft file(s): /scratch/kocevski/437132/ft2_4FGL_J0113.1-3553_daily_bin1580.fits
Exposure map: /scratch/kocevski/437132/expmap_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.fits
Exposure cube: /scratch/kocevski/437132/ltcube_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/437132/Model_4FGL_J0113.1-3553_daily_bin1580.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) = 6648.48618358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3659       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8145       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4277       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7860       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3755       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7038       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.319       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .58122       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7238       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.084       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .49371E-01   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1247       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0078       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=   6647.937     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     1573 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.910       -.46714E-06** at limit **
   2  Prefactor     5.3645        5.7039       -.98005E-06   -.19130E-02
   3  Prefactor     1.7660        158.64        .10462E-04   -.12703E-03
   4  Prefactor     2.4288        8.1682        .95215E-05   -.36122E-03
   5  norm          3.7906        41.165       -.33206E-05   -.54692E-04
   6  norm          7.3760        3.3908        .20121E-07   -.11541E-03
   7  Prefactor     9.6727        10.879        .11740E-06   -.31793E-03
   8  Prefactor     14.323        16.149        .20193E-06   -.37267E-04
   9  Prefactor     .77376        9.4116       -.36045E-06    .11756E-04
  10  Prefactor     .10000E-03    2.4054        .12142E-06** at limit **
  11  norm          .10000E-03    1.4955        .41575E-06** at limit **
  12  Prefactor     5.7069        15.230        .59911E-06    .13316E-03
  13  Prefactor     .10000E-03    9.2416        .94327E-07** at limit **
  14  Prefactor     15.084        4.4023        .15659E-06   -.54049E-04
  15  norm          .10000E-03    1.8459        .92373E-06** at limit **
  16  Prefactor     .96517E-01    4.6154       -.48070E-06    .76032E-04
  17  Normalizat    1.1248        .16931       -.27023E-05   -.86969E-03
  18  Prefactor     1.0074        .19051        .80808E-07   -.72516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.36447
  Prefactor  = 1.76603
  Prefactor  = 2.4288
  norm       = 3.79063
  norm       = 7.37603
  Prefactor  = 9.67272
  Prefactor  = 14.3229
  Prefactor  = 0.773756
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.70691
  Prefactor  = 0.0001
  Prefactor  = 15.0844
  norm       = 0.0001
  Prefactor  = 0.0965169
  Normalizat = 1.12476
  Prefactor  = 1.0074
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.937     FROM HESSE     STATUS=OK           258 CALLS     1831 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3645        5.7985        .86080E-03   -1.5245    
   3  Prefactor     1.7660        160.31        .31010E-03   -1.5442    
   4  Prefactor     2.4288        8.2082        .13133E-02   -1.5396    
   5  norm          3.7906        41.028        .20747E-03   -1.5319    
   6  norm          7.3760        3.3909        .98693E-04   -1.5165    
   7  Prefactor     9.6727        10.783        .12864E-03   -1.5086    
   8  Prefactor     14.323        16.149        .10585E-03   -1.4951    
   9  Prefactor     .77376        60.107        .42289E-02   -1.5532    
  10  Prefactor     .10000E-03    2.4778        .24671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.5377        .19437E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7069        15.099        .16789E-03   -1.5230    
  13  Prefactor     .10000E-03    9.2712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.084        4.4094        .88424E-04   -1.4931    
  15  norm          .10000E-03    3.4060        .21291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .96517E-01    4.9866        .60200E-01   -1.5646    
  17  Normalizat    1.1248        .19475        .22241E-03   -.88961    
  18  Prefactor     1.0074        .22047        .27409E-03   -.92483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40129e-09
Minuit parameter uncertainties:
  1  9.38978e-05
  2  5.79911
  3  33.7447
  4  8.21205
  5  24.963
  6  3.39098
  7  10.7851
  8  16.1542
  9  13.6527
  10  1.21458e-05
  11  2.79464e-05
  12  15.1086
  13  2.50231e-05
  14  4.40951
  15  6.86529e-05
  16  1.3869
  17  0.194874
  18  0.220663
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  1.215e-05  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:  1.007e+00  2.207e-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:  1.125e+00  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/437132/likelihoodResults_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.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): 102
logL (Free Index) = 6647.93887597
delta logL = -0.0019245356134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6647.93695061
delta logL = 8.29597411212e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4391       1.0000          .0000       10.000    
     3 'Normalizat'    1.1247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0075       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=   6647.594     FROM MIGRAD    STATUS=CONVERGED    194 CALLS      347 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44255E-01    .74396E-01    .47013E-02   -.23154E-02
   2  Index         5.1624        .74311        .13514        .91169E-04
   3  Normalizat    1.0743        .17042        .37073E-01   -.11196E-03
   4  Prefactor     1.0442        .19283        .43717E-01    .20278E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0442553
  Index      = 5.16236
  Normalizat = 1.07427
  Prefactor  = 1.04415
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.594     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      380 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44255E-01    3.4908        .21221E-04   -1.5750    
   2  Index         5.1624        7.4440        .84437E-02    .32478E-01
   3  Normalizat    1.0743        .15669        .22689E-03   -.90582    
   4  Prefactor     1.0442        .18088        .26983E-03   -.91272    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20867e-09
Minuit parameter uncertainties:
  1  0.785255
  2  9.67555
  3  0.156757
  4  0.180983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437132': 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) = 6647.59406749
delta logL = 0.342883943889

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  4.426e-02  7.853e-01  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  5.162e+00  9.676e+00  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:  1.044e+00  1.810e-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:  1.074e+00  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/437132/cmap_HighResolution_648864001_649123201_4FGL_J0113.1-3553_daily_bin1580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-03', job_status='DONE', photon_flux_upper_limit='6.25e-08', time_completed='2021-08-13 17:24:01.655585', job_id='437132', GAL2='1.04', fit_tolerance='1e-08', EG2='1.07', EG='1.12', time_epoch_completed='1628900641.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.43e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1580' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:24:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 437132: <4FGL_J0113.1-3553_daily_bin1580> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1580> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 17:10:42 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:13:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 17:13:24 2021
Terminated at Fri Aug 13 17:24:02 2021
Results reported at Fri Aug 13 17:24:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1580 18.2893 -35.894 648864001 649123201 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 :                                   614.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            800 sec.

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

