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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin794
RA = 15.0932, Dec = 7.7647
tmin = 445132801, tmax = 445392001
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='279338', job_status='RUN', time_executed='2021-08-13 08:49:13.822286', time_epoch_executed='1628869753.82' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='794'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/279338

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/279338/ft1_4FGL_J0100.3+0745_daily_bin794.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/279338/ft2_4FGL_J0100.3+0745_daily_bin794.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/279338/ft1_4FGL_J0100.3+0745_daily_bin794.fits outfile=/scratch/kocevski/279338/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin794.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=445132801.0 tmax=445392001.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 9.11
user 3.42
sys 5.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/279338/ft2_4FGL_J0100.3+0745_daily_bin794.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/279338/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin794.fits evtable="EVENTS" outfile="/scratch/kocevski/279338/ft1_filtered_4FGL_J0100.3+0745_daily_bin794.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.95
user 0.35
sys 5.55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/279338/ft1_filtered_4FGL_J0100.3+0745_daily_bin794.fits" evtable="EVENTS" scfile=/scratch/kocevski/279338/ft2_4FGL_J0100.3+0745_daily_bin794.fits sctable="SC_DATA" outfile=/scratch/kocevski/279338/ltcube_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.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/279338/ft2_4FGL_J0100.3+0745_daily_bin794.fits
.....................!
real 20.16
user 14.28
sys 5.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/279338/ft1_filtered_4FGL_J0100.3+0745_daily_bin794.fits evtable="EVENTS" scfile=/scratch/kocevski/279338/ft2_4FGL_J0100.3+0745_daily_bin794.fits sctable="SC_DATA" expcube=/scratch/kocevski/279338/ltcube_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.fits outfile=/scratch/kocevski/279338/expmap_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.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/279338/ltcube_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.fits
.....................!
real 197.72
user 185.88
sys 11.12

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/279338/ft1_filtered_4FGL_J0100.3+0745_daily_bin794.fits scfile=/scratch/kocevski/279338/ft2_4FGL_J0100.3+0745_daily_bin794.fits outfile=/scratch/kocevski/279338/cmap_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.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.83
user 0.38
sys 5.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/279338/ft1_filtered_4FGL_J0100.3+0745_daily_bin794.fits scfile=/scratch/kocevski/279338/ft2_4FGL_J0100.3+0745_daily_bin794.fits outfile=/scratch/kocevski/279338/cmap_HighResolution_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.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.91
user 0.41
sys 5.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5684       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0754       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .51595       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.4828       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.287       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7913       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11082E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90538       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=   5879.387     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1273 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5682        5.2156        .21808E-06    .24186E-03
   2  Prefactor     5.0742        8.1441        .18766E-05   -.71659E-03
   3  norm          .10000E-03    5.4220        .73147E-08** at limit **
   4  Prefactor     11.315        12.918        .19834E-06    .48749E-04
   5  Prefactor     .48905        3.3648       -.14568E-06   -.12216E-04
   6  Prefactor     .10000E-03    1.3590       -.47273E-08** at limit **
   7  norm          .10000E-03    12.274        .53187E-07** at limit **
   8  Prefactor     .10000E-03    38.853        .50368E-07** at limit **
   9  Prefactor     .10000E-03    63.956        .25956E-06** at limit **
  10  norm          8.4823        2.0706        .21156E-07   -.51142E-05
  11  Prefactor     41.276        36.188       -.43571E-05   -.28961E-03
  12  Prefactor     8.7907        11.806       -.13172E-06   -.42704E-04
  13  Prefactor     .10000E-03    5.0529        .18529E-07** at limit **
  14  Prefactor     .10000E-03    16.403        .43863E-07** at limit **
  15  Normalizat    1.1265        .19544       -.14368E-06    .13682E-04
  16  Prefactor     .90539        .14877       -.11073E-07    .11016E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.56817
  Prefactor  = 5.07423
  norm       = 0.0001
  Prefactor  = 11.3151
  Prefactor  = 0.489047
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.48233
  Prefactor  = 41.276
  Prefactor  = 8.79068
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1265
  Prefactor  = 0.905386
 **********
 **   18 **HESSE 
 **********

 FCN=   5879.387     FROM HESSE     STATUS=OK           203 CALLS     1476 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5682        5.2894        .12527E-03   -1.5089    
   2  Prefactor     5.0742        10.536        .89237E-03   -1.5257    
   3  norm          .10000E-03    5.4553        .17437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.315        12.903        .11912E-03   -1.5035    
   5  Prefactor     .48905        13.406        .26405E-02   -1.5568    
   6  Prefactor     .10000E-03    1.4129        .17448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    64.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.4823        2.0734        .52460E-04   -1.5125    
  11  Prefactor     41.276        38.312        .62385E-04   -1.4422    
  12  Prefactor     8.7907        11.822        .13519E-03   -1.5115    
  13  Prefactor     .10000E-03    5.1761        .16834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1265        .23089        .26635E-03   -.88905    
  16  Prefactor     .90539        .17580        .22437E-03   -.95953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93356e-08
Minuit parameter uncertainties:
  1  5.28966
  2  10.5399
  3  1.78671e-07
  4  12.9065
  5  5.1217
  6  2.77257e-07
  7  3.49863e-06
  8  1.10996e-05
  9  4.64743e-05
  10  2.07347
  11  38.3352
  12  11.825
  13  2.82843e-05
  14  4.49266e-06
  15  0.231096
  16  0.175913
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  3.499e-06  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.054e-01  1.759e-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.126e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 15.093 7.765
Photon Flux Upper Limit: 3.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/279338/likelihoodResults_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5879.38753054
delta logL = -0.000382870764952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5879.38714749
delta logL = 1.76522917172e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7192       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90540       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=   5879.387     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      251 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .81728        .83848E-01** at limit **
   2  alpha         2.4257        2.6496        .50000        .29263E-07
   3  Normalizat    1.1265        .21548E-02    .26635E-03   -.53312E-04
   4  Prefactor     .90539        .16557E-02    .22437E-03   -.76358E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.42566
  Normalizat = 1.1265
  Prefactor  = 0.905386
 **********
 **   18 **HESSE 
 **********

 FCN=   5879.387     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      282 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    304.15        .31404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4257        3.0702        .50000       -.29742E-01
   3  Normalizat    1.1265        .16431E-01    .10654E-04   -.88905    
   4  Prefactor     .90539        .12625E-01    .89749E-05   -.95953    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.51763e-11
Minuit parameter uncertainties:
  1  6.04521e-05
  2  652.619
  3  0.0164306
  4  0.012625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/279338': 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): 102
logL (Free Index) = 5879.38714534
delta logL = 2.32522870647e-06

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  6.045e-05  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.426e+00  6.526e+02  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.054e-01  1.262e-02  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.126e+00  1.643e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 15.093 7.765

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/279338/cmap_HighResolution_445132801_445392001_4FGL_J0100.3+0745_daily_bin794.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-05', job_status='DONE', photon_flux_upper_limit='3.17e-08', time_completed='2021-08-13 08:59:12.599951', job_id='279338', GAL2='0.91', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1628870352.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.33e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='794' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:59:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 279338: <4FGL_J0100.3+0745_daily_bin794> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin794> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 08:45:25 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:45:41 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:41 2021
Terminated at Fri Aug 13 08:59:14 2021
Results reported at Fri Aug 13 08:59:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin794 15.0932 7.7647 445132801 445392001 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 :                                   682.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             211.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            829 sec.

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

