/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 = 7400
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin403
RA = 28.4972, Dec = 8.3931
tmin = 343785601, tmax = 344044801
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='904788', job_status='RUN', time_executed='2021-08-14 20:00:12.675315', time_epoch_executed='1628996412.68' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904788

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904788/ft1_4FGL_J0153.9+0823_daily_bin403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904788/ft2_4FGL_J0153.9+0823_daily_bin403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904788/ft1_4FGL_J0153.9+0823_daily_bin403.fits outfile=/scratch/kocevski/904788/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin403.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=343785601.0 tmax=344044801.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 3.43
user 2.63
sys 0.72

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904788/ft2_4FGL_J0153.9+0823_daily_bin403.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/904788/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin403.fits evtable="EVENTS" outfile="/scratch/kocevski/904788/ft1_filtered_4FGL_J0153.9+0823_daily_bin403.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.00
user 0.29
sys 0.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904788/ft1_filtered_4FGL_J0153.9+0823_daily_bin403.fits" evtable="EVENTS" scfile=/scratch/kocevski/904788/ft2_4FGL_J0153.9+0823_daily_bin403.fits sctable="SC_DATA" outfile=/scratch/kocevski/904788/ltcube_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.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/904788/ft2_4FGL_J0153.9+0823_daily_bin403.fits
.....................!
real 12.12
user 11.08
sys 0.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904788/ft1_filtered_4FGL_J0153.9+0823_daily_bin403.fits evtable="EVENTS" scfile=/scratch/kocevski/904788/ft2_4FGL_J0153.9+0823_daily_bin403.fits sctable="SC_DATA" expcube=/scratch/kocevski/904788/ltcube_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.fits outfile=/scratch/kocevski/904788/expmap_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.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/904788/ltcube_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.fits
.....................!
real 157.24
user 150.70
sys 5.98

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/904788/ft1_filtered_4FGL_J0153.9+0823_daily_bin403.fits scfile=/scratch/kocevski/904788/ft2_4FGL_J0153.9+0823_daily_bin403.fits outfile=/scratch/kocevski/904788/cmap_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.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.04
user 0.33
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904788/ft1_filtered_4FGL_J0153.9+0823_daily_bin403.fits scfile=/scratch/kocevski/904788/ft2_4FGL_J0153.9+0823_daily_bin403.fits outfile=/scratch/kocevski/904788/cmap_HighResolution_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.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.03
user 0.32
sys 0.68

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.965       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7755       1.0000         .10000E-03   10000.    
     4 'norm      '    18.218       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10467E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .53255       1.0000         .10000E-03   10000.    
     7 'norm      '    8.8633       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1593       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2862       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.467       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19815       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.351       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17352E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7068       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4142       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .71024       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5903.404     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1154 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.272        .15015E-04** at limit **
   2  Prefactor     26.155        37.955       -.22279E-04    .11573E-02
   3  Prefactor     8.7541        5.5619       -.29183E-07    .29652E-03
   4  norm          18.234        15.895        .22121E-04    .10450E-02
   5  Prefactor     .10000E-03    3.1649       -.15876E-05** at limit **
   6  Prefactor     .52866        3.1587       -.27141E-05    .21097E-03
   7  norm          8.8454        4.4549       -.12673E-06    .63322E-03
   8  Prefactor     2.1638        2.0537       -.39354E-06    .38210E-03
   9  norm          1.2859        .90763       -.34879E-06   -.85196E-03
  10  Prefactor     11.242        6.5903       -.74701E-06    .25391E-02
  11  Prefactor     .10000E-03    1.7348       -.90343E-06** at limit **
  12  Prefactor     .10088E-03    154.77        .25794E-04** at limit **
  13  Prefactor     11.387        7.8266        .29875E-04    .57262E-04
  14  Prefactor     .14832E-03    12.276        .15161E-04** at limit **
  15  Prefactor     6.7460        8.3783       -.42968E-05   -.79989E-04
  16  Normalizat    1.4148        .22076        .35883E-05    .36490E-03
  17  Prefactor     .71014        .14787       -.85766E-05    .16045E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 26.1552
  Prefactor  = 8.75407
  norm       = 18.2337
  Prefactor  = 0.0001
  Prefactor  = 0.528662
  norm       = 8.84543
  Prefactor  = 2.16378
  norm       = 1.28592
  Prefactor  = 11.2418
  Prefactor  = 0.0001
  Prefactor  = 0.000100879
  Prefactor  = 11.3873
  Prefactor  = 0.000148323
  Prefactor  = 6.74596
  Normalizat = 1.41482
  Prefactor  = 0.710141
 **********
 **   18 **HESSE 
 **********

 FCN=   5903.404     FROM HESSE     STATUS=OK           267 CALLS     1421 TOTAL
                     EDM=   .96E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.041        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.155        38.383        .19287E-02   -1.4685    
   3  Prefactor     8.7541        5.5629        .33827E-02   -1.5116    
   4  norm          18.234        15.964        .23459E-02   -1.4854    
   5  Prefactor     .10000E-03    3.1473        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52866        3.1305        .11403E-01   -1.5563    
   7  norm          8.8454        4.4585        .33658E-02   -1.5113    
   8  Prefactor     2.1638        2.1088        .70082E-02   -1.5414    
   9  norm          1.2859        .90751        .97718E-02   -1.5481    
  10  Prefactor     11.242        26.222        .29576E-02   -1.5037    
  11  Prefactor     .10000E-03    1.7331        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10088E-03    167.77        .99692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.387        7.8314        .29727E-02   -1.5033    
  14  Prefactor     .14832E-03    13.907        .91095E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7460        8.3811        .38735E-02   -1.5188    
  16  Normalizat    1.4148        .19465        .56627E-01   -.80201    
  17  Prefactor     .71014        .13057        .42537E-01   -1.0313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.59252e-08
Minuit parameter uncertainties:
  1  0.000170566
  2  38.4189
  3  5.5632
  4  15.9676
  5  1.63984e-05
  6  2.57286
  7  4.45867
  8  2.10884
  9  0.907515
  10  26.2489
  11  3.59735e-06
  12  0.0243504
  13  7.83206
  14  0.0518594
  15  8.38259
  16  0.194748
  17  0.130626
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.823e+01  1.597e+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.101e-01  1.306e-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.415e+00  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.00
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 2.31e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 2.03e-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) = 5902.94844561
delta logL = 0.456014858175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5902.7503083
delta logL = 0.654152163688

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5224       1.0000         .10000E-03   10000.    
     2 'alpha     '    .87352       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71338       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=   5902.750     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      219 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5071        7.8990        .36555E-02   -.16265E-02
   2  alpha         .87223        .48036        .40248       -.42903E-04
   3  Normalizat    1.4241        .19018        .56475E-01    .40971E-04
   4  Prefactor     .71322        .12753        .42579E-01    .15937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.5071
  alpha      = 0.872234
  Normalizat = 1.42409
  Prefactor  = 0.713224
 **********
 **   18 **HESSE 
 **********

 FCN=   5902.750     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5071        12.471        .73111E-03   -1.5160    
   2  alpha         .87223        .74553        .17803E-02   -.70904    
   3  Normalizat    1.4241        .21717        .24972E-03   -.79935    
   4  Prefactor     .71322        .14567        .22653E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33077e-11
Minuit parameter uncertainties:
  1  12.4749
  2  0.766177
  3  0.217307
  4  0.145752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904788': 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) = 5902.75030624
delta logL = 0.654154227747

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.507e+00  1.247e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  8.722e-01  7.662e-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.132e-01  1.458e-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.424e+00  2.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.29
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.87 +/- 0.77
Photon Flux (Free Index): 6.13e-09 +/- 7.55e-09
Energy Flux (Free Index): 7.09e-05 +/- 9.54e-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/904788/cmap_HighResolution_343785601_344044801_4FGL_J0153.9+0823_daily_bin403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.31e-08', energy_flux2='7.09e-05', photon_flux_error='2.02e-08', dlogl='6.54e-01', energy_flux='2.31e-05', photon_flux2='6.13e-09', job_status='DONE', time_completed='2021-08-14 20:07:08.478390', photon_index_error2='0.77', photon_index2='0.87', ts='6.00', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='9.54e-05', EG='1.41', time_epoch_completed='1628996828.48', return_code='0', job_id='904788', GAL2='0.71', EG2='1.42', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.55e-09', ts2='7.29', photon_index='1.82' WHERE bin_id='403' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:07:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 904788: <4FGL_J0153.9+0823_daily_bin403> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin403 28.4972 8.3931 343785601 344044801 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 :                                   421.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   502 sec.
    Turnaround time :                            677 sec.

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

