/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 219 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 = 7407
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin792
RA = 28.4972, Dec = 8.3931
tmin = 444614401, tmax = 444873601
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='907543', job_status='RUN', time_executed='2021-08-14 20:10:53.952677', time_epoch_executed='1628997053.95' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='792'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907543

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907543/ft1_4FGL_J0153.9+0823_daily_bin792.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907543/ft2_4FGL_J0153.9+0823_daily_bin792.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907543/ft1_4FGL_J0153.9+0823_daily_bin792.fits outfile=/scratch/kocevski/907543/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin792.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=444614401.0 tmax=444873601.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 7.54
user 3.27
sys 4.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907543/ft1_filtered_4FGL_J0153.9+0823_daily_bin792.fits" evtable="EVENTS" scfile=/scratch/kocevski/907543/ft2_4FGL_J0153.9+0823_daily_bin792.fits sctable="SC_DATA" outfile=/scratch/kocevski/907543/ltcube_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.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/907543/ft2_4FGL_J0153.9+0823_daily_bin792.fits
.....................!
real 17.70
user 12.76
sys 4.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907543/ft1_filtered_4FGL_J0153.9+0823_daily_bin792.fits evtable="EVENTS" scfile=/scratch/kocevski/907543/ft2_4FGL_J0153.9+0823_daily_bin792.fits sctable="SC_DATA" expcube=/scratch/kocevski/907543/ltcube_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.fits outfile=/scratch/kocevski/907543/expmap_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.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/907543/ltcube_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.fits
.....................!
real 196.72
user 185.50
sys 10.61

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/907543/ft1_filtered_4FGL_J0153.9+0823_daily_bin792.fits scfile=/scratch/kocevski/907543/ft2_4FGL_J0153.9+0823_daily_bin792.fits outfile=/scratch/kocevski/907543/cmap_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.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 4.46
user 0.37
sys 4.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907543/ft1_filtered_4FGL_J0153.9+0823_daily_bin792.fits scfile=/scratch/kocevski/907543/ft2_4FGL_J0153.9+0823_daily_bin792.fits outfile=/scratch/kocevski/907543/cmap_HighResolution_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.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 4.52
user 0.39
sys 4.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.144       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1580       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4761       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4571       1.0000         .10000E-03   10000.    
     7 'norm      '    9.9210       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9899       1.0000         .10000E-03   10000.    
     9 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.453       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7492       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1606       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .99636       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .76042       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=   5177.330     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1405 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.143        16.047        .28156E-06   -.30933E-04
   2  Prefactor     14.552        28.977        .21589E-05   -.22037E-04
   3  Prefactor     3.1581        5.9609        .49045E-06   -.35269E-04
   4  norm          .10000E-03    15.005        .16367E-06** at limit **
   5  Prefactor     1.4770        6.3850        .10534E-04    .21815E-04
   6  Prefactor     7.4568        3.1857        .34222E-07   -.16049E-03
   7  norm          9.9209        5.0397       -.25474E-06   -.10120E-03
   8  Prefactor     2.9892        2.4386        .74877E-07    .16717E-03
   9  norm          .10000E-03    .37379        .13432E-06** at limit **
  10  Prefactor     .10000E-03    49.411        .60408E-06** at limit **
  11  Prefactor     .10000E-03    5.6016        .64216E-06** at limit **
  12  Prefactor     51.450        49.530       -.85612E-07    .10763E-04
  13  Prefactor     1.7491        8.3672        .85165E-05   -.61492E-04
  14  Prefactor     .10000E-03    7.8551        .96298E-07** at limit **
  15  Prefactor     2.1586        5.5107        .23991E-06    .47324E-04
  16  Normalizat    .99646        .18573       -.14922E-05   -.10668E-03
  17  Prefactor     .76033        .12741       -.11603E-05    .80149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.1431
  Prefactor  = 14.5524
  Prefactor  = 3.15806
  norm       = 0.0001
  Prefactor  = 1.47698
  Prefactor  = 7.45682
  norm       = 9.92089
  Prefactor  = 2.98925
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 51.4502
  Prefactor  = 1.74908
  Prefactor  = 0.0001
  Prefactor  = 2.15863
  Normalizat = 0.996465
  Prefactor  = 0.760327
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.330     FROM HESSE     STATUS=OK           225 CALLS     1630 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.143        16.060        .68579E-04   -1.4539    
   2  Prefactor     14.552        28.981        .10487E-03   -1.4945    
   3  Prefactor     3.1581        5.9582        .22808E-03   -1.5353    
   4  norm          .10000E-03    15.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4770        6.4108        .17340E-02   -1.5465    
   6  Prefactor     7.4568        3.1850        .39905E-03   -1.5162    
   7  norm          9.9209        5.0394        .11049E-03   -1.5078    
   8  Prefactor     2.9892        2.4319        .96702E-04   -1.5362    
   9  norm          .10000E-03    .38919        .85803E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    50.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.6789        .16621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.450        49.507        .55911E-04   -1.4272    
  13  Prefactor     1.7491        8.3574        .15852E-02   -1.5443    
  14  Prefactor     .10000E-03    7.8708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1586        5.4849        .26171E-03   -1.5414    
  16  Normalizat    .99646        .21068        .25662E-03   -.93149    
  17  Prefactor     .76033        .14490        .19882E-03   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65342e-10
Minuit parameter uncertainties:
  1  16.0617
  2  29.0086
  3  5.95928
  4  4.6258e-05
  5  6.15512
  6  3.18502
  7  5.03965
  8  2.43199
  9  6.78583e-06
  10  0.000428683
  11  0.000119009
  12  49.5468
  13  7.64816
  14  2.22699e-05
  15  5.48621
  16  0.210853
  17  0.144969
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  4.626e-05  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.603e-01  1.450e-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.965e-01  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/907543/likelihoodResults_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.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) = 5177.33047764
delta logL = -0.000315655042868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5177.33016179
delta logL = 1.97779627342e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11200E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8870       1.0000          .0000       5.0000    
     3 'Normalizat'    .99649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76030       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=   5177.330     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      243 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    25.492        .18142E-02** at limit **
   2  alpha         1.9637        3.4212        .50000       -.21741E-04
   3  Normalizat    .99647        .20457        .25662E-03   -.85502E-04
   4  Prefactor     .76033        .14105        .19882E-03   -.11333E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100012
  alpha      = 1.96365
  Normalizat = 0.996467
  Prefactor  = 0.760325
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.330     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    23.580        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9637        3.4048        .50000       -.21622    
   3  Normalizat    .99647        .20472        .10265E-04   -.93149    
   4  Prefactor     .76033        .14115        .79528E-05   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23055e-10
Minuit parameter uncertainties:
  1  0.00105434
  2  2.44574
  3  0.204878
  4  0.141215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907543': 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) = 5177.33016078
delta logL = 1.20386266644e-06

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.054e-03  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.964e+00  2.446e+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:  7.603e-01  1.412e-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.965e-01  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/907543/cmap_HighResolution_444614401_444873601_4FGL_J0153.9+0823_daily_bin792.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-05', job_status='DONE', photon_flux_upper_limit='5.23e-08', time_completed='2021-08-14 20:20:27.908327', job_id='907543', GAL2='0.76', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1628997627.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='792' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:20:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 907543: <4FGL_J0153.9+0823_daily_bin792> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin792> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 20:05:30 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:06:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:06:02 2021
Terminated at Sat Aug 14 20:20:29 2021
Results reported at Sat Aug 14 20:20:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin792 28.4972 8.3931 444614401 444873601 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            899 sec.

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

