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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin400
RA = 18.2893, Dec = -35.894
tmin = 343008001, tmax = 343267201
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='430393', job_status='RUN', time_executed='2021-08-13 16:55:34.069654', time_epoch_executed='1628898934.07' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430393

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430393/ft1_4FGL_J0113.1-3553_daily_bin400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430393/ft1_4FGL_J0113.1-3553_daily_bin400.fits outfile=/scratch/kocevski/430393/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin400.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=343008001.0 tmax=343267201.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.18
user 2.95
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.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/430393/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin400.fits evtable="EVENTS" outfile="/scratch/kocevski/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.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.43
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.fits" evtable="EVENTS" scfile=/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits sctable="SC_DATA" outfile=/scratch/kocevski/430393/ltcube_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.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/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits
.....................!
real 10.26
user 9.91
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits sctable="SC_DATA" expcube=/scratch/kocevski/430393/ltcube_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.fits outfile=/scratch/kocevski/430393/expmap_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.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/430393/ltcube_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.fits
.....................!
real 157.40
user 152.56
sys 4.38

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/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.fits scfile=/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits outfile=/scratch/kocevski/430393/cmap_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.fits scfile=/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits outfile=/scratch/kocevski/430393/cmap_HighResolution_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.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.47
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/430393/ft2_4FGL_J0113.1-3553_daily_bin400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430393/Model_4FGL_J0113.1-3553_daily_bin400.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/430393/ft1_filtered_4FGL_J0113.1-3553_daily_bin400.fits.....................!
real 27.58
user 26.46
sys 1.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.5986       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .80777       1.0000         .10000E-03   10000.    
     5 'norm      '    10.758       1.0000         .10000E-03   10000.    
     6 'norm      '    .94799       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.757       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.0956       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0943       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .26053E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25356E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .94480       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0278       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=   3570.319     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1492 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.062       -.15851E-06** at limit **
   2  Prefactor     8.6018        6.4361        .21816E-06   -.14051E-03
   3  Prefactor     .10000E-03    15.292        .59736E-06** at limit **
   4  Prefactor     .80447        7.4125       -.55144E-06   -.78834E-04
   5  norm          10.760        19.293        .40991E-07   -.24719E-04
   6  norm          .94932        5.2172        .42589E-06   -.15650E-04
   7  Prefactor     10.756        11.950        .38130E-06   -.65702E-05
   8  Prefactor     .10000E-03    10.544       -.62361E-07** at limit **
   9  Prefactor     8.0973        14.064        .27659E-06   -.83982E-05
  10  Prefactor     2.0922        6.2309        .73117E-05   -.14818E-03
  11  norm          .10000E-03    1.3852        .17252E-09** at limit **
  12  Prefactor     .10000E-03    6.8177        .38986E-07** at limit **
  13  Prefactor     .10002E-03    120.39        .73653E-05** at limit **
  14  Prefactor     .10000E-03    4.3497        .23440E-05** at limit **
  15  norm          .10000E-03    3.2082        .14242E-07** at limit **
  16  Prefactor     .10000E-03    19.104       -.46556E-06** at limit **
  17  Normalizat    .94471        .21276       -.41283E-05   -.49416E-03
  18  Prefactor     1.0278        .23380        .77825E-06   -.54027E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.60176
  Prefactor  = 0.0001
  Prefactor  = 0.804472
  norm       = 10.7595
  norm       = 0.949316
  Prefactor  = 10.7562
  Prefactor  = 0.0001
  Prefactor  = 8.09732
  Prefactor  = 2.09223
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.944708
  Prefactor  = 1.02781
 **********
 **   18 **HESSE 
 **********

 FCN=   3570.319     FROM HESSE     STATUS=OK           244 CALLS     1736 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.6018        6.4300        .12584E-03   -1.5121    
   3  Prefactor     .10000E-03    15.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .80447        23.778        .30344E-02   -1.5529    
   5  norm          10.760        19.282        .12215E-03   -1.5052    
   6  norm          .94932        5.2205        .25634E-03   -1.5513    
   7  Prefactor     10.756        11.941        .12216E-03   -1.5052    
   8  Prefactor     .10000E-03    10.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.0973        14.035        .14091E-03   -1.5139    
  10  Prefactor     2.0922        6.2969        .11594E-02   -1.5419    
  11  norm          .10000E-03    1.4050        .68650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.8228        .15238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    121.70        .42897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.725        .22818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3116        .20893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .94471        .24871        .22090E-03   -.94907    
  18  Prefactor     1.0278        .27761        .24557E-03   -.91808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05814e-08
Minuit parameter uncertainties:
  1  4.83912e-06
  2  6.43047
  3  1.97024e-06
  4  8.75061
  5  19.2931
  6  4.45275
  7  11.9439
  8  4.55455e-06
  9  14.0402
  10  6.29888
  11  1.2299e-06
  12  1.63063e-06
  13  0.00348891
  14  3.41268e-05
  15  4.51288e-06
  16  3.80854e-05
  17  0.249018
  18  0.278
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.092e+00  6.299e+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.028e+00  2.780e-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.447e-01  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 18.289 -35.894
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430393/likelihoodResults_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.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) = 3567.79017548
delta logL = 2.52885054944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3567.76711447
delta logL = 2.55191156232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35474       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8253       1.0000          .0000       10.000    
     3 'Normalizat'    .76305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1614       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=   3567.767     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      225 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35401        3.1345        .39594E-02    .59474E-05
   2  Index         4.8265        2.9254        .73805E-01    .67017E-04
   3  Normalizat    .76305        .73629E-01    .43126E-01   -.40033E-05
   4  Prefactor     1.1614        .85378E-01    .52575E-01   -.53164E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.354011
  Index      = 4.82645
  Normalizat = 0.763053
  Prefactor  = 1.16136
 **********
 **   18 **HESSE 
 **********

 FCN=   3567.767     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      258 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35401        4.6230        .17663E-04   -1.5589    
   2  Index         4.8265        3.5872        .31187E-02   -.34717E-01
   3  Normalizat    .76305        .23607        .24212E-03   -1.0145    
   4  Prefactor     1.1614        .26590        .23245E-03   -.87529    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.03019e-08
Minuit parameter uncertainties:
  1  2.55847
  2  4.00123
  3  0.236384
  4  0.266208
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430393': 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) = 3567.76711411
delta logL = 2.55191192326

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  3.540e-01  2.558e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  4.826e+00  4.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.161e+00  2.662e-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:  7.631e-01  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.81
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 4.83 +/- 4.00
Photon Flux (Free Index): 1.63e-07 +/- 9.02e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.64e-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/430393/cmap_HighResolution_343008001_343267201_4FGL_J0113.1-3553_daily_bin400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', energy_flux2='2.20e-05', dlogl='2.55e+00', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-08-13 17:01:50.816119', photon_index_error2='4.00', photon_index2='4.83', ts='0.13', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.64e-05', EG='0.94', time_epoch_completed='1628899310.82', return_code='0', job_id='430393', GAL2='1.16', EG2='0.76', return_code2='102', photon_flux_error2='9.02e-08', ts2='5.81', photon_index='2.40' WHERE bin_id='400' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:01:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 430393: <4FGL_J0113.1-3553_daily_bin400> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin400> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:51:35 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:53:19 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:53:19 2021
Terminated at Fri Aug 13 17:01:51 2021
Results reported at Fri Aug 13 17:01:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin400 18.2893 -35.894 343008001 343267201 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 :                                   372.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            616 sec.

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

