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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin853
RA = 18.2893, Dec = -35.894
tmin = 460425601, tmax = 460684801
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='433001', job_status='RUN', time_executed='2021-08-13 17:02:08.420596', time_epoch_executed='1628899328.42' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433001

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433001/ft1_4FGL_J0113.1-3553_daily_bin853.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433001/ft1_4FGL_J0113.1-3553_daily_bin853.fits outfile=/scratch/kocevski/433001/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin853.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=460425601.0 tmax=460684801.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 2.75
user 2.54
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.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/433001/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin853.fits evtable="EVENTS" outfile="/scratch/kocevski/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.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 0.43
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.fits" evtable="EVENTS" scfile=/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits sctable="SC_DATA" outfile=/scratch/kocevski/433001/ltcube_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.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/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits
.....................!
real 10.53
user 10.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.fits evtable="EVENTS" scfile=/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits sctable="SC_DATA" expcube=/scratch/kocevski/433001/ltcube_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.fits outfile=/scratch/kocevski/433001/expmap_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.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/433001/ltcube_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.fits
.....................!
real 156.61
user 151.40
sys 4.80

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/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.fits scfile=/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits outfile=/scratch/kocevski/433001/cmap_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.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 0.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.fits scfile=/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits outfile=/scratch/kocevski/433001/cmap_HighResolution_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.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 0.47
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.fits evtable="EVENTS" scfile=/scratch/kocevski/433001/ft2_4FGL_J0113.1-3553_daily_bin853.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433001/Model_4FGL_J0113.1-3553_daily_bin853.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/433001/ft1_filtered_4FGL_J0113.1-3553_daily_bin853.fits.....................!
real 39.23
user 38.11
sys 1.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2654       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    41.731       1.0000         .10000E-03   10000.    
     6 'norm      '    2.5100       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1696       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1781       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .88667       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0199       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .73346       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=   5982.081     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1704 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6381       -.14633E-05** at limit **
   2  Prefactor     7.2644        4.4220        .84476E-06   -.12954E-02
   3  Prefactor     .10000E-03    10.469        .39171E-05** at limit **
   4  Prefactor     .10000E-03    1.8883        .11615E-06** at limit **
   5  norm          41.726        28.738       -.20073E-05   -.32614E-03
   6  norm          2.5100        1.8532       -.97245E-08    .77618E-05
   7  Prefactor     .10000E-03    4.8938        .23543E-06** at limit **
   8  Prefactor     .10000E-03    15.086       -.64048E-06** at limit **
   9  Prefactor     .10000E-03    3.8315        .43119E-07** at limit **
  10  Prefactor     1.1697        3.0334        .30659E-06   -.36869E-03
  11  norm          .10000E-03    .99462       -.14237E-06** at limit **
  12  Prefactor     .10000E-03    9.6726       -.10810E-05** at limit **
  13  Prefactor     .10000E-03    15.029       -.82397E-06** at limit **
  14  Prefactor     .10000E-03    1.5630        .40297E-07** at limit **
  15  norm          1.1784        2.2795        .26100E-06   -.24045E-03
  16  Prefactor     .88752        9.6818        .28328E-05   -.34415E-03
  17  Normalizat    1.0200        .13512       -.19231E-07   -.11439E-03
  18  Prefactor     .73338        .15575       -.56805E-06   -.41735E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 7.26437
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 41.7259
  norm       = 2.51
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.16974
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.17844
  Prefactor  = 0.887519
  Normalizat = 1.01998
  Prefactor  = 0.733381
 **********
 **   18 **HESSE 
 **********

 FCN=   5982.081     FROM HESSE     STATUS=OK           238 CALLS     1942 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.2644        4.6337        .63912E-03   -1.5169    
   3  Prefactor     .10000E-03    11.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8960        .10382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          41.726        29.453        .62054E-04   -1.4415    
   6  norm          2.5100        1.8554        .88047E-04   -1.5391    
   7  Prefactor     .10000E-03    5.0929        .33418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8466        .14785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1697        3.0800        .20634E-03   -1.5492    
  11  norm          .10000E-03    1.0332        .15058E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5991        .94356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1784        2.2724        .15606E-03   -1.5491    
  16  Prefactor     .88752        11.266        .49295E-03   -1.5520    
  17  Normalizat    1.0200        .15904        .18791E-03   -.92364    
  18  Prefactor     .73338        .18259        .25508E-03   -1.0223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81286e-09
Minuit parameter uncertainties:
  1  0.000151353
  2  4.63398
  3  0.000430956
  4  5.80113e-06
  5  29.4637
  6  1.85548
  7  1.26255e-05
  8  6.29463e-05
  9  2.01311e-06
  10  3.0804
  11  3.47219e-06
  12  0.000103954
  13  9.98322e-05
  14  8.13696e-07
  15  2.27252
  16  6.32533
  17  0.159114
  18  0.182744
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.170e+00  3.080e+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:  7.334e-01  1.827e-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.020e+00  1.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/433001/likelihoodResults_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.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) = 5981.94603696
delta logL = 0.135223981058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5981.93129019
delta logL = 0.149970749915

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81176       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2254       1.0000          .0000       10.000    
     3 'Normalizat'    1.0019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74539       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=   5981.931     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81089        20.308        .12484E-01    .12430E-02
   2  Index         3.2257        3.3183        .21636        .68701E-04
   3  Normalizat    1.0019        .23984E-01    .46191E-01    .39613E-06
   4  Prefactor     .74538        .28274E-01    .43002E-01    .11258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.81089
  Index      = 3.22573
  Normalizat = 1.00192
  Prefactor  = 0.745381
 **********
 **   18 **HESSE 
 **********

 FCN=   5981.931     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81089        4.3800        .10037E-03   -1.5528    
   2  Index         3.2257        2.6542        .87870E-02   -.36276    
   3  Normalizat    1.0019        .16125        .18942E-03   -.92966    
   4  Prefactor     .74538        .18568        .25319E-03   -1.0177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70458e-08
Minuit parameter uncertainties:
  1  3.76939
  2  2.82264
  3  0.161325
  4  0.185839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433001': 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) = 5981.9312901
delta logL = 0.149970845581

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  8.109e-01  3.769e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.226e+00  2.823e+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.454e-01  1.858e-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.002e+00  1.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/433001/cmap_HighResolution_460425601_460684801_4FGL_J0113.1-3553_daily_bin853.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-08-13 17:09:53.818155', job_id='433001', GAL2='0.75', fit_tolerance='1e-08', EG2='1.00', EG='1.02', time_epoch_completed='1628899793.82', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.50e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='853' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:09:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 433001: <4FGL_J0113.1-3553_daily_bin853> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin853> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 17:00:36 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:01: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 17:01:53 2021
Terminated at Fri Aug 13 17:09:54 2021
Results reported at Fri Aug 13 17:09:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin853 18.2893 -35.894 460425601 460684801 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 :                                   462.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             393.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   481 sec.
    Turnaround time :                            558 sec.

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

