/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 180 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 = 7403
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin121
RA = 28.4972, Dec = 8.3931
tmin = 270691201, tmax = 270950401
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='903304', job_status='RUN', time_executed='2021-08-14 19:57:24.622459', time_epoch_executed='1628996244.62' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903304/ft1_4FGL_J0153.9+0823_daily_bin121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903304/ft2_4FGL_J0153.9+0823_daily_bin121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903304/ft1_4FGL_J0153.9+0823_daily_bin121.fits outfile=/scratch/kocevski/903304/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin121.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=270691201.0 tmax=270950401.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 2.50
user 1.44
sys 0.68

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903304/ft1_filtered_4FGL_J0153.9+0823_daily_bin121.fits evtable="EVENTS" scfile=/scratch/kocevski/903304/ft2_4FGL_J0153.9+0823_daily_bin121.fits sctable="SC_DATA" expcube=/scratch/kocevski/903304/ltcube_270691201_270950401_4FGL_J0153.9+0823_daily_bin121.fits outfile=/scratch/kocevski/903304/expmap_270691201_270950401_4FGL_J0153.9+0823_daily_bin121.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/903304/ltcube_270691201_270950401_4FGL_J0153.9+0823_daily_bin121.fits
.....................!
real 191.29
user 185.15
sys 5.26

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/903304/ft1_filtered_4FGL_J0153.9+0823_daily_bin121.fits scfile=/scratch/kocevski/903304/ft2_4FGL_J0153.9+0823_daily_bin121.fits outfile=/scratch/kocevski/903304/cmap_270691201_270950401_4FGL_J0153.9+0823_daily_bin121.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.36
sys 0.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903304/ft1_filtered_4FGL_J0153.9+0823_daily_bin121.fits scfile=/scratch/kocevski/903304/ft2_4FGL_J0153.9+0823_daily_bin121.fits outfile=/scratch/kocevski/903304/cmap_HighResolution_270691201_270950401_4FGL_J0153.9+0823_daily_bin121.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.05
user 0.37
sys 0.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    90.430       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8046       1.0000         .10000E-03   10000.    
     4 'norm      '    27.129       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5660       1.0000         .10000E-03   10000.    
     7 'norm      '    12.650       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .30842       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1133       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    123.65       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4986       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.958       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2194       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1984       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .74443       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=   7790.194     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1595 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.309       -.48929E-06** at limit **
   2  Prefactor     90.432        44.069        .14933E-05   -.42042E-04
   3  Prefactor     4.8048        4.2569       -.31155E-06   -.11282E-02
   4  norm          27.130        15.431       -.35887E-07   -.86522E-04
   5  Prefactor     12.419        6.7356        .30992E-06   -.36363E-03
   6  Prefactor     1.5665        2.6101       -.41633E-06   -.36456E-03
   7  norm          12.649        5.6424       -.18873E-08   -.12776E-02
   8  Prefactor     .32096        1.9438        .34618E-05    .59861E-04
   9  norm          1.1134        .74611       -.38280E-07   -.34129E-03
  10  Prefactor     .10000E-03    26.013        .17770E-05** at limit **
  11  Prefactor     .10000E-03    1.8744        .98719E-07** at limit **
  12  Prefactor     123.61        84.018       -.30053E-04   -.78443E-04
  13  Prefactor     9.4983        7.7355        .87200E-06   -.19282E-03
  14  Prefactor     35.949        25.104       -.67726E-05   -.92161E-04
  15  Prefactor     1.2197        1.9738        .69821E-06   -.27480E-02
  16  Normalizat    1.1984        .16955        .11273E-05   -.59200E-03
  17  Prefactor     .74440        .11282        .14755E-05   -.68060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 90.4316
  Prefactor  = 4.80478
  norm       = 27.1302
  Prefactor  = 12.4188
  Prefactor  = 1.56655
  norm       = 12.6489
  Prefactor  = 0.320963
  norm       = 1.1134
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 123.609
  Prefactor  = 9.49827
  Prefactor  = 35.9488
  Prefactor  = 1.21974
  Normalizat = 1.19838
  Prefactor  = 0.744396
 **********
 **   18 **HESSE 
 **********

 FCN=   7790.194     FROM HESSE     STATUS=OK           227 CALLS     1822 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     90.432        44.093        .21128E-03   -1.3803    
   3  Prefactor     4.8048        4.2896        .83143E-03   -1.5270    
   4  norm          27.130        15.432        .76914E-04   -1.4666    
   5  Prefactor     12.419        6.7338        .11367E-03   -1.5003    
   6  Prefactor     1.5665        2.5925        .17239E-03   -1.5458    
   7  norm          12.649        5.5716        .11263E-03   -1.4997    
   8  Prefactor     .32096        3.6864        .21701E-02   -1.5595    
   9  norm          1.1134        .73549        .59772E-04   -1.5497    
  10  Prefactor     .10000E-03    26.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8774        .11798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     123.61        84.418        .18099E-03   -1.3480    
  13  Prefactor     9.4983        7.7354        .13003E-03   -1.5091    
  14  Prefactor     35.949        25.327        .66833E-04   -1.4508    
  15  Prefactor     1.2197        9.4680        .20430E-02   -1.5487    
  16  Normalizat    1.1984        .19173        .26748E-03   -.86653    
  17  Prefactor     .74440        .12831        .22231E-03   -1.0181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85746e-08
Minuit parameter uncertainties:
  1  9.5916e-05
  2  44.1094
  3  4.2899
  4  15.4344
  5  6.7342
  6  2.59272
  7  5.57186
  8  2.17532
  9  0.735495
  10  0.000598083
  11  7.60353e-06
  12  84.5004
  13  7.73622
  14  25.3341
  15  6.79784
  16  0.191845
  17  0.128358
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.713e+01  1.543e+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.444e-01  1.284e-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.198e+00  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.87
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 1.96e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 1.96e-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) = 7790.19310012
delta logL = 0.000638742330921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7790.19308968
delta logL = 0.000649181422887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.130       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8023       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74422       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=   7790.193     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      204 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.147        438.83        .19228E-02    .75798E-05
   2  alpha         1.8025        2.6719        .30286        .45462E-05
   3  Normalizat    1.1991        .39048        .60463E-01    .39273E-04
   4  Prefactor     .74429        .13531        .42987E-01    .12849E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 27.1468
  alpha      = 1.80245
  Normalizat = 1.19911
  Prefactor  = 0.744287
 **********
 **   18 **HESSE 
 **********

 FCN=   7790.193     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.147        15.481        .76913E-04   -1.4665    
   2  alpha         1.8025        .52595        .15836E-01   -.28277    
   3  Normalizat    1.1991        .18716        .26741E-03   -.86630    
   4  Prefactor     .74429        .12567        .22233E-03   -1.0182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65979e-11
Minuit parameter uncertainties:
  1  15.4829
  2  0.530252
  3  0.187269
  4  0.125721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903304': 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) = 7790.19308888
delta logL = 0.000649982720461

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.715e+01  1.548e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.802e+00  5.303e-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.443e-01  1.257e-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.199e+00  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.86
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.80 +/- 0.53
Photon Flux (Free Index): 3.35e-08 +/- 3.00e-08
Energy Flux (Free Index): 3.51e-05 +/- 2.78e-05

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/903304/cmap_HighResolution_270691201_270950401_4FGL_J0153.9+0823_daily_bin121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='3.51e-05', photon_flux_error='1.96e-08', dlogl='6.50e-04', energy_flux='3.44e-05', photon_flux2='3.35e-08', job_status='DONE', time_completed='2021-08-14 20:07:05.645151', photon_index_error2='0.53', photon_index2='1.80', ts='9.87', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='2.78e-05', EG='1.20', time_epoch_completed='1628996825.65', return_code='0', job_id='903304', GAL2='0.74', EG2='1.20', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='3.00e-08', ts2='9.86', photon_index='1.82' WHERE bin_id='121' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:07:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 903304: <4FGL_J0153.9+0823_daily_bin121> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin121> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 19:51:03 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:54:06 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:54:06 2021
Terminated at Sat Aug 14 20:07:06 2021
Results reported at Sat Aug 14 20:07:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin121 28.4972 8.3931 270691201 270950401 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 :                                   584.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            963 sec.

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

