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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin356
RA = 28.4972, Dec = 8.3931
tmin = 331603201, tmax = 331862401
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='904715', job_status='RUN', time_executed='2021-08-14 20:00:49.499614', time_epoch_executed='1628996449.5' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904715

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904715/ft1_4FGL_J0153.9+0823_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904715/ft1_4FGL_J0153.9+0823_daily_bin356.fits outfile=/scratch/kocevski/904715/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin356.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=331603201.0 tmax=331862401.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 4.04
user 3.04
sys 0.89

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.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/904715/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin356.fits evtable="EVENTS" outfile="/scratch/kocevski/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.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 1.26
user 0.35
sys 0.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.fits" evtable="EVENTS" scfile=/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits sctable="SC_DATA" outfile=/scratch/kocevski/904715/ltcube_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.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/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits
.....................!
real 13.37
user 12.14
sys 1.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/904715/ltcube_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.fits outfile=/scratch/kocevski/904715/expmap_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.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/904715/ltcube_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.fits
.....................!
real 193.25
user 185.34
sys 5.61

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/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.fits scfile=/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits outfile=/scratch/kocevski/904715/cmap_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.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 1.28
user 0.40
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.fits scfile=/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits outfile=/scratch/kocevski/904715/cmap_HighResolution_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.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 1.26
user 0.38
sys 0.84

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.fits', '/scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits', expMap='/scratch/kocevski/904715/expmap_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.fits', expCube='/scratch/kocevski/904715/ltcube_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/904715/Model_4FGL_J0153.9+0823_daily_bin356.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/904715/ft1_filtered_4FGL_J0153.9+0823_daily_bin356.fits
Spacecraft file(s): /scratch/kocevski/904715/ft2_4FGL_J0153.9+0823_daily_bin356.fits
Exposure map: /scratch/kocevski/904715/expmap_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.fits
Exposure cube: /scratch/kocevski/904715/ltcube_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/904715/Model_4FGL_J0153.9+0823_daily_bin356.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) = 7480.16795586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87095E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1207       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7318       1.0000         .10000E-03   10000.    
     4 'norm      '    6.6146       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9697       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.4901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0941       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4506       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.342       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3601       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3623       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.941       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .75543       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95462       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7479.516     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1458 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63849E-01    4.9305        .32330E-06   -.98543E-04
   2  Prefactor     1.1466        86.526        .38443E-05   -.44363E-05
   3  Prefactor     4.7317        4.1765        .15876E-06   -.19950E-04
   4  norm          6.6240        9.2851       -.12708E-06   -.33250E-04
   5  Prefactor     6.9687        5.3611        .74146E-07   -.48244E-04
   6  Prefactor     .10000E-03    1.1893        .78448E-07** at limit **
   7  norm          9.4911        4.6939       -.13079E-06   -.14572E-03
   8  Prefactor     1.0940        2.3314        .10264E-05   -.17902E-04
   9  norm          1.4505        .70105        .14881E-06   -.11242E-03
  10  Prefactor     .10000E-03    58.099        .20151E-06** at limit **
  11  Prefactor     18.350        9.3952       -.12651E-07   -.20021E-04
  12  Prefactor     6.4096        133.45        .51919E-05    .14339E-04
  13  Prefactor     3.3602        9.5048        .71397E-06   -.36416E-04
  14  Prefactor     12.951        18.828       -.69493E-06   -.68385E-04
  15  Prefactor     .10000E-03    9.2121        .31493E-06** at limit **
  16  Normalizat    .75544        .15697       -.73344E-07   -.15492E-03
  17  Prefactor     .95463        .11371       -.68716E-06   -.14155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0638491
  Prefactor  = 1.14656
  Prefactor  = 4.73169
  norm       = 6.62401
  Prefactor  = 6.96867
  Prefactor  = 0.0001
  norm       = 9.49115
  Prefactor  = 1.09398
  norm       = 1.45051
  Prefactor  = 0.0001
  Prefactor  = 18.35
  Prefactor  = 6.40957
  Prefactor  = 3.36016
  Prefactor  = 12.9507
  Prefactor  = 0.0001
  Normalizat = 0.75544
  Prefactor  = 0.954628
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.516     FROM HESSE     STATUS=OK           241 CALLS     1699 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63849E-01    6.7475        .69390E-01   -1.5657    
   2  Prefactor     1.1466        89.708        .44358E-03   -1.5494    
   3  Prefactor     4.7317        4.1761        .15951E-03   -1.5273    
   4  norm          6.6240        9.2865        .15603E-03   -1.5193    
   5  Prefactor     6.9687        5.3593        .15196E-03   -1.5180    
   6  Prefactor     .10000E-03    2.5000        .18225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4911        4.6929        .12530E-03   -1.5092    
   8  Prefactor     1.0940        2.3196        .17779E-03   -1.5499    
   9  norm          1.4505        .70158        .24200E-03   -1.5467    
  10  Prefactor     .10000E-03    58.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.350        9.3133        .93518E-04   -1.4851    
  12  Prefactor     6.4096        137.04        .15916E-03   -1.5202    
  13  Prefactor     3.3602        9.4134        .22069E-03   -1.5341    
  14  Prefactor     12.951        18.886        .11135E-03   -1.4988    
  15  Prefactor     .10000E-03    9.3169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .75544        .18110        .29488E-03   -1.0174    
  17  Prefactor     .95463        .13098        .18814E-03   -.94258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77468e-10
Minuit parameter uncertainties:
  1  1.31186
  2  20.3142
  3  4.17632
  4  9.28849
  5  5.35965
  6  8.7273e-06
  7  4.69309
  8  2.31975
  9  0.701588
  10  0.000330992
  11  9.31406
  12  59.4294
  13  9.41752
  14  18.8947
  15  5.56706e-06
  16  0.181248
  17  0.131026
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.624e+00  9.288e+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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.546e-01  1.310e-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:  7.554e-01  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904715/likelihoodResults_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.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) = 7479.15688354
delta logL = 0.359366406436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7479.15346635
delta logL = 0.362783588082

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0310       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7021       1.0000          .0000       5.0000    
     3 'Normalizat'    .73662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95810       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=   7479.153     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      277 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0289        147.29        .44819E-02    .49580E-03
   2  alpha         2.7021        3.7673        .28815        .10059E-03
   3  Normalizat    .73661        .67179E-01    .67418E-01    .37930E-03
   4  Prefactor     .95824        .38382E-01    .45741E-01    .22832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.02886
  alpha      = 2.70209
  Normalizat = 0.736611
  Prefactor  = 0.95824
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.153     FROM HESSE     STATUS=OK            31 CALLS      308 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0289        8.6209        .17928E-03   -1.5259    
   2  alpha         2.7021        1.0318        .15892E-01    .80923E-01
   3  Normalizat    .73661        .18122        .29831E-03   -1.0246    
   4  Prefactor     .95824        .12758        .18775E-03   -.94135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22908e-10
Minuit parameter uncertainties:
  1  8.62303
  2  1.06381
  3  0.181364
  4  0.127623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904715': 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) = 7479.15346426
delta logL = 0.362785684222

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  5.029e+00  8.623e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.702e+00  1.064e+00  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:  9.582e-01  1.276e-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:  7.366e-01  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.70 +/- 1.06
Photon Flux (Free Index): 3.00e-08 +/- 3.90e-08
Energy Flux (Free Index): 8.11e-06 +/- 8.43e-06

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/904715/cmap_HighResolution_331603201_331862401_4FGL_J0153.9+0823_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-05', comment='SUCCESS', energy_flux2='8.11e-06', dlogl='3.63e-01', photon_flux2='3.00e-08', job_status='DONE', time_completed='2021-08-14 20:11:12.982446', photon_index_error2='1.06', photon_index2='2.70', ts='0.99', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='4.66e-08', energy_flux_error2='8.43e-06', EG='0.76', time_epoch_completed='1628997072.98', return_code='0', job_id='904715', GAL2='0.96', EG2='0.74', return_code2='0', photon_flux_error2='3.90e-08', ts2='1.71', photon_index='1.82' WHERE bin_id='356' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 904715: <4FGL_J0153.9+0823_daily_bin356> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin356> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:46 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:58:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:58:00 2021
Terminated at Sat Aug 14 20:11:13 2021
Results reported at Sat Aug 14 20:11:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin356 28.4972 8.3931 331603201 331862401 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 :                                   625.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            927 sec.

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

