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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin937
RA = 28.4972, Dec = 8.3931
tmin = 482198401, tmax = 482457601
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='907779', job_status='RUN', time_executed='2021-08-14 20:11:49.727995', time_epoch_executed='1628997109.73' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907779/ft1_4FGL_J0153.9+0823_daily_bin937.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907779/ft2_4FGL_J0153.9+0823_daily_bin937.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907779/ft1_4FGL_J0153.9+0823_daily_bin937.fits outfile=/scratch/kocevski/907779/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin937.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=482198401.0 tmax=482457601.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.42
user 3.45
sys 0.94

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907779/ft1_filtered_4FGL_J0153.9+0823_daily_bin937.fits" evtable="EVENTS" scfile=/scratch/kocevski/907779/ft2_4FGL_J0153.9+0823_daily_bin937.fits sctable="SC_DATA" outfile=/scratch/kocevski/907779/ltcube_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.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/907779/ft2_4FGL_J0153.9+0823_daily_bin937.fits
.....................!
real 14.90
user 13.59
sys 1.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907779/ft1_filtered_4FGL_J0153.9+0823_daily_bin937.fits evtable="EVENTS" scfile=/scratch/kocevski/907779/ft2_4FGL_J0153.9+0823_daily_bin937.fits sctable="SC_DATA" expcube=/scratch/kocevski/907779/ltcube_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.fits outfile=/scratch/kocevski/907779/expmap_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.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/907779/ltcube_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.fits
.....................!
real 193.65
user 186.91
sys 5.82

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/907779/ft1_filtered_4FGL_J0153.9+0823_daily_bin937.fits scfile=/scratch/kocevski/907779/ft2_4FGL_J0153.9+0823_daily_bin937.fits outfile=/scratch/kocevski/907779/cmap_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.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.26
user 0.38
sys 0.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907779/ft1_filtered_4FGL_J0153.9+0823_daily_bin937.fits scfile=/scratch/kocevski/907779/ft2_4FGL_J0153.9+0823_daily_bin937.fits outfile=/scratch/kocevski/907779/cmap_HighResolution_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.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.26
user 0.40
sys 0.85

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .34850E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    23.798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.8036       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8934       1.0000         .10000E-03   10000.    
     7 'norm      '    .10320E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15967E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .55886       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10830E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7387       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7842       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12568E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .77430E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .63405       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.5864       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=   7025.014     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1489 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7190        .33871E-06** at limit **
   2  Prefactor     .10009E-03    415.90        .88010E-05** at limit **
   3  Prefactor     .10000E-03    2.2143        .13396E-05** at limit **
   4  norm          23.786        17.271       -.39310E-07    .52610E-05
   5  Prefactor     8.8019        6.4429       -.74398E-07   -.24006E-04
   6  Prefactor     1.8940        2.6374        .28229E-06    .42546E-03
   7  norm          .10000E-03    5.0645        .57905E-06** at limit **
   8  Prefactor     .10001E-03    4.0632       -.67881E-05** at limit **
   9  norm          .55923        .75555       -.60540E-07   -.36812E-03
  10  Prefactor     .10215E-03    84.182        .29576E-04** at limit **
  11  Prefactor     .10000E-03    3.2821        .41406E-06** at limit **
  12  Prefactor     2.5245        815.31       -.72403E-05   -.27296E-04
  13  Prefactor     9.7876        12.032       -.79690E-06   -.10606E-03
  14  Prefactor     .10000E-03    63.298        .14165E-05** at limit **
  15  Prefactor     .10262E-03    11.681       -.61542E-05** at limit **
  16  Normalizat    .63412        .20181       -.49983E-05   -.39310E-03
  17  Prefactor     1.5863        .15057        .70874E-06    .23629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100087
  Prefactor  = 0.000100001
  norm       = 23.786
  Prefactor  = 8.80186
  Prefactor  = 1.89396
  norm       = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.559231
  Prefactor  = 0.000102145
  Prefactor  = 0.0001
  Prefactor  = 2.52452
  Prefactor  = 9.78761
  Prefactor  = 0.0001
  Prefactor  = 0.000102621
  Normalizat = 0.634121
  Prefactor  = 1.58627
 **********
 **   18 **HESSE 
 **********

 FCN=   7025.014     FROM HESSE     STATUS=OK           247 CALLS     1736 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10009E-03    427.81        .19660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.2636        .24201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.786        17.271        .82112E-04   -1.4732    
   5  Prefactor     8.8019        6.4407        .13509E-03   -1.5115    
   6  Prefactor     1.8940        2.6268        .15359E-03   -1.5433    
   7  norm          .10000E-03    5.2468        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    5.0854        .19551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55923        .67849        .81434E-03   -1.5558    
  10  Prefactor     .10215E-03    30.736        .11652       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3001        .14841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5245        946.21        .24603E-02   -1.5390    
  13  Prefactor     9.7876        12.045        .12811E-03   -1.5082    
  14  Prefactor     .10000E-03    64.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10262E-03    10.817        .74326E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .63412        .22444        .40335E-03   -1.0655    
  17  Prefactor     1.5863        .16753        .19416E-03   -.75151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04882e-09
Minuit parameter uncertainties:
  1  6.38439e-05
  2  0.0122715
  3  0.000139329
  4  17.2745
  5  6.44125
  6  2.62694
  7  9.38445e-05
  8  0.000447698
  9  0.678503
  10  0.0162476
  11  4.3837e-05
  12  99.3719
  13  12.0479
  14  0.000228633
  15  0.0106506
  16  0.224763
  17  0.167587
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.379e+01  1.727e+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.586e+00  1.676e-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.341e-01  2.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.89
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.01e-08 +/- 2.19e-08
Energy Flux (Fixed Index): 3.02e-05 +/- 2.19e-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) = 7023.71687451
delta logL = 1.29686914963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7023.26705811
delta logL = 1.74668554821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1767       1.0000         .10000E-03   10000.    
     2 'alpha     '    .65323       1.0000          .0000       5.0000    
     3 'Normalizat'    .64023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5941       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=   7023.267     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      222 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1767        6.3767        .37433E-02    .19528E-02
   2  alpha         .65322        .37142        .35224       -.10976E-04
   3  Normalizat    .64022        .20246        .90627E-01    .34854E-04
   4  Prefactor     1.5941        .14743        .43850E-01   -.55773E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.17669
  alpha      = 0.653223
  Normalizat = 0.64022
  Prefactor  = 1.59407
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.267     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1767        10.476        .14973E-03   -1.5172    
   2  alpha         .65322        .57792        .16219E-01   -.83116    
   3  Normalizat    .64022        .22342        .40154E-03   -1.0630    
   4  Prefactor     1.5941        .16326        .19381E-03   -.74938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.94759e-09
Minuit parameter uncertainties:
  1  10.4786
  2  0.58989
  3  0.223739
  4  0.163316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907779': 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) = 7023.26705811
delta logL = 1.74668555677

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.177e+00  1.048e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  6.532e-01  5.899e-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.594e+00  1.633e-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.402e-01  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.38
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.65 +/- 0.59
Photon Flux (Free Index): 7.47e-09 +/- 6.57e-09
Energy Flux (Free Index): 1.33e-04 +/- 1.36e-04

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/907779/cmap_HighResolution_482198401_482457601_4FGL_J0153.9+0823_daily_bin937.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.01e-08', energy_flux2='1.33e-04', photon_flux_error='2.19e-08', dlogl='1.75e+00', energy_flux='3.02e-05', photon_flux2='7.47e-09', job_status='DONE', time_completed='2021-08-14 20:21:10.097597', photon_index_error2='0.59', photon_index2='0.65', ts='6.89', fit_tolerance='1e-08', GAL='1.59', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.63', time_epoch_completed='1628997670.1', return_code='0', job_id='907779', GAL2='1.59', EG2='0.64', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='6.57e-09', ts2='10.38', photon_index='1.82' WHERE bin_id='937' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:21:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 907779: <4FGL_J0153.9+0823_daily_bin937> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin937 28.4972 8.3931 482198401 482457601 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 :                                   570.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            921 sec.

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

