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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin786
RA = 15.0932, Dec = 7.7647
tmin = 443059201, tmax = 443318401
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='279327', job_status='RUN', time_executed='2021-08-13 08:50:09.018363', time_epoch_executed='1628869809.02' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='786'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/279327

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/279327/ft1_4FGL_J0100.3+0745_daily_bin786.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/279327/ft1_4FGL_J0100.3+0745_daily_bin786.fits outfile=/scratch/kocevski/279327/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin786.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=443059201.0 tmax=443318401.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 13.21
user 3.65
sys 9.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.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/279327/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin786.fits evtable="EVENTS" outfile="/scratch/kocevski/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.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 10.15
user 0.34
sys 9.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.fits" evtable="EVENTS" scfile=/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits sctable="SC_DATA" outfile=/scratch/kocevski/279327/ltcube_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.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/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits
.....................!
real 26.18
user 15.54
sys 10.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits sctable="SC_DATA" expcube=/scratch/kocevski/279327/ltcube_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.fits outfile=/scratch/kocevski/279327/expmap_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.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/279327/ltcube_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.fits
.....................!
real 204.16
user 186.44
sys 16.28

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/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.fits scfile=/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits outfile=/scratch/kocevski/279327/cmap_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.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 9.39
user 0.39
sys 8.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.fits scfile=/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits outfile=/scratch/kocevski/279327/cmap_HighResolution_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.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 9.40
user 0.39
sys 8.80

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.fits', '/scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits', expMap='/scratch/kocevski/279327/expmap_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.fits', expCube='/scratch/kocevski/279327/ltcube_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/279327/Model_4FGL_J0100.3+0745_daily_bin786.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/279327/ft1_filtered_4FGL_J0100.3+0745_daily_bin786.fits
Spacecraft file(s): /scratch/kocevski/279327/ft2_4FGL_J0100.3+0745_daily_bin786.fits
Exposure map: /scratch/kocevski/279327/expmap_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.fits
Exposure cube: /scratch/kocevski/279327/ltcube_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/279327/Model_4FGL_J0100.3+0745_daily_bin786.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) = 6479.37299344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5151       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.370       1.0000         .10000E-03   10000.    
     3 'norm      '    7.0930       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7361       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7376       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    27.645       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.3423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.699       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7642       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11044E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .94427       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95658       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=   6479.359     FROM MIGRAD    STATUS=CONVERGED    318 CALLS     1276 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5149        4.8933        .53569E-05    .22213E-04
   2  Prefactor     14.375        12.535       -.13629E-05    .87101E-05
   3  norm          7.0930        6.9059       -.93542E-08    .17393E-05
   4  Prefactor     4.7355        12.135        .24428E-06   -.37614E-05
   5  Prefactor     6.7378        5.3162        .12826E-06   -.24036E-04
   6  Prefactor     .10000E-03    1.4549        .13718E-06** at limit **
   7  norm          27.646        16.509        .61750E-07    .12634E-05
   8  Prefactor     .10000E-03    49.875       -.79164E-06** at limit **
   9  Prefactor     .10000E-03    32.450        .46582E-06** at limit **
  10  norm          6.3415        1.7497        .54924E-07    .98924E-03
  11  Prefactor     43.655        33.117        .33842E-05    .27371E-04
  12  Prefactor     7.7667        13.542        .32104E-06    .15078E-04
  13  Prefactor     .10000E-03    3.4212       -.19918E-05** at limit **
  14  Prefactor     .10000E-03    20.344       -.69870E-07** at limit **
  15  Normalizat    .94396        .18558        .64435E-06    .28244E-03
  16  Prefactor     .95676        .13932       -.11281E-05    .25676E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51488
  Prefactor  = 14.3749
  norm       = 7.09301
  Prefactor  = 4.7355
  Prefactor  = 6.73778
  Prefactor  = 0.0001
  norm       = 27.6456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.3415
  Prefactor  = 43.6548
  Prefactor  = 7.76666
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.94396
  Prefactor  = 0.956756
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.359     FROM HESSE     STATUS=OK           205 CALLS     1481 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5149        4.9357        .11498E-02   -1.5391    
   2  Prefactor     14.375        12.559        .52829E-03   -1.4949    
   3  norm          7.0930        6.9086        .15062E-03   -1.5175    
   4  Prefactor     4.7355        12.118        .18489E-03   -1.5273    
   5  Prefactor     6.7378        5.3118        .15458E-03   -1.5189    
   6  Prefactor     .10000E-03    2.4944        .18650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          27.646        16.512        .76195E-04   -1.4656    
   8  Prefactor     .10000E-03    50.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.3415        1.7487        .53400E-04   -1.5204    
  11  Prefactor     43.655        33.227        .30323E-03   -1.4386    
  12  Prefactor     7.7667        13.527        .14391E-03   -1.5151    
  13  Prefactor     .10000E-03    8.4683        .28098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .94396        .21139        .28361E-03   -.94932    
  16  Prefactor     .95676        .15974        .21450E-03   -.94185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64361e-10
Minuit parameter uncertainties:
  1  4.93649
  2  12.5613
  3  6.9094
  4  12.1246
  5  5.31215
  6  1.96657e-06
  7  16.5145
  8  0.00013551
  9  3.74217e-05
  10  1.74869
  11  33.2415
  12  13.5325
  13  6.95319e-05
  14  1.00941e-05
  15  0.211572
  16  0.159819
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.765e+01  1.651e+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:  9.568e-01  1.598e-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:  9.440e-01  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.34
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 2.65e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 3.53e-05 +/- 2.11e-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) = 6479.35584099
delta logL = 0.0027817581813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6479.35580151
delta logL = 0.00282123957459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.646       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7315       1.0000          .0000       5.0000    
     3 'Normalizat'    .94295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95668       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=   6479.356     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      200 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.656        491.17        .19048E-02    .13960E-04
   2  alpha         1.7313        3.2834        .32485        .67332E-05
   3  Normalizat    .94306        .26364        .45448E-01    .68571E-04
   4  Prefactor     .95661        .10503        .45723E-01    .40220E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.656
  alpha      = 1.73133
  Normalizat = 0.943058
  Prefactor  = 0.956608
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.356     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.656        16.438        .76194E-04   -1.4656    
   2  alpha         1.7313        .62631        .16887E-01   -.31253    
   3  Normalizat    .94306        .20609        .28373E-03   -.94963    
   4  Prefactor     .95661        .15754        .21451E-03   -.94190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57722e-12
Minuit parameter uncertainties:
  1  16.4406
  2  0.633784
  3  0.206259
  4  0.157615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/279327': 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) = 6479.35580116
delta logL = 0.002821592484

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.766e+01  1.644e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.731e+00  6.338e-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:  9.566e-01  1.576e-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:  9.431e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.34
Ra Dec: 15.093 7.765
Photon Index (Free Index): 1.73 +/- 0.63
Photon Flux (Free Index): 2.80e-08 +/- 2.58e-08
Energy Flux (Free Index): 3.39e-05 +/- 2.79e-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/279327/cmap_HighResolution_443059201_443318401_4FGL_J0100.3+0745_daily_bin786.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='3.39e-05', photon_flux_error='1.58e-08', dlogl='2.82e-03', energy_flux='3.53e-05', photon_flux2='2.80e-08', job_status='DONE', time_completed='2021-08-13 09:00:50.112630', photon_index_error2='0.63', photon_index2='1.73', ts='7.34', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.79e-05', EG='0.94', time_epoch_completed='1628870450.11', return_code='0', job_id='279327', GAL2='0.96', EG2='0.94', return_code2='0', energy_flux_error='2.11e-05', photon_flux_error2='2.58e-08', ts2='7.34', photon_index='1.68' WHERE bin_id='786' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 09:00:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 279327: <4FGL_J0100.3+0745_daily_bin786> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin786> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 08:45:24 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:45:38 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:45:38 2021
Terminated at Fri Aug 13 09:00:52 2021
Results reported at Fri Aug 13 09:00:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin786 15.0932 7.7647 443059201 443318401 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 :                                   777.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            928 sec.

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

