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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin934
RA = 28.4972, Dec = 8.3931
tmin = 481420801, tmax = 481680001
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='907774', job_status='RUN', time_executed='2021-08-14 20:10:21.965681', time_epoch_executed='1628997021.97' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907774

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907774/ft1_4FGL_J0153.9+0823_daily_bin934.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907774/ft2_4FGL_J0153.9+0823_daily_bin934.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907774/ft1_4FGL_J0153.9+0823_daily_bin934.fits outfile=/scratch/kocevski/907774/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin934.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=481420801.0 tmax=481680001.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 13.62
user 3.51
sys 10.03

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907774/ft1_filtered_4FGL_J0153.9+0823_daily_bin934.fits" evtable="EVENTS" scfile=/scratch/kocevski/907774/ft2_4FGL_J0153.9+0823_daily_bin934.fits sctable="SC_DATA" outfile=/scratch/kocevski/907774/ltcube_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.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/907774/ft2_4FGL_J0153.9+0823_daily_bin934.fits
.....................!
real 23.93
user 12.92
sys 10.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907774/ft1_filtered_4FGL_J0153.9+0823_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/907774/ft2_4FGL_J0153.9+0823_daily_bin934.fits sctable="SC_DATA" expcube=/scratch/kocevski/907774/ltcube_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.fits outfile=/scratch/kocevski/907774/expmap_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.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/907774/ltcube_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.fits
.....................!
real 202.82
user 185.30
sys 16.92

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/907774/ft1_filtered_4FGL_J0153.9+0823_daily_bin934.fits scfile=/scratch/kocevski/907774/ft2_4FGL_J0153.9+0823_daily_bin934.fits outfile=/scratch/kocevski/907774/cmap_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.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 9.75
user 0.37
sys 9.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907774/ft1_filtered_4FGL_J0153.9+0823_daily_bin934.fits scfile=/scratch/kocevski/907774/ft2_4FGL_J0153.9+0823_daily_bin934.fits outfile=/scratch/kocevski/907774/cmap_HighResolution_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.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 9.80
user 0.41
sys 9.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.707       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.3826       1.0000         .10000E-03   10000.    
     4 'norm      '    3.1985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0132       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .53374E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    12.514       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0462       1.0000         .10000E-03   10000.    
     9 'norm      '    .64192       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.673       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8561       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12447E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.939       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .91066       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0208       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=   6187.266     FROM MIGRAD    STATUS=CONVERGED    352 CALLS     1653 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.755        17.190       -.58172E-05   -.31370E-05
   2  Prefactor     .10000E-03    22.007        .10158E-04** at limit **
   3  Prefactor     7.3695        5.0749        .10761E-07   -.11445E-04
   4  norm          3.1898        9.8380       -.38962E-05   -.15460E-03
   5  Prefactor     2.9903        3.0805        .77353E-07    .14853E-03
   6  Prefactor     .66699E-01    1.1081        .61880E-06   -.19414E-02
   7  norm          12.548        5.4656       -.10343E-06   -.64168E-04
   8  Prefactor     4.0365        2.6329       -.25179E-06    .11185E-04
   9  norm          .64238        1.0414       -.37710E-06   -.15344E-02
  10  Prefactor     21.870        29.041        .36642E-05    .40994E-04
  11  Prefactor     6.8527        7.6080        .34941E-06   -.13221E-03
  12  Prefactor     .10000E-03    34.896       -.26294E-04** at limit **
  13  Prefactor     21.924        10.584       -.52080E-06   -.15897E-04
  14  Prefactor     3.4804        10.686       -.18729E-05   -.11778E-03
  15  Prefactor     .10000E-03    4.0090       -.41590E-08** at limit **
  16  Normalizat    .91021        .19432        .10031E-05   -.10290E-03
  17  Prefactor     1.0210        .13308        .29522E-06   -.87276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.7554
  Prefactor  = 0.0001
  Prefactor  = 7.36947
  norm       = 3.18977
  Prefactor  = 2.99033
  Prefactor  = 0.0666991
  norm       = 12.5481
  Prefactor  = 4.0365
  norm       = 0.642376
  Prefactor  = 21.8697
  Prefactor  = 6.85265
  Prefactor  = 0.0001
  Prefactor  = 21.9239
  Prefactor  = 3.48035
  Prefactor  = 0.0001
  Normalizat = 0.910211
  Prefactor  = 1.02102
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.266     FROM HESSE     STATUS=OK           233 CALLS     1886 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.755        17.196        .63610E-04   -1.4446    
   2  Prefactor     .10000E-03    21.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.3695        5.0778        .14249E-03   -1.5165    
   4  norm          3.1898        9.8774        .22655E-03   -1.5351    
   5  Prefactor     2.9903        3.0865        .13652E-03   -1.5362    
   6  Prefactor     .66699E-01    19.122        .15636E-02   -1.5656    
   7  norm          12.548        5.4635        .11324E-03   -1.4999    
   8  Prefactor     4.0365        2.6251        .95355E-04   -1.5306    
   9  norm          .64238        1.0300        .95949E-04   -1.5548    
  10  Prefactor     21.870        28.998        .86038E-04   -1.4772    
  11  Prefactor     6.8527        7.5941        .15323E-03   -1.5184    
  12  Prefactor     .10000E-03    34.662        .20612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.924        10.566        .85514E-04   -1.4771    
  14  Prefactor     3.4804        10.684        .21679E-03   -1.5335    
  15  Prefactor     .10000E-03    4.0230        .15380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .91021        .21922        .30538E-03   -.96102    
  17  Prefactor     1.0210        .15108        .20332E-03   -.92032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79375e-08
Minuit parameter uncertainties:
  1  17.1981
  2  6.9886e-06
  3  5.07807
  4  9.88246
  5  3.0867
  6  2.25775
  7  5.46376
  8  2.62518
  9  1.03003
  10  29.017
  11  7.59514
  12  2.37275e-05
  13  10.5674
  14  10.6897
  15  2.65143e-06
  16  0.219438
  17  0.15114
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.190e+00  9.882e+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:  1.021e+00  1.511e-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.102e-01  2.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/907774/likelihoodResults_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.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) = 6187.24655776
delta logL = 0.0192204290361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6187.2464001
delta logL = 0.0193780877462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1061       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0925       1.0000          .0000       5.0000    
     3 'Normalizat'    .90948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0206       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=   6187.246     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      275 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0941        9.6390        .11504E-02    .18755E-03
   2  alpha         2.0886        1.3555        .30311E-01    .11583E-03
   3  Normalizat    .90946        .20954        .30549E-03    .16970E-04
   4  Prefactor     1.0207        .14818        .20334E-03   -.24041E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.09414
  alpha      = 2.08857
  Normalizat = 0.909461
  Prefactor  = 1.02065
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.246     FROM HESSE     STATUS=OK            27 CALLS      302 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0941        9.1275        .23008E-03   -1.5356    
   2  alpha         2.0886        1.2926        .60621E-02   -.16532    
   3  Normalizat    .90946        .20964        .12220E-04   -.96128    
   4  Prefactor     1.0207        .14826        .81337E-05   -.92044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30649e-12
Minuit parameter uncertainties:
  1  9.13157
  2  1.3606
  3  0.209826
  4  0.148315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907774': 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) = 6187.24639232
delta logL = 0.0193858721304

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.094e+00  9.132e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.089e+00  1.361e+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:  1.021e+00  1.483e-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.095e-01  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 28.497 8.393

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/907774/cmap_HighResolution_481420801_481680001_4FGL_J0153.9+0823_daily_bin934.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-05', job_status='DONE', photon_flux_upper_limit='4.64e-08', time_completed='2021-08-14 20:22:14.084433', job_id='907774', GAL2='1.02', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1628997734.08', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.94e-02', ts2='0.17', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='934' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:22:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0134>
Subject: Job 907774: <4FGL_J0153.9+0823_daily_bin934> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin934> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:48 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:07:37 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:07:37 2021
Terminated at Sat Aug 14 20:22:16 2021
Results reported at Sat Aug 14 20:22:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin934 28.4972 8.3931 481420801 481680001 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 :                                   859.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             285.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            988 sec.

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

