/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 29 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 = 7483
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin82
RA = 28.4972, Dec = 8.3931
tmin = 260582401, tmax = 260841601
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='903257', job_status='RUN', time_executed='2021-08-14 19:56:27.620946', time_epoch_executed='1628996187.62' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903257

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903257/ft1_4FGL_J0153.9+0823_daily_bin82.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903257/ft2_4FGL_J0153.9+0823_daily_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903257/ft1_4FGL_J0153.9+0823_daily_bin82.fits outfile=/scratch/kocevski/903257/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin82.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=260582401.0 tmax=260841601.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 10.82
user 1.40
sys 8.12

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903257/ft1_filtered_4FGL_J0153.9+0823_daily_bin82.fits" evtable="EVENTS" scfile=/scratch/kocevski/903257/ft2_4FGL_J0153.9+0823_daily_bin82.fits sctable="SC_DATA" outfile=/scratch/kocevski/903257/ltcube_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.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/903257/ft2_4FGL_J0153.9+0823_daily_bin82.fits
.....................!
real 23.14
user 13.79
sys 9.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903257/ft1_filtered_4FGL_J0153.9+0823_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/903257/ft2_4FGL_J0153.9+0823_daily_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/903257/ltcube_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.fits outfile=/scratch/kocevski/903257/expmap_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.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/903257/ltcube_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.fits
.....................!
real 202.93
user 186.32
sys 15.70

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/903257/ft1_filtered_4FGL_J0153.9+0823_daily_bin82.fits scfile=/scratch/kocevski/903257/ft2_4FGL_J0153.9+0823_daily_bin82.fits outfile=/scratch/kocevski/903257/cmap_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.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 8.39
user 0.40
sys 7.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903257/ft1_filtered_4FGL_J0153.9+0823_daily_bin82.fits scfile=/scratch/kocevski/903257/ft2_4FGL_J0153.9+0823_daily_bin82.fits outfile=/scratch/kocevski/903257/cmap_HighResolution_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.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 8.33
user 0.39
sys 7.81

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8063       1.0000         .10000E-03   10000.    
     4 'norm      '    18.785       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3084       1.0000         .10000E-03   10000.    
     7 'norm      '    2.1457       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10591E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.5090       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6174       1.0000         .10000E-03   10000.    
    12 'Prefactor '    93.203       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3974       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4678       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86840       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=   6601.983     FROM MIGRAD    STATUS=CONVERGED    320 CALLS     1345 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1300        .90712E-02** at limit **
   2  Prefactor     .10000E-03    16.829        .90712E-02** at limit **
   3  Prefactor     1.8060        2.7753        .77736E-02    .23951E-03
   4  norm          18.785        15.397        .23102E-02    .10273E-03
   5  Prefactor     .10000E-03    1.8946        .90712E-02** at limit **
   6  Prefactor     5.3083        3.2347        .43610E-02   -.82023E-03
   7  norm          2.1468        4.1912        .70333E-02    .19347E-02
   8  Prefactor     .10000E-03    1.6620        .90712E-02** at limit **
   9  norm          1.5090        .77613        .87065E-02   -.37609E-04
  10  Prefactor     .10000E-03    10.051        .90712E-02** at limit **
  11  Prefactor     5.6216        8.7392        .42374E-02    .25702E-03
  12  Prefactor     93.203        61.284        .10407E-02   -.59582E-03
  13  Prefactor     .10000E-03    5.7648        .90712E-02** at limit **
  14  Prefactor     .10000E-03    6.6669        .90712E-02** at limit **
  15  Prefactor     9.3985        8.9511        .32683E-02    .46086E-04
  16  Normalizat    1.4677        .19733        .60957E-01    .23732E-04
  17  Prefactor     .86841        .13688        .44601E-01    .42037E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.80601
  norm       = 18.7852
  Prefactor  = 0.0001
  Prefactor  = 5.30828
  norm       = 2.14683
  Prefactor  = 0.0001
  norm       = 1.50904
  Prefactor  = 0.0001
  Prefactor  = 5.62157
  Prefactor  = 93.2031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.39848
  Normalizat = 1.46773
  Prefactor  = 0.868413
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.983     FROM HESSE     STATUS=OK           223 CALLS     1568 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1363        .16127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8060        2.7517        .16331E-03   -1.5439    
   4  norm          18.785        15.400        .92409E-04   -1.4841    
   5  Prefactor     .10000E-03    1.8982        .10921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3083        3.2343        .10883E-03   -1.5247    
   7  norm          2.1468        4.1715        .22314E-03   -1.5415    
   8  Prefactor     .10000E-03    1.7358        .20425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5090        .77581        .49720E-04   -1.5462    
  10  Prefactor     .10000E-03    10.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6216        8.7335        .16950E-03   -1.5234    
  12  Prefactor     93.203        61.259        .20814E-03   -1.3774    
  13  Prefactor     .10000E-03    5.7921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.6798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.3985        8.9510        .13073E-03   -1.5095    
  16  Normalizat    1.4677        .22570        .26958E-03   -.78689    
  17  Prefactor     .86841        .15667        .23147E-03   -.97254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19664e-09
Minuit parameter uncertainties:
  1  8.4028e-06
  2  2.79321e-05
  3  2.75194
  4  15.4032
  5  1.37489e-06
  6  3.23441
  7  4.17208
  8  4.59938e-07
  9  0.775819
  10  5.8587e-05
  11  8.73548
  12  61.3002
  13  6.11189e-05
  14  8.05723e-05
  15  8.95224
  16  0.225851
  17  0.156748
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.879e+01  1.540e+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:  8.684e-01  1.567e-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.468e+00  2.259e-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): 2.38e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.95e-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) = 6601.54621451
delta logL = 0.436534716338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6601.49863955
delta logL = 0.484109680247

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.657       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1413       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87281       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=   6601.499     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.636        12.020        .28148E-02    .49980E-04
   2  alpha         1.1402        .45974        .42345       -.45146E-04
   3  Normalizat    1.4726        .19544        .60878E-01   -.51718E-05
   4  Prefactor     .87281        .13414        .44658E-01   -.26746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6359
  alpha      = 1.14019
  Normalizat = 1.47256
  Prefactor  = 0.872811
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.499     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.636        17.717        .11259E-03   -1.4997    
   2  alpha         1.1402        .72058        .17388E-01   -.57510    
   3  Normalizat    1.4726        .22358        .26923E-03   -.78552    
   4  Prefactor     .87281        .15378        .23103E-03   -.97098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83518e-11
Minuit parameter uncertainties:
  1  17.7248
  2  0.735563
  3  0.223734
  4  0.153853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903257': 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) = 6601.49863857
delta logL = 0.484110654877

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.264e+01  1.772e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.140e+00  7.356e-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.728e-01  1.539e-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.473e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.94
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.14 +/- 0.74
Photon Flux (Free Index): 9.34e-09 +/- 1.32e-08
Energy Flux (Free Index): 5.65e-05 +/- 7.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/903257/cmap_HighResolution_260582401_260841601_4FGL_J0153.9+0823_daily_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.38e-08', energy_flux2='5.65e-05', photon_flux_error='1.95e-08', dlogl='4.84e-01', energy_flux='2.38e-05', photon_flux2='9.34e-09', job_status='DONE', time_completed='2021-08-14 20:07:09.212556', photon_index_error2='0.74', photon_index2='1.14', ts='4.98', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='7.27e-05', EG='1.47', time_epoch_completed='1628996829.21', return_code='0', job_id='903257', GAL2='0.87', EG2='1.47', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='1.32e-08', ts2='5.94', photon_index='1.82' WHERE bin_id='82' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:07:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 903257: <4FGL_J0153.9+0823_daily_bin82> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin82> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 19:50:59 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:53:41 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:53:41 2021
Terminated at Sat Aug 14 20:07:11 2021
Results reported at Sat Aug 14 20:07:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin82 28.4972 8.3931 260582401 260841601 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 :                                   757.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            972 sec.

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

