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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin813
RA = 15.0932, Dec = 7.7647
tmin = 450057601, tmax = 450316801
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='279366', job_status='RUN', time_executed='2021-08-13 08:50:09.901021', time_epoch_executed='1628869809.9' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='813'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/279366

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/279366/ft1_4FGL_J0100.3+0745_daily_bin813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/279366/ft2_4FGL_J0100.3+0745_daily_bin813.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/279366/ft1_4FGL_J0100.3+0745_daily_bin813.fits outfile=/scratch/kocevski/279366/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin813.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=450057601.0 tmax=450316801.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.66
user 3.31
sys 5.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/279366/ft1_filtered_4FGL_J0100.3+0745_daily_bin813.fits" evtable="EVENTS" scfile=/scratch/kocevski/279366/ft2_4FGL_J0100.3+0745_daily_bin813.fits sctable="SC_DATA" outfile=/scratch/kocevski/279366/ltcube_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.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/279366/ft2_4FGL_J0100.3+0745_daily_bin813.fits
.....................!
real 19.49
user 13.32
sys 5.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/279366/ft1_filtered_4FGL_J0100.3+0745_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/279366/ft2_4FGL_J0100.3+0745_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/279366/ltcube_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.fits outfile=/scratch/kocevski/279366/expmap_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.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/279366/ltcube_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.fits
.....................!
real 198.99
user 185.61
sys 11.88

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/279366/ft1_filtered_4FGL_J0100.3+0745_daily_bin813.fits scfile=/scratch/kocevski/279366/ft2_4FGL_J0100.3+0745_daily_bin813.fits outfile=/scratch/kocevski/279366/cmap_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.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 5.46
user 0.38
sys 5.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/279366/ft1_filtered_4FGL_J0100.3+0745_daily_bin813.fits scfile=/scratch/kocevski/279366/ft2_4FGL_J0100.3+0745_daily_bin813.fits outfile=/scratch/kocevski/279366/cmap_HighResolution_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.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.48
user 0.39
sys 5.03

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3152       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2116       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7242       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8485       1.0000         .10000E-03   10000.    
     7 'norm      '    93.201       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    22.097       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8434       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6735       1.0000         .10000E-03   10000.    
    14 'Prefactor '    69.354       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .87485       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3595       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=   6940.682     FROM MIGRAD    STATUS=CONVERGED    309 CALLS     1493 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3153        2.9572        .51847E-06   -.22393E-02
   2  Prefactor     .10000E-03    19.922       -.28766E-06** at limit **
   3  norm          .10000E-03    6.7637       -.25487E-06** at limit **
   4  Prefactor     6.2110        8.9974       -.80393E-08   -.46978E-05
   5  Prefactor     7.7242        5.4446        .18250E-05    .57620E-03
   6  Prefactor     3.8484        2.6533        .11628E-07   -.15284E-04
   7  norm          93.201        42.928       -.16218E-06   -.16979E-04
   8  Prefactor     .10000E-03    38.218        .13959E-05** at limit **
   9  Prefactor     .10000E-03    188.71        .59600E-06** at limit **
  10  norm          22.097        3.3827        .55290E-07    .41201E-04
  11  Prefactor     .10000E-03    17.774        .45077E-06** at limit **
  12  Prefactor     6.8435        12.238       -.51511E-07   -.33431E-04
  13  Prefactor     7.6734        6.7807       -.51019E-06   -.12978E-03
  14  Prefactor     69.353        58.989       -.57075E-06   -.17308E-04
  15  Normalizat    .87485        .22308       -.33435E-06   -.16869E-04
  16  Prefactor     1.3595        .17258       -.16282E-06   -.77989E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.3153
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.21104
  Prefactor  = 7.72418
  Prefactor  = 3.84844
  norm       = 93.2006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.0965
  Prefactor  = 0.0001
  Prefactor  = 6.84345
  Prefactor  = 7.67342
  Prefactor  = 69.3531
  Normalizat = 0.87485
  Prefactor  = 1.35946
 **********
 **   18 **HESSE 
 **********

 FCN=   6940.682     FROM HESSE     STATUS=OK           197 CALLS     1690 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3153        5.1614        .87164E-03   -1.5247    
   2  Prefactor     .10000E-03    20.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.8131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2110        8.9926        .16107E-03   -1.5209    
   5  Prefactor     7.7242        5.5309        .14428E-03   -1.5152    
   6  Prefactor     3.8484        2.6537        .10879E-03   -1.5316    
   7  norm          93.201        43.050        .41628E-04   -1.3774    
   8  Prefactor     .10000E-03    38.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    189.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          22.097        3.3849        .56716E-04   -1.4767    
  11  Prefactor     .10000E-03    17.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8435        12.248        .15337E-03   -1.5185    
  13  Prefactor     7.6734        6.7921        .14476E-03   -1.5154    
  14  Prefactor     69.353        59.042        .48200E-04   -1.4040    
  15  Normalizat    .87485        .25922        .36665E-03   -.97350    
  16  Prefactor     1.3595        .20172        .23606E-03   -.81556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62457e-09
Minuit parameter uncertainties:
  1  5.16181
  2  7.88914e-06
  3  8.57832e-06
  4  8.99452
  5  5.53131
  6  2.65375
  7  43.0649
  8  9.8998e-05
  9  0.000108298
  10  3.38494
  11  2.79919e-05
  12  12.2528
  13  6.79274
  14  59.0924
  15  0.259594
  16  0.201832
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  9.320e+01  4.306e+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:  1.359e+00  2.018e-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:  8.749e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.00
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 8.93e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 1.19e-04 +/- 5.50e-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) = 6932.35293736
delta logL = 8.32955919428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6932.33035069
delta logL = 8.35214586535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.385       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1431       1.0000          .0000       5.0000    
     3 'Normalizat'    .58006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4780       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=   6932.330     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      262 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.385        90.707        .19139E-02   -.18646E-03
   2  alpha         3.1431        1.5036        .94754E-01    .10137E-03
   3  Normalizat    .58021        .15075        .99093E-01    .43291E-04
   4  Prefactor     1.4779        .10540        .51215E-01   -.20187E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 27.3849
  alpha      = 3.14307
  Normalizat = 0.580209
  Prefactor  = 1.47792
 **********
 **   18 **HESSE 
 **********

 FCN=   6932.330     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.385        22.200        .76555E-04   -1.4661    
   2  alpha         3.1431        .40546        .41147E-03    .26015    
   3  Normalizat    .58021        .26731        .43922E-03   -1.0883    
   4  Prefactor     1.4779        .20634        .22639E-03   -.78160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35687e-11
Minuit parameter uncertainties:
  1  22.2069
  2  0.407385
  3  0.267902
  4  0.206454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/279366': 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) = 6932.33035048
delta logL = 8.3521460701

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.738e+01  2.221e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  3.143e+00  4.074e-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:  1.478e+00  2.065e-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:  5.802e-01  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.19
Ra Dec: 15.093 7.765
Photon Index (Free Index): 3.14 +/- 0.41
Photon Flux (Free Index): 3.46e-07 +/- 1.01e-07
Energy Flux (Free Index): 7.93e-05 +/- 2.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/279366/cmap_HighResolution_450057601_450316801_4FGL_J0100.3+0745_daily_bin813.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.93e-08', energy_flux2='7.93e-05', photon_flux_error='4.13e-08', dlogl='8.35e+00', energy_flux='1.19e-04', photon_flux2='3.46e-07', job_status='DONE', time_completed='2021-08-13 09:00:23.120172', photon_index_error2='0.41', photon_index2='3.14', ts='8.00', fit_tolerance='1e-08', GAL='1.36', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='0.87', time_epoch_completed='1628870423.12', return_code='0', job_id='279366', GAL2='1.48', EG2='0.58', return_code2='0', energy_flux_error='5.50e-05', photon_flux_error2='1.01e-07', ts2='25.19', photon_index='1.68' WHERE bin_id='813' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 09:00:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 279366: <4FGL_J0100.3+0745_daily_bin813> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin813 15.0932 7.7647 450057601 450316801 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 :                                   686.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            897 sec.

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

