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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin157
RA = 15.0932, Dec = 7.7647
tmin = 280022401, tmax = 280281601
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='275218', job_status='RUN', time_executed='2021-08-13 08:35:29.455487', time_epoch_executed='1628868929.46' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275218

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275218/ft1_4FGL_J0100.3+0745_daily_bin157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275218/ft2_4FGL_J0100.3+0745_daily_bin157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275218/ft1_4FGL_J0100.3+0745_daily_bin157.fits outfile=/scratch/kocevski/275218/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin157.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=280022401.0 tmax=280281601.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 3.56
user 3.32
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275218/ft1_filtered_4FGL_J0100.3+0745_daily_bin157.fits" evtable="EVENTS" scfile=/scratch/kocevski/275218/ft2_4FGL_J0100.3+0745_daily_bin157.fits sctable="SC_DATA" outfile=/scratch/kocevski/275218/ltcube_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.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/275218/ft2_4FGL_J0100.3+0745_daily_bin157.fits
.....................!
real 13.35
user 12.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275218/ft1_filtered_4FGL_J0100.3+0745_daily_bin157.fits evtable="EVENTS" scfile=/scratch/kocevski/275218/ft2_4FGL_J0100.3+0745_daily_bin157.fits sctable="SC_DATA" expcube=/scratch/kocevski/275218/ltcube_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.fits outfile=/scratch/kocevski/275218/expmap_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.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/275218/ltcube_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.fits
.....................!
real 191.17
user 185.33
sys 5.31

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/275218/ft1_filtered_4FGL_J0100.3+0745_daily_bin157.fits scfile=/scratch/kocevski/275218/ft2_4FGL_J0100.3+0745_daily_bin157.fits outfile=/scratch/kocevski/275218/cmap_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.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 0.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275218/ft1_filtered_4FGL_J0100.3+0745_daily_bin157.fits scfile=/scratch/kocevski/275218/ft2_4FGL_J0100.3+0745_daily_bin157.fits outfile=/scratch/kocevski/275218/cmap_HighResolution_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.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 0.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.161       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0013       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9981       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6249       1.0000         .10000E-03   10000.    
     7 'norm      '    .75287       1.0000         .10000E-03   10000.    
     8 'Prefactor '    64.671       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0878       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4998       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.031       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .87204       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0115       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=   6140.742     FROM MIGRAD    STATUS=CONVERGED    294 CALLS     1432 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.161        5.0799       -.67366E-06    .13769E-04
   2  Prefactor     .10000E-03    5.4747       -.87703E-07** at limit **
   3  norm          .10000E-03    4.2871        .79511E-07** at limit **
   4  Prefactor     6.9997        18.011       -.14322E-05   -.20441E-04
   5  Prefactor     8.9972        7.3891       -.14195E-05   -.36154E-04
   6  Prefactor     8.6242        3.6025       -.30387E-06    .49869E-05
   7  norm          .75343        10.107       -.14559E-05    .92830E-05
   8  Prefactor     64.640        51.085       -.30428E-04    .10989E-04
   9  Prefactor     .10000E-03    28.427       -.41395E-06** at limit **
  10  norm          5.0876        1.8508       -.96029E-07    .55006E-04
  11  Prefactor     .10000E-03    65.309        .39848E-06** at limit **
  12  Prefactor     .10000E-03    7.8449        .21619E-06** at limit **
  13  Prefactor     9.5001        7.6388       -.13619E-05   -.62124E-04
  14  Prefactor     43.024        47.122       -.83379E-05    .95670E-05
  15  Normalizat    .87234        .19691        .53208E-05   -.44698E-04
  16  Prefactor     1.0113        .14690        .52598E-06    .20407E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.161
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.99966
  Prefactor  = 8.99719
  Prefactor  = 8.62415
  norm       = 0.753433
  Prefactor  = 64.64
  Prefactor  = 0.0001
  norm       = 5.08757
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.50006
  Prefactor  = 43.0244
  Normalizat = 0.872335
  Prefactor  = 1.0113
 **********
 **   18 **HESSE 
 **********

 FCN=   6140.742     FROM HESSE     STATUS=OK           205 CALLS     1637 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.161        5.0803        .11538E-03   -1.5040    
   2  Prefactor     .10000E-03    5.4916        .17905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.2928        .15846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9997        17.982        .15161E-03   -1.5179    
   5  Prefactor     8.9972        7.3712        .13362E-03   -1.5108    
   6  Prefactor     8.6242        3.6094        .91273E-04   -1.5121    
   7  norm          .75343        64.499        .48167E-02   -1.5534    
   8  Prefactor     64.640        51.096        .24952E-03   -1.4098    
   9  Prefactor     .10000E-03    28.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0876        1.8510        .60949E-04   -1.5257    
  11  Prefactor     .10000E-03    65.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.8911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.5001        7.6400        .13002E-03   -1.5091    
  14  Prefactor     43.024        47.127        .61113E-04   -1.4395    
  15  Normalizat    .87234        .22766        .30150E-03   -.97439    
  16  Prefactor     1.0113        .17160        .21510E-03   -.92354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9479e-10
Minuit parameter uncertainties:
  1  5.08053
  2  1.30932e-05
  3  3.54037e-06
  4  17.9957
  5  7.37191
  6  3.6095
  7  13.9567
  8  51.131
  9  1.15501e-05
  10  1.85103
  11  3.13974e-05
  12  8.83087e-05
  13  7.6408
  14  47.1682
  15  0.227915
  16  0.171697
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  7.534e-01  1.396e+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.011e+00  1.717e-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.723e-01  2.279e-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: 4.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/275218/likelihoodResults_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.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): 102
logL (Free Index) = 6140.2668165
delta logL = 0.474929686528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6140.15165826
delta logL = 0.590087926516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58574E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .79989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0437       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=   6140.152     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      371 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58572E-01    .69184E-01    .19327E-03   -.56347E-03
   2  alpha         5.0000        1.0708        .50000    ** at limit **
   3  Normalizat    .79957        .23064        .31368E-03   -.50958E-04
   4  Prefactor     1.0440        .17158        .21211E-03   -.32160E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0585722
  alpha      = 5
  Normalizat = 0.79957
  Prefactor  = 1.04397
 **********
 **   18 **HESSE 
 **********

 FCN=   6140.152     FROM HESSE     STATUS=OK            31 CALLS      402 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58572E-01    .66994E-01    .77307E-05   -1.5660    
   2  alpha         5.0000        1.0105        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .79957        .23124        .12547E-04   -1.0008    
   4  Prefactor     1.0440        .17184        .84842E-05   -.91278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05092e-11
Minuit parameter uncertainties:
  1  0.0669944
  2  4.60524e-05
  3  0.231524
  4  0.171933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275218': 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) = 6140.15165675
delta logL = 0.590089441631

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  5.857e-02  6.699e-02  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  5.000e+00  4.605e-05  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.044e+00  1.719e-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:  7.996e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 15.093 7.765
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.81e-08 +/- 6.62e-08
Energy Flux (Free Index): 8.25e-06 +/- 9.41e-06

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/275218/cmap_HighResolution_280022401_280281601_4FGL_J0100.3+0745_daily_bin157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-05', comment='SUCCESS', energy_flux2='8.25e-06', dlogl='5.90e-01', photon_flux2='5.81e-08', job_status='DONE', time_completed='2021-08-13 08:44:25.588476', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='4.18e-08', energy_flux_error2='9.41e-06', EG='0.87', time_epoch_completed='1628869465.59', return_code='0', job_id='275218', GAL2='1.04', EG2='0.80', return_code2='0', photon_flux_error2='6.62e-08', ts2='1.27', photon_index='1.68' WHERE bin_id='157' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:44:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 275218: <4FGL_J0100.3+0745_daily_bin157> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin157> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 08:30:45 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:31: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:31:41 2021
Terminated at Fri Aug 13 08:44:26 2021
Results reported at Fri Aug 13 08:44:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin157 15.0932 7.7647 280022401 280281601 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 :                                   535.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            821 sec.

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

