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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin300
RA = 28.4972, Dec = 8.3931
tmin = 317088001, tmax = 317347201
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='904626', job_status='RUN', time_executed='2021-08-14 20:00:19.223583', time_epoch_executed='1628996419.22' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904626

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904626/ft1_4FGL_J0153.9+0823_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904626/ft2_4FGL_J0153.9+0823_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904626/ft1_4FGL_J0153.9+0823_daily_bin300.fits outfile=/scratch/kocevski/904626/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin300.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=317088001.0 tmax=317347201.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 4.52
user 3.64
sys 0.84

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904626/ft1_filtered_4FGL_J0153.9+0823_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/904626/ft2_4FGL_J0153.9+0823_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/904626/ltcube_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.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/904626/ft2_4FGL_J0153.9+0823_daily_bin300.fits
.....................!
real 13.88
user 12.80
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904626/ft1_filtered_4FGL_J0153.9+0823_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/904626/ft2_4FGL_J0153.9+0823_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/904626/ltcube_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.fits outfile=/scratch/kocevski/904626/expmap_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.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/904626/ltcube_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.fits
.....................!
real 193.44
user 187.29
sys 5.54

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/904626/ft1_filtered_4FGL_J0153.9+0823_daily_bin300.fits scfile=/scratch/kocevski/904626/ft2_4FGL_J0153.9+0823_daily_bin300.fits outfile=/scratch/kocevski/904626/cmap_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.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.14
user 0.37
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904626/ft1_filtered_4FGL_J0153.9+0823_daily_bin300.fits scfile=/scratch/kocevski/904626/ft2_4FGL_J0153.9+0823_daily_bin300.fits outfile=/scratch/kocevski/904626/cmap_HighResolution_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.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.16
user 0.37
sys 0.74

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.039       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3558       1.0000         .10000E-03   10000.    
     4 'norm      '    27.895       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14267E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    72.155       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .20409       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .55849E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.062       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6012       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .69385       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3007       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=   8780.786     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1422 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.039        10.937        .24257E-02    .25711E-04
   2  Prefactor     .10000E-03    16.858        .90712E-02** at limit **
   3  Prefactor     2.3558        2.4796        .66759E-02   -.14705E-03
   4  norm          27.896        16.375        .18963E-02   -.35096E-03
   5  Prefactor     .10000E-03    1.8045        .90712E-02** at limit **
   6  Prefactor     .10000E-03    1.0296        .55846E-01** at limit **
   7  norm          72.154        9.6972        .11815E-02    .34331E-04
   8  Prefactor     .10000E-03    .88461        .90712E-02** at limit **
   9  norm          .20424        .56978        .99963E-02    .35045E-02
  10  Prefactor     .10000E-03    23.976        .90712E-02** at limit **
  11  Prefactor     .10005E-03    4.2183        .66403E-01** at limit **
  12  Prefactor     41.062        39.624        .15639E-02    .10721E-03
  13  Prefactor     .10000E-03    4.7019        .90712E-02** at limit **
  14  Prefactor     .10000E-03    9.7823        .90712E-02** at limit **
  15  Prefactor     5.6016        6.9800        .42436E-02    .22175E-02
  16  Normalizat    .69389        .17888        .83508E-01    .41688E-04
  17  Prefactor     1.3007        .12831        .32597E-01   -.33448E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.0388
  Prefactor  = 0.000100001
  Prefactor  = 2.35584
  norm       = 27.8963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 72.1538
  Prefactor  = 0.0001
  norm       = 0.20424
  Prefactor  = 0.0001
  Prefactor  = 0.000100049
  Prefactor  = 41.0621
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.6016
  Normalizat = 0.693895
  Prefactor  = 1.30067
 **********
 **   18 **HESSE 
 **********

 FCN=   8780.786     FROM HESSE     STATUS=OK           223 CALLS     1645 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.039        10.934        .97029E-04   -1.4882    
   2  Prefactor     .10000E-03    16.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3558        2.4833        .14731E-03   -1.5401    
   4  norm          27.896        16.373        .75853E-04   -1.4651    
   5  Prefactor     .10000E-03    1.8078        .12292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.7716        .18207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          72.154        9.6761        .47262E-04   -1.4007    
   8  Prefactor     .10000E-03    .89518        .86003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .20424        .55573        .11174E-03   -1.5618    
  10  Prefactor     .10000E-03    24.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10005E-03    11.685        .37020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     41.062        39.597        .62555E-04   -1.4425    
  13  Prefactor     .10000E-03    4.7266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.6016        6.9784        .84872E-03   -1.5235    
  16  Normalizat    .69389        .19349        .36986E-03   -1.0413    
  17  Prefactor     1.3007        .14020        .20121E-03   -.83287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56025e-09
Minuit parameter uncertainties:
  1  10.9349
  2  0.000224844
  3  2.48338
  4  16.3761
  5  1.37906e-06
  6  2.47014e-05
  7  9.67628
  8  2.06441e-07
  9  0.555739
  10  0.000212553
  11  0.00151529
  12  39.6219
  13  2.12529e-06
  14  0.000263007
  15  6.97938
  16  0.193679
  17  0.140238
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.790e+01  1.638e+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.301e+00  1.402e-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.939e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.80
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.53e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 3.54e-05 +/- 2.08e-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) = 8780.78602256
delta logL = 4.24605059379e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8780.78602249
delta logL = 4.32258821093e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.896       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8229       1.0000          .0000       5.0000    
     3 'Normalizat'    .69388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3007       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=   8780.786     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      238 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.893        16.454        .75851E-04    .17686E-04
   2  alpha         1.8230        .47773        .15048E-01    .45663E-05
   3  Normalizat    .69385        .19098        .36987E-03    .10881E-04
   4  Prefactor     1.3007        .13881        .20121E-03   -.34804E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.8932
  alpha      = 1.82298
  Normalizat = 0.693855
  Prefactor  = 1.30067
 **********
 **   18 **HESSE 
 **********

 FCN=   8780.786     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.893        16.403        .30341E-05   -1.4651    
   2  alpha         1.8230        .47620        .60190E-03   -.27423    
   3  Normalizat    .69385        .19104        .14795E-04   -1.0414    
   4  Prefactor     1.3007        .13889        .80485E-05   -.83287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0327e-12
Minuit parameter uncertainties:
  1  16.4052
  2  0.479367
  3  0.19122
  4  0.138928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904626': 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) = 8780.78602246
delta logL = 4.35072252003e-06

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.789e+01  1.641e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.823e+00  4.794e-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.301e+00  1.389e-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.939e-01  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.79
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.82 +/- 0.48
Photon Flux (Free Index): 3.54e-08 +/- 3.02e-08
Energy Flux (Free Index): 3.53e-05 +/- 2.69e-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/904626/cmap_HighResolution_317088001_317347201_4FGL_J0153.9+0823_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.53e-08', energy_flux2='3.53e-05', photon_flux_error='2.07e-08', dlogl='4.35e-06', energy_flux='3.54e-05', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-08-14 20:10:25.538962', photon_index_error2='0.48', photon_index2='1.82', ts='7.80', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='2.69e-05', EG='0.69', time_epoch_completed='1628997025.54', return_code='0', job_id='904626', GAL2='1.30', EG2='0.69', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='3.02e-08', ts2='7.79', photon_index='1.82' WHERE bin_id='300' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 904626: <4FGL_J0153.9+0823_daily_bin300> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin300> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:39 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:57:20 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:57:20 2021
Terminated at Sat Aug 14 20:10:26 2021
Results reported at Sat Aug 14 20:10:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin300 28.4972 8.3931 317088001 317347201 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 :                                   613.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            887 sec.

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

