/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 143 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 = 7263
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin427
RA = 18.2893, Dec = -35.894
tmin = 350006401, tmax = 350265601
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='431385', job_status='RUN', time_executed='2021-08-13 16:58:32.468324', time_epoch_executed='1628899112.47' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431385

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431385/ft1_4FGL_J0113.1-3553_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431385/ft1_4FGL_J0113.1-3553_daily_bin427.fits outfile=/scratch/kocevski/431385/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin427.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=350006401.0 tmax=350265601.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 4.75
user 3.77
sys 0.94

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431385/ft1_filtered_4FGL_J0113.1-3553_daily_bin427.fits" evtable="EVENTS" scfile=/scratch/kocevski/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits sctable="SC_DATA" outfile=/scratch/kocevski/431385/ltcube_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.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/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits
.....................!
real 12.53
user 11.27
sys 1.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431385/ft1_filtered_4FGL_J0113.1-3553_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/431385/ltcube_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.fits outfile=/scratch/kocevski/431385/expmap_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.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/431385/ltcube_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.fits
.....................!
real 191.69
user 184.73
sys 5.93

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/431385/ft1_filtered_4FGL_J0113.1-3553_daily_bin427.fits scfile=/scratch/kocevski/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits outfile=/scratch/kocevski/431385/cmap_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.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.30
user 0.37
sys 0.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431385/ft1_filtered_4FGL_J0113.1-3553_daily_bin427.fits scfile=/scratch/kocevski/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits outfile=/scratch/kocevski/431385/cmap_HighResolution_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.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.30
user 0.38
sys 0.90

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431385/ft1_filtered_4FGL_J0113.1-3553_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/431385/ft2_4FGL_J0113.1-3553_daily_bin427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431385/Model_4FGL_J0113.1-3553_daily_bin427.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/431385/ft1_filtered_4FGL_J0113.1-3553_daily_bin427.fits.....................!
real 42.81
user 40.30
sys 2.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.634       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7394       1.0000         .10000E-03   10000.    
     5 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.8790       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18062       1.0000         .10000E-03   10000.    
    11 'norm      '    .66926       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.084       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.958       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26364       1.0000         .10000E-03   10000.    
    15 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8559       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .52903       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1698       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=   5180.812     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1989 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10046E-03    21.678       -.13284E-05** at limit **
   2  Prefactor     13.633        5.6018       -.12808E-06    .19452E-03
   3  Prefactor     .10000E-03    6.9562        .19990E-05** at limit **
   4  Prefactor     5.7391        4.9466        .63794E-07    .31533E-04
   5  norm          .10000E-03    13.401       -.19730E-06** at limit **
   6  norm          1.8792        1.9246        .17937E-07    .16789E-03
   7  Prefactor     .10000E-03    5.8948       -.43883E-06** at limit **
   8  Prefactor     .10000E-03    5.3131        .28432E-06** at limit **
   9  Prefactor     .10000E-03    7.0540       -.12484E-05** at limit **
  10  Prefactor     .17966        1.8103       -.12884E-05   -.46322E-03
  11  norm          .66932        1.7638        .14128E-05   -.25459E-03
  12  Prefactor     13.087        16.284       -.12354E-04   -.65465E-04
  13  Prefactor     12.952        20.964        .17673E-04    .40767E-03
  14  Prefactor     .26155        1.8315       -.32200E-05    .78940E-03
  15  norm          .10000E-03    .76408        .56253E-07** at limit **
  16  Prefactor     3.8562        7.4105       -.73857E-06   -.14370E-03
  17  Normalizat    .52913        .14490        .14012E-05    .67904E-03
  18  Prefactor     1.1696        .17459       -.57910E-06    .74243E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100459
  Prefactor  = 13.6328
  Prefactor  = 0.0001
  Prefactor  = 5.73911
  norm       = 0.0001
  norm       = 1.87918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.179664
  norm       = 0.669319
  Prefactor  = 13.0871
  Prefactor  = 12.9518
  Prefactor  = 0.261555
  norm       = 0.0001
  Prefactor  = 3.85622
  Normalizat = 0.529132
  Prefactor  = 1.16965
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.812     FROM HESSE     STATUS=OK           250 CALLS     2239 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10046E-03    213.74        .63104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.633        5.4384        .10216E-03   -1.4969    
   3  Prefactor     .10000E-03    6.9614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7391        4.9453        .14378E-03   -1.5229    
   5  norm          .10000E-03    13.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8792        1.9296        .98186E-04   -1.5434    
   7  Prefactor     .10000E-03    5.9775        .17058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.3184        .16204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.0912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17966        4.0773        .18555E-02   -1.5623    
  11  norm          .66932        1.6957        .14278E-03   -1.5544    
  12  Prefactor     13.087        16.084        .11074E-03   -1.4984    
  13  Prefactor     12.952        21.033        .11127E-03   -1.4988    
  14  Prefactor     .26155        5.6578        .17791E-02   -1.5606    
  15  norm          .10000E-03    .77047        .61426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8562        7.4070        .20551E-03   -1.5315    
  17  Normalizat    .52913        .16628        .23659E-03   -1.1108    
  18  Prefactor     1.1696        .20286        .20377E-03   -.87271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4268e-09
Minuit parameter uncertainties:
  1  0.0198811
  2  5.43855
  3  9.77052e-08
  4  4.94563
  5  1.14827e-05
  6  1.92962
  7  5.11669e-05
  8  5.59425e-06
  9  7.77577e-05
  10  1.71143
  11  1.69583
  12  16.0894
  13  21.045
  14  2.43277
  15  5.05436e-06
  16  7.40877
  17  0.166437
  18  0.202998
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.797e-01  1.711e+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.170e+00  2.030e-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:  5.291e-01  1.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431385/likelihoodResults_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.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) = 5180.8020085
delta logL = 0.00968321011169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5180.79749989
delta logL = 0.0141918259751

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35226       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9851       1.0000          .0000       10.000    
     3 'Normalizat'    .53023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1678       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=   5180.797     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      216 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35227        86.125        .10652E-01    .78202E-03
   2  Index         1.9864        5.6875        .50000        .10185E-04
   3  Normalizat    .53023        .20464E-01    .39976E-01    .12547E-03
   4  Prefactor     1.1678        .25400E-01    .35441E-01   -.10885E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.352273
  Index      = 1.98639
  Normalizat = 0.530227
  Prefactor  = 1.16778
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.797     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35227        2.5072        .22250E-03   -1.5589    
   2  Index         1.9864        1.9207        .17040E-01   -.64691    
   3  Normalizat    .53023        .16095        .23635E-03   -1.1103    
   4  Prefactor     1.1678        .20139        .20390E-03   -.87329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40765e-10
Minuit parameter uncertainties:
  1  1.87943
  2  2.00395
  3  0.161093
  4  0.201523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431385': 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) = 5180.79749967
delta logL = 0.0141920415517

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  3.523e-01  1.879e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  1.986e+00  2.004e+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.168e+00  2.015e-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:  5.302e-01  1.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/431385/cmap_HighResolution_350006401_350265601_4FGL_J0113.1-3553_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-03', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2021-08-13 17:07:50.003995', job_id='431385', GAL2='1.17', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1628899670.0', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.42e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='427' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:07:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 431385: <4FGL_J0113.1-3553_daily_bin427> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin427 18.2893 -35.894 350006401 350265601 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 :                                   566.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            732 sec.

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

