/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 173 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 = 7478
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0100.3+0745_daily_bin317
RA = 15.0932, Dec = 7.7647
tmin = 321494401, tmax = 321753601
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='276449', job_status='RUN', time_executed='2021-08-13 08:40:03.040689', time_epoch_executed='1628869203.04' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='317'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276449

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276449/ft1_4FGL_J0100.3+0745_daily_bin317.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276449/ft1_4FGL_J0100.3+0745_daily_bin317.fits outfile=/scratch/kocevski/276449/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin317.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=321494401.0 tmax=321753601.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 8.58
user 3.78
sys 4.64

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.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/276449/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin317.fits evtable="EVENTS" outfile="/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.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 5.05
user 0.32
sys 4.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits" evtable="EVENTS" scfile=/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits sctable="SC_DATA" outfile=/scratch/kocevski/276449/ltcube_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.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/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits
.....................!
real 18.61
user 13.14
sys 5.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits sctable="SC_DATA" expcube=/scratch/kocevski/276449/ltcube_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.fits outfile=/scratch/kocevski/276449/expmap_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.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/276449/ltcube_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.fits
.....................!
real 199.81
user 187.99
sys 11.23

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J0100.3+0745 @ 15.0932 7.7647

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits scfile=/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits outfile=/scratch/kocevski/276449/cmap_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.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=15.0932 yref=7.7647 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 4.98
user 0.40
sys 4.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits scfile=/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits outfile=/scratch/kocevski/276449/cmap_HighResolution_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.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=15.0932 yref=7.7647 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 5.07
user 0.39
sys 4.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/276449/Model_4FGL_J0100.3+0745_daily_bin317.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/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits.....................!
real 71.40
user 64.30
sys 6.93

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits', '/scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits', expMap='/scratch/kocevski/276449/expmap_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.fits', expCube='/scratch/kocevski/276449/ltcube_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/276449/Model_4FGL_J0100.3+0745_daily_bin317.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0100.3+0745'

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  6.478e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.684e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/276449/ft1_filtered_4FGL_J0100.3+0745_daily_bin317.fits
Spacecraft file(s): /scratch/kocevski/276449/ft2_4FGL_J0100.3+0745_daily_bin317.fits
Exposure map: /scratch/kocevski/276449/expmap_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.fits
Exposure cube: /scratch/kocevski/276449/ltcube_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/276449/Model_4FGL_J0100.3+0745_daily_bin317.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) = 5540.02289538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5958       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.339       1.0000         .10000E-03   10000.    
     3 'norm      '    4.3271       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8164       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4720       1.0000         .10000E-03   10000.    
     7 'norm      '    19.908       1.0000         .10000E-03   10000.    
     8 'Prefactor '    81.957       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.2130       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.078       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.6296       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .47134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5540.020     FROM MIGRAD    STATUS=CONVERGED    307 CALLS     1464 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5965        4.9779         .0000        .58109E-03
   2  Prefactor     10.341        17.279         .0000        .69925E-04
   3  norm          4.3267        12.474         .0000        .24142E-02
   4  Prefactor     3.8168        12.218         .0000        .13938E-03
   5  Prefactor     .10000E-03    1.9540         .0000    ** at limit **
   6  Prefactor     6.4726        3.6048         .0000        .17223E-03
   7  norm          19.908        14.040         .0000       -.13045E-04
   8  Prefactor     81.957        56.577         .0000       -.26739E-03
   9  Prefactor     .10000E-03    14.132         .0000    ** at limit **
  10  norm          8.2132        2.1949         .0000        .74466E-03
  11  Prefactor     .10000E-03    63.239         .0000    ** at limit **
  12  Prefactor     15.079        13.125         .0000        .20492E-03
  13  Prefactor     .10000E-03    13.032         .0000    ** at limit **
  14  Prefactor     .10000E-03    21.841         .0000    ** at limit **
  15  Normalizat    1.6294        .21785         .0000        .63338E-04
  16  Prefactor     .47147        .15133         .0000        .16815E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.5965
  Prefactor  = 10.3409
  norm       = 4.32665
  Prefactor  = 3.81676
  Prefactor  = 0.0001
  Prefactor  = 6.47256
  norm       = 19.9083
  Prefactor  = 81.9575
  Prefactor  = 0.0001
  norm       = 8.21316
  Prefactor  = 0.000100001
  Prefactor  = 15.0792
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.62936
  Prefactor  = 0.471469
 **********
 **   18 **HESSE 
 **********

 FCN=   5540.020     FROM HESSE     STATUS=OK           201 CALLS     1665 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5965        4.9349        .21260E-03   -1.5386    
   2  Prefactor     10.341        17.276        .12461E-03   -1.5065    
   3  norm          4.3267        12.466        .96825E-03   -1.5292    
   4  Prefactor     3.8168        12.194        .20661E-03   -1.5317    
   5  Prefactor     .10000E-03    1.9572        .10160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4726        3.6170        .10058E-03   -1.5199    
   7  norm          19.908        14.040        .89766E-04   -1.4815    
   8  Prefactor     81.957        56.581        .44367E-04   -1.3895    
   9  Prefactor     .10000E-03    14.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.2132        2.1997        .54577E-04   -1.5135    
  11  Prefactor     .10000E-03    63.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.079        13.136        .10315E-03   -1.4931    
  13  Prefactor     .10000E-03    13.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.6294        .25604        .23644E-03   -.74205    
  16  Prefactor     .47147        .17560        .29126E-03   -1.1330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68208e-10
Minuit parameter uncertainties:
  1  4.93565
  2  17.284
  3  12.4735
  4  12.202
  5  3.87328e-06
  6  3.61712
  7  14.0425
  8  56.6184
  9  7.91096e-05
  10  2.19972
  11  0.000605711
  12  13.1389
  13  0.000135106
  14  0.000250728
  15  0.256246
  16  0.175803
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.991e+01  1.404e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.684e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  4.715e-01  1.758e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.629e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.64
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.91e-08 +/- 1.35e-08
Energy Flux (Fixed Index): 2.54e-05 +/- 1.79e-05

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) = 5539.62485172
delta logL = 0.394895439796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5539.62399731
delta logL = 0.395749851224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.911       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2046       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6232       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .47174       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5539.624     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      265 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.900        290.17        .25931E-02   -.13803E-03
   2  alpha         2.2035        3.3264        .30112        .39795E-04
   3  Normalizat    1.6231        .11963        .53553E-01    .12325E-04
   4  Prefactor     .47170        .71093E-01    .65753E-01    .41105E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.8996
  alpha      = 2.20345
  Normalizat = 1.62311
  Prefactor  = 0.471703
 **********
 **   18 **HESSE 
 **********

 FCN=   5539.624     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.900        13.511        .51862E-03   -1.4936    
   2  alpha         2.2035        .61062        .11653E-01   -.11890    
   3  Normalizat    1.6231        .24297        .23677E-03   -.74375    
   4  Prefactor     .47170        .17178        .29104E-03   -1.1329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98844e-12
Minuit parameter uncertainties:
  1  13.5139
  2  0.616956
  3  0.243148
  4  0.17197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276449': 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) = 5539.62399085
delta logL = 0.395756312384

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.490e+01  1.351e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.203e+00  6.170e-01  0.000e+00  5.000e+00 ( 1.000e+00)
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  4.717e-01  1.720e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.623e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.43
Ra Dec: 15.093 7.765
Photon Index (Free Index): 2.20 +/- 0.62
Photon Flux (Free Index): 2.99e-08 +/- 2.39e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.29e-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/276449/cmap_HighResolution_321494401_321753601_4FGL_J0100.3+0745_daily_bin317.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.91e-08', energy_flux2='1.61e-05', photon_flux_error='1.35e-08', dlogl='3.96e-01', energy_flux='2.54e-05', photon_flux2='2.99e-08', job_status='DONE', time_completed='2021-08-13 08:49:22.886210', photon_index_error2='0.62', photon_index2='2.20', ts='5.64', fit_tolerance='1e-08', GAL='0.47', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.63', time_epoch_completed='1628869762.89', return_code='0', job_id='276449', GAL2='0.47', EG2='1.62', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='2.39e-08', ts2='6.43', photon_index='1.68' WHERE bin_id='317' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:49:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 276449: <4FGL_J0100.3+0745_daily_bin317> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin317> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 08:35:29 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:35:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 08:35:49 2021
Terminated at Fri Aug 13 08:49:24 2021
Results reported at Fri Aug 13 08:49:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin317 15.0932 7.7647 321494401 321753601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0100.3+0745 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            835 sec.

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

