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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin829
RA = 28.4972, Dec = 8.3931
tmin = 454204801, tmax = 454464001
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='907603', job_status='RUN', time_executed='2021-08-14 20:08:56.362323', time_epoch_executed='1628996936.36' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='829'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907603

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907603/ft1_4FGL_J0153.9+0823_daily_bin829.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907603/ft2_4FGL_J0153.9+0823_daily_bin829.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907603/ft1_4FGL_J0153.9+0823_daily_bin829.fits outfile=/scratch/kocevski/907603/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin829.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=454204801.0 tmax=454464001.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.52
user 3.32
sys 1.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907603/ft1_filtered_4FGL_J0153.9+0823_daily_bin829.fits" evtable="EVENTS" scfile=/scratch/kocevski/907603/ft2_4FGL_J0153.9+0823_daily_bin829.fits sctable="SC_DATA" outfile=/scratch/kocevski/907603/ltcube_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.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/907603/ft2_4FGL_J0153.9+0823_daily_bin829.fits
.....................!
real 15.95
user 14.37
sys 1.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907603/ft1_filtered_4FGL_J0153.9+0823_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/907603/ft2_4FGL_J0153.9+0823_daily_bin829.fits sctable="SC_DATA" expcube=/scratch/kocevski/907603/ltcube_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.fits outfile=/scratch/kocevski/907603/expmap_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.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/907603/ltcube_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.fits
.....................!
real 192.97
user 185.87
sys 6.29

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/907603/ft1_filtered_4FGL_J0153.9+0823_daily_bin829.fits scfile=/scratch/kocevski/907603/ft2_4FGL_J0153.9+0823_daily_bin829.fits outfile=/scratch/kocevski/907603/cmap_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.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.48
user 0.41
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907603/ft1_filtered_4FGL_J0153.9+0823_daily_bin829.fits scfile=/scratch/kocevski/907603/ft2_4FGL_J0153.9+0823_daily_bin829.fits outfile=/scratch/kocevski/907603/cmap_HighResolution_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.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.58
user 0.39
sys 1.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33360E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    83.558       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0370       1.0000         .10000E-03   10000.    
     4 'norm      '    4.3228       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11274       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7681       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11101E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9943       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.240       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.719       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .82368       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19188E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0926       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94608       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5968.426     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     1923 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    37.677        .34930E-02** at limit **
   2  Prefactor     83.493        59.338        .21972E-03   -.12461E-03
   3  Prefactor     2.0358        4.5541        .23795E-03   -.28299E-03
   4  norm          4.3209        10.090        .19375E-03   -.90714E-04
   5  Prefactor     .14718        72.934        .36294E-02    .44171E-03
   6  Prefactor     4.7676        2.8542        .96390E-04   -.27599E-03
   7  norm          .10000E-03    3.5187        .14028E-02** at limit **
   8  Prefactor     .10000E-03    1.8751        .16360E-02** at limit **
   9  norm          .10000E-03    .92990        .98450E-03** at limit **
  10  Prefactor     .10000E-03    39.516        .18142E-02** at limit **
  11  Prefactor     3.9915        9.2282        .20180E-03    .49746E-04
  12  Prefactor     25.361        56.928        .79735E-04    .32440E-03
  13  Prefactor     11.724        11.782        .11702E-03    .31681E-03
  14  Prefactor     .74689        182.98        .61320E-02    .28055E-04
  15  Prefactor     .10016E-03    45.145        .41992E-02** at limit **
  16  Normalizat    1.0928        .21422        .27242E-03   -.65853E-04
  17  Prefactor     .94604        .15247        .20191E-03    .10221E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100026
  Prefactor  = 83.4932
  Prefactor  = 2.0358
  norm       = 4.32089
  Prefactor  = 0.147184
  Prefactor  = 4.76755
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.99148
  Prefactor  = 25.3608
  Prefactor  = 11.7244
  Prefactor  = 0.746895
  Prefactor  = 0.00010016
  Normalizat = 1.09278
  Prefactor  = 0.946039
 **********
 **   18 **HESSE 
 **********

 FCN=   5968.426     FROM HESSE     STATUS=OK           211 CALLS     2134 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    38.239        .69859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     83.493        59.318        .43944E-04   -1.3878    
   3  Prefactor     2.0358        4.5522        .95179E-05   -1.5423    
   4  norm          4.3209        10.088        .77500E-05   -1.5292    
   5  Prefactor     .14718        74.869        .14518E-02   -1.5631    
   6  Prefactor     4.7676        2.8534        .38556E-05   -1.5271    
   7  norm          .10000E-03    3.5201        .28056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8782        .32719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .93407        .19690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    39.526        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9915        9.2221        .80719E-05   -1.5308    
  12  Prefactor     25.361        56.765        .15947E-04   -1.4700    
  13  Prefactor     11.724        11.775        .46808E-05   -1.5023    
  14  Prefactor     .74689        182.89        .24528E-03   -1.5535    
  15  Prefactor     .10016E-03    45.679        .83984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0928        .21379        .10897E-04   -.89984    
  17  Prefactor     .94604        .15215        .40382E-04   -.94550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10227e-08
Minuit parameter uncertainties:
  1  0.00198608
  2  59.3601
  3  4.55299
  4  10.0918
  5  6.64525
  6  2.85349
  7  4.57119e-05
  8  7.14209e-05
  9  7.32654e-06
  10  0.000410139
  11  9.22538
  12  56.8863
  13  11.7774
  14  23.4466
  15  0.00541357
  16  0.213954
  17  0.15222
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.321e+00  1.009e+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:  9.460e-01  1.522e-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.093e+00  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/907603/likelihoodResults_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.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) = 5967.69016883
delta logL = 0.735789362185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5967.68965359
delta logL = 0.736304604036

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95656E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8622       1.0000          .0000       5.0000    
     3 'Normalizat'    .99886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98511       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=   5967.690     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      372 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89785E-01    .11777        .41166E-02   -.69889E-02
   2  alpha         4.8890        1.0482        .49629       -.15772E-03
   3  Normalizat    .99813        .19850        .46153E-01    .60110E-05
   4  Prefactor     .98566        .13111        .46081E-01   -.92520E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0897855
  alpha      = 4.88899
  Normalizat = 0.998128
  Prefactor  = 0.98566
 **********
 **   18 **HESSE 
 **********

 FCN=   5967.690     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      405 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89785E-01    2.9895        .18714E-03   -1.5648    
   2  alpha         4.8890        2.6244        .49245E-01    1.2717    
   3  Normalizat    .99813        .18191        .28332E-03   -.93093    
   4  Prefactor     .98566        .12355        .19830E-03   -.93209    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60205e-08
Minuit parameter uncertainties:
  1  1.03565
  2  4.80856
  3  0.182022
  4  0.123585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907603': 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): 102
logL (Free Index) = 5967.68963881
delta logL = 0.736319376245

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  8.979e-02  1.036e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  4.889e+00  4.809e+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:  9.857e-01  1.236e-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.981e-01  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 28.497 8.393
Photon Index (Free Index): 4.89 +/- 4.81
Photon Flux (Free Index): 7.76e-08 +/- 6.33e-08
Energy Flux (Free Index): 1.08e-05 +/- 9.67e-06

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/907603/cmap_HighResolution_454204801_454464001_4FGL_J0153.9+0823_daily_bin829.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-05', comment='SUCCESS', energy_flux2='1.08e-05', dlogl='7.36e-01', photon_flux2='7.76e-08', job_status='DONE', time_completed='2021-08-14 20:19:09.953613', photon_index_error2='4.81', photon_index2='4.89', ts='0.26', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='4.97e-08', energy_flux_error2='9.67e-06', EG='1.09', time_epoch_completed='1628997549.95', return_code='0', job_id='907603', GAL2='0.99', EG2='1.00', return_code2='102', photon_flux_error2='6.33e-08', ts2='1.89', photon_index='1.82' WHERE bin_id='829' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:19:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 907603: <4FGL_J0153.9+0823_daily_bin829> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin829 28.4972 8.3931 454204801 454464001 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 :                                   627.28 sec.
    Max Memory :                                 1001 MB
    Average Memory :                             250.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            815 sec.

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

