/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 234 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 = 7406
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin219
RA = 18.2893, Dec = -35.894
tmin = 296092801, tmax = 296352001
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='430096', job_status='RUN', time_executed='2021-08-13 16:56:28.659699', time_epoch_executed='1628898988.66' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430096/ft1_4FGL_J0113.1-3553_daily_bin219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430096/ft1_4FGL_J0113.1-3553_daily_bin219.fits outfile=/scratch/kocevski/430096/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin219.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=296092801.0 tmax=296352001.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 3.75
user 2.19
sys 1.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits" evtable="EVENTS" scfile=/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits sctable="SC_DATA" outfile=/scratch/kocevski/430096/ltcube_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.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/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits
.....................!
real 13.63
user 11.80
sys 1.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits evtable="EVENTS" scfile=/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits sctable="SC_DATA" expcube=/scratch/kocevski/430096/ltcube_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.fits outfile=/scratch/kocevski/430096/expmap_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.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/430096/ltcube_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.fits
.....................!
real 192.21
user 185.20
sys 6.20

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/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits scfile=/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits outfile=/scratch/kocevski/430096/cmap_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.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.80
user 0.38
sys 1.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits scfile=/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits outfile=/scratch/kocevski/430096/cmap_HighResolution_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.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.85
user 0.38
sys 1.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits evtable="EVENTS" scfile=/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430096/Model_4FGL_J0113.1-3553_daily_bin219.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/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits.....................!
real 42.15
user 39.19
sys 2.78

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits', '/scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits', expMap='/scratch/kocevski/430096/expmap_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.fits', expCube='/scratch/kocevski/430096/ltcube_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430096/Model_4FGL_J0113.1-3553_daily_bin219.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/430096/ft1_filtered_4FGL_J0113.1-3553_daily_bin219.fits
Spacecraft file(s): /scratch/kocevski/430096/ft2_4FGL_J0113.1-3553_daily_bin219.fits
Exposure map: /scratch/kocevski/430096/expmap_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.fits
Exposure cube: /scratch/kocevski/430096/ltcube_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430096/Model_4FGL_J0113.1-3553_daily_bin219.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4981.44463801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23489E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.092       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3858       1.0000         .10000E-03   10000.    
     5 'norm      '    6.1375       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8615       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.425       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2753       1.0000         .10000E-03   10000.    
    11 'norm      '    .17751       1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.323       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10389       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1195       1.0000         .10000E-03   10000.    
    15 'norm      '    11.603       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .44153       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2802       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=   4981.020     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1582 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    33.815        .15650E-05** at limit **
   2  Prefactor     11.090        7.3092       -.76060E-06   -.52041E-03
   3  Prefactor     5.6902        17.713        .45479E-05   -.36019E-04
   4  Prefactor     5.3847        6.7241        .81623E-06   -.24484E-04
   5  norm          6.1258        25.263       -.69675E-05   -.26059E-04
   6  norm          1.8614        1.6684       -.25479E-07    .60059E-06
   7  Prefactor     13.434        9.7941       -.18300E-06   -.97915E-05
   8  Prefactor     .10000E-03    12.712       -.96733E-07** at limit **
   9  Prefactor     .10000E-03    4.0567       -.12380E-07** at limit **
  10  Prefactor     1.2753        2.3836       -.32440E-07   -.94195E-04
  11  norm          .17783        1.6417        .27507E-07   -.30216E-03
  12  Prefactor     34.294        15.850       -.12682E-06   -.21376E-05
  13  Prefactor     .10116E-03    21.343       -.58124E-06** at limit **
  14  Prefactor     3.1230        1.5636        .79563E-07   -.14582E-02
  15  norm          11.603        4.3251        .77669E-08   -.32650E-05
  16  Prefactor     .10000E-03    6.6508        .34272E-07** at limit **
  17  Normalizat    .44158        .16725        .82710E-06   -.18817E-04
  18  Prefactor     1.2803        .19427       -.12859E-06    .90867E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100041
  Prefactor  = 11.0898
  Prefactor  = 5.69017
  Prefactor  = 5.38472
  norm       = 6.12581
  norm       = 1.86138
  Prefactor  = 13.4337
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.27535
  norm       = 0.177825
  Prefactor  = 34.294
  Prefactor  = 0.000101162
  Prefactor  = 3.12304
  norm       = 11.6028
  Prefactor  = 0.0001
  Normalizat = 0.441578
  Prefactor  = 1.28028
 **********
 **   18 **HESSE 
 **********

 FCN=   4981.020     FROM HESSE     STATUS=OK           266 CALLS     1848 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    192.08        .68363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.090        6.6040        .11752E-03   -1.5042    
   3  Prefactor     5.6902        17.686        .16840E-03   -1.5231    
   4  Prefactor     5.3847        6.7482        .17316E-03   -1.5244    
   5  norm          6.1258        25.200        .16205E-03   -1.5213    
   6  norm          1.8614        1.6709        .84108E-04   -1.5435    
   7  Prefactor     13.434        9.8039        .10932E-03   -1.4975    
   8  Prefactor     .10000E-03    12.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.0613        .13878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2753        2.3518        .14286E-03   -1.5482    
  11  norm          .17783        1.7278        .17777E-03   -1.5624    
  12  Prefactor     34.294        15.779        .68401E-04   -1.4536    
  13  Prefactor     .10116E-03    30.076        .89761E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1230        4.0235        .73500E-03   -1.5355    
  15  norm          11.603        4.3270        .85590E-04   -1.5027    
  16  Prefactor     .10000E-03    6.6886        .17773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .44158        .19319        .27342E-03   -1.1520    
  18  Prefactor     1.2803        .22323        .20622E-03   -.83895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48144e-09
Minuit parameter uncertainties:
  1  0.00562583
  2  6.6044
  3  17.7018
  4  6.74919
  5  24.8672
  6  1.67093
  7  9.80512
  8  4.25972e-06
  9  3.5188e-07
  10  2.35202
  11  1.10832
  12  15.7809
  13  0.0118269
  14  4.02388
  15  4.32712
  16  3.27733e-06
  17  0.193481
  18  0.223396
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.275e+00  2.352e+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.280e+00  2.234e-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:  4.416e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/430096/likelihoodResults_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.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) = 4981.00285699
delta logL = 0.0170650266582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4980.99707833
delta logL = 0.0228436782218

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5716       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1746       1.0000          .0000       10.000    
     3 'Normalizat'    .44420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2773       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=   4980.997     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      244 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5713        2.9480        .15097E-03    .64610E-04
   2  Index         2.1745        1.0138        .12139E-01    .15182E-04
   3  Normalizat    .44417        .17774        .27263E-03    .10212E-03
   4  Prefactor     1.2774        .22099        .20641E-03    .11443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.57135
  Index      = 2.17454
  Normalizat = 0.444169
  Prefactor  = 1.27735
 **********
 **   18 **HESSE 
 **********

 FCN=   4980.997     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5713        2.8808        .60389E-05   -1.5457    
   2  Index         2.1745        .99147        .48556E-03   -.60054    
   3  Normalizat    .44417        .17785        .10905E-04   -1.1508    
   4  Prefactor     1.2774        .22111        .41282E-04   -.83983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20994e-11
Minuit parameter uncertainties:
  1  2.88107
  2  1.00128
  3  0.178073
  4  0.22127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430096': 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) = 4980.9970783
delta logL = 0.0228437087453

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.571e+00  2.881e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.175e+00  1.001e+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.277e+00  2.213e-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:  4.442e-01  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/430096/cmap_HighResolution_296092801_296352001_4FGL_J0113.1-3553_daily_bin219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2021-08-13 17:05:22.559528', job_id='430096', GAL2='1.28', fit_tolerance='1e-08', EG2='0.44', EG='0.44', time_epoch_completed='1628899522.56', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='2.28e-02', ts2='0.42', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='219' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:05:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 430096: <4FGL_J0113.1-3553_daily_bin219> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin219> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:51:12 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:52:00 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:52:00 2021
Terminated at Fri Aug 13 17:05:23 2021
Results reported at Fri Aug 13 17:05:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin219 18.2893 -35.894 296092801 296352001 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 :                                   551.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             241.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            851 sec.

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

