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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin644
RA = 28.4972, Dec = 8.3931
tmin = 406252801, tmax = 406512001
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='906206', job_status='RUN', time_executed='2021-08-14 20:06:07.355689', time_epoch_executed='1628996767.36' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906206

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906206/ft1_4FGL_J0153.9+0823_daily_bin644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906206/ft2_4FGL_J0153.9+0823_daily_bin644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906206/ft1_4FGL_J0153.9+0823_daily_bin644.fits outfile=/scratch/kocevski/906206/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin644.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=406252801.0 tmax=406512001.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 5.99
user 3.65
sys 2.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906206/ft2_4FGL_J0153.9+0823_daily_bin644.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/906206/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin644.fits evtable="EVENTS" outfile="/scratch/kocevski/906206/ft1_filtered_4FGL_J0153.9+0823_daily_bin644.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 2.57
user 0.34
sys 2.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906206/ft1_filtered_4FGL_J0153.9+0823_daily_bin644.fits" evtable="EVENTS" scfile=/scratch/kocevski/906206/ft2_4FGL_J0153.9+0823_daily_bin644.fits sctable="SC_DATA" outfile=/scratch/kocevski/906206/ltcube_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.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/906206/ft2_4FGL_J0153.9+0823_daily_bin644.fits
.....................!
real 14.65
user 11.93
sys 2.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906206/ft1_filtered_4FGL_J0153.9+0823_daily_bin644.fits evtable="EVENTS" scfile=/scratch/kocevski/906206/ft2_4FGL_J0153.9+0823_daily_bin644.fits sctable="SC_DATA" expcube=/scratch/kocevski/906206/ltcube_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.fits outfile=/scratch/kocevski/906206/expmap_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.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/906206/ltcube_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.fits
.....................!
real 194.05
user 185.33
sys 8.25

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/906206/ft1_filtered_4FGL_J0153.9+0823_daily_bin644.fits scfile=/scratch/kocevski/906206/ft2_4FGL_J0153.9+0823_daily_bin644.fits outfile=/scratch/kocevski/906206/cmap_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.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 2.55
user 0.36
sys 2.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906206/ft1_filtered_4FGL_J0153.9+0823_daily_bin644.fits scfile=/scratch/kocevski/906206/ft2_4FGL_J0153.9+0823_daily_bin644.fits outfile=/scratch/kocevski/906206/cmap_HighResolution_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.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 2.57
user 0.38
sys 2.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8716       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.089       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7702       1.0000         .10000E-03   10000.    
     4 'norm      '    18.396       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5591       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1017       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8910       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4779       1.0000         .10000E-03   10000.    
     9 'norm      '    .83684       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.814       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4451       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.875       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2971       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .66700       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=   6489.916     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1372 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8710        8.5774        .16350E-06   -.27379E-04
   2  Prefactor     11.011        30.284        .81482E-04    .27158E-05
   3  Prefactor     3.7697        5.3847       -.14359E-05   -.50003E-03
   4  norm          18.395        14.910        .21184E-05   -.15818E-04
   5  Prefactor     7.5588        5.7873        .17529E-05   -.31122E-04
   6  Prefactor     5.1011        4.1167       -.18980E-08   -.46827E-03
   7  norm          3.8910        5.8561       -.43346E-06   -.42622E-03
   8  Prefactor     3.4792        3.0290        .21939E-05    .30128E-04
   9  norm          .83673        .70883        .96492E-08   -.26258E-03
  10  Prefactor     .10000E-03    14.766       -.71944E-06** at limit **
  11  Prefactor     .10000E-03    10.278        .24385E-06** at limit **
  12  Prefactor     10.638        44.437       -.13984E-03    .19545E-05
  13  Prefactor     .10000E-03    11.704        .19547E-05** at limit **
  14  Prefactor     9.4460        17.217        .52312E-05    .13058E-04
  15  Prefactor     20.878        12.057       -.13397E-05    .24453E-04
  16  Normalizat    1.2971        .18596       -.33945E-05    .18944E-03
  17  Prefactor     .66707        .12308        .27921E-05   -.28147E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.87102
  Prefactor  = 11.0114
  Prefactor  = 3.7697
  norm       = 18.3947
  Prefactor  = 7.55885
  Prefactor  = 5.10114
  norm       = 3.891
  Prefactor  = 3.47925
  norm       = 0.836728
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 10.6377
  Prefactor  = 0.000100001
  Prefactor  = 9.446
  Prefactor  = 20.8783
  Normalizat = 1.29707
  Prefactor  = 0.667074
 **********
 **   18 **HESSE 
 **********

 FCN=   6489.916     FROM HESSE     STATUS=OK           233 CALLS     1605 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8710        8.5763        .15305E-03   -1.5184    
   2  Prefactor     11.011        30.240        .12031E-03   -1.5044    
   3  Prefactor     3.7697        5.3953        .20792E-03   -1.5320    
   4  norm          18.395        14.910        .93381E-04   -1.4850    
   5  Prefactor     7.5588        5.7819        .14586E-03   -1.5158    
   6  Prefactor     5.1011        4.1104        .13452E-03   -1.5256    
   7  norm          3.8910        5.8261        .20455E-03   -1.5313    
   8  Prefactor     3.4792        3.0086        .12043E-03   -1.5335    
   9  norm          .83673        .68514        .59972E-03   -1.5525    
  10  Prefactor     .10000E-03    14.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.638        44.527        .12183E-03   -1.5056    
  13  Prefactor     .10000E-03    11.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.4460        17.200        .13040E-03   -1.5093    
  15  Prefactor     20.878        12.053        .87664E-04   -1.4794    
  16  Normalizat    1.2971        .21208        .25555E-03   -.83654    
  17  Prefactor     .66707        .14013        .22621E-03   -1.0483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38754e-09
Minuit parameter uncertainties:
  1  8.57781
  2  30.2824
  3  5.39603
  4  14.9125
  5  5.78234
  6  4.11062
  7  5.82699
  8  3.00873
  9  0.685141
  10  0.000173369
  11  0.000220365
  12  43.5833
  13  0.00021203
  14  17.2095
  15  12.0544
  16  0.21222
  17  0.140207
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.839e+01  1.491e+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:  6.671e-01  1.402e-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.297e+00  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.33
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 2.33e-05 +/- 1.89e-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) = 6489.7714298
delta logL = 0.144741801337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6489.66908782
delta logL = 0.247083782204

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4695       1.0000         .10000E-03   10000.    
     2 'alpha     '    .99649       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67465       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=   6489.669     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      213 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4695        8.1883        .36686E-02   -.17647E-02
   2  alpha         .99639        .52376        .44364       -.40331E-04
   3  Normalizat    1.3008        .17992        .57731E-01    .97148E-05
   4  Prefactor     .67469        .11889        .42063E-01    .19848E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.46949
  alpha      = 0.996392
  Normalizat = 1.30076
  Prefactor  = 0.674687
 **********
 **   18 **HESSE 
 **********

 FCN=   6489.669     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4695        15.939        .14674E-03   -1.5161    
   2  alpha         .99639        1.0089        .19139E-01   -.64531    
   3  Normalizat    1.3008        .20539        .25530E-03   -.83544    
   4  Prefactor     .67469        .13601        .22522E-03   -1.0453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05963e-08
Minuit parameter uncertainties:
  1  15.9478
  2  1.05763
  3  0.205517
  4  0.136075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906206': 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) = 6489.66908776
delta logL = 0.247083849074

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.469e+00  1.595e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  9.964e-01  1.058e+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:  6.747e-01  1.361e-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.301e+00  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.82
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.00 +/- 1.06
Photon Flux (Free Index): 5.67e-09 +/- 1.01e-08
Energy Flux (Free Index): 4.93e-05 +/- 7.31e-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/906206/cmap_HighResolution_406252801_406512001_4FGL_J0153.9+0823_daily_bin644.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='4.93e-05', photon_flux_error='1.89e-08', dlogl='2.47e-01', energy_flux='2.33e-05', photon_flux2='5.67e-09', job_status='DONE', time_completed='2021-08-14 20:15:15.119819', photon_index_error2='1.06', photon_index2='1.00', ts='4.33', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='7.31e-05', EG='1.30', time_epoch_completed='1628997315.12', return_code='0', job_id='906206', GAL2='0.67', EG2='1.30', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='1.01e-08', ts2='4.82', photon_index='1.82' WHERE bin_id='644' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 906206: <4FGL_J0153.9+0823_daily_bin644> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin644 28.4972 8.3931 406252801 406512001 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 :                                   576.40 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            871 sec.

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

