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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin489
RA = 28.4972, Dec = 8.3931
tmin = 366076801, tmax = 366336001
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='905956', job_status='RUN', time_executed='2021-08-14 20:05:21.262731', time_epoch_executed='1628996721.26' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905956

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905956/ft1_4FGL_J0153.9+0823_daily_bin489.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905956/ft2_4FGL_J0153.9+0823_daily_bin489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905956/ft1_4FGL_J0153.9+0823_daily_bin489.fits outfile=/scratch/kocevski/905956/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin489.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=366076801.0 tmax=366336001.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 13.78
user 5.04
sys 8.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905956/ft2_4FGL_J0153.9+0823_daily_bin489.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/905956/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin489.fits evtable="EVENTS" outfile="/scratch/kocevski/905956/ft1_filtered_4FGL_J0153.9+0823_daily_bin489.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 9.02
user 0.34
sys 8.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905956/ft1_filtered_4FGL_J0153.9+0823_daily_bin489.fits" evtable="EVENTS" scfile=/scratch/kocevski/905956/ft2_4FGL_J0153.9+0823_daily_bin489.fits sctable="SC_DATA" outfile=/scratch/kocevski/905956/ltcube_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.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/905956/ft2_4FGL_J0153.9+0823_daily_bin489.fits
.....................!
real 23.49
user 13.37
sys 9.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905956/ft1_filtered_4FGL_J0153.9+0823_daily_bin489.fits evtable="EVENTS" scfile=/scratch/kocevski/905956/ft2_4FGL_J0153.9+0823_daily_bin489.fits sctable="SC_DATA" expcube=/scratch/kocevski/905956/ltcube_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.fits outfile=/scratch/kocevski/905956/expmap_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.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/905956/ltcube_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.fits
.....................!
real 202.62
user 185.44
sys 15.70

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/905956/ft1_filtered_4FGL_J0153.9+0823_daily_bin489.fits scfile=/scratch/kocevski/905956/ft2_4FGL_J0153.9+0823_daily_bin489.fits outfile=/scratch/kocevski/905956/cmap_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.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 8.74
user 0.39
sys 8.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905956/ft1_filtered_4FGL_J0153.9+0823_daily_bin489.fits scfile=/scratch/kocevski/905956/ft2_4FGL_J0153.9+0823_daily_bin489.fits outfile=/scratch/kocevski/905956/cmap_HighResolution_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.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 8.74
user 0.39
sys 8.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.093       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    16.946       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9462       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0069       1.0000         .10000E-03   10000.    
     7 'norm      '    14.756       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4497       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1745       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9270       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5988       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2642       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6210.889     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1381 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7321         .0000    ** at limit **
   2  Prefactor     38.092        38.367         .0000        .45294E-03
   3  Prefactor     .10000E-03    2.6605         .0000    ** at limit **
   4  norm          16.947        14.429         .0000       -.42795E-04
   5  Prefactor     9.9467        7.0046         .0000        .21351E-03
   6  Prefactor     2.0069        2.9528         .0000        .69271E-03
   7  norm          14.756        6.3734         .0000        .12802E-02
   8  Prefactor     2.4495        2.4583         .0000        .39417E-03
   9  norm          1.1745        .83524         .0000        .33494E-03
  10  Prefactor     .10000E-03    20.647         .0000    ** at limit **
  11  Prefactor     .10000E-03    7.0720         .0000    ** at limit **
  12  Prefactor     .10000E-03    33.776         .0000    ** at limit **
  13  Prefactor     2.9280        8.9358         .0000        .66799E-02
  14  Prefactor     4.5986        10.912         .0000        .92589E-04
  15  Prefactor     .10000E-03    5.4083         .0000    ** at limit **
  16  Normalizat    1.2641        .19412         .0000        .50629E-05
  17  Prefactor     .84107        .13191         .0000        .91370E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 38.0924
  Prefactor  = 0.0001
  norm       = 16.9466
  Prefactor  = 9.94666
  Prefactor  = 2.00694
  norm       = 14.7564
  Prefactor  = 2.44951
  norm       = 1.1745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.928
  Prefactor  = 4.59857
  Prefactor  = 0.0001
  Normalizat = 1.26414
  Prefactor  = 0.841072
 **********
 **   18 **HESSE 
 **********

 FCN=   6210.889     FROM HESSE     STATUS=OK           223 CALLS     1604 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     38.092        38.385        .64939E-04   -1.4473    
   3  Prefactor     .10000E-03    2.6929        .12551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.947        14.430        .97294E-04   -1.4884    
   5  Prefactor     9.9467        7.0026        .12706E-03   -1.5077    
   6  Prefactor     2.0069        2.9328        .15432E-03   -1.5425    
   7  norm          14.756        6.3675        .52133E-03   -1.4939    
   8  Prefactor     2.4495        2.4441        .11780E-03   -1.5395    
   9  norm          1.1745        .82280        .58472E-04   -1.5491    
  10  Prefactor     .10000E-03    20.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.1373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9280        8.8958        .11872E-02   -1.5366    
  14  Prefactor     4.5986        10.901        .18770E-03   -1.5279    
  15  Prefactor     .10000E-03    5.4455        .17897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2641        .22416        .26532E-03   -.84643    
  17  Prefactor     .84107        .15249        .21625E-03   -.98232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91205e-10
Minuit parameter uncertainties:
  1  3.62927e-06
  2  38.4098
  3  1.30632e-06
  4  14.4328
  5  7.00313
  6  2.933
  7  6.36779
  8  2.44423
  9  0.822806
  10  1.05003e-05
  11  1.72689e-06
  12  9.07111e-06
  13  8.89977
  14  10.906
  15  2.17477e-07
  16  0.224328
  17  0.152566
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.695e+01  1.443e+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:  8.411e-01  1.526e-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.264e+00  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.05
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 2.15e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 1.83e-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) = 6210.7447005
delta logL = 0.144470853326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6210.71976987
delta logL = 0.169401484606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.872       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3233       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84295       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=   6210.720     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.872        12.590        .27912E-02    .23664E-02
   2  alpha         1.3234        .54388        .49291       -.29488E-04
   3  Normalizat    1.2700        .19058        .59885E-01    .74328E-05
   4  Prefactor     .84295        .13005        .44274E-01    .10033E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8718
  alpha      = 1.3234
  Normalizat = 1.27
  Prefactor  = 0.842951
 **********
 **   18 **HESSE 
 **********

 FCN=   6210.720     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.872        16.856        .11165E-03   -1.4990    
   2  alpha         1.3234        .84077        .18675E-01   -.49001    
   3  Normalizat    1.2700        .22023        .26485E-03   -.84466    
   4  Prefactor     .84295        .15082        .21612E-03   -.98164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54945e-09
Minuit parameter uncertainties:
  1  16.8626
  2  0.862591
  3  0.220388
  4  0.150899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905956': 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) = 6210.71976986
delta logL = 0.169401490741

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.287e+01  1.686e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.323e+00  8.626e-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:  8.430e-01  1.509e-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.270e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.38
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.32 +/- 0.86
Photon Flux (Free Index): 9.99e-09 +/- 1.63e-08
Energy Flux (Free Index): 3.69e-05 +/- 5.25e-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/905956/cmap_HighResolution_366076801_366336001_4FGL_J0153.9+0823_daily_bin489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.15e-08', energy_flux2='3.69e-05', photon_flux_error='1.83e-08', dlogl='1.69e-01', energy_flux='2.15e-05', photon_flux2='9.99e-09', job_status='DONE', time_completed='2021-08-14 20:16:16.656903', photon_index_error2='0.86', photon_index2='1.32', ts='6.05', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='5.25e-05', EG='1.26', time_epoch_completed='1628997376.66', return_code='0', job_id='905956', GAL2='0.84', EG2='1.27', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='1.63e-08', ts2='6.38', photon_index='1.82' WHERE bin_id='489' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:16:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 905956: <4FGL_J0153.9+0823_daily_bin489> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin489> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:24 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:00:32 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:00:32 2021
Terminated at Sat Aug 14 20:16:21 2021
Results reported at Sat Aug 14 20:16:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin489 28.4972 8.3931 366076801 366336001 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 :                                   782.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            957 sec.

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

