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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin656
RA = 28.4972, Dec = 8.3931
tmin = 409363201, tmax = 409622401
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='906225', job_status='RUN', time_executed='2021-08-14 20:07:08.514640', time_epoch_executed='1628996828.51' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='656'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906225

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906225/ft1_4FGL_J0153.9+0823_daily_bin656.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906225/ft2_4FGL_J0153.9+0823_daily_bin656.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906225/ft1_4FGL_J0153.9+0823_daily_bin656.fits outfile=/scratch/kocevski/906225/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin656.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=409363201.0 tmax=409622401.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 11.32
user 5.37
sys 5.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906225/ft2_4FGL_J0153.9+0823_daily_bin656.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/906225/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin656.fits evtable="EVENTS" outfile="/scratch/kocevski/906225/ft1_filtered_4FGL_J0153.9+0823_daily_bin656.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 6.26
user 0.35
sys 5.86

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906225/ft1_filtered_4FGL_J0153.9+0823_daily_bin656.fits" evtable="EVENTS" scfile=/scratch/kocevski/906225/ft2_4FGL_J0153.9+0823_daily_bin656.fits sctable="SC_DATA" outfile=/scratch/kocevski/906225/ltcube_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.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/906225/ft2_4FGL_J0153.9+0823_daily_bin656.fits
.....................!
real 21.58
user 14.73
sys 6.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906225/ft1_filtered_4FGL_J0153.9+0823_daily_bin656.fits evtable="EVENTS" scfile=/scratch/kocevski/906225/ft2_4FGL_J0153.9+0823_daily_bin656.fits sctable="SC_DATA" expcube=/scratch/kocevski/906225/ltcube_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.fits outfile=/scratch/kocevski/906225/expmap_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.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/906225/ltcube_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.fits
.....................!
real 199.51
user 186.34
sys 12.59

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/906225/ft1_filtered_4FGL_J0153.9+0823_daily_bin656.fits scfile=/scratch/kocevski/906225/ft2_4FGL_J0153.9+0823_daily_bin656.fits outfile=/scratch/kocevski/906225/cmap_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.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 6.37
user 0.38
sys 5.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906225/ft1_filtered_4FGL_J0153.9+0823_daily_bin656.fits scfile=/scratch/kocevski/906225/ft2_4FGL_J0153.9+0823_daily_bin656.fits outfile=/scratch/kocevski/906225/cmap_HighResolution_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.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 6.20
user 0.39
sys 5.75

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10687E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0009       1.0000         .10000E-03   10000.    
     4 'norm      '    38.832       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.6739       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5112       1.0000         .10000E-03   10000.    
     9 'norm      '    .97811       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4275       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.420       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14525E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.130       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0710       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99903       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=   4782.519     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1895 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.941       -.16528E-06** at limit **
   2  Prefactor     .10000E-03    27.099        .28997E-06** at limit **
   3  Prefactor     2.0018        5.7830        .53987E-05    .11117E-03
   4  norm          38.843        23.306       -.48176E-06    .84780E-05
   5  Prefactor     .10000E-03    7.4878       -.63188E-07** at limit **
   6  Prefactor     .10000E-03    1.2709       -.81283E-07** at limit **
   7  norm          5.6760        4.8546       -.18532E-07    .95831E-06
   8  Prefactor     2.5077        3.1564        .45998E-06    .22685E-03
   9  norm          .97799        1.0470        .11484E-06    .26114E-03
  10  Prefactor     2.4741        109.97       -.14209E-04   -.17300E-04
  11  Prefactor     .10000E-03    4.3416       -.10240E-06** at limit **
  12  Prefactor     49.341        51.623        .96050E-05    .85988E-06
  13  Prefactor     .10039E-03    8.3937        .18893E-05** at limit **
  14  Prefactor     33.157        32.720       -.27638E-06    .91338E-04
  15  Prefactor     .10000E-03    4.9963        .24461E-07** at limit **
  16  Normalizat    1.0715        .22830       -.16466E-05    .47810E-04
  17  Prefactor     .99848        .14976        .12522E-05    .16294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.00176
  norm       = 38.8433
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.67603
  Prefactor  = 2.50767
  norm       = 0.977994
  Prefactor  = 2.47411
  Prefactor  = 0.0001
  Prefactor  = 49.3407
  Prefactor  = 0.000100391
  Prefactor  = 33.1573
  Prefactor  = 0.0001
  Normalizat = 1.07153
  Prefactor  = 0.998482
 **********
 **   18 **HESSE 
 **********

 FCN=   4782.519     FROM HESSE     STATUS=OK           229 CALLS     2124 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.0018        5.7980        .13581E-02   -1.5425    
   4  norm          38.843        23.303        .64320E-04   -1.4461    
   5  Prefactor     .10000E-03    7.7176        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.2853        .76110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.6760        4.8531        .13555E-03   -1.5231    
   8  Prefactor     2.5077        3.1118        .12565E-03   -1.5391    
   9  norm          .97799        1.0070        .69492E-03   -1.5510    
  10  Prefactor     2.4741        105.45        .26266E-03   -1.5393    
  11  Prefactor     .10000E-03    4.3543        .14065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     49.341        51.508        .28522E-03   -1.4302    
  13  Prefactor     .10039E-03    63.421        .36962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.157        32.137        .69618E-04   -1.4556    
  15  Prefactor     .10000E-03    5.0044        .15095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0715        .25903        .29777E-03   -.90671    
  17  Prefactor     .99848        .17041        .20517E-03   -.92780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11477e-09
Minuit parameter uncertainties:
  1  1.14386e-05
  2  8.70587e-06
  3  5.79967
  4  23.3087
  5  9.85367e-06
  6  3.50932e-06
  7  4.85344
  8  3.11201
  9  1.00703
  10  32.3653
  11  1.80493e-05
  12  51.5547
  13  0.00997233
  14  32.1535
  15  3.13402e-06
  16  0.259337
  17  0.170502
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.985e-01  1.705e-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.072e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.41
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 4.92e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 4.93e-05 +/- 2.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) = 4782.49313172
delta logL = 0.0259839021501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4782.49200991
delta logL = 0.027105712712

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.878       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9409       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99917       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=   4782.492     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      266 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.889        23.228        .65122E-04    .30481E-04
   2  alpha         1.9407        .50938        .10643E-01    .10981E-03
   3  Normalizat    1.0656        .25211        .29845E-03    .20189E-05
   4  Prefactor     .99911        .16849        .20507E-03   -.67634E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 37.8887
  alpha      = 1.94071
  Normalizat = 1.06561
  Prefactor  = 0.999108
 **********
 **   18 **HESSE 
 **********

 FCN=   4782.492     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.889        23.032        .13024E-04   -1.4476    
   2  alpha         1.9407        .50500        .21285E-02   -.22562    
   3  Normalizat    1.0656        .25224        .11938E-04   -.90864    
   4  Prefactor     .99911        .16862        .82029E-05   -.92759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6889e-12
Minuit parameter uncertainties:
  1  23.0379
  2  0.508683
  3  0.252525
  4  0.168708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906225': 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) = 4782.4920096
delta logL = 0.0271060274981

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.789e+01  2.304e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.941e+00  5.087e-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:  9.991e-01  1.687e-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.066e+00  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.45
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.94 +/- 0.51
Photon Flux (Free Index): 5.70e-08 +/- 4.74e-08
Energy Flux (Free Index): 4.40e-05 +/- 3.28e-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/906225/cmap_HighResolution_409363201_409622401_4FGL_J0153.9+0823_daily_bin656.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.92e-08', energy_flux2='4.40e-05', photon_flux_error='2.95e-08', dlogl='2.71e-02', energy_flux='4.93e-05', photon_flux2='5.70e-08', job_status='DONE', time_completed='2021-08-14 20:17:03.159731', photon_index_error2='0.51', photon_index2='1.94', ts='7.41', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='3.28e-05', EG='1.07', time_epoch_completed='1628997423.16', return_code='0', job_id='906225', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='2.96e-05', photon_flux_error2='4.74e-08', ts2='7.45', photon_index='1.82' WHERE bin_id='656' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:17:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 906225: <4FGL_J0153.9+0823_daily_bin656> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin656> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:47 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:02:31 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:02:31 2021
Terminated at Sat Aug 14 20:17:05 2021
Results reported at Sat Aug 14 20:17:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin656 28.4972 8.3931 409363201 409622401 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 :                                   680.47 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             266.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            978 sec.

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

