aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 117 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7600
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1709
RA = 124.695, Dec = 31.8862
tmin = 682300801, tmax = 682560001
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='66724', job_status='RUN', time_executed='2022-09-16 13:55:56.799819', time_epoch_executed='1663361756.8' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66724

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66724/ft1_4FGL_J0818.7+3153_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66724/ft1_4FGL_J0818.7+3153_daily_bin1709.fits outfile=/scratch/kocevski/66724/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1709.fits ra=124.695 dec=31.8862 rad=12.0 tmin=682300801.0 tmax=682560001.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.14
user 2.90
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.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/66724/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.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.46
user 0.32
sys 0.14

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/66724/ltcube_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.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/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits
.....................!
real 13.62
user 13.24
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/66724/ltcube_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.fits outfile=/scratch/kocevski/66724/expmap_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.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/66724/ltcube_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.fits
.....................!
real 157.73
user 153.21
sys 3.93

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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J0818.7+3153 @ 124.695 31.8862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits scfile=/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits outfile=/scratch/kocevski/66724/cmap_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.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=124.695 yref=31.8862 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.50
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits scfile=/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits outfile=/scratch/kocevski/66724/cmap_HighResolution_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.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=124.695 yref=31.8862 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.51
user 0.35
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/66724/Model_4FGL_J0818.7+3153_daily_bin1709.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/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits.....................!
real 55.37
user 54.15
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits', '/scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits', expMap='/scratch/kocevski/66724/expmap_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.fits', expCube='/scratch/kocevski/66724/ltcube_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/66724/Model_4FGL_J0818.7+3153_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0818.7+3153'

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.482e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/66724/ft1_filtered_4FGL_J0818.7+3153_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/66724/ft2_4FGL_J0818.7+3153_daily_bin1709.fits
Exposure map: /scratch/kocevski/66724/expmap_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.fits
Exposure cube: /scratch/kocevski/66724/ltcube_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/66724/Model_4FGL_J0818.7+3153_daily_bin1709.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6874.42349158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.442       1.0000          .0000       .10000E+07
     2 'norm      '    .10722E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14083E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30047E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .21427E-02   1.0000          .0000       .10000E+07
     6 'norm      '    10.625       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.1662       1.0000          .0000       .10000E+07
     8 'Prefactor '    36.314       1.0000          .0000       .10000E+07
     9 'norm      '    2.0110       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97967E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8911       1.0000          .0000       .10000E+07
    12 'Prefactor '    77.939       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20262E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .11011E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    26.203       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.0971       1.0000          .0000       .10000E+07
    17 'Prefactor '    73.821       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1199       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6869.974     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      893 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.692        9.8418       -.43139E-07   -.11175E-03
   2  norm           .0000        1.3522       -.21144E-07** at limit **
   3  Prefactor      .0000        16.599       -.14041E-07** at limit **
   4  Prefactor      .0000        6.3294       -.64133E-07** at limit **
   5  norm           .0000        11.112       -.31289E-06** at limit **
   6  norm          27.660        123.26       -.16694E-04   -.14241E-04
   7  Prefactor     5.1588        4.1272        .61428E-07   -.24416E-03
   8  Prefactor     37.241        35.635       -.70007E-06   -.25308E-02
   9  norm          2.0086        .65875        .18746E-07   -.31022E-03
  10  Prefactor     .15543E-08    32.785       -.10154E-05** at limit **
  11  Prefactor     3.3308        10.907       -.46429E-06   -.35300E-03
  12  Prefactor     77.770        8.9572        .39440E-06   -.52416E-01
  13  Prefactor      .0000        1.1451        .87760E-09** at limit **
  14  norm           .0000        1.0943        .59891E-07** at limit **
  15  Prefactor     26.308        3.0171        .13491E-06    .11117E-01
  16  Prefactor     7.4114        10.262       -.13984E-06    .92280E-03
  17  Prefactor     74.191        23.751       -.10129E-05   -.16115E-01
  18  Normalizat    1.1203        .21045       -.40534E-05   -.31722E-04
  19  Prefactor     .87380        .16480        .91161E-05   -.44310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6917
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 27.6604
  Prefactor  = 5.15877
  Prefactor  = 37.2414
  norm       = 2.0086
  Prefactor  = 1.55431e-09
  Prefactor  = 3.3308
  Prefactor  = 77.7696
  Prefactor  = 0
  norm       = 0
  Prefactor  = 26.3079
  Prefactor  = 7.41138
  Prefactor  = 74.1912
  Normalizat = 1.12032
  Prefactor  = 0.873798
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.974     FROM HESSE     STATUS=OK           308 CALLS     1201 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.692        9.8634        .30982E-03   -1.5643    
   2  norm           .0000        1.3565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.3241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        11.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          27.660        122.90        .30713E-03   -1.5603    
   7  Prefactor     5.1588        4.1266        .44206E-03   -1.5663    
   8  Prefactor     37.241        35.719        .16596E-03   -1.5586    
   9  norm          2.0086        .65988        .72973E-03   -1.5680    
  10  Prefactor     .15543E-08    33.043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3308        11.058        .59742E-03   -1.5671    
  12  Prefactor     77.770        29.200        .11328E-03   -1.5532    
  13  Prefactor      .0000        1.1508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.0912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.308        23.928        .19539E-03   -1.5605    
  16  Prefactor     7.4114        10.393        .37631E-03   -1.5654    
  17  Prefactor     74.191        25.159        .11640E-03   -1.5536    
  18  Normalizat    1.1203        .18219        .59931E-01   -.89102    
  19  Prefactor     .87380        .14072        .44720E-01   -.97063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04846e-07
Minuit parameter uncertainties:
  1  9.8634
  2  2.17399e-06
  3  9.43303e-06
  4  2.03588e-06
  5  1.30178e-05
  6  116.615
  7  4.12656
  8  35.7193
  9  0.659879
  10  0.000452031
  11  11.0576
  12  29.1996
  13  2.39484e-06
  14  3.86276e-07
  15  23.9283
  16  10.3934
  17  25.1589
  18  0.182295
  19  0.14078
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.554e-09  4.520e-04  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  8.738e-01  1.408e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.120e+00  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66724/likelihoodResults_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.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) = 6869.9892093
delta logL = -0.0147199382436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6869.97448951
delta logL = -1.51541826199e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86495E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.2155       1.0000          .0000       10.000    
     3 'Normalizat'    1.1203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87380       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6869.773     FROM MIGRAD    STATUS=FAILED       459 CALLS      619 TOTAL
                     EDM=   .40E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    .87347E-07     .0000    ** at limit **
   2  Index         9.8387        9.8974         .0000       -.20736E-01
   3  Normalizat    1.0717        .25167         .0000       -.46430E-01
   4  Prefactor     .89970        .10502         .0000       -.25786E-01
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6869.773     FROM SIMPLEX   STATUS=PROGRESS     112 CALLS      731 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17764E-08    .87347E-07    .16893E-09** at limit **
   2  Index         9.8522        9.8974        .19756E-02   -.20736E-01
   3  Normalizat    1.0718        .25167        .78558E-04   -.46430E-01
   4  Prefactor     .89957        .10502        .17918E-04   -.25786E-01
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6869.773     FROM MIGRAD    STATUS=FAILED        55 CALLS      786 TOTAL
                     EDM=   .37E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17764E-08    .72053E-07     .0000    ** at limit **
   2  Index         9.8522        9.0745         .0000        .33263E-03
   3  Normalizat    1.0718        .16876         .0000       -.44626E-02
   4  Prefactor     .89957        .77555E-01     .0000       -.28030E-01
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77636e-09
  Index      = 9.85221
  Normalizat = 1.07177
  Prefactor  = 0.899573
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.773     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      819 TOTAL
                     EDM=   .73E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17764E-08    .72053E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.8522        9.0744        .50000        1.3271    
   3  Normalizat    1.0718        .16879        .54072E-04   -.90663    
   4  Prefactor     .89957        .77565E-01    .45967E-04   -.96156    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 730.584
Minuit parameter uncertainties:
  1  2.27426e-08
  2  17.6337
  3  0.168876
  4  0.077575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66724': 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): 1
logL (Free Index) = 6869.77295348
delta logL = 0.201535881381

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.776e-09  2.274e-08  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  9.852e+00  1.763e+01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  8.996e-01  7.757e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.072e+00  1.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.695 31.886

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/66724/cmap_HighResolution_682300801_682560001_4FGL_J0818.7+3153_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2022-09-16 14:04:14.013171', job_id='66724', GAL2='0.90', fit_tolerance='1e-08', EG2='1.07', EG='1.12', time_epoch_completed='1663362254.01', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.02e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1709' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:04:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 66724: <4FGL_J0818.7+3153_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:50:23 2022
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:53:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:53:52 2022
Terminated at Fri Sep 16 14:04:14 2022
Results reported at Fri Sep 16 14:04:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1709 124.695 31.8862 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0818.7+3153 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   498.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            831 sec.

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

