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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin337
RA = 28.4972, Dec = 8.3931
tmin = 326678401, tmax = 326937601
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='904685', job_status='RUN', time_executed='2021-08-14 20:01:01.908816', time_epoch_executed='1628996461.91' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='337'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904685/ft1_4FGL_J0153.9+0823_daily_bin337.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904685/ft2_4FGL_J0153.9+0823_daily_bin337.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904685/ft1_4FGL_J0153.9+0823_daily_bin337.fits outfile=/scratch/kocevski/904685/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin337.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=326678401.0 tmax=326937601.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.26
user 3.27
sys 0.93

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904685/ft2_4FGL_J0153.9+0823_daily_bin337.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/904685/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin337.fits evtable="EVENTS" outfile="/scratch/kocevski/904685/ft1_filtered_4FGL_J0153.9+0823_daily_bin337.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.27
user 0.33
sys 0.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904685/ft1_filtered_4FGL_J0153.9+0823_daily_bin337.fits" evtable="EVENTS" scfile=/scratch/kocevski/904685/ft2_4FGL_J0153.9+0823_daily_bin337.fits sctable="SC_DATA" outfile=/scratch/kocevski/904685/ltcube_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.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/904685/ft2_4FGL_J0153.9+0823_daily_bin337.fits
.....................!
real 14.58
user 13.40
sys 1.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904685/ft1_filtered_4FGL_J0153.9+0823_daily_bin337.fits evtable="EVENTS" scfile=/scratch/kocevski/904685/ft2_4FGL_J0153.9+0823_daily_bin337.fits sctable="SC_DATA" expcube=/scratch/kocevski/904685/ltcube_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.fits outfile=/scratch/kocevski/904685/expmap_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.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/904685/ltcube_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.fits
.....................!
real 191.57
user 185.50
sys 5.41

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/904685/ft1_filtered_4FGL_J0153.9+0823_daily_bin337.fits scfile=/scratch/kocevski/904685/ft2_4FGL_J0153.9+0823_daily_bin337.fits outfile=/scratch/kocevski/904685/cmap_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.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.29
user 0.36
sys 0.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904685/ft1_filtered_4FGL_J0153.9+0823_daily_bin337.fits scfile=/scratch/kocevski/904685/ft2_4FGL_J0153.9+0823_daily_bin337.fits outfile=/scratch/kocevski/904685/cmap_HighResolution_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.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.26
user 0.39
sys 0.85

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.729       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.145       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.283       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9852       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3937       1.0000         .10000E-03   10000.    
     7 'norm      '    7.6217       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.5347       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10502E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4382       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .97430       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96824       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=   7173.963     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1385 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.728        11.441        .27025E-02   -.17788E-03
   2  Prefactor     27.145        27.779        .19223E-02   -.20580E-03
   3  Prefactor     .10000E-03    2.3667        .90712E-02** at limit **
   4  norm          10.282        13.609        .31238E-02   -.28227E-03
   5  Prefactor     4.9850        5.8036        .45028E-02    .53500E-02
   6  Prefactor     6.3934        3.3220        .39683E-02    .26375E-03
   7  norm          7.6216        4.7465        .36315E-02    .18834E-03
   8  Prefactor     .10000E-03    1.0870        .90712E-02** at limit **
   9  norm          1.5348        .86925        .86093E-02    .61510E-03
  10  Prefactor     .10000E-03    68.234        .90712E-02** at limit **
  11  Prefactor     .10000E-03    3.0777        .90712E-02** at limit **
  12  Prefactor     .10000E-03    15.405        .90712E-02** at limit **
  13  Prefactor     8.4375        10.592        .34501E-02    .12986E-03
  14  Prefactor     .10000E-03    19.715        .90712E-02** at limit **
  15  Prefactor     .10000E-03    8.7489        .90712E-02** at limit **
  16  Normalizat    .97423        .17348        .66105E-01    .19061E-04
  17  Prefactor     .96834        .12066        .45869E-01    .10043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7285
  Prefactor  = 27.1454
  Prefactor  = 0.0001
  norm       = 10.2816
  Prefactor  = 4.98504
  Prefactor  = 6.39344
  norm       = 7.62164
  Prefactor  = 0.0001
  norm       = 1.53481
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.43752
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.974226
  Prefactor  = 0.968336
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.963     FROM HESSE     STATUS=OK           223 CALLS     1608 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.728        11.444        .10810E-03   -1.4967    
   2  Prefactor     27.145        27.787        .76892E-04   -1.4665    
   3  Prefactor     .10000E-03    2.3913        .12721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.282        13.610        .12495E-03   -1.5067    
   5  Prefactor     4.9850        5.7965        .90057E-03   -1.5261    
   6  Prefactor     6.3934        3.3205        .10537E-03   -1.5202    
   7  norm          7.6216        4.7438        .13965E-03   -1.5156    
   8  Prefactor     .10000E-03    1.1113        .86151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5348        .86338        .56687E-04   -1.5460    
  10  Prefactor     .10000E-03    69.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.0874        .14497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.4375        10.636        .13800E-03   -1.5127    
  14  Prefactor     .10000E-03    19.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.9243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .97423        .19901        .29239E-03   -.93899    
  17  Prefactor     .96834        .13923        .20109E-03   -.93793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5498e-10
Minuit parameter uncertainties:
  1  11.4454
  2  27.8001
  3  3.13612e-06
  4  13.614
  5  5.79719
  6  3.32061
  7  4.74402
  8  3.07708e-07
  9  0.863387
  10  0.00038815
  11  1.08901e-06
  12  3.5349e-05
  13  10.6382
  14  2.35319e-05
  15  1.2023e-05
  16  0.199163
  17  0.139278
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.683e-01  1.393e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.742e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904685/likelihoodResults_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.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) = 7173.91421131
delta logL = 0.0486782846747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7173.90384848
delta logL = 0.0590411158946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1052       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2621       1.0000          .0000       5.0000    
     3 'Normalizat'    .96689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97037       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=   7173.904     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      242 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1013        17.128        .14083E-03   -.80227E-03
   2  alpha         2.2627        1.5121        .19305E-01   -.12763E-03
   3  Normalizat    .96689        .19787        .29340E-03   -.94738E-03
   4  Prefactor     .97037        .13528        .20089E-03   -.17554E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 8.10128
  alpha      = 2.26271
  Normalizat = 0.96689
  Prefactor  = 0.970374
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.904     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1013        14.940        .56331E-05   -1.5139    
   2  alpha         2.2627        1.3407        .77221E-03   -.95060E-01
   3  Normalizat    .96689        .19702        .58679E-04   -.94148    
   4  Prefactor     .97037        .13503        .40178E-04   -.93724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14361e-09
Minuit parameter uncertainties:
  1  14.9464
  2  1.41584
  3  0.197169
  4  0.135075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904685': 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) = 7173.90384836
delta logL = 0.0590412436195

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.704e-01  1.351e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.669e-01  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.83
Ra Dec: 28.497 8.393

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/904685/cmap_HighResolution_326678401_326937601_4FGL_J0153.9+0823_daily_bin337.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-05', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2021-08-14 20:10:56.423991', job_id='904685', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1628997056.42', return_code2='0', ts='0.83', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.90e-02', ts2='0.95', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='337' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 904685: <4FGL_J0153.9+0823_daily_bin337> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin337 28.4972 8.3931 326678401 326937601 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 :                                   605.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             240.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            914 sec.

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

