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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin247
RA = 28.4972, Dec = 8.3931
tmin = 303350401, tmax = 303609601
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='904541', job_status='RUN', time_executed='2021-08-14 20:00:27.809656', time_epoch_executed='1628996427.81' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='247'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904541

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904541/ft1_4FGL_J0153.9+0823_daily_bin247.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904541/ft2_4FGL_J0153.9+0823_daily_bin247.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904541/ft1_4FGL_J0153.9+0823_daily_bin247.fits outfile=/scratch/kocevski/904541/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin247.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=303350401.0 tmax=303609601.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.10
user 3.18
sys 0.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904541/ft2_4FGL_J0153.9+0823_daily_bin247.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/904541/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin247.fits evtable="EVENTS" outfile="/scratch/kocevski/904541/ft1_filtered_4FGL_J0153.9+0823_daily_bin247.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.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904541/ft1_filtered_4FGL_J0153.9+0823_daily_bin247.fits" evtable="EVENTS" scfile=/scratch/kocevski/904541/ft2_4FGL_J0153.9+0823_daily_bin247.fits sctable="SC_DATA" outfile=/scratch/kocevski/904541/ltcube_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.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/904541/ft2_4FGL_J0153.9+0823_daily_bin247.fits
.....................!
real 13.27
user 12.23
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904541/ft1_filtered_4FGL_J0153.9+0823_daily_bin247.fits evtable="EVENTS" scfile=/scratch/kocevski/904541/ft2_4FGL_J0153.9+0823_daily_bin247.fits sctable="SC_DATA" expcube=/scratch/kocevski/904541/ltcube_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.fits outfile=/scratch/kocevski/904541/expmap_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.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/904541/ltcube_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.fits
.....................!
real 191.08
user 185.70
sys 4.95

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/904541/ft1_filtered_4FGL_J0153.9+0823_daily_bin247.fits scfile=/scratch/kocevski/904541/ft2_4FGL_J0153.9+0823_daily_bin247.fits outfile=/scratch/kocevski/904541/cmap_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.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.23
user 0.37
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904541/ft1_filtered_4FGL_J0153.9+0823_daily_bin247.fits scfile=/scratch/kocevski/904541/ft2_4FGL_J0153.9+0823_daily_bin247.fits outfile=/scratch/kocevski/904541/cmap_HighResolution_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.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.22
user 0.36
sys 0.84

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2196       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12247       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3078       1.0000         .10000E-03   10000.    
     4 'norm      '    41.702       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0134       1.0000         .10000E-03   10000.    
     7 'norm      '    12.068       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.179       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.005       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9356       1.0000         .10000E-03   10000.    
    14 'Prefactor '    55.843       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3107       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .82888       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=   6643.430     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1655 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2190        7.6310       -.70076E-06   -.10999E-03
   2  Prefactor     .10000E-03    36.913       -.75397E-07** at limit **
   3  Prefactor     1.3085        3.9396        .23269E-06   -.28930E-03
   4  norm          41.700        19.118       -.15025E-05   -.24381E-03
   5  Prefactor     .10000E-03    1.9580       -.38265E-09** at limit **
   6  Prefactor     2.0128        2.2125        .45157E-07   -.44071E-04
   7  norm          12.067        6.5427       -.12383E-05   -.51339E-03
   8  Prefactor     .10000E-03    .86329       -.67989E-08** at limit **
   9  norm          .10000E-03    .30038        .13038E-07** at limit **
  10  Prefactor     .10000E-03    10.855        .16318E-08** at limit **
  11  Prefactor     13.174        10.355       -.25787E-06   -.39645E-03
  12  Prefactor     32.962        62.934        .28089E-05    .36306E-04
  13  Prefactor     4.9362        9.3520        .17750E-05   -.82422E-03
  14  Prefactor     55.824        28.481        .30757E-06    .51558E-04
  15  Prefactor     .10000E-03    8.0979       -.60923E-07** at limit **
  16  Normalizat    1.3109        .19120       -.81818E-07    .12299E-04
  17  Prefactor     .82892        .12976        .27985E-06   -.13524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21895
  Prefactor  = 0.000100003
  Prefactor  = 1.30848
  norm       = 41.7
  Prefactor  = 0.0001
  Prefactor  = 2.01283
  norm       = 12.0667
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.1745
  Prefactor  = 32.9623
  Prefactor  = 4.9362
  Prefactor  = 55.824
  Prefactor  = 0.0001
  Normalizat = 1.31087
  Prefactor  = 0.82892
 **********
 **   18 **HESSE 
 **********

 FCN=   6643.430     FROM HESSE     STATUS=OK           233 CALLS     1888 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2190        7.6535        .14928E-03   -1.5171    
   2  Prefactor     .10000E-03    37.037        .16281       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3085        3.9729        .27453E-03   -1.5479    
   4  norm          41.700        19.340        .62076E-04   -1.4416    
   5  Prefactor     .10000E-03    1.9636        .11138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0128        2.2046        .12231E-03   -1.5424    
   7  norm          12.067        6.6672        .11531E-03   -1.5013    
   8  Prefactor     .10000E-03    .86932        .73903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .40503        .86646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.174        10.480        .55168E-03   -1.4982    
  12  Prefactor     32.962        63.315        .69749E-04   -1.4559    
  13  Prefactor     4.9362        13.650        .90518E-03   -1.5264    
  14  Prefactor     55.824        28.483        .53680E-04   -1.4212    
  15  Prefactor     .10000E-03    8.1458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3109        .21675        .27656E-03   -.83243    
  17  Prefactor     .82892        .14860        .22559E-03   -.98671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51581e-09
Minuit parameter uncertainties:
  1  7.65454
  2  0.000700736
  3  3.97374
  4  19.3427
  5  4.05508e-06
  6  2.20468
  7  6.66763
  8  1.92902e-06
  9  1.10663e-06
  10  5.75658e-06
  11  10.4811
  12  63.444
  13  13.659
  14  28.49
  15  1.59364e-05
  16  0.216905
  17  0.148669
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.170e+01  1.934e+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.289e-01  1.487e-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.311e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.07
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 5.28e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 5.29e-05 +/- 2.45e-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) = 6643.26834594
delta logL = 0.16200807546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6643.26413515
delta logL = 0.166218861175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    43.306       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6098       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82753       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=   6643.264     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 19.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          43.308        19.421        .31552E-05   -.97778E-03
   2  alpha         1.6095        .29788       -.84442E-05   -.36491E-03
   3  Normalizat    1.3192        .18829        .33550E-06    .12030E-03
   4  Prefactor     .82750        .12580       -.28771E-06    .12818E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 43.3083
  alpha      = 1.60946
  Normalizat = 1.31915
  Prefactor  = 0.827498
 **********
 **   18 **HESSE 
 **********

 FCN=   6643.264     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          43.308        20.406        .60920E-04   -1.4391    
   2  alpha         1.6095        .35835        .11282E-01   -.36421    
   3  Normalizat    1.3192        .21341        .27584E-03   -.82996    
   4  Prefactor     .82750        .14286        .22579E-03   -.98723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15727e-09
Minuit parameter uncertainties:
  1  20.409
  2  0.359772
  3  0.21355
  4  0.142923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904541': 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) = 6643.26413463
delta logL = 0.166219379514

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.331e+01  2.041e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.609e+00  3.598e-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.275e-01  1.429e-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.319e+00  2.136e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.40
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.61 +/- 0.36
Photon Flux (Free Index): 4.23e-08 +/- 2.57e-08
Energy Flux (Free Index): 7.16e-05 +/- 5.25e-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/904541/cmap_HighResolution_303350401_303609601_4FGL_J0153.9+0823_daily_bin247.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.28e-08', energy_flux2='7.16e-05', photon_flux_error='2.45e-08', dlogl='1.66e-01', energy_flux='5.29e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2021-08-14 20:09:43.238933', photon_index_error2='0.36', photon_index2='1.61', ts='16.07', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='5.25e-05', EG='1.31', time_epoch_completed='1628996983.24', return_code='0', job_id='904541', GAL2='0.83', EG2='1.32', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='2.57e-08', ts2='16.40', photon_index='1.82' WHERE bin_id='247' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:09:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 904541: <4FGL_J0153.9+0823_daily_bin247> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin247> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:32 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:33 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:33 2021
Terminated at Sat Aug 14 20:09:44 2021
Results reported at Sat Aug 14 20:09:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin247 28.4972 8.3931 303350401 303609601 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 :                                   566.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             269.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            852 sec.

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

