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


Performing analysis on: 4FGL_J0113.1-3553_daily_bin1010
RA = 18.2893, Dec = -35.894
tmin = 501120001, tmax = 501379201
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='434294', job_status='RUN', time_executed='2021-08-13 17:09:25.107387', time_epoch_executed='1628899765.11' WHERE source_name='4FGL J0113.1-3553' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434294

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434294/ft1_4FGL_J0113.1-3553_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434294/ft1_4FGL_J0113.1-3553_daily_bin1010.fits outfile=/scratch/kocevski/434294/ft1_filteredMKT_4FGL_J0113.1-3553_daily_bin1010.fits ra=18.2893 dec=-35.894 rad=12.0 tmin=501120001.0 tmax=501379201.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 4.17
user 3.28
sys 0.86

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434294/ft1_filtered_4FGL_J0113.1-3553_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/434294/ltcube_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.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/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits
.....................!
real 13.47
user 11.67
sys 1.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434294/ft1_filtered_4FGL_J0113.1-3553_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/434294/ltcube_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.fits outfile=/scratch/kocevski/434294/expmap_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.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/434294/ltcube_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.fits
.....................!
real 192.92
user 185.90
sys 6.40

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/434294/ft1_filtered_4FGL_J0113.1-3553_daily_bin1010.fits scfile=/scratch/kocevski/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits outfile=/scratch/kocevski/434294/cmap_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.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 1.20
user 0.38
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434294/ft1_filtered_4FGL_J0113.1-3553_daily_bin1010.fits scfile=/scratch/kocevski/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits outfile=/scratch/kocevski/434294/cmap_HighResolution_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.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 1.19
user 0.38
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434294/ft1_filtered_4FGL_J0113.1-3553_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/434294/ft2_4FGL_J0113.1-3553_daily_bin1010.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434294/Model_4FGL_J0113.1-3553_daily_bin1010.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/434294/ft1_filtered_4FGL_J0113.1-3553_daily_bin1010.fits.....................!
real 45.10
user 42.94
sys 2.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.509       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9899       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.536       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .37866       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 '    8.4465       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2837       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3235       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9201       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .82933       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88771       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=   5592.687     FROM MIGRAD    STATUS=CONVERGED    344 CALLS     1465 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.509        17.487        .21675E-06   -.26325E-04
   2  Prefactor     8.9897        5.1653        .15250E-06   -.32007E-03
   3  Prefactor     .10000E-03    9.9822        .65668E-05** at limit **
   4  Prefactor     27.535        9.3307        .31768E-07   -.95898E-05
   5  norm          .10000E-03    9.4651       -.69438E-05** at limit **
   6  norm          .37897        1.5233       -.13677E-05   -.15595E-02
   7  Prefactor     .10000E-03    2.0672        .26514E-07** at limit **
   8  Prefactor     .10000E-03    9.2167        .45644E-06** at limit **
   9  Prefactor     8.4465        9.7754       -.11771E-06   -.34753E-04
  10  Prefactor     2.2836        2.2727       -.16654E-07   -.20707E-03
  11  norm          2.3234        1.9584        .40756E-08   -.93755E-04
  12  Prefactor     .10000E-03    6.0992        .28045E-06** at limit **
  13  Prefactor     .10000E-03    20.625       -.95206E-06** at limit **
  14  Prefactor     6.9187        3.7977        .43581E-06   -.33934E-03
  15  norm          .10000E-03    1.4025        .47312E-07** at limit **
  16  Prefactor     .10000E-03    2.5659       -.56132E-07** at limit **
  17  Normalizat    .82943        .14645       -.22912E-06    .43814E-04
  18  Prefactor     .88754        .17049        .27672E-06    .13562E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5091
  Prefactor  = 8.98975
  Prefactor  = 0.000100001
  Prefactor  = 27.5348
  norm       = 0.000100001
  norm       = 0.378968
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.44652
  Prefactor  = 2.28356
  norm       = 2.32339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.91866
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.829427
  Prefactor  = 0.887543
 **********
 **   18 **HESSE 
 **********

 FCN=   5592.687     FROM HESSE     STATUS=OK           246 CALLS     1711 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.509        17.488        .98574E-04   -1.4895    
   2  Prefactor     8.9897        5.1635        .12202E-03   -1.5108    
   3  Prefactor     .10000E-03    9.5387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.535        9.3516        .76346E-04   -1.4658    
   5  norm          .10000E-03    8.9892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .37897        1.8100        .19759E-03   -1.5585    
   7  Prefactor     .10000E-03    2.0691        .10500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.2927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4465        9.7695        .13793E-03   -1.5127    
  10  Prefactor     2.2836        2.2628        .10854E-03   -1.5406    
  11  norm          2.3234        1.9522        .92490E-04   -1.5403    
  12  Prefactor     .10000E-03    6.1114        .18034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.9187        3.7843        .10197E-03   -1.5182    
  15  norm          .10000E-03    1.4604        .17285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.5721        .11699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .82943        .17451        .21025E-03   -.98986    
  18  Prefactor     .88754        .20280        .24168E-03   -.96578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00118e-09
Minuit parameter uncertainties:
  1  17.4934
  2  5.16375
  3  0.000167297
  4  9.35215
  5  0.000162105
  6  1.6563
  7  7.94133e-09
  8  1.22182e-05
  9  9.77137
  10  2.26284
  11  1.95229
  12  4.79111e-06
  13  1.15333e-05
  14  3.78441
  15  8.27715e-07
  16  5.67918e-08
  17  0.174627
  18  0.202972
Done.

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

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.284e+00  2.263e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  8.875e-01  2.030e-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:  8.294e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 18.289 -35.894
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.11e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 6.89e-06 +/- 6.83e-06

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

Saving results to:
/scratch/kocevski/434294/likelihoodResults_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5592.55964371
delta logL = 0.126895197183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5592.55733076
delta logL = 0.129208144922

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8038       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0311       1.0000          .0000       10.000    
     3 'Normalizat'    .83684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88102       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5592.557     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      267 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8038        2.7274        .58594E-03   -.13231E-03
   2  Index         2.0311        .67901        .94754E-02    .74132E-04
   3  Normalizat    .83684        .16931        .20940E-03   -.48864E-05
   4  Prefactor     .88103        .20152        .24243E-03    .79254E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80377
  Index      = 2.03111
  Normalizat = 0.836836
  Prefactor  = 0.881026
 **********
 **   18 **HESSE 
 **********

 FCN=   5592.557     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8038        2.7144        .23437E-04   -1.5373    
   2  Index         2.0311        .67587        .37901E-03   -.63575    
   3  Normalizat    .83684        .16950        .83758E-05   -.98717    
   4  Prefactor     .88103        .20174        .96970E-05   -.96807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67882e-10
Minuit parameter uncertainties:
  1  2.71456
  2  0.67909
  3  0.169604
  4  0.201914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434294': 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) = 5592.55733076
delta logL = 0.129208145209

Extracting fit parameters...

4FGL J0113.1-3553
   Spectrum: PowerLaw
231    Prefactor:  2.804e+00  2.715e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.031e+00  6.791e-01  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:  8.810e-01  2.019e-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:  8.368e-01  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 18.289 -35.894
Photon Index (Free Index): 2.03 +/- 0.68
Photon Flux (Free Index): 1.66e-08 +/- 1.89e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.47e-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/434294/cmap_HighResolution_501120001_501379201_4FGL_J0113.1-3553_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.11e-08', energy_flux2='1.06e-05', photon_flux_error='2.09e-08', dlogl='1.29e-01', energy_flux='6.89e-06', photon_flux2='1.66e-08', job_status='DONE', time_completed='2021-08-13 17:18:33.667451', photon_index_error2='0.68', photon_index2='2.03', ts='1.82', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='7.41e-08', energy_flux_error2='1.47e-05', EG='0.83', time_epoch_completed='1628900313.67', return_code='0', job_id='434294', GAL2='0.88', EG2='0.84', return_code2='0', energy_flux_error='6.83e-06', photon_flux_error2='1.89e-08', ts2='2.08', photon_index='2.40' WHERE bin_id='1010' AND source_name='4FGL J0113.1-3553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:18:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 434294: <4FGL_J0113.1-3553_daily_bin1010> in cluster <slac> Done

Job <4FGL_J0113.1-3553_daily_bin1010> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 17:05:24 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 17:05:37 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:37 2021
Terminated at Fri Aug 13 17:18:34 2021
Results reported at Fri Aug 13 17:18:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0113.1-3553_daily_bin1010 18.2893 -35.894 501120001 501379201 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 :                                   554.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            790 sec.

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

