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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin9
RA = 18.2893, Dec = -35.894
tmin = 241660801, tmax = 241920001
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='429816', job_status='RUN', time_executed='2021-08-13 16:54:12.542102', time_epoch_executed='1628898852.54' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='9'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429816

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429816/ft1_4FGL_J0113.1-3553_daily_bin9.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429816/ft1_4FGL_J0113.1-3553_daily_bin9.fits outfile=/scratch/kocevski/429816/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin9.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=241660801.0 tmax=241920001.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 5.06
user 1.29
sys 3.74

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429816/ft1_filtered_4FGL_J0113.1-3553_daily_bin9.fits" evtable="EVENTS" scfile=/scratch/kocevski/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits sctable="SC_DATA" outfile=/scratch/kocevski/429816/ltcube_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.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/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits
.....................!
real 17.43
user 12.88
sys 4.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429816/ft1_filtered_4FGL_J0113.1-3553_daily_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits sctable="SC_DATA" expcube=/scratch/kocevski/429816/ltcube_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.fits outfile=/scratch/kocevski/429816/expmap_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.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/429816/ltcube_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.fits
.....................!
real 196.09
user 184.99
sys 10.43

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/429816/ft1_filtered_4FGL_J0113.1-3553_daily_bin9.fits scfile=/scratch/kocevski/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits outfile=/scratch/kocevski/429816/cmap_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.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 4.01
user 0.39
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429816/ft1_filtered_4FGL_J0113.1-3553_daily_bin9.fits scfile=/scratch/kocevski/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits outfile=/scratch/kocevski/429816/cmap_HighResolution_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.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 4.08
user 0.39
sys 3.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429816/ft1_filtered_4FGL_J0113.1-3553_daily_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/429816/ft2_4FGL_J0113.1-3553_daily_bin9.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429816/Model_4FGL_J0113.1-3553_daily_bin9.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/429816/ft1_filtered_4FGL_J0113.1-3553_daily_bin9.fits.....................!
real 52.22
user 46.24
sys 5.78

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6008       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    34.755       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7591       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4643       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.763       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8860       1.0000         .10000E-03   10000.    
    11 'norm      '    .33979       1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.543       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2894       1.0000         .10000E-03   10000.    
    15 'norm      '    5.4810       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0998       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1187       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=   5799.740     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1533 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.413        .64588E-06** at limit **
   2  Prefactor     2.6022        .92868        .61152E-07   -.95391E-03
   3  Prefactor     .10000E-03    7.9375       -.30282E-06** at limit **
   4  Prefactor     .10000E-03    3.3771       -.20813E-07** at limit **
   5  norm          34.750        28.089       -.32465E-05   -.38056E-05
   6  norm          1.7593        2.4337        .25104E-07   -.10139E-04
   7  Prefactor     5.4641        7.6956       -.91781E-07    .44361E-05
   8  Prefactor     .10000E-03    15.106        .36101E-07** at limit **
   9  Prefactor     12.766        12.762       -.61511E-06    .34066E-04
  10  Prefactor     5.8852        5.0569        .50416E-07   -.17326E-04
  11  norm          .33736        1.2245       -.46126E-06   -.34905E-03
  12  Prefactor     61.552        24.907        .37283E-05    .67768E-04
  13  Prefactor     .10000E-03    28.353       -.70758E-06** at limit **
  14  Prefactor     2.2912        5.1878        .14762E-06   -.32026E-04
  15  norm          5.4808        3.4117       -.12765E-06   -.69134E-05
  16  Prefactor     .10000E-03    11.316       -.12285E-06** at limit **
  17  Normalizat    1.1001        .18258       -.45155E-06    .29501E-04
  18  Prefactor     1.1185        .20445       -.95203E-07   -.45874E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.60219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.7503
  norm       = 1.75927
  Prefactor  = 5.46405
  Prefactor  = 0.0001
  Prefactor  = 12.7662
  Prefactor  = 5.88519
  norm       = 0.337364
  Prefactor  = 61.5517
  Prefactor  = 0.0001
  Prefactor  = 2.29116
  norm       = 5.48079
  Prefactor  = 0.0001
  Normalizat = 1.10008
  Prefactor  = 1.11847
 **********
 **   18 **HESSE 
 **********

 FCN=   5799.740     FROM HESSE     STATUS=OK           250 CALLS     1783 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6022        5.6122        .12603E-02   -1.5385    
   3  Prefactor     .10000E-03    7.9416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.3895        .13665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          34.750        28.072        .67976E-04   -1.4528    
   6  norm          1.7593        2.4163        .13545E-03   -1.5443    
   7  Prefactor     5.4641        7.6854        .17189E-03   -1.5240    
   8  Prefactor     .10000E-03    15.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.766        12.692        .11212E-03   -1.4993    
  10  Prefactor     5.8852        5.0809        .14857E-03   -1.5223    
  11  norm          .33736        1.3083        .15414E-02   -1.5592    
  12  Prefactor     61.552        24.970        .51148E-04   -1.4137    
  13  Prefactor     .10000E-03    28.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2912        5.2071        .24331E-03   -1.5405    
  15  norm          5.4808        3.4108        .10708E-03   -1.5240    
  16  Prefactor     .10000E-03    11.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1001        .22436        .24078E-03   -.89749    
  18  Prefactor     1.1185        .24761        .27648E-03   -.88878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43011e-08
Minuit parameter uncertainties:
  1  2.83804e-05
  2  5.61334
  3  5.98994e-06
  4  4.4633e-06
  5  28.0825
  6  2.41648
  7  7.6868
  8  1.33856e-05
  9  12.6945
  10  5.08124
  11  1.30842
  12  24.9745
  13  1.36149e-05
  14  5.2081
  15  3.41092
  16  6.28841e-06
  17  0.224551
  18  0.247866
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  5.885e+00  5.081e+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:  1.118e+00  2.479e-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.100e+00  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.44e-08 +/- 4.70e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.53e-05

TS (Fixed Index): 1.71
Ra Dec: 18.289 -35.894
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429816/likelihoodResults_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.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) = 5798.77622703
delta logL = 0.963983167099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5798.77028946
delta logL = 0.969920732206

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7015       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3626       1.0000          .0000       10.000    
     3 'Normalizat'    1.0393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1633       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5798.770     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      277 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7013        4.4575        .70202E-04   -.63320E-03
   2  Index         3.3626        1.0132        .48224E-02   -.69631E-04
   3  Normalizat    1.0393        .22001        .24648E-03   -.13662E-03
   4  Prefactor     1.1633        .24986        .27163E-03   -.23260E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.70131
  Index      = 3.36263
  Normalizat = 1.03934
  Prefactor  = 1.16334
 **********
 **   18 **HESSE 
 **********

 FCN=   5798.770     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7013        3.4946        .28081E-05   -1.5379    
   2  Index         3.3626        .79577        .19290E-03   -.33363    
   3  Normalizat    1.0393        .22002        .98592E-05   -.91724    
   4  Prefactor     1.1633        .24948        .54326E-04   -.87467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61995e-10
Minuit parameter uncertainties:
  1  3.49489
  2  0.799583
  3  0.220213
  4  0.249734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429816': 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) = 5798.77028946
delta logL = 0.969920735029

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.701e+00  3.495e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.363e+00  7.996e-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:  1.163e+00  2.497e-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.039e+00  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.76
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 3.36 +/- 0.80
Photon Flux (Free Index): 1.04e-07 +/- 6.42e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.10e-05

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/429816/cmap_HighResolution_241660801_241920001_4FGL_J0113.1-3553_daily_bin9.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', photon_flux='5.44e-08', energy_flux2='1.79e-05', photon_flux_error='4.70e-08', dlogl='9.70e-01', energy_flux='1.78e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-08-13 17:04:08.037944', photon_index_error2='0.80', photon_index2='3.36', ts='1.71', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='1.10e-05', EG='1.10', time_epoch_completed='1628899448.04', return_code='0', job_id='429816', GAL2='1.16', EG2='1.04', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='6.42e-08', ts2='3.76', photon_index='2.40' WHERE bin_id='9' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:04:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 429816: <4FGL_J0113.1-3553_daily_bin9> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin9> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:50:47 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:50:54 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:50:54 2021
Terminated at Fri Aug 13 17:04:12 2021
Results reported at Fri Aug 13 17:04:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin9 18.2893 -35.894 241660801 241920001 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 :                                   647.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            805 sec.

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

