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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1619
RA = 18.2893, Dec = -35.894
tmin = 658972801, tmax = 659232001
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='136816', job_status='RUN', time_executed='2021-12-07 11:59:23.025562', time_epoch_executed='1638907163.03' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1619'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/136816

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/136816/ft1_4FGL_J0113.1-3553_daily_bin1619.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/136816/ft1_4FGL_J0113.1-3553_daily_bin1619.fits outfile=/scratch/kocevski/136816/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1619.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=658972801.0 tmax=659232001.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.95
user 2.76
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.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/136816/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1619.fits evtable="EVENTS" outfile="/scratch/kocevski/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.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.50
user 0.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.fits" evtable="EVENTS" scfile=/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits sctable="SC_DATA" outfile=/scratch/kocevski/136816/ltcube_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.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/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits
.....................!
real 14.15
user 13.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits sctable="SC_DATA" expcube=/scratch/kocevski/136816/ltcube_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.fits outfile=/scratch/kocevski/136816/expmap_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.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/136816/ltcube_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.fits
.....................!
real 190.35
user 185.62
sys 4.04

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/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.fits scfile=/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits outfile=/scratch/kocevski/136816/cmap_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.fits scfile=/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits outfile=/scratch/kocevski/136816/cmap_HighResolution_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/136816/ft2_4FGL_J0113.1-3553_daily_bin1619.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/136816/Model_4FGL_J0113.1-3553_daily_bin1619.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/136816/ft1_filtered_4FGL_J0113.1-3553_daily_bin1619.fits.....................!
real 46.77
user 45.45
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11943E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    79.789       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0365       1.0000         .10000E-03   10000.    
     5 'norm      '    79.622       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3518       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.784       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3550       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.444       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21941E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8869       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1499       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3147       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .90932       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .76285       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=   5823.285     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1532 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.102        .56750E-06** at limit **
   2  Prefactor     .10000E-03    2.6751        .77348E-06** at limit **
   3  Prefactor     79.770        27.655       -.88389E-05   -.10749E-04
   4  Prefactor     5.0365        5.1374       -.34456E-05    .73241E-04
   5  norm          79.617        34.239       -.21950E-05    .39614E-04
   6  norm          .10000E-03    .67287        .24861E-07** at limit **
   7  Prefactor     9.3364        11.185       -.75325E-05   -.15471E-03
   8  Prefactor     21.784        15.321        .11277E-06    .39245E-04
   9  Prefactor     .10001E-03    33.485        .57909E-05** at limit **
  10  Prefactor     .10000E-03    2.4254       -.18764E-06** at limit **
  11  norm          5.3534        3.1902        .31492E-06   -.17789E-03
  12  Prefactor     30.437        20.162       -.22643E-05   -.19837E-04
  13  Prefactor     .10000E-03    62.437       -.81849E-05** at limit **
  14  Prefactor     3.8893        3.6736       -.14997E-05   -.14217E-03
  15  norm          4.1496        3.6816       -.11550E-05   -.25977E-03
  16  Prefactor     9.3152        7.8254       -.54005E-06    .31382E-04
  17  Normalizat    .90940        .15611        .53950E-05   -.14388E-03
  18  Prefactor     .76282        .16976       -.61329E-06    .27948E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 79.7704
  Prefactor  = 5.03645
  norm       = 79.6173
  norm       = 0.0001
  Prefactor  = 9.33642
  Prefactor  = 21.7844
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 5.35341
  Prefactor  = 30.4366
  Prefactor  = 0.0001
  Prefactor  = 3.88932
  norm       = 4.14963
  Prefactor  = 9.31522
  Normalizat = 0.909395
  Prefactor  = 0.76282
 **********
 **   18 **HESSE 
 **********

 FCN=   5823.285     FROM HESSE     STATUS=OK           246 CALLS     1778 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.7293        .12201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     79.770        27.584        .44961E-04   -1.3919    
   4  Prefactor     5.0365        5.1268        .16780E-03   -1.5259    
   5  norm          79.617        34.344        .45008E-04   -1.3921    
   6  norm          .10000E-03    .67428        .61126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.3364        11.220        .13105E-03   -1.5097    
   8  Prefactor     21.784        15.324        .85819E-04   -1.4774    
   9  Prefactor     .10001E-03    34.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4989        .23180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3534        3.1874        .98234E-04   -1.5245    
  12  Prefactor     30.437        20.158        .72616E-04   -1.4604    
  13  Prefactor     .10000E-03    65.209        .40288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8893        3.6721        .13508E-03   -1.5314    
  15  norm          4.1496        3.6839        .13284E-03   -1.5301    
  16  Prefactor     9.3152        7.8241        .13131E-03   -1.5097    
  17  Normalizat    .90940        .18244        .21422E-03   -.96131    
  18  Prefactor     .76282        .19964        .26378E-03   -1.0111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55255e-09
Minuit parameter uncertainties:
  1  9.66551e-05
  2  0.000111018
  3  27.5884
  4  5.12725
  5  34.3524
  6  1.34521e-06
  7  11.2221
  8  15.3264
  9  0.000943741
  10  2.03695e-05
  11  3.18745
  12  20.1621
  13  4.47868e-05
  14  3.67229
  15  3.68412
  16  7.82499
  17  0.182562
  18  0.199831
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  2.037e-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:  7.628e-01  1.998e-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.094e-01  1.826e-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: 6.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/136816/likelihoodResults_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.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) = 5823.28722085
delta logL = -0.00190910593938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5823.28531105
delta logL = 6.92315552442e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5821.369     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      253 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .64859E-03    .52603E-08** at limit **
   2  Index         8.9642        .30671       -.19781E-05    .10635E-04
   3  Normalizat    .77590        .18637       -.80569E-05    .61708E-04
   4  Prefactor     .86759        .20949        .57854E-05    .73506E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.96422
  Normalizat = 0.775903
  Prefactor  = 0.867588
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.369     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      294 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .24166E-02    .28226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.9642        2.5268        .15951        .91546    
   3  Normalizat    .77590        .46179E-01    .45021E-01   -1.0097    
   4  Prefactor     .86759        .51514E-01    .43233E-01   -.97283    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.70529e-09
Minuit parameter uncertainties:
  1  4.97665e-09
  2  2.97941
  3  0.0461809
  4  0.0515169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/136816': 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) = 5821.36852376
delta logL = 1.91678799061

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  4.977e-09  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  8.964e+00  2.979e+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:  8.676e-01  5.152e-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:  7.759e-01  4.618e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.28
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 8.96 +/- 2.98
Photon Flux (Free Index): 9.78e-08 +/- 5.40e-07
Energy Flux (Free Index): 1.11e-05 +/- 6.11e-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/136816/cmap_HighResolution_658972801_659232001_4FGL_J0113.1-3553_daily_bin1619.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', comment='SUCCESS', energy_flux2='1.11e-05', dlogl='1.92e+00', photon_flux2='9.78e-08', job_status='DONE', time_completed='2021-12-07 12:08:26.963005', photon_index_error2='2.98', photon_index2='8.96', ts='-0.00', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='6.26e-08', energy_flux_error2='6.11e-05', EG='0.91', time_epoch_completed='1638907706.96', return_code='0', job_id='136816', GAL2='0.87', EG2='0.78', return_code2='102', photon_flux_error2='5.40e-07', ts2='4.28', photon_index='2.40' WHERE bin_id='1619' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:08:26 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 136816: <4FGL_J0113.1-3553_daily_bin1619> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1619> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 11:55:26 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 11:57:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 11:57:00 2021
Terminated at Tue Dec  7 12:08:27 2021
Results reported at Tue Dec  7 12:08:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1619 18.2893 -35.894 658972801 659232001 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 :                                   543.01 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             290.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            781 sec.

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

