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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin768
RA = 18.2893, Dec = -35.894
tmin = 438393601, tmax = 438652801
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='432879', job_status='RUN', time_executed='2021-08-13 17:03:23.295059', time_epoch_executed='1628899403.3' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432879/ft1_4FGL_J0113.1-3553_daily_bin768.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432879/ft1_4FGL_J0113.1-3553_daily_bin768.fits outfile=/scratch/kocevski/432879/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin768.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=438393601.0 tmax=438652801.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 14.40
user 6.04
sys 8.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.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/432879/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin768.fits evtable="EVENTS" outfile="/scratch/kocevski/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 8.58
user 0.35
sys 8.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits" evtable="EVENTS" scfile=/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits sctable="SC_DATA" outfile=/scratch/kocevski/432879/ltcube_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.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/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits
.....................!
real 25.02
user 15.68
sys 9.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits evtable="EVENTS" scfile=/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits sctable="SC_DATA" expcube=/scratch/kocevski/432879/ltcube_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.fits outfile=/scratch/kocevski/432879/expmap_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.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/432879/ltcube_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.fits
.....................!
real 201.35
user 185.70
sys 15.15

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/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits scfile=/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits outfile=/scratch/kocevski/432879/cmap_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=18.2893 yref=-35.894 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 8.54
user 0.38
sys 8.10

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits scfile=/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits outfile=/scratch/kocevski/432879/cmap_HighResolution_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=18.2893 yref=-35.894 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 8.84
user 0.40
sys 8.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits evtable="EVENTS" scfile=/scratch/kocevski/432879/ft2_4FGL_J0113.1-3553_daily_bin768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432879/Model_4FGL_J0113.1-3553_daily_bin768.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/432879/ft1_filtered_4FGL_J0113.1-3553_daily_bin768.fits.....................!
real 46.97
user 36.12
sys 10.64

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21591E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4389       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    24.582       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5553       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5010       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5749       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14488E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8466       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11318E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2709       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .35114       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=   4316.072     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1515 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.950       -.16390E-04** at limit **
   2  Prefactor     .10000E-03    3.7293       -.38269E-06** at limit **
   3  Prefactor     6.5289        22.507        .12926E-04    .51939E-04
   4  Prefactor     .10000E-03    10.755       -.75848E-06** at limit **
   5  norm          24.505        22.113       -.71725E-05    .11506E-05
   6  norm          1.5553        1.8428        .72828E-07    .36956E-04
   7  Prefactor     .10000E-03    1.8476       -.12964E-07** at limit **
   8  Prefactor     .10000E-03    6.1412        .17693E-07** at limit **
   9  Prefactor     .10000E-03    3.5642       -.73961E-07** at limit **
  10  Prefactor     .10000E-03    1.1876        .38779E-07** at limit **
  11  norm          1.5017        1.4619       -.10380E-05   -.28769E-03
  12  Prefactor     9.5242        14.541        .22152E-04    .14084E-04
  13  Prefactor     .10000E-03    16.340       -.10499E-04** at limit **
  14  Prefactor     .10000E-03    1.6218        .49004E-07** at limit **
  15  norm          1.8473        2.6858       -.48565E-06   -.58254E-03
  16  Prefactor     .10000E-03    15.352        .12048E-04** at limit **
  17  Normalizat    1.2710        .16705       -.75508E-06    .31684E-04
  18  Prefactor     .35109        .18883       -.25077E-05   -.86726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.52894
  Prefactor  = 0.0001
  norm       = 24.5049
  norm       = 1.55535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.50168
  Prefactor  = 9.52421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.84731
  Prefactor  = 0.0001
  Normalizat = 1.27095
  Prefactor  = 0.351093
 **********
 **   18 **HESSE 
 **********

 FCN=   4316.072     FROM HESSE     STATUS=OK           242 CALLS     1757 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.280        .20159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.7643        .12327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5289        22.417        .15817E-03   -1.5197    
   4  Prefactor     .10000E-03    11.029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          24.505        22.120        .80793E-04   -1.4718    
   6  norm          1.5553        1.8367        .94453E-04   -1.5459    
   7  Prefactor     .10000E-03    1.8485        .87212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1445        .15901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.5701        .12113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.2093        .69891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5017        1.4811        .75085E-04   -1.5463    
  12  Prefactor     9.5242        14.500        .12951E-03   -1.5091    
  13  Prefactor     .10000E-03    16.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6505        .81663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8473        2.6764        .12495E-03   -1.5436    
  16  Prefactor     .10000E-03    15.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2710        .18438        .16401E-03   -.84438    
  18  Prefactor     .35109        .20681        .33797E-03   -1.1938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34076e-10
Minuit parameter uncertainties:
  1  0.000108455
  2  7.30851e-05
  3  22.4462
  4  3.27654e-05
  5  22.1273
  6  1.83675
  7  4.0842e-06
  8  9.2074e-06
  9  2.42403e-05
  10  5.07675e-06
  11  1.48111
  12  14.5057
  13  5.4988e-05
  14  6.69668e-06
  15  2.67661
  16  2.1614e-05
  17  0.184473
  18  0.207246
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  5.077e-06  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:  3.511e-01  2.072e-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.271e+00  1.845e-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: 4.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432879/likelihoodResults_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.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) = 4316.07589412
delta logL = -0.00387873720592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4316.07201577
delta logL = -3.90630702896e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3739       1.0000          .0000       10.000    
     3 'Normalizat'    1.2711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .35097       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=   4316.072     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      214 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6075        .90712E-02** at limit **
   2  Index         1.7927        5.4548        .50000        .25348E-06
   3  Normalizat    1.2710        .85408E-02    .33344E-01   -.46968E-05
   4  Prefactor     .35110        .97638E-02    .76308E-01    .25625E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.79275
  Normalizat = 1.27095
  Prefactor  = 0.351095
 **********
 **   18 **HESSE 
 **********

 FCN=   4316.072     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      247 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    97.494        .88713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7927        5.8153        .50000       -.69639    
   3  Normalizat    1.2710        .28450E-01    .16401E-03   -.84438    
   4  Prefactor     .35110        .32433E-01    .33797E-03   -1.1938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.5996e-09
Minuit parameter uncertainties:
  1  0.000165383
  2  384.178
  3  0.02845
  4  0.0324351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432879': 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) = 4316.07199971
delta logL = 1.56715896082e-05

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  1.000e-04  1.654e-04  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  1.793e+00  3.842e+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:  3.511e-01  3.244e-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:  1.271e+00  2.845e-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/432879/cmap_HighResolution_438393601_438652801_4FGL_J0113.1-3553_daily_bin768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.53e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2021-08-13 17:13:49.388843', job_id='432879', GAL2='0.35', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1628900029.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.35', dlogl='1.57e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='768' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:13:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 432879: <4FGL_J0113.1-3553_daily_bin768> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin768 18.2893 -35.894 438393601 438652801 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 :                                   747.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            804 sec.

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

