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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin454
RA = 15.0932, Dec = 7.7647
tmin = 357004801, tmax = 357264001
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='276645', job_status='RUN', time_executed='2021-08-13 08:40:20.261879', time_epoch_executed='1628869220.26' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276645

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276645/ft1_4FGL_J0100.3+0745_daily_bin454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276645/ft2_4FGL_J0100.3+0745_daily_bin454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276645/ft1_4FGL_J0100.3+0745_daily_bin454.fits outfile=/scratch/kocevski/276645/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin454.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=357004801.0 tmax=357264001.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 7.41
user 3.74
sys 3.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276645/ft2_4FGL_J0100.3+0745_daily_bin454.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/276645/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin454.fits evtable="EVENTS" outfile="/scratch/kocevski/276645/ft1_filtered_4FGL_J0100.3+0745_daily_bin454.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 3.86
user 0.33
sys 3.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276645/ft1_filtered_4FGL_J0100.3+0745_daily_bin454.fits" evtable="EVENTS" scfile=/scratch/kocevski/276645/ft2_4FGL_J0100.3+0745_daily_bin454.fits sctable="SC_DATA" outfile=/scratch/kocevski/276645/ltcube_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.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/276645/ft2_4FGL_J0100.3+0745_daily_bin454.fits
.....................!
real 21.29
user 17.04
sys 4.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276645/ft1_filtered_4FGL_J0100.3+0745_daily_bin454.fits evtable="EVENTS" scfile=/scratch/kocevski/276645/ft2_4FGL_J0100.3+0745_daily_bin454.fits sctable="SC_DATA" expcube=/scratch/kocevski/276645/ltcube_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.fits outfile=/scratch/kocevski/276645/expmap_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.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/276645/ltcube_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.fits
.....................!
real 196.82
user 186.37
sys 9.52

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/276645/ft1_filtered_4FGL_J0100.3+0745_daily_bin454.fits scfile=/scratch/kocevski/276645/ft2_4FGL_J0100.3+0745_daily_bin454.fits outfile=/scratch/kocevski/276645/cmap_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.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 3.86
user 0.38
sys 3.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276645/ft1_filtered_4FGL_J0100.3+0745_daily_bin454.fits scfile=/scratch/kocevski/276645/ft2_4FGL_J0100.3+0745_daily_bin454.fits outfile=/scratch/kocevski/276645/cmap_HighResolution_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.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 3.90
user 0.40
sys 3.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2012       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    21.563       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91802       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.8495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1702       1.0000         .10000E-03   10000.    
     7 'norm      '    31.529       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.930       1.0000         .10000E-03   10000.    
     9 'Prefactor '    135.04       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0135       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.307       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    102.66       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1902       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .77365       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=   5201.679     FROM MIGRAD    STATUS=CONVERGED    280 CALLS     1419 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2009        4.7815       -.15977E-05    .34466E-04
   2  Prefactor     .10000E-03    4.2030        .11802E-06** at limit **
   3  norm          21.564        12.669        .13028E-08    .44906E-04
   4  Prefactor     .90462        62.950       -.95961E-05    .13386E-04
   5  Prefactor     7.8542        7.4121        .60302E-06    .15620E-03
   6  Prefactor     1.1716        1.8858       -.50668E-06   -.37086E-04
   7  norm          31.536        19.134       -.97425E-06    .21146E-04
   8  Prefactor     28.927        37.132        .40846E-06    .60851E-05
   9  Prefactor     135.09        94.660       -.41620E-05    .24056E-04
  10  norm          2.0134        1.6959       -.90759E-07    .10659E-03
  11  Prefactor     .10000E-03    16.429       -.12452E-06** at limit **
  12  Prefactor     16.307        11.068       -.14182E-06    .12257E-04
  13  Prefactor     .10000E-03    3.9806       -.23917E-07** at limit **
  14  Prefactor     102.63        69.667        .22291E-05   -.76436E-06
  15  Normalizat    1.1902        .20559        .14815E-05    .72469E-04
  16  Prefactor     .77369        .15042        .46092E-06    .19931E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.20088
  Prefactor  = 0.0001
  norm       = 21.564
  Prefactor  = 0.904622
  Prefactor  = 7.85421
  Prefactor  = 1.17164
  norm       = 31.5357
  Prefactor  = 28.927
  Prefactor  = 135.087
  norm       = 2.01342
  Prefactor  = 0.0001
  Prefactor  = 16.3068
  Prefactor  = 0.0001
  Prefactor  = 102.632
  Normalizat = 1.19018
  Prefactor  = 0.773689
 **********
 **   18 **HESSE 
 **********

 FCN=   5201.679     FROM HESSE     STATUS=OK           209 CALLS     1628 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2009        4.8052        .22391E-03   -1.5411    
   2  Prefactor     .10000E-03    4.2095        .14440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          21.564        12.657        .86257E-04   -1.4779    
   4  Prefactor     .90462        64.661        .49519E-02   -1.5518    
   5  Prefactor     7.8542        7.3191        .14312E-03   -1.5147    
   6  Prefactor     1.1716        1.8475        .12190E-03   -1.5491    
   7  norm          31.536        19.156        .71358E-04   -1.4584    
   8  Prefactor     28.927        37.147        .74486E-04   -1.4632    
   9  Prefactor     135.09        94.928        .17328E-03   -1.3378    
  10  norm          2.0134        1.6866        .78876E-04   -1.5424    
  11  Prefactor     .10000E-03    16.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.307        11.069        .99183E-04   -1.4900    
  13  Prefactor     .10000E-03    4.0058        .14049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     102.63        69.969        .19842E-03   -1.3678    
  15  Normalizat    1.1902        .23518        .25467E-03   -.86907    
  16  Prefactor     .77369        .17319        .23145E-03   -1.0071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37152e-10
Minuit parameter uncertainties:
  1  4.806
  2  4.21928e-06
  3  12.6582
  4  15.3126
  5  7.31993
  6  1.84762
  7  19.1593
  8  37.1765
  9  95.0349
  10  1.68668
  11  2.82167e-06
  12  11.0704
  13  4.52164e-06
  14  70.0252
  15  0.235386
  16  0.173309
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  3.154e+01  1.916e+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:  7.737e-01  1.733e-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.190e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.38
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 3.02e-08 +/- 1.84e-08
Energy Flux (Fixed Index): 4.03e-05 +/- 2.45e-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) = 5201.19224634
delta logL = 0.48694659679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5201.17224886
delta logL = 0.506944072561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.397       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2450       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77623       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5201.172     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      271 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.398        18.108        .79490E-04   -.55781E-03
   2  alpha         2.2450        .55577        .99337E-02   -.12409E-03
   3  Normalizat    1.1712        .22779        .25628E-03    .15910E-03
   4  Prefactor     .77622        .17036        .23084E-03    .22292E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.398
  alpha      = 2.245
  Normalizat = 1.1712
  Prefactor  = 0.776218
 **********
 **   18 **HESSE 
 **********

 FCN=   5201.172     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.398        17.548        .15898E-04   -1.4700    
   2  alpha         2.2450        .53859        .39735E-03   -.10218    
   3  Normalizat    1.1712        .22780        .51257E-04   -.87497    
   4  Prefactor     .77622        .17045        .46168E-04   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99414e-10
Minuit parameter uncertainties:
  1  17.5517
  2  0.542888
  3  0.22799
  4  0.170561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276645': 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) = 5201.17224885
delta logL = 0.506944080829

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.540e+01  1.755e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.245e+00  5.429e-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:  7.762e-01  1.706e-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.171e+00  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.37
Ra Dec: 15.093 7.765
Photon Index (Free Index): 2.25 +/- 0.54
Photon Flux (Free Index): 5.48e-08 +/- 4.01e-08
Energy Flux (Free Index): 2.78e-05 +/- 1.64e-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/276645/cmap_HighResolution_357004801_357264001_4FGL_J0100.3+0745_daily_bin454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.02e-08', energy_flux2='2.78e-05', photon_flux_error='1.84e-08', dlogl='5.07e-01', energy_flux='4.03e-05', photon_flux2='5.48e-08', job_status='DONE', time_completed='2021-08-13 08:49:15.882192', photon_index_error2='0.54', photon_index2='2.25', ts='11.38', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.64e-05', EG='1.19', time_epoch_completed='1628869755.88', return_code='0', job_id='276645', GAL2='0.78', EG2='1.17', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='4.01e-08', ts2='12.37', photon_index='1.68' WHERE bin_id='454' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:49:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 276645: <4FGL_J0100.3+0745_daily_bin454> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin454> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 08:35:43 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:37:18 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:37:18 2021
Terminated at Fri Aug 13 08:49:17 2021
Results reported at Fri Aug 13 08:49:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin454 15.0932 7.7647 357004801 357264001 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 :                                   585.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             212.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            814 sec.

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

