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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin824
RA = 18.2893, Dec = -35.894
tmin = 452908801, tmax = 453168001
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='432961', job_status='RUN', time_executed='2021-08-13 17:01:55.386011', time_epoch_executed='1628899315.39' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='824'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432961

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432961/ft1_4FGL_J0113.1-3553_daily_bin824.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432961/ft1_4FGL_J0113.1-3553_daily_bin824.fits outfile=/scratch/kocevski/432961/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin824.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=452908801.0 tmax=453168001.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 4.76
user 3.85
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.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/432961/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin824.fits evtable="EVENTS" outfile="/scratch/kocevski/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.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 1.15
user 0.32
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.fits" evtable="EVENTS" scfile=/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits sctable="SC_DATA" outfile=/scratch/kocevski/432961/ltcube_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.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/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits
.....................!
real 12.78
user 11.63
sys 1.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits sctable="SC_DATA" expcube=/scratch/kocevski/432961/ltcube_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.fits outfile=/scratch/kocevski/432961/expmap_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.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/432961/ltcube_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.fits
.....................!
real 192.43
user 185.77
sys 6.00

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/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.fits scfile=/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits outfile=/scratch/kocevski/432961/cmap_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.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 1.18
user 0.36
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.fits scfile=/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits outfile=/scratch/kocevski/432961/cmap_HighResolution_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.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 1.18
user 0.38
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/432961/ft2_4FGL_J0113.1-3553_daily_bin824.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432961/Model_4FGL_J0113.1-3553_daily_bin824.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/432961/ft1_filtered_4FGL_J0113.1-3553_daily_bin824.fits.....................!
real 35.86
user 33.61
sys 2.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13527E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4621       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1117       1.0000         .10000E-03   10000.    
     5 'norm      '    15.319       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1027       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .93272       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8519       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8117       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0249       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15702E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .28031       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10855E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .67825       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1618       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=   4023.854     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1557 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.402        .11316E-05** at limit **
   2  Prefactor     .10000E-03    3.2279        .46689E-06** at limit **
   3  Prefactor     8.4712        17.388       -.42683E-05   -.38083E-03
   4  Prefactor     4.1118        6.0854        .68346E-06    .16255E-03
   5  norm          15.319        22.518        .28992E-05    .22912E-03
   6  norm          .10000E-03    3.9661       -.25948E-06** at limit **
   7  Prefactor     6.1022        9.6233        .48562E-07   -.26304E-04
   8  Prefactor     .81782        21.501       -.25527E-06   -.16509E-04
   9  Prefactor     .10000E-03    12.131        .14028E-05** at limit **
  10  Prefactor     2.8521        2.1318        .59772E-06   -.19997E-02
  11  norm          2.8120        2.3329       -.25348E-07    .25781E-04
  12  Prefactor     .10000E-03    8.6124       -.24572E-05** at limit **
  13  Prefactor     1.0451        23.188       -.43659E-05    .30252E-03
  14  Prefactor     .10000E-03    3.0738        .97914E-06** at limit **
  15  norm          .27350        2.4814       -.10062E-05    .57375E-03
  16  Prefactor     .10000E-03    15.612       -.90825E-06** at limit **
  17  Normalizat    .67820        .17900       -.85221E-06    .87669E-04
  18  Prefactor     1.1618        .20999        .71635E-06    .60348E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.47124
  Prefactor  = 4.11177
  norm       = 15.3195
  norm       = 0.0001
  Prefactor  = 6.10222
  Prefactor  = 0.817822
  Prefactor  = 0.0001
  Prefactor  = 2.8521
  norm       = 2.81196
  Prefactor  = 0.000100001
  Prefactor  = 1.04505
  Prefactor  = 0.0001
  norm       = 0.2735
  Prefactor  = 0.0001
  Normalizat = 0.678203
  Prefactor  = 1.16184
 **********
 **   18 **HESSE 
 **********

 FCN=   4023.854     FROM HESSE     STATUS=OK           254 CALLS     1811 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.8039        .21791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.4712        17.837        .13781E-03   -1.5126    
   4  Prefactor     4.1118        6.0900        .18358E-03   -1.5302    
   5  norm          15.319        22.669        .10233E-03   -1.4925    
   6  norm          .10000E-03    4.1426        .24644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1022        9.6200        .16252E-03   -1.5214    
   8  Prefactor     .81782        199.71        .55546E-02   -1.5527    
   9  Prefactor     .10000E-03    12.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8521        3.6259        .64886E-03   -1.5370    
  11  norm          2.8120        2.3273        .85574E-04   -1.5373    
  12  Prefactor     .10000E-03    8.6883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0451        113.61        .51476E-02   -1.5504    
  14  Prefactor     .10000E-03    8.3315        .20162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .27350        9.3630        .18157E-02   -1.5603    
  16  Prefactor     .10000E-03    15.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .67820        .20836        .22934E-03   -1.0476    
  18  Prefactor     1.1618        .24614        .21755E-03   -.87514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46497e-08
Minuit parameter uncertainties:
  1  0.000246858
  2  0.000178902
  3  17.8478
  4  6.09095
  5  22.6814
  6  1.45944e-05
  7  9.62244
  8  25.6452
  9  0.000138965
  10  3.62615
  11  2.32739
  12  0.000199961
  13  21.8339
  14  9.92946e-05
  15  3.20045
  16  9.08581e-05
  17  0.208604
  18  0.246387
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.852e+00  3.626e+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:  1.162e+00  2.464e-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:  6.782e-01  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/432961/likelihoodResults_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.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) = 4023.75666129
delta logL = 0.0972724052017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4023.75478557
delta logL = 0.0991481272304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9816       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8677       1.0000          .0000       10.000    
     3 'Normalizat'    .66516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1726       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=   4023.755     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9876        70.548        .73607E-02    .13995E-03
   2  Index         2.8663        6.3459        .15343        .48010E-04
   3  Normalizat    .66526        .54901E-01    .41823E-01    .12113E-04
   4  Prefactor     1.1724        .65016E-01    .35313E-01   -.22378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9876
  Index      = 2.86625
  Normalizat = 0.665257
  Prefactor  = 1.17243
 **********
 **   18 **HESSE 
 **********

 FCN=   4023.755     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9876        4.0394        .97033E-04   -1.5426    
   2  Index         2.8663        1.2919        .80394E-02   -.44090    
   3  Normalizat    .66526        .20418        .23138E-03   -1.0528    
   4  Prefactor     1.1724        .24591        .21668E-03   -.87184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10005e-09
Minuit parameter uncertainties:
  1  4.04
  2  1.31011
  3  0.204418
  4  0.246147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432961': 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) = 4023.75478389
delta logL = 0.0991498116318

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.988e+00  4.040e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.866e+00  1.310e+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:  1.172e+00  2.461e-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:  6.653e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 2.87 +/- 1.31
Photon Flux (Free Index): 3.53e-08 +/- 4.13e-08
Energy Flux (Free Index): 7.58e-06 +/- 9.49e-06

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/432961/cmap_HighResolution_452908801_453168001_4FGL_J0113.1-3553_daily_bin824.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', comment='SUCCESS', energy_flux2='7.58e-06', dlogl='9.91e-02', photon_flux2='3.53e-08', job_status='DONE', time_completed='2021-08-13 17:10:04.458025', photon_index_error2='1.31', photon_index2='2.87', ts='0.82', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='9.49e-06', EG='0.68', time_epoch_completed='1628899804.46', return_code='0', job_id='432961', GAL2='1.17', EG2='0.67', return_code2='0', photon_flux_error2='4.13e-08', ts2='1.03', photon_index='2.40' WHERE bin_id='824' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:10:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 432961: <4FGL_J0113.1-3553_daily_bin824> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin824 18.2893 -35.894 452908801 453168001 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 :                                   497.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   511 sec.
    Turnaround time :                            573 sec.

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

