/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 7 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7372
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1038
RA = 18.2893, Dec = -35.894
tmin = 508377601, tmax = 508636801
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='434335', job_status='RUN', time_executed='2021-08-13 17:08:16.674353', time_epoch_executed='1628899696.67' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1038'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434335/ft1_4FGL_J0113.1-3553_daily_bin1038.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434335/ft1_4FGL_J0113.1-3553_daily_bin1038.fits outfile=/scratch/kocevski/434335/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1038.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=508377601.0 tmax=508636801.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 12.69
user 3.41
sys 8.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434335/ft1_filtered_4FGL_J0113.1-3553_daily_bin1038.fits" evtable="EVENTS" scfile=/scratch/kocevski/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits sctable="SC_DATA" outfile=/scratch/kocevski/434335/ltcube_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.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/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits
.....................!
real 24.19
user 13.85
sys 9.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434335/ft1_filtered_4FGL_J0113.1-3553_daily_bin1038.fits evtable="EVENTS" scfile=/scratch/kocevski/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits sctable="SC_DATA" expcube=/scratch/kocevski/434335/ltcube_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.fits outfile=/scratch/kocevski/434335/expmap_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.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/434335/ltcube_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.fits
.....................!
real 204.45
user 185.91
sys 15.83

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/434335/ft1_filtered_4FGL_J0113.1-3553_daily_bin1038.fits scfile=/scratch/kocevski/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits outfile=/scratch/kocevski/434335/cmap_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.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 8.70
user 0.38
sys 8.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434335/ft1_filtered_4FGL_J0113.1-3553_daily_bin1038.fits scfile=/scratch/kocevski/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits outfile=/scratch/kocevski/434335/cmap_HighResolution_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.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 8.67
user 0.38
sys 8.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434335/ft1_filtered_4FGL_J0113.1-3553_daily_bin1038.fits evtable="EVENTS" scfile=/scratch/kocevski/434335/ft2_4FGL_J0113.1-3553_daily_bin1038.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434335/Model_4FGL_J0113.1-3553_daily_bin1038.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/434335/ft1_filtered_4FGL_J0113.1-3553_daily_bin1038.fits....................!
real 48.90
user 36.32
sys 12.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.034       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10724E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7303       1.0000         .10000E-03   10000.    
     5 'norm      '    7.2479       1.0000         .10000E-03   10000.    
     6 'norm      '    6.3113       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28120E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.9517       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6818       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2966       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0976       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.061       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4244       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .53906       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=   3994.470     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1498 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.032        32.208        .32435E-05   -.73075E-05
   2  Prefactor     .10000E-03    3.5243       -.69461E-07** at limit **
   3  Prefactor     .10000E-03    13.535        .35017E-05** at limit **
   4  Prefactor     7.7237        11.582        .12922E-04   -.48230E-04
   5  norm          7.1212        40.666       -.15255E-04   -.24018E-04
   6  norm          6.3112        4.5095       -.10154E-05   -.10345E-03
   7  Prefactor     .10000E-03    8.0431        .16954E-05** at limit **
   8  Prefactor     .10000E-03    14.964       -.42552E-05** at limit **
   9  Prefactor     .10000E-03    5.5227        .22320E-06** at limit **
  10  Prefactor     7.9511        5.3672       -.89463E-06   -.12424E-03
  11  norm          1.6818        1.6747        .65930E-06    .62763E-03
  12  Prefactor     3.2981        33.826       -.40140E-04   -.64041E-04
  13  Prefactor     .10000E-03    9.4123       -.31328E-06** at limit **
  14  Prefactor     6.0970        4.5499       -.10952E-05   -.69992E-04
  15  norm          .10000E-03    2.9224        .19778E-06** at limit **
  16  Prefactor     11.055        17.527        .69032E-05   -.21078E-04
  17  Normalizat    1.4245        .22117        .35273E-06   -.28511E-05
  18  Prefactor     .53915        .23481        .11832E-06   -.13237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.0316
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.72373
  norm       = 7.12116
  norm       = 6.31119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.95113
  norm       = 1.68175
  Prefactor  = 3.29809
  Prefactor  = 0.0001
  Prefactor  = 6.09702
  norm       = 0.0001
  Prefactor  = 11.0548
  Normalizat = 1.42446
  Prefactor  = 0.539152
 **********
 **   18 **HESSE 
 **********

 FCN=   3994.470     FROM HESSE     STATUS=OK           248 CALLS     1746 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.032        32.203        .66762E-04   -1.4507    
   2  Prefactor     .10000E-03    3.5428        .11579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7237        11.562        .14423E-03   -1.5152    
   5  norm          7.1212        41.281        .14899E-03   -1.5174    
   6  norm          6.3112        4.5078        .10923E-03   -1.5205    
   7  Prefactor     .10000E-03    21.769        .34751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5273        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.9511        5.3872        .11415E-03   -1.5144    
  11  norm          1.6818        1.6919        .79013E-04   -1.5449    
  12  Prefactor     3.2981        34.388        .22299E-03   -1.5345    
  13  Prefactor     .10000E-03    9.4167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.0970        4.5581        .11195E-03   -1.5214    
  15  norm          .10000E-03    2.9838        .10546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.055        17.519        .12046E-03   -1.5043    
  17  Normalizat    1.4245        .26448        .19972E-03   -.79924    
  18  Prefactor     .53915        .27532        .34022E-03   -1.1021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30416e-10
Minuit parameter uncertainties:
  1  32.218
  2  1.72724e-05
  3  2.99869e-05
  4  11.5651
  5  34.3267
  6  4.50802
  7  0.000168404
  8  2.88704e-06
  9  3.49736e-05
  10  5.38755
  11  1.69192
  12  21.3147
  13  1.26726e-06
  14  4.55835
  15  2.9617e-05
  16  17.5272
  17  0.264736
  18  0.276009
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  7.951e+00  5.388e+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:  5.392e-01  2.760e-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.424e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.21
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 7.36e-08 +/- 4.98e-08
Energy Flux (Fixed Index): 2.40e-05 +/- 1.63e-05

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) = 3993.81011599
delta logL = 0.659941566561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3993.80753351
delta logL = 0.662524051048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4152       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1498       1.0000          .0000       10.000    
     3 'Normalizat'    1.3655       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58487       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=   3993.808     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      298 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4154        5.2733        .69828E-04   -.22118E-03
   2  Index         3.1498        .80701        .43807E-02   -.30584E-04
   3  Normalizat    1.3655        .25721        .20299E-03    .11198E-03
   4  Prefactor     .58484        .27805        .32752E-03    .90579E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.41545
  Index      = 3.14981
  Normalizat = 1.3655
  Prefactor  = 0.584845
 **********
 **   18 **HESSE 
 **********

 FCN=   3993.808     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4154        4.6753        .27931E-05   -1.5288    
   2  Index         3.1498        .71564        .17523E-03   -.37905    
   3  Normalizat    1.3655        .25706        .40597E-04   -.81632    
   4  Prefactor     .58484        .27778        .13101E-04   -1.0823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15907e-11
Minuit parameter uncertainties:
  1  4.67571
  2  0.718498
  3  0.257298
  4  0.278433
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434335': 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) = 3993.80753345
delta logL = 0.662524102521

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  4.415e+00  4.676e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.150e+00  7.185e-01  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:  5.848e-01  2.784e-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.365e+00  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.60
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 3.15 +/- 0.72
Photon Flux (Free Index): 1.21e-07 +/- 7.28e-08
Energy Flux (Free Index): 2.26e-05 +/- 1.27e-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/434335/cmap_HighResolution_508377601_508636801_4FGL_J0113.1-3553_daily_bin1038.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.36e-08', energy_flux2='2.26e-05', photon_flux_error='4.98e-08', dlogl='6.63e-01', energy_flux='2.40e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-08-13 17:18:15.625028', photon_index_error2='0.72', photon_index2='3.15', ts='4.21', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.42', time_epoch_completed='1628900295.63', return_code='0', job_id='434335', GAL2='0.58', EG2='1.37', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='7.28e-08', ts2='5.60', photon_index='2.40' WHERE bin_id='1038' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:18:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 434335: <4FGL_J0113.1-3553_daily_bin1038> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1038> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 17:05:26 2021
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:05:48 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:05:48 2021
Terminated at Fri Aug 13 17:18:17 2021
Results reported at Fri Aug 13 17:18:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1038 18.2893 -35.894 508377601 508636801 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 :                                   705.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            771 sec.

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

