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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin229
RA = 28.4972, Dec = 8.3931
tmin = 298684801, tmax = 298944001
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='904512', job_status='RUN', time_executed='2021-08-14 20:01:47.459809', time_epoch_executed='1628996507.46' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904512/ft1_4FGL_J0153.9+0823_daily_bin229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904512/ft2_4FGL_J0153.9+0823_daily_bin229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904512/ft1_4FGL_J0153.9+0823_daily_bin229.fits outfile=/scratch/kocevski/904512/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin229.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=298684801.0 tmax=298944001.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 8.63
user 3.23
sys 5.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904512/ft1_filtered_4FGL_J0153.9+0823_daily_bin229.fits" evtable="EVENTS" scfile=/scratch/kocevski/904512/ft2_4FGL_J0153.9+0823_daily_bin229.fits sctable="SC_DATA" outfile=/scratch/kocevski/904512/ltcube_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.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/904512/ft2_4FGL_J0153.9+0823_daily_bin229.fits
.....................!
real 18.01
user 11.85
sys 6.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904512/ft1_filtered_4FGL_J0153.9+0823_daily_bin229.fits evtable="EVENTS" scfile=/scratch/kocevski/904512/ft2_4FGL_J0153.9+0823_daily_bin229.fits sctable="SC_DATA" expcube=/scratch/kocevski/904512/ltcube_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.fits outfile=/scratch/kocevski/904512/expmap_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.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/904512/ltcube_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.fits
.....................!
real 196.99
user 185.06
sys 11.42

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/904512/ft1_filtered_4FGL_J0153.9+0823_daily_bin229.fits scfile=/scratch/kocevski/904512/ft2_4FGL_J0153.9+0823_daily_bin229.fits outfile=/scratch/kocevski/904512/cmap_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.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 5.37
user 0.38
sys 4.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904512/ft1_filtered_4FGL_J0153.9+0823_daily_bin229.fits scfile=/scratch/kocevski/904512/ft2_4FGL_J0153.9+0823_daily_bin229.fits outfile=/scratch/kocevski/904512/cmap_HighResolution_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.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 5.59
user 0.39
sys 5.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.887       1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.750       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2548       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4850       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .52155       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3893       1.0000         .10000E-03   10000.    
     7 'norm      '    5.2323       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8308       1.0000         .10000E-03   10000.    
     9 'norm      '    .20415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.066       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.507       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10648E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1236       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86126       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=   6141.765     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1657 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.885        16.035        .10301E-06    .73902E-05
   2  Prefactor     31.740        45.777        .34428E-06    .78596E-05
   3  Prefactor     3.2544        4.5402        .28380E-07    .57941E-05
   4  norm          8.4844        8.5967        .25589E-07   -.12621E-04
   5  Prefactor     .49697        3.6775        .45846E-06   -.23607E-03
   6  Prefactor     2.3877        3.0658        .14992E-06   -.41944E-04
   7  norm          5.2341        4.6572       -.24435E-06   -.12410E-03
   8  Prefactor     1.8243        3.4657        .13483E-05    .97379E-04
   9  norm          .20449        .50597       -.25455E-06   -.10149E-02
  10  Prefactor     .10000E-03    22.199        .79703E-06** at limit **
  11  Prefactor     1.0757        5.5472       -.26794E-06    .49192E-05
  12  Prefactor     38.919        87.450        .58065E-06    .87581E-05
  13  Prefactor     .10000E-03    2.0943        .33684E-06** at limit **
  14  Prefactor     23.513        19.985       -.21534E-06   -.40554E-04
  15  Prefactor     .10000E-03    7.1297        .14533E-05** at limit **
  16  Normalizat    1.1231        .20039        .20222E-05   -.13464E-03
  17  Prefactor     .86169        .13971       -.20690E-05    .36391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.8847
  Prefactor  = 31.7403
  Prefactor  = 3.25439
  norm       = 8.4844
  Prefactor  = 0.496972
  Prefactor  = 2.38766
  norm       = 5.2341
  Prefactor  = 1.82432
  norm       = 0.204486
  Prefactor  = 0.0001
  Prefactor  = 1.07567
  Prefactor  = 38.9191
  Prefactor  = 0.0001
  Prefactor  = 23.5129
  Prefactor  = 0.0001
  Normalizat = 1.12311
  Prefactor  = 0.861691
 **********
 **   18 **HESSE 
 **********

 FCN=   6141.765     FROM HESSE     STATUS=OK           237 CALLS     1894 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.885        16.040        .75864E-04   -1.4651    
   2  Prefactor     31.740        45.821        .71110E-04   -1.4581    
   3  Prefactor     3.2544        4.5304        .19009E-03   -1.5347    
   4  norm          8.4844        8.5965        .13762E-03   -1.5125    
   5  Prefactor     .49697        12.262        .27907E-02   -1.5567    
   6  Prefactor     2.3877        3.0475        .14577E-03   -1.5399    
   7  norm          5.2341        4.6530        .15050E-03   -1.5250    
   8  Prefactor     1.8243        3.4734        .87417E-03   -1.5438    
   9  norm          .20449        .44284        .87261E-03   -1.5618    
  10  Prefactor     .10000E-03    22.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0757        5.5733        .17636E-02   -1.5501    
  12  Prefactor     38.919        87.614        .32064E-03   -1.4459    
  13  Prefactor     .10000E-03    2.0998        .11081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.513        20.017        .82617E-04   -1.4738    
  15  Prefactor     .10000E-03    7.1633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1231        .21902        .27587E-03   -.89013    
  17  Prefactor     .86169        .15102        .20749E-03   -.97493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03943e-10
Minuit parameter uncertainties:
  1  16.0426
  2  45.8718
  3  4.5309
  4  8.59773
  5  4.9377
  6  3.04765
  7  4.65336
  8  3.47382
  9  0.442851
  10  5.22397e-05
  11  4.89742
  12  87.9058
  13  3.08407e-06
  14  20.0225
  15  1.46756e-05
  16  0.219196
  17  0.151098
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  8.484e+00  8.598e+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:  8.617e-01  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:  1.123e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.98
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.08e-08 +/- 1.09e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 1.09e-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) = 6141.36080474
delta logL = 0.403844817986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6141.34434917
delta logL = 0.420300390304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8536       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1238       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86233       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=   6141.344     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8495        6.9722        .38314E-02   -.18400E-03
   2  alpha         1.1236        .54661        .49830       -.15520E-04
   3  Normalizat    1.1259        .18633        .62297E-01    .53140E-04
   4  Prefactor     .86236        .12512        .44523E-01    .14739E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.84949
  alpha      = 1.12356
  Normalizat = 1.12593
  Prefactor  = 0.862364
 **********
 **   18 **HESSE 
 **********

 FCN=   6141.344     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8495        8.2331        .15326E-03   -1.5184    
   2  alpha         1.1236        .69691        .20245E-01   -.58306    
   3  Normalizat    1.1259        .21472        .27555E-03   -.88924    
   4  Prefactor     .86236        .14431        .20740E-03   -.97469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33131e-11
Minuit parameter uncertainties:
  1  8.23449
  2  0.710558
  3  0.214885
  4  0.144376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904512': 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) = 6141.34434901
delta logL = 0.420300544512

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.849e+00  8.234e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.124e+00  7.106e-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.624e-01  1.444e-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.126e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.81
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.12 +/- 0.71
Photon Flux (Free Index): 5.07e-09 +/- 6.04e-09
Energy Flux (Free Index): 3.20e-05 +/- 5.09e-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/904512/cmap_HighResolution_298684801_298944001_4FGL_J0153.9+0823_daily_bin229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-08', energy_flux2='3.20e-05', photon_flux_error='1.09e-08', dlogl='4.20e-01', energy_flux='1.08e-05', photon_flux2='5.07e-09', job_status='DONE', time_completed='2021-08-14 20:11:43.736806', photon_index_error2='0.71', photon_index2='1.12', ts='4.98', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='5.09e-05', EG='1.12', time_epoch_completed='1628997103.74', return_code='0', job_id='904512', GAL2='0.86', EG2='1.13', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='6.04e-09', ts2='5.81', photon_index='1.82' WHERE bin_id='229' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 904512: <4FGL_J0153.9+0823_daily_bin229> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin229> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:29 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:24 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:56:24 2021
Terminated at Sat Aug 14 20:11:45 2021
Results reported at Sat Aug 14 20:11:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin229 28.4972 8.3931 298684801 298944001 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 :                                   670.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            976 sec.

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

