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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin739
RA = 18.2893, Dec = -35.894
tmin = 430876801, tmax = 431136001
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='432834', job_status='RUN', time_executed='2021-08-13 17:02:28.537179', time_epoch_executed='1628899348.54' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432834/ft1_4FGL_J0113.1-3553_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432834/ft1_4FGL_J0113.1-3553_daily_bin739.fits outfile=/scratch/kocevski/432834/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin739.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=430876801.0 tmax=431136001.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 11.69
user 5.11
sys 6.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.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/432834/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin739.fits evtable="EVENTS" outfile="/scratch/kocevski/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.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.88
user 0.34
sys 6.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/432834/ltcube_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.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/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits
.....................!
real 21.99
user 14.43
sys 7.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/432834/ltcube_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.fits outfile=/scratch/kocevski/432834/expmap_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.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/432834/ltcube_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.fits
.....................!
real 200.22
user 186.88
sys 12.67

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/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.fits scfile=/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits outfile=/scratch/kocevski/432834/cmap_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.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.71
user 0.38
sys 6.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.fits scfile=/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits outfile=/scratch/kocevski/432834/cmap_HighResolution_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.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.76
user 0.40
sys 6.31

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/432834/ft2_4FGL_J0113.1-3553_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432834/Model_4FGL_J0113.1-3553_daily_bin739.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/432834/ft1_filtered_4FGL_J0113.1-3553_daily_bin739.fits.....................!
real 32.59
user 22.91
sys 9.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    94.214       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.166       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.9514       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9725       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .34372E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.9657       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.279       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .98825       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2197       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=   1923.489     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     2009 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     94.129        88.134        .72659E-06    .13469E-04
   2  Prefactor     .10000E-03    21.381       -.91773E-05** at limit **
   3  Prefactor     43.135        50.126        .33969E-06    .13521E-05
   4  Prefactor     .10000E-03    8.9729       -.21552E-06** at limit **
   5  norm          .10000E-03    27.720       -.16078E-06** at limit **
   6  norm          2.9516        4.7356        .11696E-06    .88208E-09
   7  Prefactor     .10000E-03    8.4322        .11387E-06** at limit **
   8  Prefactor     .10000E-03    19.529       -.21779E-07** at limit **
   9  Prefactor     .10000E-03    10.204        .98535E-07** at limit **
  10  Prefactor     .10000E-03    1.7190        .33197E-07** at limit **
  11  norm          5.9729        4.7069        .17747E-07   -.12763E-04
  12  Prefactor     .10000E-03    12.259        .64580E-07** at limit **
  13  Prefactor     .10000E-03    39.454        .92361E-07** at limit **
  14  Prefactor     .10004E-03    7.7953        .10269E-05** at limit **
  15  norm          3.9659        7.4151        .25924E-06   -.10494E-04
  16  Prefactor     18.279        28.703       -.58033E-06   -.52634E-04
  17  Normalizat    .98826        .32224        .13043E-05   -.86739E-04
  18  Prefactor     1.2197        .36576       -.26531E-05   -.28027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 94.1294
  Prefactor  = 0.0001
  Prefactor  = 43.135
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.95159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.97286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  norm       = 3.96587
  Prefactor  = 18.2794
  Normalizat = 0.988264
  Prefactor  = 1.21967
 **********
 **   18 **HESSE 
 **********

 FCN=   1923.489     FROM HESSE     STATUS=OK           242 CALLS     2251 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     94.129        88.277        .20703E-03   -1.3765    
   2  Prefactor     .10000E-03    21.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.135        50.141        .30509E-03   -1.4393    
   4  Prefactor     .10000E-03    9.0068        .12830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    27.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.9516        4.7264        .11729E-03   -1.5364    
   7  Prefactor     .10000E-03    8.4393        .12440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.210        .13685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.7197        .56162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9729        4.7072        .82097E-04   -1.5219    
  12  Prefactor     .10000E-03    12.263        .15000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10004E-03    47.853        .22540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.9659        7.4162        .15451E-03   -1.5310    
  16  Prefactor     18.279        28.621        .93678E-04   -1.4853    
  17  Normalizat    .98826        .38752        .25031E-03   -.93425    
  18  Prefactor     1.2197        .43906        .26260E-03   -.85728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03042e-10
Minuit parameter uncertainties:
  1  88.4009
  2  8.66012e-05
  3  50.1899
  4  1.34157e-05
  5  0.000110232
  6  4.72705
  7  8.70485e-06
  8  4.00748e-05
  9  8.31998e-06
  10  2.54616e-07
  11  4.70748
  12  8.93789e-06
  13  7.9614e-05
  14  0.00259977
  15  7.41789
  16  28.6424
  17  0.388624
  18  0.440389
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  2.546e-07  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.220e+00  4.404e-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.883e-01  3.886e-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: 9.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432834/likelihoodResults_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.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) = 1923.49089182
delta logL = -0.0017301508924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1923.48916135
delta logL = 3.24858092426e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3893       1.0000          .0000       10.000    
     3 'Normalizat'    .98824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2197       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=   1923.489     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      259 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.403        .56954E-02** at limit **
   2  Index         1.7880        5.2414        .50000       -.80433E-07
   3  Normalizat    .98827        .27145E-01    .25031E-03    .20938E-04
   4  Prefactor     1.2197        .31380E-01    .26260E-03    .23779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.78798
  Normalizat = 0.988267
  Prefactor  = 1.21967
 **********
 **   18 **HESSE 
 **********

 FCN=   1923.489     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      288 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    202.35        .64822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7880        6.8235        .50000       -.69763    
   3  Normalizat    .98827        .82091E-01    .10012E-04   -.93425    
   4  Prefactor     1.2197        .94900E-01    .10504E-04   -.85728    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.44868e-10
Minuit parameter uncertainties:
  1  7.66119e-06
  2  804.21
  3  0.0821012
  4  0.0949132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432834': 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) = 1923.48915443
delta logL = 7.24047094991e-06

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  7.661e-06  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  1.788e+00  8.042e+02  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.220e+00  9.491e-02  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.883e-01  8.210e-02  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/432834/cmap_HighResolution_430876801_431136001_4FGL_J0113.1-3553_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.13e-03', job_status='DONE', photon_flux_upper_limit='9.23e-08', time_completed='2021-08-13 17:11:01.367741', job_id='432834', GAL2='1.22', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1628899861.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='7.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='739' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:11:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 432834: <4FGL_J0113.1-3553_daily_bin739> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin739> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 17:00:25 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:00:36 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:00:36 2021
Terminated at Fri Aug 13 17:11:03 2021
Results reported at Fri Aug 13 17:11:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin739 18.2893 -35.894 430876801 431136001 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 :                                   606.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            638 sec.

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

