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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin508
RA = 18.2893, Dec = -35.894
tmin = 371001601, tmax = 371260801
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='431502', job_status='RUN', time_executed='2021-08-13 16:59:20.392365', time_epoch_executed='1628899160.39' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431502

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431502/ft1_4FGL_J0113.1-3553_daily_bin508.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431502/ft1_4FGL_J0113.1-3553_daily_bin508.fits outfile=/scratch/kocevski/431502/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin508.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=371001601.0 tmax=371260801.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 8.70
user 6.18
sys 2.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.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/431502/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin508.fits evtable="EVENTS" outfile="/scratch/kocevski/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.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 2.76
user 0.34
sys 2.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.fits" evtable="EVENTS" scfile=/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits sctable="SC_DATA" outfile=/scratch/kocevski/431502/ltcube_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.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/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits
.....................!
real 14.33
user 11.45
sys 2.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/431502/ltcube_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.fits outfile=/scratch/kocevski/431502/expmap_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.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/431502/ltcube_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.fits
.....................!
real 193.95
user 184.95
sys 8.58

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/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.fits scfile=/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits outfile=/scratch/kocevski/431502/cmap_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.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 2.69
user 0.38
sys 2.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.fits scfile=/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits outfile=/scratch/kocevski/431502/cmap_HighResolution_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.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 2.74
user 0.38
sys 2.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/431502/ft2_4FGL_J0113.1-3553_daily_bin508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431502/Model_4FGL_J0113.1-3553_daily_bin508.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/431502/ft1_filtered_4FGL_J0113.1-3553_daily_bin508.fits.....................!
real 33.14
user 28.71
sys 4.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.645       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9010       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.765       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6447       1.0000         .10000E-03   10000.    
     5 'norm      '    .10391E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .62548       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.189       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0777       1.0000         .10000E-03   10000.    
    15 'norm      '    2.4136       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3147       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .40111       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2857.547     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1731 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.645        81.483         .0000        .23764E-03
   2  Prefactor     1.9017        23.030         .0000        .10584E-01
   3  Prefactor     12.760        36.339         .0000        .98018E-03
   4  Prefactor     5.6440        9.7053         .0000        .21495E-02
   5  norm          .10000E-03    108.96         .0000    ** at limit **
   6  norm          .10000E-03    1.1645         .0000    ** at limit **
   7  Prefactor     .10000E-03    14.495         .0000    ** at limit **
   8  Prefactor     .10000E-03    7.9416         .0000    ** at limit **
   9  Prefactor     4.9432        24.278         .0000        .15675E-03
  10  Prefactor     .10000E-03    4.0795         .0000    ** at limit **
  11  norm          .62549        4.0698         .0000        .69116E-03
  12  Prefactor     28.192        24.358         .0000       -.25703E-04
  13  Prefactor     .10000E-03    12.622         .0000    ** at limit **
  14  Prefactor     3.0780        6.2288         .0000        .67051E-02
  15  norm          2.4134        3.7920         .0000        .21362E-03
  16  Prefactor     .10000E-03    10.118         .0000    ** at limit **
  17  Normalizat    1.3147        .24077         .0000        .17841E-04
  18  Prefactor     .40107        .25601         .0000        .44650E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.6454
  Prefactor  = 1.90171
  Prefactor  = 12.7605
  Prefactor  = 5.644
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.94324
  Prefactor  = 0.0001
  norm       = 0.625488
  Prefactor  = 28.1915
  Prefactor  = 0.0001
  Prefactor  = 3.07796
  norm       = 2.41342
  Prefactor  = 0.0001
  Normalizat = 1.31468
  Prefactor  = 0.401069
 **********
 **   18 **HESSE 
 **********

 FCN=   2857.547     FROM HESSE     STATUS=OK           242 CALLS     1973 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.645        76.156        .51105E-04   -1.4136    
   2  Prefactor     1.9017        19.090        .14994E-02   -1.5432    
   3  Prefactor     12.760        35.124        .11212E-03   -1.4993    
   4  Prefactor     5.6440        9.6914        .84539E-03   -1.5233    
   5  norm          .10000E-03    110.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1653        .56335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.9430        .14714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9432        23.560        .18088E-03   -1.5263    
  10  Prefactor     .10000E-03    4.1504        .10534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .62549        3.8141        .19004E-03   -1.5550    
  12  Prefactor     28.192        23.954        .75458E-04   -1.4646    
  13  Prefactor     .10000E-03    12.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0780        6.2442        .88549E-03   -1.5357    
  15  norm          2.4134        3.7763        .12575E-03   -1.5397    
  16  Prefactor     .10000E-03    10.161        .16607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3147        .26929        .18444E-03   -.83129    
  18  Prefactor     .40107        .28218        .34388E-03   -1.1675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62528e-09
Minuit parameter uncertainties:
  1  76.2771
  2  12.0553
  3  35.1813
  4  9.69412
  5  0.000694221
  6  2.48579e-06
  7  1.6299e-05
  8  1.08094e-05
  9  21.5974
  10  1.98752e-05
  11  3.08918
  12  23.9617
  13  1.23174e-06
  14  6.24554
  15  3.77666
  16  2.92167e-06
  17  0.269576
  18  0.283162
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  1.988e-05  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:  4.011e-01  2.832e-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.315e+00  2.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.289 -35.894
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431502/likelihoodResults_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.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): 102
logL (Free Index) = 2857.54765351
delta logL = -0.00114601643781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2857.54650746
delta logL = 3.53338691639e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4202       1.0000          .0000       10.000    
     3 'Normalizat'    1.3147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .40104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2857.547     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10265E-03    6.5578        .10641E-01** at limit **
   2  Index         2.5133        6.2282        .50000       -.31503E-04
   3  Normalizat    1.3147        .65750E-02    .18444E-03   -.20318E-03
   4  Prefactor     .40107        .71252E-02    .34387E-03    .42830E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102654
  Index      = 2.51333
  Normalizat = 1.31467
  Prefactor  = 0.401074
 **********
 **   18 **HESSE 
 **********

 FCN=   2857.547     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10265E-03    594.39        .21645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5133        8.1082        .50000       -.52052    
   3  Normalizat    1.3147        .76966E-01    .36889E-04   -.83129    
   4  Prefactor     .40107        .83312E-01    .13755E-04   -1.1675    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54587e-06
Minuit parameter uncertainties:
  1  0.0802462
  2  1077.97
  3  0.0769724
  4  0.0833375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431502': 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): 102
logL (Free Index) = 2857.54650695
delta logL = 5.39704160474e-07

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.027e-04  8.025e-02  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.513e+00  1.078e+03  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:  4.011e-01  8.334e-02  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.315e+00  7.697e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/431502/cmap_HighResolution_371001601_371260801_4FGL_J0113.1-3553_daily_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.28e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-08-13 17:07:25.505846', job_id='431502', GAL2='0.40', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1628899645.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.40', dlogl='5.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='508' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:07:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 431502: <4FGL_J0113.1-3553_daily_bin508> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin508 18.2893 -35.894 371001601 371260801 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 :                                   517.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            701 sec.

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

