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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin196
RA = 28.4972, Dec = 8.3931
tmin = 290131201, tmax = 290390401
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='904460', job_status='RUN', time_executed='2021-08-14 20:00:13.764864', time_epoch_executed='1628996413.76' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='196'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904460

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904460/ft1_4FGL_J0153.9+0823_daily_bin196.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904460/ft2_4FGL_J0153.9+0823_daily_bin196.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904460/ft1_4FGL_J0153.9+0823_daily_bin196.fits outfile=/scratch/kocevski/904460/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin196.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=290131201.0 tmax=290390401.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.20
user 3.21
sys 0.96

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904460/ft2_4FGL_J0153.9+0823_daily_bin196.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/904460/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin196.fits evtable="EVENTS" outfile="/scratch/kocevski/904460/ft1_filtered_4FGL_J0153.9+0823_daily_bin196.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.36
user 0.32
sys 0.96

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904460/ft1_filtered_4FGL_J0153.9+0823_daily_bin196.fits" evtable="EVENTS" scfile=/scratch/kocevski/904460/ft2_4FGL_J0153.9+0823_daily_bin196.fits sctable="SC_DATA" outfile=/scratch/kocevski/904460/ltcube_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.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/904460/ft2_4FGL_J0153.9+0823_daily_bin196.fits
.....................!
real 13.56
user 12.22
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904460/ft1_filtered_4FGL_J0153.9+0823_daily_bin196.fits evtable="EVENTS" scfile=/scratch/kocevski/904460/ft2_4FGL_J0153.9+0823_daily_bin196.fits sctable="SC_DATA" expcube=/scratch/kocevski/904460/ltcube_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.fits outfile=/scratch/kocevski/904460/expmap_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.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/904460/ltcube_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.fits
.....................!
real 193.73
user 187.03
sys 6.09

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/904460/ft1_filtered_4FGL_J0153.9+0823_daily_bin196.fits scfile=/scratch/kocevski/904460/ft2_4FGL_J0153.9+0823_daily_bin196.fits outfile=/scratch/kocevski/904460/cmap_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.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.34
user 0.37
sys 0.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904460/ft1_filtered_4FGL_J0153.9+0823_daily_bin196.fits scfile=/scratch/kocevski/904460/ft2_4FGL_J0153.9+0823_daily_bin196.fits outfile=/scratch/kocevski/904460/cmap_HighResolution_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.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.33
user 0.38
sys 0.94

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0474       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6845       1.0000         .10000E-03   10000.    
     4 'norm      '    13.645       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5143       1.0000         .10000E-03   10000.    
     7 'norm      '    11.123       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9100       1.0000         .10000E-03   10000.    
     9 'norm      '    .91452       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .94659       1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.818       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3555       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5945       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5283       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .72821       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0644       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7051.159     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1584 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0473        11.621         .0000        .18403E-03
   2  Prefactor     .10000E-03    27.286         .0000    ** at limit **
   3  Prefactor     7.6844        5.0921         .0000       -.16122E-02
   4  norm          13.646        15.917         .0000       -.48666E-03
   5  Prefactor     .10000E-03    4.3928         .0000    ** at limit **
   6  Prefactor     3.5143        2.9569         .0000        .43434E-03
   7  norm          11.123        6.0702         .0000       -.23765E-02
   8  Prefactor     1.9097        1.8138         .0000       -.76173E-04
   9  norm          .91447        .72009         .0000        .67477E-03
  10  Prefactor     .10000E-03    17.947         .0000    ** at limit **
  11  Prefactor     .94437        11.224         .0000        .35420E-01
  12  Prefactor     34.817        69.485         .0000        .44386E-03
  13  Prefactor     1.3556        8.9952         .0000        .19742E-01
  14  Prefactor     9.5927        16.633         .0000        .65840E-03
  15  Prefactor     1.5263        10.961         .0000        .12655E-02
  16  Normalizat    .72818        .17174         .0000        .55520E-04
  17  Prefactor     1.0644        .12065         .0000        .36292E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.04732
  Prefactor  = 0.000100001
  Prefactor  = 7.68435
  norm       = 13.6457
  Prefactor  = 0.0001
  Prefactor  = 3.51433
  norm       = 11.1232
  Prefactor  = 1.90973
  norm       = 0.914467
  Prefactor  = 0.0001
  Prefactor  = 0.944368
  Prefactor  = 34.8172
  Prefactor  = 1.3556
  Prefactor  = 9.59267
  Prefactor  = 1.52635
  Normalizat = 0.728184
  Prefactor  = 1.06445
 **********
 **   18 **HESSE 
 **********

 FCN=   7051.159     FROM HESSE     STATUS=OK           227 CALLS     1811 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0473        11.614        .15111E-03   -1.5177    
   2  Prefactor     .10000E-03    27.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6844        5.0989        .14466E-03   -1.5153    
   4  norm          13.646        15.917        .10843E-03   -1.4969    
   5  Prefactor     .10000E-03    4.4528        .17177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5143        2.9489        .12484E-03   -1.5333    
   7  norm          11.123        6.0572        .12013E-03   -1.5041    
   8  Prefactor     1.9097        1.8107        .10393E-03   -1.5432    
   9  norm          .91447        .69554        .60366E-03   -1.5517    
  10  Prefactor     .10000E-03    18.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94437        10.655        .24632E-02   -1.5514    
  12  Prefactor     34.817        69.154        .67915E-04   -1.4527    
  13  Prefactor     1.3556        8.3439        .18773E-02   -1.5475    
  14  Prefactor     9.5927        16.599        .12938E-03   -1.5088    
  15  Prefactor     1.5263        10.942        .34532E-03   -1.5461    
  16  Normalizat    .72818        .19033        .32022E-03   -1.0279    
  17  Prefactor     1.0644        .13518        .18858E-03   -.90611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32124e-08
Minuit parameter uncertainties:
  1  11.6179
  2  0.000348796
  3  5.09921
  4  15.9218
  5  1.22051e-05
  6  2.949
  7  6.05756
  8  1.81074
  9  0.695542
  10  3.83179e-05
  11  6.34525
  12  69.3135
  13  6.72752
  14  16.6073
  15  8.17546
  16  0.190507
  17  0.135226
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.365e+01  1.592e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.064e+00  1.352e-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:  7.282e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.73e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 2.02e-05

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

Saving results to:
/scratch/kocevski/904460/likelihoodResults_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.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) = 7048.59248704
delta logL = 2.56621587733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7048.58243821
delta logL = 2.57626470317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7441       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3570       1.0000          .0000       5.0000    
     3 'Normalizat'    .63631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0900       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=   7048.582     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      259 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7365        37.960        .46183E-02    .14548E-03
   2  alpha         3.3577        3.7778        .18283        .80694E-04
   3  Normalizat    .63634        .78077E-01    .76804E-01    .16264E-04
   4  Prefactor     1.0900        .48874E-01    .37979E-01   -.11626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73653
  alpha      = 3.35773
  Normalizat = 0.636336
  Prefactor  = 1.08999
 **********
 **   18 **HESSE 
 **********

 FCN=   7048.582     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7365        15.713        .85001E-04   -1.5273    
   2  alpha         3.3577        1.5096        .75301E-02    .35021    
   3  Normalizat    .63634        .19932        .34006E-03   -1.0646    
   4  Prefactor     1.0900        .13647        .18623E-03   -.89787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98247e-08
Minuit parameter uncertainties:
  1  15.7263
  2  1.63956
  3  0.19955
  4  0.136512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904460': 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) = 7048.58243759
delta logL = 2.57626532447

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.737e+00  1.573e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  3.358e+00  1.640e+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:  1.090e+00  1.365e-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:  6.363e-01  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.55
Ra Dec: 28.497 8.393
Photon Index (Free Index): 3.36 +/- 1.64
Photon Flux (Free Index): 1.14e-07 +/- 6.93e-08
Energy Flux (Free Index): 2.15e-05 +/- 1.19e-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/904460/cmap_HighResolution_290131201_290390401_4FGL_J0153.9+0823_daily_bin196.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.81e-05', comment='SUCCESS', photon_flux='1.73e-08', energy_flux2='2.15e-05', photon_flux_error='2.02e-08', dlogl='2.58e+00', energy_flux='1.73e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2021-08-14 20:10:21.493563', photon_index_error2='1.64', photon_index2='3.36', ts='1.23', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='6.80e-08', energy_flux_error2='1.19e-05', EG='0.73', time_epoch_completed='1628997021.49', return_code='0', job_id='904460', GAL2='1.09', EG2='0.64', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='6.93e-08', ts2='6.55', photon_index='1.82' WHERE bin_id='196' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 904460: <4FGL_J0153.9+0823_daily_bin196> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin196> 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) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:00 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:00 2021
Terminated at Sat Aug 14 20:10:22 2021
Results reported at Sat Aug 14 20:10:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin196 28.4972 8.3931 290131201 290390401 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 :                                   619.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            896 sec.

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

