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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin7
RA = 18.2893, Dec = -35.894
tmin = 241142401, tmax = 241401601
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='429813', job_status='RUN', time_executed='2021-08-13 16:55:33.539143', time_epoch_executed='1628898933.54' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429813

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429813/ft1_4FGL_J0113.1-3553_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429813/ft1_4FGL_J0113.1-3553_daily_bin7.fits outfile=/scratch/kocevski/429813/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin7.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=241142401.0 tmax=241401601.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 10.78
user 1.33
sys 9.39

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429813/ft1_filtered_4FGL_J0113.1-3553_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/429813/ltcube_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.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/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits
.....................!
real 24.97
user 14.02
sys 10.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429813/ft1_filtered_4FGL_J0113.1-3553_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/429813/ltcube_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.fits outfile=/scratch/kocevski/429813/expmap_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.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/429813/ltcube_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.fits
.....................!
real 203.30
user 185.26
sys 17.22

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/429813/ft1_filtered_4FGL_J0113.1-3553_daily_bin7.fits scfile=/scratch/kocevski/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits outfile=/scratch/kocevski/429813/cmap_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.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 9.90
user 0.39
sys 9.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429813/ft1_filtered_4FGL_J0113.1-3553_daily_bin7.fits scfile=/scratch/kocevski/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits outfile=/scratch/kocevski/429813/cmap_HighResolution_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.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 9.60
user 0.38
sys 9.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429813/ft1_filtered_4FGL_J0113.1-3553_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/429813/ft2_4FGL_J0113.1-3553_daily_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429813/Model_4FGL_J0113.1-3553_daily_bin7.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/429813/ft1_filtered_4FGL_J0113.1-3553_daily_bin7.fits.....................!
real 54.49
user 40.59
sys 13.53

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    3.4227       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.476       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.147       1.0000         .10000E-03   10000.    
     6 'norm      '    5.7969       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.642       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .37157       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.916       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7981       1.0000         .10000E-03   10000.    
    11 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6186       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.721       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0044       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5388       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.972       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0332       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .67393       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=   4938.606     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1760 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.075        .15189E-06** at limit **
   2  Prefactor     3.4184        5.0132        .19569E-07    .58674E-04
   3  Prefactor     17.476        17.237       -.44613E-06   -.11399E-03
   4  Prefactor     .10000E-03    9.4315        .13073E-06** at limit **
   5  norm          11.102        31.816       -.28828E-05   -.14711E-03
   6  norm          5.7971        3.3973        .69418E-07    .14295E-04
   7  Prefactor     18.641        9.9657       -.13587E-06   -.49788E-04
   8  Prefactor     .40650        35.509       -.10277E-04    .56089E-03
   9  Prefactor     13.914        12.277       -.22939E-06   -.61645E-04
  10  Prefactor     5.7974        4.2333       -.96574E-07    .23822E-03
  11  norm          .10000E-03    2.0697        .92797E-06** at limit **
  12  Prefactor     6.6114        15.975       -.60916E-06   -.15732E-04
  13  Prefactor     11.701        24.295       -.13940E-05   -.72200E-04
  14  Prefactor     4.0052        4.5570       -.55336E-08    .28497E-03
  15  norm          2.5386        2.6135        .12055E-06    .48091E-03
  16  Prefactor     19.970        13.880       -.16301E-06   -.21162E-04
  17  Normalizat    1.0335        .19113        .65059E-05    .28225E-03
  18  Prefactor     .67362        .19823       -.84448E-05   -.31833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.4184
  Prefactor  = 17.4763
  Prefactor  = 0.0001
  norm       = 11.1024
  norm       = 5.79711
  Prefactor  = 18.6407
  Prefactor  = 0.406501
  Prefactor  = 13.9138
  Prefactor  = 5.79735
  norm       = 0.000100001
  Prefactor  = 6.61139
  Prefactor  = 11.7008
  Prefactor  = 4.00523
  norm       = 2.53858
  Prefactor  = 19.9701
  Normalizat = 1.03348
  Prefactor  = 0.673617
 **********
 **   18 **HESSE 
 **********

 FCN=   4938.606     FROM HESSE     STATUS=OK           254 CALLS     2014 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4184        4.9960        .17437E-03   -1.5338    
   3  Prefactor     17.476        17.233        .95806E-04   -1.4872    
   4  Prefactor     .10000E-03    9.7028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.102        32.239        .11999E-03   -1.5041    
   6  norm          5.7971        3.3983        .95632E-04   -1.5226    
   7  Prefactor     18.641        9.9621        .92765E-04   -1.4844    
   8  Prefactor     .40650        88.186        .46091E-02   -1.5580    
   9  Prefactor     13.914        12.262        .10737E-03   -1.4962    
  10  Prefactor     5.7974        4.2335        .11632E-03   -1.5226    
  11  norm          .10000E-03    2.1865        .19847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.6114        15.902        .15598E-03   -1.5194    
  13  Prefactor     11.701        24.297        .11701E-03   -1.5024    
  14  Prefactor     4.0052        4.5493        .14643E-03   -1.5308    
  15  norm          2.5386        2.6099        .11118E-03   -1.5389    
  16  Prefactor     19.970        13.878        .89624E-04   -1.4814    
  17  Normalizat    1.0335        .20297        .20178E-03   -.91917    
  18  Prefactor     .67362        .21450        .27787E-03   -1.0457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54931e-08
Minuit parameter uncertainties:
  1  3.15396e-05
  2  4.99663
  3  17.2375
  4  1.46964e-05
  5  32.29
  6  3.39842
  7  9.96299
  8  11.991
  9  12.2638
  10  4.23372
  11  8.36306e-05
  12  15.912
  13  24.3175
  14  4.54966
  15  2.61
  16  13.8801
  17  0.203124
  18  0.21476
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  5.797e+00  4.234e+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:  6.736e-01  2.148e-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.033e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.36e-08 +/- 3.91e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/429813/likelihoodResults_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.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) = 4938.067665
delta logL = 0.538208606635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4938.05982451
delta logL = 0.546049096565

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9267       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1865       1.0000          .0000       10.000    
     3 'Normalizat'    .98999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70924       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=   4938.060     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      265 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9284        32.602        .59363E-02    .96142E-03
   2  Index         3.1858        3.3832        .12889        .26532E-03
   3  Normalizat    .99005        .59034E-01    .46041E-01   -.12079E-03
   4  Prefactor     .70914        .64293E-01    .61359E-01    .16091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9284
  Index      = 3.18577
  Normalizat = 0.990047
  Prefactor  = 0.709142
 **********
 **   18 **HESSE 
 **********

 FCN=   4938.060     FROM HESSE     STATUS=OK            31 CALLS      296 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9284        5.0030        .69367E-04   -1.5366    
   2  Index         3.1858        1.1239        .49250E-02   -.37132    
   3  Normalizat    .99005        .19480        .20552E-03   -.93365    
   4  Prefactor     .70914        .21743        .27141E-03   -1.0317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25358e-10
Minuit parameter uncertainties:
  1  5.00367
  2  1.13514
  3  0.19494
  4  0.217693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429813': 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) = 4938.05982385
delta logL = 0.546049756367

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.928e+00  5.004e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.186e+00  1.135e+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:  7.091e-01  2.177e-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.900e-01  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.89
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 3.19 +/- 1.14
Photon Flux (Free Index): 8.48e-08 +/- 5.46e-08
Energy Flux (Free Index): 1.56e-05 +/- 1.04e-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/429813/cmap_HighResolution_241142401_241401601_4FGL_J0113.1-3553_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='5.36e-08', energy_flux2='1.56e-05', photon_flux_error='3.91e-08', dlogl='5.46e-01', energy_flux='1.75e-05', photon_flux2='8.48e-08', job_status='DONE', time_completed='2021-08-13 17:06:34.521695', photon_index_error2='1.14', photon_index2='3.19', ts='2.74', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.04e-05', EG='1.03', time_epoch_completed='1628899594.52', return_code='0', job_id='429813', GAL2='0.71', EG2='0.99', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='5.46e-08', ts2='3.89', photon_index='2.40' WHERE bin_id='7' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:06:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 429813: <4FGL_J0113.1-3553_daily_bin7> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin7 18.2893 -35.894 241142401 241401601 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 :                                   803.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            951 sec.

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

