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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1049
RA = 18.2893, Dec = -35.894
tmin = 511228801, tmax = 511488001
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='434350', job_status='RUN', time_executed='2021-08-13 17:10:08.262536', time_epoch_executed='1628899808.26' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434350

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434350/ft1_4FGL_J0113.1-3553_daily_bin1049.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434350/ft1_4FGL_J0113.1-3553_daily_bin1049.fits outfile=/scratch/kocevski/434350/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1049.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=511228801.0 tmax=511488001.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 12.10
user 3.28
sys 8.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434350/ft1_filtered_4FGL_J0113.1-3553_daily_bin1049.fits" evtable="EVENTS" scfile=/scratch/kocevski/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits sctable="SC_DATA" outfile=/scratch/kocevski/434350/ltcube_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.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/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits
.....................!
real 23.42
user 13.82
sys 9.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434350/ft1_filtered_4FGL_J0113.1-3553_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/434350/ltcube_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.fits outfile=/scratch/kocevski/434350/expmap_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.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/434350/ltcube_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.fits
.....................!
real 201.69
user 186.29
sys 14.84

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/434350/ft1_filtered_4FGL_J0113.1-3553_daily_bin1049.fits scfile=/scratch/kocevski/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits outfile=/scratch/kocevski/434350/cmap_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.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 8.66
user 0.38
sys 8.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434350/ft1_filtered_4FGL_J0113.1-3553_daily_bin1049.fits scfile=/scratch/kocevski/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits outfile=/scratch/kocevski/434350/cmap_HighResolution_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.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 8.60
user 0.38
sys 8.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434350/ft1_filtered_4FGL_J0113.1-3553_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/434350/ft2_4FGL_J0113.1-3553_daily_bin1049.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434350/Model_4FGL_J0113.1-3553_daily_bin1049.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/434350/ft1_filtered_4FGL_J0113.1-3553_daily_bin1049.fits.....................!
real 55.36
user 44.24
sys 10.84

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.274       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    25.624       1.0000         .10000E-03   10000.    
     6 'norm      '    7.8872       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8397       1.0000         .10000E-03   10000.    
    11 'norm      '    .16749       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.602       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4137       1.0000         .10000E-03   10000.    
    15 'norm      '    .40167       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.208       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .92792       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .69156       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=   5836.388     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1527 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.461        .19029E-06** at limit **
   2  Prefactor     .10000E-03    5.0643       -.31642E-05** at limit **
   3  Prefactor     11.267        16.117        .15863E-05    .24241E-03
   4  Prefactor     .10000E-03    2.0437       -.24730E-07** at limit **
   5  norm          25.624        23.882        .14919E-06    .11265E-03
   6  norm          7.8872        3.5828        .19420E-07    .30527E-05
   7  Prefactor     .10000E-03    3.5626        .60467E-07** at limit **
   8  Prefactor     .10000E-03    4.5707       -.25618E-06** at limit **
   9  Prefactor     .10000E-03    4.9061        .10527E-06** at limit **
  10  Prefactor     9.8404        3.7325        .25948E-08    .72618E-04
  11  norm          .16776        1.4548       -.78209E-06   -.36169E-03
  12  Prefactor     14.604        11.881       -.22791E-06    .24557E-04
  13  Prefactor     .10000E-03    8.7025       -.68768E-06** at limit **
  14  Prefactor     3.4144        2.8328        .78310E-06   -.55985E-03
  15  norm          .40173        1.6116        .27220E-06   -.88289E-04
  16  Prefactor     16.209        11.370       -.56856E-07    .38486E-04
  17  Normalizat    .92776        .14065       -.48875E-07    .40557E-03
  18  Prefactor     .69173        .16126       -.34594E-06    .19458E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2671
  Prefactor  = 0.0001
  norm       = 25.6238
  norm       = 7.88724
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.8404
  norm       = 0.167759
  Prefactor  = 14.6041
  Prefactor  = 0.000100001
  Prefactor  = 3.41442
  norm       = 0.401729
  Prefactor  = 16.209
  Normalizat = 0.927759
  Prefactor  = 0.691729
 **********
 **   18 **HESSE 
 **********

 FCN=   5836.388     FROM HESSE     STATUS=OK           250 CALLS     1777 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.9868        .26501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.267        16.438        .11932E-03   -1.5037    
   4  Prefactor     .10000E-03    2.0500        .10665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          25.624        23.961        .79136E-04   -1.4695    
   6  norm          7.8872        3.5838        .93610E-04   -1.5146    
   7  Prefactor     .10000E-03    3.5969        .14078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.5546        .15919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.9318        .16513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.8404        3.7429        .86466E-04   -1.5080    
  11  norm          .16776        2.6396        .16277E-02   -1.5626    
  12  Prefactor     14.604        11.755        .10482E-03   -1.4943    
  13  Prefactor     .10000E-03    8.5604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4144        3.4499        .67597E-03   -1.5338    
  15  norm          .40173        1.6729        .18804E-03   -1.5581    
  16  Prefactor     16.209        11.377        .99485E-04   -1.4903    
  17  Normalizat    .92776        .16847        .19349E-03   -.95491    
  18  Prefactor     .69173        .19227        .25930E-03   -1.0385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01319e-08
Minuit parameter uncertainties:
  1  8.19399e-05
  2  7.7628e-06
  3  16.4444
  4  1.8393e-06
  5  23.9703
  6  3.58389
  7  6.60661e-06
  8  4.28373e-05
  9  2.10467e-05
  10  3.74294
  11  1.33055
  12  11.7572
  13  0.000169802
  14  3.45005
  15  1.63945
  16  11.3783
  17  0.168569
  18  0.192458
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  9.840e+00  3.743e+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.917e-01  1.925e-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.278e-01  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.64
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 9.10e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.13e-05

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) = 5836.25517359
delta logL = 0.132912909045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5836.22654449
delta logL = 0.161542006284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.780       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1811       1.0000          .0000       10.000    
     3 'Normalizat'    .94959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67534       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=   5836.227     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      234 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.781        79.268        .30507E-02    .52452E-04
   2  Index         2.1807        6.0834        .14791        .47566E-04
   3  Normalizat    .94965        .14929        .45532E-01    .56222E-05
   4  Prefactor     .67530        .11444        .42072E-01    .20133E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7808
  Index      = 2.18067
  Normalizat = 0.949648
  Prefactor  = 0.675298
 **********
 **   18 **HESSE 
 **********

 FCN=   5836.227     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.781        4.4627        .96685E-04   -1.5051    
   2  Index         2.1807        .39093        .55730E-02   -.59906    
   3  Normalizat    .94965        .16663        .19162E-03   -.94737    
   4  Prefactor     .67530        .19138        .26223E-03   -1.0450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32274e-13
Minuit parameter uncertainties:
  1  4.46282
  2  0.391519
  3  0.166722
  4  0.191571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434350': 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) = 5836.22654389
delta logL = 0.161542603544

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.078e+01  4.463e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.181e+00  3.915e-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:  6.753e-01  1.916e-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.496e-01  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.88
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 2.18 +/- 0.39
Photon Flux (Free Index): 7.55e-08 +/- 4.12e-08
Energy Flux (Free Index): 3.51e-05 +/- 1.94e-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/434350/cmap_HighResolution_511228801_511488001_4FGL_J0113.1-3553_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.10e-08', energy_flux2='3.51e-05', photon_flux_error='3.46e-08', dlogl='1.62e-01', energy_flux='2.97e-05', photon_flux2='7.55e-08', job_status='DONE', time_completed='2021-08-13 17:21:08.005118', photon_index_error2='0.39', photon_index2='2.18', ts='21.64', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='0.93', time_epoch_completed='1628900468.01', return_code='0', job_id='434350', GAL2='0.68', EG2='0.95', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='4.12e-08', ts2='21.88', photon_index='2.40' WHERE bin_id='1049' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:21:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 434350: <4FGL_J0113.1-3553_daily_bin1049> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1049> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 17:05:27 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:05:58 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:05:58 2021
Terminated at Fri Aug 13 17:21:09 2021
Results reported at Fri Aug 13 17:21:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1049 18.2893 -35.894 511228801 511488001 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 :                                   755.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             253.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            943 sec.

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

