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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin600
RA = 28.4972, Dec = 8.3931
tmin = 394848001, tmax = 395107201
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='906135', job_status='RUN', time_executed='2021-08-14 20:04:55.656753', time_epoch_executed='1628996695.66' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906135

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906135/ft1_4FGL_J0153.9+0823_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906135/ft2_4FGL_J0153.9+0823_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906135/ft1_4FGL_J0153.9+0823_daily_bin600.fits outfile=/scratch/kocevski/906135/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin600.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=394848001.0 tmax=395107201.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 6.03
user 4.99
sys 0.99

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906135/ft2_4FGL_J0153.9+0823_daily_bin600.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/906135/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin600.fits evtable="EVENTS" outfile="/scratch/kocevski/906135/ft1_filtered_4FGL_J0153.9+0823_daily_bin600.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.30
user 0.33
sys 0.93

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906135/ft1_filtered_4FGL_J0153.9+0823_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/906135/ft2_4FGL_J0153.9+0823_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/906135/ltcube_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.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/906135/ft2_4FGL_J0153.9+0823_daily_bin600.fits
.....................!
real 13.24
user 11.99
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906135/ft1_filtered_4FGL_J0153.9+0823_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/906135/ft2_4FGL_J0153.9+0823_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/906135/ltcube_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.fits outfile=/scratch/kocevski/906135/expmap_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.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/906135/ltcube_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.fits
.....................!
real 193.29
user 186.17
sys 6.67

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/906135/ft1_filtered_4FGL_J0153.9+0823_daily_bin600.fits scfile=/scratch/kocevski/906135/ft2_4FGL_J0153.9+0823_daily_bin600.fits outfile=/scratch/kocevski/906135/cmap_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.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.36
user 0.37
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906135/ft1_filtered_4FGL_J0153.9+0823_daily_bin600.fits scfile=/scratch/kocevski/906135/ft2_4FGL_J0153.9+0823_daily_bin600.fits outfile=/scratch/kocevski/906135/cmap_HighResolution_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.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.32
user 0.38
sys 0.92

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33687E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    48.761       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7493       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11046E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.4846       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2289       1.0000         .10000E-03   10000.    
     9 'norm      '    .28071       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.801       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    128.90       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1095       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.211       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.030       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .99731       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90017       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5966.691     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1624 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    7.1492         .0000    ** at limit **
   2  Prefactor     .10000E-03    18.985         .0000    ** at limit **
   3  Prefactor     .10000E-03    2.1008         .0000    ** at limit **
   4  norm          48.761        23.468         .0000       -.39451E-03
   5  Prefactor     3.7495        5.0442         .0000       -.17870E-02
   6  Prefactor     .10000E-03    1.7327         .0000    ** at limit **
   7  norm          9.4840        6.2957         .0000        .14812E-02
   8  Prefactor     2.2293        3.2644         .0000        .59202E-03
   9  norm          .28076        .57450         .0000        .10224E-02
  10  Prefactor     19.802        28.179         .0000       -.10690E-02
  11  Prefactor     .10000E-03    3.7865         .0000    ** at limit **
  12  Prefactor     128.90        86.767         .0000       -.33983E-04
  13  Prefactor     1.1085        8.5718         .0000        .25843E-01
  14  Prefactor     14.210        21.741         .0000        .13298E-02
  15  Prefactor     10.031        12.206         .0000       -.17985E-03
  16  Normalizat    .99726        .18769         .0000        .19662E-04
  17  Prefactor     .90018        .13000         .0000        .58666E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 48.7614
  Prefactor  = 3.74951
  Prefactor  = 0.0001
  norm       = 9.48395
  Prefactor  = 2.22929
  norm       = 0.280764
  Prefactor  = 19.8016
  Prefactor  = 0.0001
  Prefactor  = 128.896
  Prefactor  = 1.1085
  Prefactor  = 14.2096
  Prefactor  = 10.0308
  Normalizat = 0.997259
  Prefactor  = 0.900177
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.691     FROM HESSE     STATUS=OK           227 CALLS     1851 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    49.300        .39760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1115        .10932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          48.761        23.457        .57426E-04   -1.4310    
   5  Prefactor     3.7495        5.0303        .19360E-03   -1.5321    
   6  Prefactor     .10000E-03    3.5291        .19513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4840        6.2640        .13013E-03   -1.5092    
   8  Prefactor     2.2293        3.2124        .14945E-03   -1.5409    
   9  norm          .28076        .45495        .80603E-03   -1.5602    
  10  Prefactor     19.802        28.011        .90010E-04   -1.4818    
  11  Prefactor     .10000E-03    3.8137        .14670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     128.90        86.553        .35462E-04   -1.3432    
  13  Prefactor     1.1085        8.5794        .21594E-02   -1.5497    
  14  Prefactor     14.210        21.693        .10625E-03   -1.4954    
  15  Prefactor     10.031        12.181        .12652E-03   -1.5074    
  16  Normalizat    .99726        .21006        .27798E-03   -.93122    
  17  Prefactor     .90018        .14754        .20154E-03   -.96135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94899e-08
Minuit parameter uncertainties:
  1  0.00196514
  2  9.93166e-05
  3  2.97739e-06
  4  23.4611
  5  5.03082
  6  8.45383e-06
  7  6.26444
  8  3.21261
  9  0.454955
  10  28.0297
  11  6.15321e-06
  12  86.6379
  13  6.16866
  14  21.7051
  15  12.1838
  16  0.21023
  17  0.147604
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.876e+01  2.346e+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:  9.002e-01  1.476e-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.973e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.80
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 6.18e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 6.19e-05 +/- 2.98e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5966.56781113
delta logL = 0.12287248435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5966.56502264
delta logL = 0.125660977978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    47.439       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5850       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89873       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=   5966.565     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      223 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          47.439        32.491        .14554E-02    .20163E-02
   2  alpha         1.5850        .51519        .32298       -.16325E-04
   3  Normalizat    1.0106        .18808        .45521E-01    .12329E-04
   4  Prefactor     .89887        .12821        .44989E-01    .52699E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 47.439
  alpha      = 1.58498
  Normalizat = 1.01061
  Prefactor  = 0.898866
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.565     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          47.439        25.098        .29108E-03   -1.4329    
   2  alpha         1.5850        .46573        .11964E-01   -.37472    
   3  Normalizat    1.0106        .20905        .27642E-03   -.92676    
   4  Prefactor     .89887        .14506        .20175E-03   -.96181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02776e-09
Minuit parameter uncertainties:
  1  25.1035
  2  0.468897
  3  0.20922
  4  0.145118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906135': 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) = 5966.56502222
delta logL = 0.12566139922

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.744e+01  2.510e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.585e+00  4.689e-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:  8.989e-01  1.451e-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.011e+00  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.04
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.58 +/- 0.47
Photon Flux (Free Index): 4.51e-08 +/- 3.69e-08
Energy Flux (Free Index): 8.15e-05 +/- 6.40e-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/906135/cmap_HighResolution_394848001_395107201_4FGL_J0153.9+0823_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.18e-08', energy_flux2='8.15e-05', photon_flux_error='2.97e-08', dlogl='1.26e-01', energy_flux='6.19e-05', photon_flux2='4.51e-08', job_status='DONE', time_completed='2021-08-14 20:14:00.267938', photon_index_error2='0.47', photon_index2='1.58', ts='13.80', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='6.40e-05', EG='1.00', time_epoch_completed='1628997240.27', return_code='0', job_id='906135', GAL2='0.90', EG2='1.01', return_code2='0', energy_flux_error='2.98e-05', photon_flux_error2='3.69e-08', ts2='14.04', photon_index='1.82' WHERE bin_id='600' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:14:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 906135: <4FGL_J0153.9+0823_daily_bin600> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin600> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:40 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:01:59 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:01:59 2021
Terminated at Sat Aug 14 20:14:01 2021
Results reported at Sat Aug 14 20:14:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin600 28.4972 8.3931 394848001 395107201 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 :                                   554.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            801 sec.

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

