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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin679
RA = 18.2893, Dec = -35.894
tmin = 415324801, tmax = 415584001
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='431699', job_status='RUN', time_executed='2021-08-13 17:00:52.171032', time_epoch_executed='1628899252.17' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431699/ft1_4FGL_J0113.1-3553_daily_bin679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431699/ft1_4FGL_J0113.1-3553_daily_bin679.fits outfile=/scratch/kocevski/431699/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin679.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=415324801.0 tmax=415584001.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 15.29
user 5.73
sys 9.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431699/ft1_filtered_4FGL_J0113.1-3553_daily_bin679.fits" evtable="EVENTS" scfile=/scratch/kocevski/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits sctable="SC_DATA" outfile=/scratch/kocevski/431699/ltcube_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.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/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits
.....................!
real 23.31
user 12.09
sys 10.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431699/ft1_filtered_4FGL_J0113.1-3553_daily_bin679.fits evtable="EVENTS" scfile=/scratch/kocevski/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits sctable="SC_DATA" expcube=/scratch/kocevski/431699/ltcube_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.fits outfile=/scratch/kocevski/431699/expmap_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.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/431699/ltcube_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.fits
.....................!
real 203.84
user 184.74
sys 17.16

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/431699/ft1_filtered_4FGL_J0113.1-3553_daily_bin679.fits scfile=/scratch/kocevski/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits outfile=/scratch/kocevski/431699/cmap_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.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 9.38
user 0.36
sys 8.89

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431699/ft1_filtered_4FGL_J0113.1-3553_daily_bin679.fits scfile=/scratch/kocevski/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits outfile=/scratch/kocevski/431699/cmap_HighResolution_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.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 9.43
user 0.39
sys 8.95

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431699/ft1_filtered_4FGL_J0113.1-3553_daily_bin679.fits evtable="EVENTS" scfile=/scratch/kocevski/431699/ft2_4FGL_J0113.1-3553_daily_bin679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431699/Model_4FGL_J0113.1-3553_daily_bin679.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/431699/ft1_filtered_4FGL_J0113.1-3553_daily_bin679.fits.....................!
real 49.40
user 34.77
sys 13.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4513       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12293E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11045E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7516       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9970       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .32959E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .20401       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13208E-01   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .57767       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1208       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=   4289.024     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     1599 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.510        .42092E-06** at limit **
   2  Prefactor     4.4503        5.1145       -.18320E-05   -.13837E-02
   3  Prefactor     .10000E-03    77.043       -.23624E-05** at limit **
   4  Prefactor     .10000E-03    3.7767        .34570E-07** at limit **
   5  norm          .10002E-03    67.230        .37448E-05** at limit **
   6  norm          .10000E-03    1.7944        .30881E-07** at limit **
   7  Prefactor     .10000E-03    2.9484       -.10684E-06** at limit **
   8  Prefactor     .10000E-03    32.011        .74525E-07** at limit **
   9  Prefactor     1.7391        16.434        .30882E-05    .17480E-03
  10  Prefactor     .10000E-03    2.6523        .19488E-06** at limit **
  11  norm          1.9981        2.1944       -.50742E-07   -.43501E-04
  12  Prefactor     .10000E-03    4.1682       -.37947E-07** at limit **
  13  Prefactor     .10865E-03    26.223       -.35891E-05** at limit **
  14  Prefactor     .10000E-03    .94418        .12450E-07** at limit **
  15  norm          .21019        1.7730        .57281E-06   -.88858E-04
  16  Prefactor     .10377E-03    16.533        .42835E-05** at limit **
  17  Normalizat    .57766        .15137       -.34698E-06   -.42080E-03
  18  Prefactor     1.1208        .18517       -.31245E-06   -.44577E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.45026
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.000100017
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.73913
  Prefactor  = 0.0001
  norm       = 1.99812
  Prefactor  = 0.0001
  Prefactor  = 0.000108655
  Prefactor  = 0.0001
  norm       = 0.210186
  Prefactor  = 0.000103768
  Normalizat = 0.577659
  Prefactor  = 1.12084
 **********
 **   18 **HESSE 
 **********

 FCN=   4289.024     FROM HESSE     STATUS=OK           258 CALLS     1857 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4503        5.1112        .15193E-03   -1.5286    
   3  Prefactor     .10000E-03    77.129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8065        .12427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10002E-03    69.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8236        .85641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9572        .10981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    33.161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7391        16.544        .31677E-03   -1.5444    
  10  Prefactor     .10000E-03    4.9930        .20350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9981        2.1691        .96789E-04   -1.5425    
  12  Prefactor     .10000E-03    4.1736        .13058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10865E-03    21.791        .83566E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .95025        .62123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .21019        3.3096        .16466E-02   -1.5616    
  16  Prefactor     .10377E-03    9.7199        .58159E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .57766        .17830        .21796E-03   -1.0894    
  18  Prefactor     1.1208        .22065        .20026E-03   -.88803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45789e-08
Minuit parameter uncertainties:
  1  0.000230057
  2  5.11175
  3  0.000947079
  4  7.00814e-06
  5  0.00217967
  6  2.64472e-06
  7  1.10979e-05
  8  2.74962e-05
  9  10.7317
  10  4.19319e-05
  11  2.16918
  12  4.76283e-06
  13  0.0274755
  14  8.54143e-07
  15  1.6678
  16  0.0121057
  17  0.178478
  18  0.220831
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  4.193e-05  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.121e+00  2.208e-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:  5.777e-01  1.785e-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: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431699/likelihoodResults_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.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) = 4289.02489557
delta logL = -0.000954259438004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4289.02394297
delta logL = -1.66734389495e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13956E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4664       1.0000          .0000       10.000    
     3 'Normalizat'    .57771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1208       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=   4289.010     FROM MIGRAD    STATUS=CONVERGED    164 CALLS      331 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17770        20.764        .16315E-02   -.62563E-03
   2  Index         3.3431        1.6715        .50000        .19157E-04
   3  Normalizat    .56958        .13440E-01    .21796E-03    .18538E-03
   4  Prefactor     1.1254        .16857E-01    .20026E-03    .30847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.177701
  Index      = 3.34313
  Normalizat = 0.569577
  Prefactor  = 1.12544
 **********
 **   18 **HESSE 
 **********

 FCN=   4289.010     FROM HESSE     STATUS=OK            29 CALLS      360 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17770        2.7469        .65258E-04   -1.5792    
   2  Index         3.3431        2.8128        .61559E-02   -.33776    
   3  Normalizat    .56958        .18226        .87182E-05   -1.0929    
   4  Prefactor     1.1254        .22215        .40052E-04   -.88658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69106e-10
Minuit parameter uncertainties:
  1  1.39702
  2  3.01368
  3  0.182456
  4  0.222336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431699': 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) = 4289.01030765
delta logL = 0.0136336520163

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.777e-01  1.397e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.343e+00  3.014e+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.125e+00  2.223e-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:  5.696e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/431699/cmap_HighResolution_415324801_415584001_4FGL_J0113.1-3553_daily_bin679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-08-13 17:11:42.418675', job_id='431699', GAL2='1.13', fit_tolerance='1e-08', EG2='0.57', EG='0.58', time_epoch_completed='1628899902.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.36e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='679' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:11:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 431699: <4FGL_J0113.1-3553_daily_bin679> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin679> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 13 16:56:01 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:57:53 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:57:53 2021
Terminated at Fri Aug 13 17:11:44 2021
Results reported at Fri Aug 13 17:11:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin679 18.2893 -35.894 415324801 415584001 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 :                                   780.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             227.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            943 sec.

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

