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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin287
RA = 28.4972, Dec = 8.3931
tmin = 313718401, tmax = 313977601
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='904606', job_status='RUN', time_executed='2021-08-14 20:00:41.971377', time_epoch_executed='1628996441.97' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='287'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904606

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904606/ft1_4FGL_J0153.9+0823_daily_bin287.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904606/ft2_4FGL_J0153.9+0823_daily_bin287.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904606/ft1_4FGL_J0153.9+0823_daily_bin287.fits outfile=/scratch/kocevski/904606/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin287.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=313718401.0 tmax=313977601.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 8.15
user 3.15
sys 4.88

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904606/ft1_filtered_4FGL_J0153.9+0823_daily_bin287.fits" evtable="EVENTS" scfile=/scratch/kocevski/904606/ft2_4FGL_J0153.9+0823_daily_bin287.fits sctable="SC_DATA" outfile=/scratch/kocevski/904606/ltcube_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.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/904606/ft2_4FGL_J0153.9+0823_daily_bin287.fits
.....................!
real 17.91
user 12.20
sys 5.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904606/ft1_filtered_4FGL_J0153.9+0823_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/904606/ft2_4FGL_J0153.9+0823_daily_bin287.fits sctable="SC_DATA" expcube=/scratch/kocevski/904606/ltcube_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.fits outfile=/scratch/kocevski/904606/expmap_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.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/904606/ltcube_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.fits
.....................!
real 200.50
user 187.35
sys 11.90

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/904606/ft1_filtered_4FGL_J0153.9+0823_daily_bin287.fits scfile=/scratch/kocevski/904606/ft2_4FGL_J0153.9+0823_daily_bin287.fits outfile=/scratch/kocevski/904606/cmap_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.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 5.55
user 0.38
sys 5.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904606/ft1_filtered_4FGL_J0153.9+0823_daily_bin287.fits scfile=/scratch/kocevski/904606/ft2_4FGL_J0153.9+0823_daily_bin287.fits outfile=/scratch/kocevski/904606/cmap_HighResolution_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.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 5.63
user 0.38
sys 5.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6099       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9571       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0584       1.0000         .10000E-03   10000.    
     7 'norm      '    14.356       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5863       1.0000         .10000E-03   10000.    
     9 'norm      '    .73467       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1530       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.344       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.575       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .83638       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0829       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=   8040.236     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1368 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6100        5.5603        .41783E-07   -.76286E-06
   2  Prefactor     .10000E-03    10.041       -.15220E-07** at limit **
   3  Prefactor     .10000E-03    2.3467        .47586E-07** at limit **
   4  norm          .10000E-03    3.7499       -.12078E-06** at limit **
   5  Prefactor     1.9572        5.6932        .98983E-05   -.42499E-05
   6  Prefactor     2.0582        2.6188        .84441E-07   -.21787E-04
   7  norm          14.355        5.7813       -.23680E-06   -.65648E-04
   8  Prefactor     1.5860        1.7651       -.30268E-06   -.54761E-03
   9  norm          .73477        .63718        .61552E-07    .28020E-05
  10  Prefactor     7.1526        16.032        .57145E-07   -.21600E-04
  11  Prefactor     .10000E-03    4.9383       -.20338E-06** at limit **
  12  Prefactor     11.290        45.997        .17454E-04   -.17894E-04
  13  Prefactor     .10000E-03    3.2009       -.19377E-06** at limit **
  14  Prefactor     22.575        19.181        .26298E-07   -.13341E-04
  15  Prefactor     .10000E-03    5.5308       -.85585E-06** at limit **
  16  Normalizat    .83627        .16289       -.12318E-05   -.10216E-03
  17  Prefactor     1.0830        .11730       -.56726E-06    .13089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.61001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.95719
  Prefactor  = 2.05819
  norm       = 14.3555
  Prefactor  = 1.58605
  norm       = 0.734766
  Prefactor  = 7.15261
  Prefactor  = 0.0001
  Prefactor  = 11.29
  Prefactor  = 0.0001
  Prefactor  = 22.5747
  Prefactor  = 0.0001
  Normalizat = 0.836268
  Prefactor  = 1.08301
 **********
 **   18 **HESSE 
 **********

 FCN=   8040.236     FROM HESSE     STATUS=OK           225 CALLS     1593 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6100        5.5647        .16961E-03   -1.5234    
   2  Prefactor     .10000E-03    10.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.4181        .26818E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.7513        .16958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9572        5.7041        .14828E-02   -1.5428    
   6  Prefactor     2.0582        2.6028        .15469E-03   -1.5421    
   7  norm          14.355        5.7723        .52856E-03   -1.4950    
   8  Prefactor     1.5860        1.7436        .11940E-03   -1.5456    
   9  norm          .73477        .63168        .63784E-04   -1.5537    
  10  Prefactor     7.1526        15.982        .14998E-03   -1.5173    
  11  Prefactor     .10000E-03    5.0196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.290        46.020        .11895E-03   -1.5036    
  13  Prefactor     .10000E-03    3.2188        .15666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.575        19.167        .84304E-04   -1.4757    
  15  Prefactor     .10000E-03    5.5804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .83627        .18443        .30438E-03   -.98737    
  17  Prefactor     1.0830        .13387        .19268E-03   -.90012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29615e-09
Minuit parameter uncertainties:
  1  5.56525
  2  3.0562e-06
  3  5.94354e-06
  4  1.99984e-06
  5  5.70571
  6  2.60295
  7  5.77248
  8  1.74365
  9  0.631681
  10  15.9916
  11  5.73257e-05
  12  45.6487
  13  2.21214e-05
  14  19.172
  15  6.5575e-05
  16  0.184569
  17  0.133907
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.000e-06  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.083e+00  1.339e-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:  8.363e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 2.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904606/likelihoodResults_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.txt

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) = 8040.23700678
delta logL = -0.0012588412219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8040.23574794
delta logL = -1.87355908565e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8203       1.0000          .0000       5.0000    
     3 'Normalizat'    .83627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0830       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=   8040.236     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      228 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    774.18        .16959E-02** at limit **
   2  alpha         1.7987        2.9044        .17304        .81420E-06
   3  Normalizat    .83627        .10447        .30438E-03   -.64093E-04
   4  Prefactor     1.0830        .74819E-01    .19268E-03   -.75761E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100026
  alpha      = 1.79868
  Normalizat = 0.836269
  Prefactor  = 1.08301
 **********
 **   18 **HESSE 
 **********

 FCN=   8040.236     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    3.7607        .33918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7987        3.0484        .69217E-02   -.28434    
   3  Normalizat    .83627        .18239        .12175E-04   -.98737    
   4  Prefactor     1.0830        .13066        .38535E-04   -.90012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39443e-08
Minuit parameter uncertainties:
  1  0.000622109
  2  257.557
  3  0.182524
  4  0.130694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904606': 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) = 8040.23574794
delta logL = 8.33279045764e-09

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  6.221e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.799e+00  2.576e+02  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.083e+00  1.307e-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:  8.363e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/904606/cmap_HighResolution_313718401_313977601_4FGL_J0153.9+0823_daily_bin287.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='2.66e-08', time_completed='2021-08-14 20:12:06.787470', job_id='904606', GAL2='1.08', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1628997126.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='8.33e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='287' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:12:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 904606: <4FGL_J0153.9+0823_daily_bin287> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin287 28.4972 8.3931 313718401 313977601 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 :                                   762.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            990 sec.

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

