aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 232 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7341
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin1752
RA = 28.4972, Dec = 8.3931
tmin = 693446401, tmax = 693705601
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='248405', job_status='RUN', time_executed='2022-12-26 00:13:56.649577', time_epoch_executed='1672042436.65' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248405/ft1_4FGL_J0153.9+0823_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248405/ft1_4FGL_J0153.9+0823_daily_bin1752.fits outfile=/scratch/kocevski/248405/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1752.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=693446401.0 tmax=693705601.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.52
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.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/248405/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/248405/ft1_filtered_4FGL_J0153.9+0823_daily_bin1752.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.53
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 630

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248405/ft1_filtered_4FGL_J0153.9+0823_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/248405/ltcube_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.fits outfile=/scratch/kocevski/248405/expmap_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.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/248405/ltcube_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.fits
.....................!
real 190.95
user 186.28
sys 4.28

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/248405/ft1_filtered_4FGL_J0153.9+0823_daily_bin1752.fits scfile=/scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.fits outfile=/scratch/kocevski/248405/cmap_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248405/ft1_filtered_4FGL_J0153.9+0823_daily_bin1752.fits scfile=/scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.fits outfile=/scratch/kocevski/248405/cmap_HighResolution_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248405/ft1_filtered_4FGL_J0153.9+0823_daily_bin1752.fits', '/scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.fits', expMap='/scratch/kocevski/248405/expmap_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.fits', expCube='/scratch/kocevski/248405/ltcube_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248405/Model_4FGL_J0153.9+0823_daily_bin1752.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  0.000e+00  1.000e+06 ( 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 -5.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/248405/ft1_filtered_4FGL_J0153.9+0823_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/248405/ft2_4FGL_J0153.9+0823_daily_bin1752.fits
Exposure map: /scratch/kocevski/248405/expmap_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.fits
Exposure cube: /scratch/kocevski/248405/ltcube_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248405/Model_4FGL_J0153.9+0823_daily_bin1752.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) = 7021.7403124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75565       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.0562       1.0000          .0000       .10000E+07
     3 'Prefactor '    .80591E-06   1.0000          .0000       .10000E+07
     4 'norm      '    6.2484       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2282       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.0796       1.0000          .0000       .10000E+07
     7 'norm      '    12.784       1.0000          .0000       .10000E+07
     8 'Prefactor '    .72194       1.0000          .0000       .10000E+07
     9 'norm      '    .13653       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50337E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61154       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15672E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    56.387       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1710       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82172       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7021.736     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1010 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73731        2.8849        .15473E-05   -.21691E-01
   2  Prefactor     9.0566        1.1178       -.13880E-06    .72444E-02
   3  Prefactor     .55511E-10    4.3420        .49522E-06** at limit **
   4  norm          6.2560        7.2584        .64401E-06   -.51279E-03
   5  Prefactor     3.2064        3.9545        .29642E-06    .27411E-02
   6  Prefactor     6.0836        3.3073       -.49085E-06    .17168E-02
   7  norm          12.784        5.9391       -.79966E-07   -.42995E-03
   8  Prefactor     .73683        1.6890       -.10945E-05   -.24307E-02
   9  norm          .13616        .55789        .12087E-05** at limit **
  10  Prefactor     .35860E-07    10.153       -.21012E-05** at limit **
  11  Prefactor     .26368E-07    84.557       -.12982E-04** at limit **
  12  Prefactor     .37637E-07    11.438        .23942E-05** at limit **
  13  Prefactor     56.512        2.5141        .18035E-06    .30001E-01
  14  Normalizat    1.1710        .19525       -.23154E-04    .72470E-04
  15  Prefactor     .82174        .13543       -.14481E-04    .21515E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.737315
  Prefactor  = 9.05656
  Prefactor  = 5.55112e-11
  norm       = 6.25605
  Prefactor  = 3.2064
  Prefactor  = 6.08359
  norm       = 12.7841
  Prefactor  = 0.736825
  norm       = 0.13616
  Prefactor  = 3.58602e-08
  Prefactor  = 2.63678e-08
  Prefactor  = 3.76366e-08
  Prefactor  = 56.5124
  Normalizat = 1.17095
  Prefactor  = 0.821739
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.736     FROM HESSE     STATUS=OK           218 CALLS     1228 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73731        22.804        .56301E-03   -1.5691    
   2  Prefactor     9.0566        29.791        .33281E-03   -1.5648    
   3  Prefactor     .55511E-10    4.3082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.2560        7.2546        .40135E-03   -1.5658    
   5  Prefactor     3.2064        3.9622        .56355E-03   -1.5672    
   6  Prefactor     6.0836        3.3146        .40696E-03   -1.5659    
   7  norm          12.784        5.9485        .27990E-03   -1.5636    
   8  Prefactor     .73683        1.7030        .58945E-03   -1.5691    
   9  norm          .13616        .41017        .24824E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35860E-07    10.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .26368E-07    84.898        .68201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37637E-07    12.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     56.512        25.391        .13318E-03   -1.5558    
  14  Normalizat    1.1710        .17310        .60954E-01   -.87505    
  15  Prefactor     .82174        .11937        .43999E-01   -.98932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97877e-08
Minuit parameter uncertainties:
  1  8.20087
  2  29.7915
  3  2.38729e-05
  4  7.25464
  5  3.96222
  6  3.31458
  7  5.94851
  8  1.70298
  9  0.410173
  10  0.00123636
  11  0.00299121
  12  0.00135408
  13  25.3912
  14  0.173181
  15  0.119403
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.256e+00  7.255e+00  0.000e+00  1.000e+06 ( 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 -5.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.217e-01  1.194e-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.171e+00  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 7.93e-09 +/- 9.19e-09
Energy Flux (Fixed Index): 7.94e-06 +/- 9.20e-06

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

Saving results to:
/scratch/kocevski/248405/likelihoodResults_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.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) = 7021.73199624
delta logL = 0.00445351529925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7021.73187855
delta logL = 0.00457120876763

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3619       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7266       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82169       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7021.732     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      275 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3568        7.7506        .15908E-04   -.18009E-03
   2  alpha         1.7258        .98688        .14288       -.52385E-05
   3  Normalizat    1.1717        .19435        .26951E-03   -.23285E-04
   4  Prefactor     .82159        .13285        .21497E-03   -.11106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.35682
  alpha      = 1.72577
  Normalizat = 1.17167
  Prefactor  = 0.821595
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.732     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3568        7.4070        .63633E-06   -1.5658    
   2  alpha         1.7258        .95847        .33246E-02   -.31487    
   3  Normalizat    1.1717        .19430        .10781E-04   -.87483    
   4  Prefactor     .82159        .13292        .85987E-05   -.98937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38075e-12
Minuit parameter uncertainties:
  1  7.407
  2  0.986549
  3  0.194422
  4  0.132974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248405': 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) = 7021.73187762
delta logL = 0.00457213776099

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.357e+00  7.407e+00  0.000e+00  1.000e+06 ( 1.000e-13)
237        alpha:  1.726e+00  9.865e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00 -5.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.216e-01  1.330e-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.172e+00  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.16
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.73 +/- 0.99
Photon Flux (Free Index): 7.10e-09 +/- 1.15e-08
Energy Flux (Free Index): 8.94e-06 +/- 1.56e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/248405/cmap_HighResolution_693446401_693705601_4FGL_J0153.9+0823_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.07e-05', comment='SUCCESS', photon_flux='7.93e-09', energy_flux2='8.94e-06', photon_flux_error='9.19e-09', dlogl='4.57e-03', energy_flux='7.94e-06', photon_flux2='7.10e-09', job_status='DONE', time_completed='2022-12-26 00:22:54.066102', photon_index_error2='0.99', photon_index2='1.73', ts='2.16', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='4.07e-08', energy_flux_error2='1.56e-05', EG='1.17', time_epoch_completed='1672042974.07', return_code='0', job_id='248405', GAL2='0.82', EG2='1.17', return_code2='0', energy_flux_error='9.20e-06', photon_flux_error2='1.15e-08', ts2='2.16', photon_index='1.82' WHERE bin_id='1752' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:22:54 PST 2022

------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 248406: <4FGL_J0153.9+0823_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:20 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:09:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:09:47 2022
Terminated at Mon Dec 26 00:19:14 2022
Results reported at Mon Dec 26 00:19:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin1752 28.4972 8.3931 693446401 693705601 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 :                                   539.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             380.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            774 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 248405: <4FGL_J0153.9+0823_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:06:20 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:09:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:09:46 2022
Terminated at Mon Dec 26 00:22:54 2022
Results reported at Mon Dec 26 00:22:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin1752 28.4972 8.3931 693446401 693705601 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 :                                   533.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             289.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            994 sec.

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

