/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 86 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin210
RA = 28.4972, Dec = 8.3931
tmin = 293760001, tmax = 294019201
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='904482', job_status='RUN', time_executed='2021-08-14 19:58:01.620745', time_epoch_executed='1628996281.62' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904482

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904482/ft1_4FGL_J0153.9+0823_daily_bin210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904482/ft2_4FGL_J0153.9+0823_daily_bin210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904482/ft1_4FGL_J0153.9+0823_daily_bin210.fits outfile=/scratch/kocevski/904482/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin210.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=293760001.0 tmax=294019201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.55
user 3.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904482/ft1_filtered_4FGL_J0153.9+0823_daily_bin210.fits" evtable="EVENTS" scfile=/scratch/kocevski/904482/ft2_4FGL_J0153.9+0823_daily_bin210.fits sctable="SC_DATA" outfile=/scratch/kocevski/904482/ltcube_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.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/904482/ft2_4FGL_J0153.9+0823_daily_bin210.fits
.....................!
real 13.68
user 13.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904482/ft1_filtered_4FGL_J0153.9+0823_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/904482/ft2_4FGL_J0153.9+0823_daily_bin210.fits sctable="SC_DATA" expcube=/scratch/kocevski/904482/ltcube_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.fits outfile=/scratch/kocevski/904482/expmap_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.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/904482/ltcube_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.fits
.....................!
real 190.58
user 185.65
sys 4.49

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/904482/ft1_filtered_4FGL_J0153.9+0823_daily_bin210.fits scfile=/scratch/kocevski/904482/ft2_4FGL_J0153.9+0823_daily_bin210.fits outfile=/scratch/kocevski/904482/cmap_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.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 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904482/ft1_filtered_4FGL_J0153.9+0823_daily_bin210.fits scfile=/scratch/kocevski/904482/ft2_4FGL_J0153.9+0823_daily_bin210.fits outfile=/scratch/kocevski/904482/cmap_HighResolution_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.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 0.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.595       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.856       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    36.035       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3443       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2925       1.0000         .10000E-03   10000.    
     7 'norm      '    20.273       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56939E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .28413       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5730       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.695       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10830E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11407E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.396       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7747       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .70461       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3644       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=   6720.452     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1640 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.590        17.357       -.78279E-07   -.56885E-05
   2  Prefactor     33.786        43.049       -.55890E-06   -.87632E-04
   3  Prefactor     .10000E-03    4.9260        .13475E-06** at limit **
   4  norm          36.032        21.351        .33525E-07    .32421E-04
   5  Prefactor     3.3441        5.3103        .25752E-06    .34890E-04
   6  Prefactor     7.2912        3.7707        .17006E-07    .12982E-03
   7  norm          20.283        8.3324        .70459E-06    .72887E-03
   8  Prefactor     .10002E-03    1.9589       -.20182E-05** at limit **
   9  norm          .28333        .65785        .21422E-06   -.61265E-04
  10  Prefactor     4.5279        44.176        .11926E-04    .12759E-03
  11  Prefactor     13.694        9.8625        .20641E-06    .14188E-03
  12  Prefactor     .10000E-03    57.765       -.42223E-06** at limit **
  13  Prefactor     .10000E-03    6.4793        .11003E-06** at limit **
  14  Prefactor     15.397        23.120       -.11795E-05    .91220E-04
  15  Prefactor     3.7703        10.468        .57611E-06    .43889E-04
  16  Normalizat    .70441        .20989        .13854E-05    .22703E-03
  17  Prefactor     1.3647        .15000       -.36250E-06    .55368E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.5904
  Prefactor  = 33.7855
  Prefactor  = 0.0001
  norm       = 36.0316
  Prefactor  = 3.34412
  Prefactor  = 7.29122
  norm       = 20.2833
  Prefactor  = 0.000100017
  norm       = 0.28333
  Prefactor  = 4.5279
  Prefactor  = 13.6945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3967
  Prefactor  = 3.77027
  Normalizat = 0.704413
  Prefactor  = 1.3647
 **********
 **   18 **HESSE 
 **********

 FCN=   6720.452     FROM HESSE     STATUS=OK           231 CALLS     1871 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.590        17.351        .68132E-04   -1.4531    
   2  Prefactor     33.786        42.755        .34435E-03   -1.4545    
   3  Prefactor     .10000E-03    5.0003        .17754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          36.032        21.355        .66761E-04   -1.4507    
   5  Prefactor     3.3441        5.2894        .22132E-03   -1.5342    
   6  Prefactor     7.2912        3.7647        .10808E-03   -1.5168    
   7  norm          20.283        8.3670        .88956E-04   -1.4807    
   8  Prefactor     .10002E-03    6.0723        .19230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .28333        .60265        .96326E-03   -1.5602    
  10  Prefactor     4.5279        46.402        .18824E-03   -1.5282    
  11  Prefactor     13.694        9.8732        .10824E-03   -1.4968    
  12  Prefactor     .10000E-03    57.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.397        23.075        .10207E-03   -1.4923    
  15  Prefactor     3.7703        10.457        .20779E-03   -1.5320    
  16  Normalizat    .70441        .22973        .38127E-03   -1.0372    
  17  Prefactor     1.3647        .16829        .20263E-03   -.81403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06813e-08
Minuit parameter uncertainties:
  1  17.3539
  2  42.7942
  3  1.26189e-05
  4  21.3596
  5  5.2901
  6  3.76479
  7  8.36751
  8  0.000636299
  9  0.602662
  10  29.0188
  11  9.87441
  12  3.50075e-05
  13  1.60165e-05
  14  23.088
  15  10.4618
  16  0.230049
  17  0.168355
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.603e+01  2.136e+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:  1.365e+00  1.684e-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:  7.044e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.66
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 4.57e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 4.57e-05 +/- 2.71e-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) = 6719.83624685
delta logL = 0.615937149786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6719.81940313
delta logL = 0.632780871741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.594       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3164       1.0000          .0000       5.0000    
     3 'Normalizat'    .68062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3670       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=   6719.819     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      307 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.599        19.864        .74922E-04    .29438E-04
   2  alpha         2.3163        .45343        .92335E-02    .24425E-03
   3  Normalizat    .68053        .22677        .38720E-03   -.36466E-04
   4  Prefactor     1.3671        .16226        .20231E-03   -.32423E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.5988
  alpha      = 2.31629
  Normalizat = 0.680531
  Prefactor  = 1.36705
 **********
 **   18 **HESSE 
 **********

 FCN=   6719.819     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.599        19.278        .29969E-05   -1.4638    
   2  alpha         2.3163        .43993        .18467E-02   -.73550E-01
   3  Normalizat    .68053        .22676        .15488E-04   -1.0467    
   4  Prefactor     1.3671        .16231        .80926E-05   -.81334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62997e-12
Minuit parameter uncertainties:
  1  19.2819
  2  0.442249
  3  0.227076
  4  0.162375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904482': 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) = 6719.81940301
delta logL = 0.63278099172

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.860e+01  1.928e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.316e+00  4.422e-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:  1.367e+00  1.624e-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:  6.805e-01  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.90
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.32 +/- 0.44
Photon Flux (Free Index): 8.10e-08 +/- 5.20e-08
Energy Flux (Free Index): 3.29e-05 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/904482/cmap_HighResolution_293760001_294019201_4FGL_J0153.9+0823_daily_bin210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.57e-08', energy_flux2='3.29e-05', photon_flux_error='2.71e-08', dlogl='6.33e-01', energy_flux='4.57e-05', photon_flux2='8.10e-08', job_status='DONE', time_completed='2021-08-14 20:07:16.535258', photon_index_error2='0.44', photon_index2='2.32', ts='6.66', fit_tolerance='1e-08', GAL='1.36', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.70', time_epoch_completed='1628996836.54', return_code='0', job_id='904482', GAL2='1.37', EG2='0.68', return_code2='0', energy_flux_error='2.71e-05', photon_flux_error2='5.20e-08', ts2='7.90', photon_index='1.82' WHERE bin_id='210' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:07:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0201>
Subject: Job 904482: <4FGL_J0153.9+0823_daily_bin210> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin210 28.4972 8.3931 293760001 294019201 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 :                                   553.61 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            710 sec.

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

