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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin198
RA = 28.4972, Dec = 8.3931
tmin = 290649601, tmax = 290908801
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='904463', job_status='RUN', time_executed='2021-08-14 19:58:57.250800', time_epoch_executed='1628996337.25' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='198'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904463

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904463/ft1_4FGL_J0153.9+0823_daily_bin198.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904463/ft2_4FGL_J0153.9+0823_daily_bin198.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904463/ft1_4FGL_J0153.9+0823_daily_bin198.fits outfile=/scratch/kocevski/904463/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin198.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=290649601.0 tmax=290908801.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 6.84
user 3.13
sys 3.66

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904463/ft1_filtered_4FGL_J0153.9+0823_daily_bin198.fits" evtable="EVENTS" scfile=/scratch/kocevski/904463/ft2_4FGL_J0153.9+0823_daily_bin198.fits sctable="SC_DATA" outfile=/scratch/kocevski/904463/ltcube_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.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/904463/ft2_4FGL_J0153.9+0823_daily_bin198.fits
.....................!
real 17.49
user 13.05
sys 4.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904463/ft1_filtered_4FGL_J0153.9+0823_daily_bin198.fits evtable="EVENTS" scfile=/scratch/kocevski/904463/ft2_4FGL_J0153.9+0823_daily_bin198.fits sctable="SC_DATA" expcube=/scratch/kocevski/904463/ltcube_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.fits outfile=/scratch/kocevski/904463/expmap_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.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/904463/ltcube_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.fits
.....................!
real 195.62
user 185.88
sys 9.01

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/904463/ft1_filtered_4FGL_J0153.9+0823_daily_bin198.fits scfile=/scratch/kocevski/904463/ft2_4FGL_J0153.9+0823_daily_bin198.fits outfile=/scratch/kocevski/904463/cmap_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.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 3.95
user 0.38
sys 3.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904463/ft1_filtered_4FGL_J0153.9+0823_daily_bin198.fits scfile=/scratch/kocevski/904463/ft2_4FGL_J0153.9+0823_daily_bin198.fits outfile=/scratch/kocevski/904463/cmap_HighResolution_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.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 3.90
user 0.40
sys 3.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.726       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79203       1.0000         .10000E-03   10000.    
     4 'norm      '    25.633       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2119       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1328       1.0000         .10000E-03   10000.    
     7 'norm      '    6.8222       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .72760       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.747       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1496       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5405       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .79596       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=   7671.728     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1561 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.669        11.451        .92950E-07   -.80012E-06
   2  Prefactor     19.704        31.124        .46521E-05    .59236E-05
   3  Prefactor     .79240        2.9247        .36349E-06   -.10272E-04
   4  norm          25.633        17.554        .63365E-07   -.76969E-06
   5  Prefactor     6.2117        5.9970       -.10117E-07   -.10522E-05
   6  Prefactor     3.1328        3.2325        .12036E-05   -.21105E-04
   7  norm          6.8221        4.6141       -.53338E-08   -.75962E-06
   8  Prefactor     .10000E-03    .67141        .27678E-07** at limit **
   9  norm          .72762        .55342        .19798E-07    .39668E-04
  10  Prefactor     13.750        22.094       -.46982E-06   -.33209E-05
  11  Prefactor     .10000E-03    3.1887        .18207E-07** at limit **
  12  Prefactor     .10000E-03    16.808       -.19342E-07** at limit **
  13  Prefactor     .10000E-03    6.0956        .37211E-07** at limit **
  14  Prefactor     4.1493        10.051        .23133E-06    .33571E-05
  15  Prefactor     .10000E-03    4.1556        .43775E-09** at limit **
  16  Normalizat    1.5405        .18467       -.47849E-06    .16804E-04
  17  Prefactor     .79597        .12138       -.18923E-06   -.14439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.669
  Prefactor  = 19.7043
  Prefactor  = 0.792398
  norm       = 25.6327
  Prefactor  = 6.21169
  Prefactor  = 3.1328
  norm       = 6.82212
  Prefactor  = 0.0001
  norm       = 0.727617
  Prefactor  = 13.7495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.14929
  Prefactor  = 0.0001
  Normalizat = 1.54048
  Prefactor  = 0.795968
 **********
 **   18 **HESSE 
 **********

 FCN=   7671.728     FROM HESSE     STATUS=OK           229 CALLS     1790 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.669        11.451        .10834E-03   -1.4968    
   2  Prefactor     19.704        31.121        .90179E-04   -1.4820    
   3  Prefactor     .79240        2.8718        .27885E-03   -1.5530    
   4  norm          25.633        17.554        .79123E-04   -1.4695    
   5  Prefactor     6.2117        5.9928        .16107E-03   -1.5209    
   6  Prefactor     3.1328        3.2331        .75550E-03   -1.5354    
   7  norm          6.8221        4.6114        .14875E-03   -1.5186    
   8  Prefactor     .10000E-03    .67688        .70042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72762        .54421        .55034E-04   -1.5537    
  10  Prefactor     13.750        22.076        .10803E-03   -1.4966    
  11  Prefactor     .10000E-03    3.2034        .15272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1493        10.028        .19787E-03   -1.5301    
  15  Prefactor     .10000E-03    4.1710        .17436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5405        .20937        .26588E-03   -.76647    
  17  Prefactor     .79597        .13772        .23468E-03   -.99877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17548e-10
Minuit parameter uncertainties:
  1  11.4528
  2  31.147
  3  2.87226
  4  17.5575
  5  5.99338
  6  3.23327
  7  4.61165
  8  8.89557e-07
  9  0.544214
  10  22.0895
  11  6.17457e-07
  12  2.88593e-06
  13  1.83794e-06
  14  10.0324
  15  1.31239e-06
  16  0.209485
  17  0.137778
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.563e+01  1.756e+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:  7.960e-01  1.378e-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.540e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.76
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.25e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 3.25e-05 +/- 2.23e-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) = 7671.52420318
delta logL = 0.203349737713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7671.51856832
delta logL = 0.208984598385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.947       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1520       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79673       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=   7671.519     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      287 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.949        17.012        .83617E-04    .15228E-04
   2  alpha         2.1521        .51683        .12753E-01    .23821E-03
   3  Normalizat    1.5297        .20650        .26659E-03   -.40556E-04
   4  Prefactor     .79676        .13656        .23447E-03   -.30643E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.9492
  alpha      = 2.15205
  Normalizat = 1.52971
  Prefactor  = 0.796756
 **********
 **   18 **HESSE 
 **********

 FCN=   7671.519     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.949        16.639        .33447E-05   -1.4749    
   2  alpha         2.1521        .50543        .25505E-02   -.13963    
   3  Normalizat    1.5297        .20657        .10663E-04   -.76947    
   4  Prefactor     .79676        .13665        .93789E-05   -.99848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72027e-12
Minuit parameter uncertainties:
  1  16.6422
  2  0.509005
  3  0.206689
  4  0.136705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904463': 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) = 7671.51856829
delta logL = 0.208984627457

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.295e+01  1.664e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.152e+00  5.090e-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:  7.968e-01  1.367e-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.530e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.17
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.15 +/- 0.51
Photon Flux (Free Index): 4.86e-08 +/- 3.95e-08
Energy Flux (Free Index): 2.52e-05 +/- 1.80e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/904463/cmap_HighResolution_290649601_290908801_4FGL_J0153.9+0823_daily_bin198.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.25e-08', energy_flux2='2.52e-05', photon_flux_error='2.22e-08', dlogl='2.09e-01', energy_flux='3.25e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-08-14 20:09:20.743464', photon_index_error2='0.51', photon_index2='2.15', ts='6.76', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.80e-05', EG='1.54', time_epoch_completed='1628996960.74', return_code='0', job_id='904463', GAL2='0.80', EG2='1.53', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='3.95e-08', ts2='7.17', photon_index='1.82' WHERE bin_id='198' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:09:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 904463: <4FGL_J0153.9+0823_daily_bin198> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin198> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:26 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:56:01 2021
Terminated at Sat Aug 14 20:09:22 2021
Results reported at Sat Aug 14 20:09:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin198 28.4972 8.3931 290649601 290908801 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 :                                   676.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            836 sec.

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

