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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin455
RA = 28.4972, Dec = 8.3931
tmin = 357264001, tmax = 357523201
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='904846', job_status='RUN', time_executed='2021-08-14 20:01:36.692054', time_epoch_executed='1628996496.69' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='455'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904846

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904846/ft1_4FGL_J0153.9+0823_daily_bin455.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904846/ft2_4FGL_J0153.9+0823_daily_bin455.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904846/ft1_4FGL_J0153.9+0823_daily_bin455.fits outfile=/scratch/kocevski/904846/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin455.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=357264001.0 tmax=357523201.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 4.39
user 3.42
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904846/ft2_4FGL_J0153.9+0823_daily_bin455.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/904846/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin455.fits evtable="EVENTS" outfile="/scratch/kocevski/904846/ft1_filtered_4FGL_J0153.9+0823_daily_bin455.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.21
user 0.34
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904846/ft1_filtered_4FGL_J0153.9+0823_daily_bin455.fits" evtable="EVENTS" scfile=/scratch/kocevski/904846/ft2_4FGL_J0153.9+0823_daily_bin455.fits sctable="SC_DATA" outfile=/scratch/kocevski/904846/ltcube_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.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/904846/ft2_4FGL_J0153.9+0823_daily_bin455.fits
.....................!
real 13.81
user 12.64
sys 1.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904846/ft1_filtered_4FGL_J0153.9+0823_daily_bin455.fits evtable="EVENTS" scfile=/scratch/kocevski/904846/ft2_4FGL_J0153.9+0823_daily_bin455.fits sctable="SC_DATA" expcube=/scratch/kocevski/904846/ltcube_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.fits outfile=/scratch/kocevski/904846/expmap_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.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/904846/ltcube_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.fits
.....................!
real 191.28
user 185.78
sys 5.08

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/904846/ft1_filtered_4FGL_J0153.9+0823_daily_bin455.fits scfile=/scratch/kocevski/904846/ft2_4FGL_J0153.9+0823_daily_bin455.fits outfile=/scratch/kocevski/904846/cmap_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.21
user 0.39
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904846/ft1_filtered_4FGL_J0153.9+0823_daily_bin455.fits scfile=/scratch/kocevski/904846/ft2_4FGL_J0153.9+0823_daily_bin455.fits outfile=/scratch/kocevski/904846/cmap_HighResolution_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.21
user 0.40
sys 0.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9846       1.0000         .10000E-03   10000.    
     4 'norm      '    12.778       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2436       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9166       1.0000         .10000E-03   10000.    
     7 'norm      '    .12701E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0129       1.0000         .10000E-03   10000.    
     9 'norm      '    5.3121       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .89225       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28332E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.319       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .24863       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.5503       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=   6191.120     FROM MIGRAD    STATUS=CONVERGED     84 CALLS     1406 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6451        .75109E-06** at limit **
   2  Prefactor     .11455E-03    74.297        .90562E-05** at limit **
   3  Prefactor     6.9865        5.6798        .10273E-05    .37861E-03
   4  norm          12.779        1.1697       -.84777E-07   -.11327E-02
   5  Prefactor     3.2440        3.5742       -.21282E-05    .14938E-03
   6  Prefactor     1.9178        2.5593        .65381E-08    .23746E-03
   7  norm          .11793E-03    107.96       -.55048E-04** at limit **
   8  Prefactor     3.0118        2.4815        .24715E-06    .86952E-03
   9  norm          5.3128        1.4310        .10062E-06    .17175E-03
  10  Prefactor     .10000E-03    21.348       -.16256E-05** at limit **
  11  Prefactor     .91959        38.876        .28565E-04   -.39885E-04
  12  Prefactor     .10065E-03    4.2412        .12046E-04** at limit **
  13  Prefactor     44.290        14.824        .96986E-05    .85636E-02
  14  Prefactor     7.4898        1.7502        .12507E-05   -.29283E-04
  15  Prefactor     .10000E-03    14.894        .27309E-05** at limit **
  16  Normalizat    .24827        .21239        .14918E-05    .22170E-03
  17  Prefactor     1.5504        .16267       -.32529E-05    .86102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000114546
  Prefactor  = 6.98648
  norm       = 12.7794
  Prefactor  = 3.244
  Prefactor  = 1.9178
  norm       = 0.000117926
  Prefactor  = 3.0118
  norm       = 5.31284
  Prefactor  = 0.000100001
  Prefactor  = 0.919592
  Prefactor  = 0.000100647
  Prefactor  = 44.2905
  Prefactor  = 7.4898
  Prefactor  = 0.0001
  Normalizat = 0.248275
  Prefactor  = 1.55041
 **********
 **   18 **HESSE 
 **********

 FCN=   6191.120     FROM HESSE     STATUS=OK           273 CALLS     1679 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6393        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11455E-03    130.54        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.9865        5.7294        .37949E-02   -1.5179    
   4  norm          12.779        11.935        .28014E-02   -1.4993    
   5  Prefactor     3.2440        3.5783        .56223E-02   -1.5348    
   6  Prefactor     1.9178        2.5972        .75051E-02   -1.5431    
   7  norm          .11793E-03    3.0933        .78350E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0118        2.5178        .58455E-02   -1.5361    
   9  norm          5.3128        1.4499        .43595E-02   -1.5247    
  10  Prefactor     .10000E-03    21.281        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .91959        8.8789        .10153       -1.5516    
  12  Prefactor     .10065E-03    143.50        .10707E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.290        17.451        .15056E-02   -1.4376    
  14  Prefactor     7.4898        22.325        .36607E-02   -1.5161    
  15  Prefactor     .10000E-03    14.665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .24827        .25537        .12746       -1.2607    
  17  Prefactor     1.5504        .19016        .29259E-01   -.76138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66579e-07
Minuit parameter uncertainties:
  1  3.71846e-07
  2  0.087342
  3  5.72983
  4  11.9375
  5  3.57858
  6  2.59736
  7  0.0148939
  8  2.51791
  9  1.4499
  10  0.000267409
  11  5.71567
  12  0.0193129
  13  17.4531
  14  22.3497
  15  0.000132551
  16  0.256577
  17  0.190245
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.278e+01  1.194e+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:  1.550e+00  1.902e-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:  2.483e-01  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.33
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 1.51e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.51e-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) = 6190.7084811
delta logL = 0.41130378462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6190.70764256
delta logL = 0.412142324151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.779       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2509       1.0000          .0000       5.0000    
     3 'Normalizat'    .25337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5498       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=   6190.708     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      202 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.718        12.960        .28013E-02   -.33466E-03
   2  alpha         1.2506        .52540        .44118       -.21834E-04
   3  Normalizat    .25348        .23896        .12613        .75532E-04
   4  Prefactor     1.5497        .18325        .29265E-01   -.95916E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.7181
  alpha      = 1.25063
  Normalizat = 0.253481
  Prefactor  = 1.54967
 **********
 **   18 **HESSE 
 **********

 FCN=   6190.708     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.718        12.995        .56026E-03   -1.4995    
   2  alpha         1.2506        .58990        .17344E-01   -.52331    
   3  Normalizat    .25348        .20674        .55739E-03   -1.2573    
   4  Prefactor     1.5497        .15863        .18149E-03   -.76158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96965e-12
Minuit parameter uncertainties:
  1  12.998
  2  0.59745
  3  0.207365
  4  0.158684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904846': 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) = 6190.7076304
delta logL = 0.412154481969

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.272e+01  1.300e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.251e+00  5.974e-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:  1.550e+00  1.587e-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:  2.535e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.16
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.25 +/- 0.60
Photon Flux (Free Index): 9.58e-09 +/- 1.06e-08
Energy Flux (Free Index): 4.32e-05 +/- 6.04e-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/904846/cmap_HighResolution_357264001_357523201_4FGL_J0153.9+0823_daily_bin455.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='4.32e-05', photon_flux_error='1.51e-08', dlogl='4.12e-01', energy_flux='1.62e-05', photon_flux2='9.58e-09', job_status='DONE', time_completed='2021-08-14 20:10:25.905481', photon_index_error2='0.60', photon_index2='1.25', ts='5.33', fit_tolerance='1e-08', GAL='1.55', photon_index_error='0.00', energy_flux_error2='6.04e-05', EG='0.25', time_epoch_completed='1628997025.91', return_code='0', job_id='904846', GAL2='1.55', EG2='0.25', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='1.06e-08', ts2='6.16', photon_index='1.82' WHERE bin_id='455' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0009>
Subject: Job 904846: <4FGL_J0153.9+0823_daily_bin455> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin455> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:58 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:59:20 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:59:20 2021
Terminated at Sat Aug 14 20:10:26 2021
Results reported at Sat Aug 14 20:10:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin455 28.4972 8.3931 357264001 357523201 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 :                                   538.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            868 sec.

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

