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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin990
RA = 18.2893, Dec = -35.894
tmin = 495936001, tmax = 496195201
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='434266', job_status='RUN', time_executed='2021-08-13 17:07:05.892080', time_epoch_executed='1628899625.89' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434266/ft1_4FGL_J0113.1-3553_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434266/ft1_4FGL_J0113.1-3553_daily_bin990.fits outfile=/scratch/kocevski/434266/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin990.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=495936001.0 tmax=496195201.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 9.17
user 3.28
sys 5.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434266/ft1_filtered_4FGL_J0113.1-3553_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/434266/ltcube_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.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/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits
.....................!
real 20.90
user 14.17
sys 6.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434266/ft1_filtered_4FGL_J0113.1-3553_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/434266/ltcube_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.fits outfile=/scratch/kocevski/434266/expmap_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.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/434266/ltcube_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.fits
.....................!
real 199.46
user 186.08
sys 12.61

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/434266/ft1_filtered_4FGL_J0113.1-3553_daily_bin990.fits scfile=/scratch/kocevski/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits outfile=/scratch/kocevski/434266/cmap_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.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 6.20
user 0.38
sys 5.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434266/ft1_filtered_4FGL_J0113.1-3553_daily_bin990.fits scfile=/scratch/kocevski/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits outfile=/scratch/kocevski/434266/cmap_HighResolution_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.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 6.11
user 0.39
sys 5.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434266/ft1_filtered_4FGL_J0113.1-3553_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/434266/ft2_4FGL_J0113.1-3553_daily_bin990.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434266/Model_4FGL_J0113.1-3553_daily_bin990.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/434266/ft1_filtered_4FGL_J0113.1-3553_daily_bin990.fits.....................!
real 42.18
user 33.42
sys 8.56

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.7938       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.801       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0599       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6979       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.958       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10731E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .21205E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7734       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8628       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9118       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1218       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .66589       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=   3911.824     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1745 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.941       -.19815E-05** at limit **
   2  Prefactor     8.7936        7.1420        .11378E-05   -.15273E-02
   3  Prefactor     32.799        39.703       -.32859E-05   -.14297E-03
   4  Prefactor     1.0596        11.741        .57347E-06   -.35339E-03
   5  norm          .10000E-03    15.734        .40443E-05** at limit **
   6  norm          .10000E-03    1.8548       -.50002E-08** at limit **
   7  Prefactor     7.6987        9.3484       -.87486E-07   -.42567E-04
   8  Prefactor     10.956        18.646       -.13139E-05   -.13622E-03
   9  Prefactor     .10000E-03    5.0860        .64337E-07** at limit **
  10  Prefactor     .10001E-03    2.4119        .42619E-06** at limit **
  11  norm          .10000E-03    1.5089       -.10770E-06** at limit **
  12  Prefactor     5.7787        11.103        .15108E-05    .18740E-03
  13  Prefactor     .10000E-03    17.096       -.36183E-05** at limit **
  14  Prefactor     .10000E-03    2.1188        .92602E-08** at limit **
  15  norm          1.8628        3.0590       -.35619E-07   -.17423E-03
  16  Prefactor     9.9120        12.528       -.15123E-06   -.43501E-04
  17  Normalizat    1.1217        .18096        .73604E-07   -.96008E-04
  18  Prefactor     .66601        .19959       -.68390E-07   -.34605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 8.79359
  Prefactor  = 32.7991
  Prefactor  = 1.05957
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 7.69874
  Prefactor  = 10.9564
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 5.7787
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 1.86285
  Prefactor  = 9.91202
  Normalizat = 1.1217
  Prefactor  = 0.66601
 **********
 **   18 **HESSE 
 **********

 FCN=   3911.824     FROM HESSE     STATUS=OK           246 CALLS     1991 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7936        9.4118        .67584E-03   -1.5115    
   3  Prefactor     32.799        42.804        .69965E-04   -1.4562    
   4  Prefactor     1.0596        14.134        .44111E-03   -1.5502    
   5  norm          .10000E-03    16.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8756        .83165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6987        9.3499        .14453E-03   -1.5153    
   8  Prefactor     10.956        18.733        .12103E-03   -1.5046    
   9  Prefactor     .10000E-03    5.0918        .13773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    12.433        .18281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.6354        .14894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7787        11.105        .16716E-03   -1.5227    
  13  Prefactor     .10000E-03    17.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.1521        .88865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8628        3.0477        .13498E-03   -1.5435    
  16  Prefactor     9.9120        12.534        .12728E-03   -1.5078    
  17  Normalizat    1.1217        .20923        .19199E-03   -.89058    
  18  Prefactor     .66601        .23167        .27614E-03   -1.0487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6217e-09
Minuit parameter uncertainties:
  1  0.000189518
  2  9.41335
  3  42.8442
  4  7.74157
  5  0.000473474
  6  9.30628e-07
  7  9.35163
  8  18.7432
  9  2.54288e-06
  10  0.000594379
  11  1.43107e-05
  12  11.1091
  13  0.000430313
  14  2.35489e-07
  15  3.04793
  16  12.5373
  17  0.209386
  18  0.232002
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  5.944e-04  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:  6.660e-01  2.320e-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.122e+00  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/434266/likelihoodResults_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3911.82443779
delta logL = -0.000383663639695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3911.8239381
delta logL = 0.000116029945275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22958E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5683       1.0000          .0000       10.000    
     3 'Normalizat'    1.1212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66662       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=   3910.436     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      272 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96443E-01    1.1991        .29133E-02   -.24028E-02
   2  Index         5.2294        3.1750        .10286       -.23479E-04
   3  Normalizat    1.0060        .52754E-01    .37198E-01    .12597E-03
   4  Prefactor     .74690        .60012E-01    .41955E-01    .22363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0964431
  Index      = 5.22941
  Normalizat = 1.00595
  Prefactor  = 0.746901
 **********
 **   18 **HESSE 
 **********

 FCN=   3910.436     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      303 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96443E-01    2.3154        .13083E-04   -1.5646    
   2  Index         5.2294        7.2638        .41139E-02    .45897E-01
   3  Normalizat    1.0060        .19410        .20103E-03   -.92831    
   4  Prefactor     .74690        .21604        .26177E-03   -1.0172    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97024e-10
Minuit parameter uncertainties:
  1  0.944661
  2  5.39666
  3  0.194235
  4  0.216282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434266': 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) = 3910.43593289
delta logL = 1.38812124249

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  9.644e-02  9.447e-01  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  5.229e+00  5.397e+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:  7.469e-01  2.163e-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.006e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.98
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 5.23 +/- 5.40
Photon Flux (Free Index): 9.08e-08 +/- 6.44e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.03e-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/434266/cmap_HighResolution_495936001_496195201_4FGL_J0113.1-3553_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='1.39e+00', photon_flux2='9.08e-08', job_status='DONE', time_completed='2021-08-13 17:16:55.221680', photon_index_error2='5.40', photon_index2='5.23', ts='-0.00', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='8.60e-08', energy_flux_error2='1.03e-05', EG='1.12', time_epoch_completed='1628900215.22', return_code='0', job_id='434266', GAL2='0.75', EG2='1.01', return_code2='102', photon_flux_error2='6.44e-08', ts2='2.98', photon_index='2.40' WHERE bin_id='990' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:16:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 434266: <4FGL_J0113.1-3553_daily_bin990> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin990 18.2893 -35.894 495936001 496195201 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 :                                   659.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            694 sec.

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

