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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin491
RA = 28.4972, Dec = 8.3931
tmin = 366595201, tmax = 366854401
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='905959', job_status='RUN', time_executed='2021-08-14 20:03:12.503167', time_epoch_executed='1628996592.5' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='491'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905959

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905959/ft1_4FGL_J0153.9+0823_daily_bin491.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905959/ft1_4FGL_J0153.9+0823_daily_bin491.fits outfile=/scratch/kocevski/905959/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin491.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=366595201.0 tmax=366854401.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 5.22
user 4.94
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.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/905959/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin491.fits evtable="EVENTS" outfile="/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits" evtable="EVENTS" scfile=/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits sctable="SC_DATA" outfile=/scratch/kocevski/905959/ltcube_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.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/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits
.....................!
real 12.56
user 12.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits sctable="SC_DATA" expcube=/scratch/kocevski/905959/ltcube_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.fits outfile=/scratch/kocevski/905959/expmap_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.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/905959/ltcube_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.fits
.....................!
real 192.57
user 186.53
sys 5.53

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0153.9+0823 @ 28.4972 8.3931

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits scfile=/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits outfile=/scratch/kocevski/905959/cmap_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.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=28.4972 yref=8.3931 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits scfile=/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits outfile=/scratch/kocevski/905959/cmap_HighResolution_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.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=28.4972 yref=8.3931 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905959/Model_4FGL_J0153.9+0823_daily_bin491.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/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits.....................!
real 67.74
user 66.33
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits', '/scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits', expMap='/scratch/kocevski/905959/expmap_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.fits', expCube='/scratch/kocevski/905959/ltcube_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905959/Model_4FGL_J0153.9+0823_daily_bin491.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0153.9+0823'

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.272e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/905959/ft1_filtered_4FGL_J0153.9+0823_daily_bin491.fits
Spacecraft file(s): /scratch/kocevski/905959/ft2_4FGL_J0153.9+0823_daily_bin491.fits
Exposure map: /scratch/kocevski/905959/expmap_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.fits
Exposure cube: /scratch/kocevski/905959/ltcube_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905959/Model_4FGL_J0153.9+0823_daily_bin491.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) = 5671.97170357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10798E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.131       1.0000         .10000E-03   10000.    
     4 'norm      '    7.4066       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6255       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5236       1.0000         .10000E-03   10000.    
     7 'norm      '    22.759       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5296       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .60705       1.0000         .10000E-03   10000.    
    12 'Prefactor '    118.23       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9631       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3205       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0152       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5671.970     FROM MIGRAD    STATUS=CONVERGED    318 CALLS     1568 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.203        14.118        .20790E-02    .83303E-03
   2  Prefactor     .10001E-03    71.629        .90712E-02** at limit **
   3  Prefactor     10.132        6.8794        .31472E-02    .27743E-02
   4  norm          7.4077        15.289        .36843E-02    .32638E-03
   5  Prefactor     7.6260        5.6834        .36305E-02    .24474E-02
   6  Prefactor     2.5237        2.1140        .64288E-02    .40958E-03
   7  norm          22.759        7.1305        .20991E-02    .59055E-03
   8  Prefactor     2.5300        2.3234        .64204E-02    .45137E-03
   9  norm          .10000E-03    .24238        .17247E-01** at limit **
  10  Prefactor     .10000E-03    11.535        .90712E-02** at limit **
  11  Prefactor     .60083        4.3234        .76668E-01    .43850E-03
  12  Prefactor     118.23        71.672        .92518E-03    .59242E-03
  13  Prefactor     5.9637        8.0118        .41109E-02    .21960E-02
  14  Prefactor     7.3224        13.443        .37061E-02    .10145E-02
  15  Prefactor     .10000E-03    2.6287        .90712E-02** at limit **
  16  Normalizat    1.0152        .18571        .44174E-01    .25508E-03
  17  Prefactor     .78482        .12913        .43520E-01    .29505E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2027
  Prefactor  = 0.000100006
  Prefactor  = 10.1317
  norm       = 7.40769
  Prefactor  = 7.626
  Prefactor  = 2.52371
  norm       = 22.7586
  Prefactor  = 2.53002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.600828
  Prefactor  = 118.229
  Prefactor  = 5.9637
  Prefactor  = 7.32235
  Prefactor  = 0.0001
  Normalizat = 1.01517
  Prefactor  = 0.784818
 **********
 **   18 **HESSE 
 **********

 FCN=   5671.970     FROM HESSE     STATUS=OK           221 CALLS     1789 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.203        14.125        .83159E-04   -1.4744    
   2  Prefactor     .10001E-03    72.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.132        6.8907        .62943E-03   -1.5071    
   4  norm          7.4077        15.284        .14737E-03   -1.5164    
   5  Prefactor     7.6260        5.6825        .14522E-03   -1.5156    
   6  Prefactor     2.5237        2.1124        .96381E-04   -1.5390    
   7  norm          22.759        7.1160        .83963E-04   -1.4753    
   8  Prefactor     2.5300        2.3136        .10401E-03   -1.5390    
   9  norm          .10000E-03    .28425        .72199E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .60083        13.519        .28282E-02   -1.5553    
  12  Prefactor     118.23        71.616        .37007E-04   -1.3529    
  13  Prefactor     5.9637        7.8512        .16444E-03   -1.5220    
  14  Prefactor     7.3224        13.441        .14824E-03   -1.5167    
  15  Prefactor     .10000E-03    2.6343        .11925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0152        .20980        .26695E-03   -.92524    
  17  Prefactor     .78482        .14694        .20615E-03   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63592e-08
Minuit parameter uncertainties:
  1  14.1269
  2  0.00133223
  3  6.89119
  4  15.292
  5  5.6829
  6  2.11243
  7  7.11631
  8  2.31366
  9  4.77373e-06
  10  0.0001104
  11  5.70102
  12  71.6681
  13  7.85256
  14  13.4469
  15  5.44057e-05
  16  0.209967
  17  0.14701
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.408e+00  1.529e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.848e-01  1.470e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.015e+00  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 6.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905959/likelihoodResults_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.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) = 5671.28107071
delta logL = 0.68887868983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5671.25633633
delta logL = 0.713613065577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3824       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8193       1.0000          .0000       5.0000    
     3 'Normalizat'    .99239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78681       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5671.256     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3719        125.64        .43304E-02    .87404E-03
   2  alpha         2.8204        3.8952        .31241        .14458E-03
   3  Normalizat    .99238        .65156E-01    .46072E-01    .97430E-04
   4  Prefactor     .78681        .40932E-01    .43545E-01   -.64998E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.3719
  alpha      = 2.82036
  Normalizat = 0.992378
  Prefactor  = 0.786809
 **********
 **   18 **HESSE 
 **********

 FCN=   5671.256     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3719        10.462        .15930E-03   -1.5244    
   2  alpha         2.8204        .95226        .10927E-01    .12850    
   3  Normalizat    .99238        .20576        .26941E-03   -.93286    
   4  Prefactor     .78681        .14113        .20568E-03   -1.0022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47234e-10
Minuit parameter uncertainties:
  1  10.4652
  2  0.977375
  3  0.205925
  4  0.141196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905959': 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) = 5671.2563355
delta logL = 0.713613895357

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  5.372e+00  1.047e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.820e+00  9.774e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.868e-01  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.924e-01  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.82 +/- 0.98
Photon Flux (Free Index): 4.08e-08 +/- 4.10e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.03e-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/905959/cmap_HighResolution_366595201_366854401_4FGL_J0153.9+0823_daily_bin491.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.26e-05', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='7.14e-01', photon_flux2='4.08e-08', job_status='DONE', time_completed='2021-08-14 20:12:25.946501', photon_index_error2='0.98', photon_index2='2.82', ts='0.30', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='6.25e-08', energy_flux_error2='1.03e-05', EG='1.02', time_epoch_completed='1628997145.95', return_code='0', job_id='905959', GAL2='0.79', EG2='0.99', return_code2='0', photon_flux_error2='4.10e-08', ts2='1.75', photon_index='1.82' WHERE bin_id='491' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:12:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 905959: <4FGL_J0153.9+0823_daily_bin491> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin491> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:24 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:00:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:00:33 2021
Terminated at Sat Aug 14 20:12:26 2021
Results reported at Sat Aug 14 20:12:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin491 28.4972 8.3931 366595201 366854401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0153.9+0823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            722 sec.

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

