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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1708
RA = 124.695, Dec = 31.8862
tmin = 682041601, tmax = 682300801
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='66723', job_status='RUN', time_executed='2022-09-16 13:54:41.644292', time_epoch_executed='1663361681.64' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66723

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66723/ft1_4FGL_J0818.7+3153_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66723/ft1_4FGL_J0818.7+3153_daily_bin1708.fits outfile=/scratch/kocevski/66723/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1708.fits ra=124.695 dec=31.8862 rad=12.0 tmin=682041601.0 tmax=682300801.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.13
user 3.86
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.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/66723/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/66723/ltcube_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.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/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits
.....................!
real 13.81
user 13.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/66723/ltcube_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.fits outfile=/scratch/kocevski/66723/expmap_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.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/66723/ltcube_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.fits
.....................!
real 193.95
user 187.37
sys 5.31

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/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits scfile=/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits outfile=/scratch/kocevski/66723/cmap_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits scfile=/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits outfile=/scratch/kocevski/66723/cmap_HighResolution_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/66723/Model_4FGL_J0818.7+3153_daily_bin1708.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/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits.....................!
real 69.61
user 67.97
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits', '/scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits', expMap='/scratch/kocevski/66723/expmap_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.fits', expCube='/scratch/kocevski/66723/ltcube_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/66723/Model_4FGL_J0818.7+3153_daily_bin1708.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/66723/ft1_filtered_4FGL_J0818.7+3153_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/66723/ft2_4FGL_J0818.7+3153_daily_bin1708.fits
Exposure map: /scratch/kocevski/66723/expmap_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.fits
Exposure cube: /scratch/kocevski/66723/ltcube_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/66723/Model_4FGL_J0818.7+3153_daily_bin1708.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) = 7373.27288448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.910       1.0000          .0000       .10000E+07
     2 'norm      '    .58668E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .36046E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.618       1.0000          .0000       .10000E+07
     5 'norm      '    2.4380       1.0000          .0000       .10000E+07
     6 'norm      '    31.086       1.0000          .0000       .10000E+07
     7 'Prefactor '    .63382E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .21768E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.0632       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10359E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .94483E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29589E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0678       1.0000          .0000       .10000E+07
    14 'norm      '    1.4289       1.0000          .0000       .10000E+07
    15 'Prefactor '    .55100E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35096E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .93069E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2691       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0218       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=   7373.271     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     2035 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.896        2.1197        .97434E-08   -.75275E-01
   2  norm          .55511E-10    1.2910       -.36705E-07** at limit **
   3  Prefactor     .71720E-07    12.314        .20229E-06** at limit **
   4  Prefactor     18.633        3.0119       -.17255E-07    .19837    
   5  norm          2.4276        4.6815        .87746E-08    .86226E-03
   6  norm          32.020        91.223        .17083E-06   -.63886E-02
   7  Prefactor      .0000        1.2630        .42996E-07** at limit **
   8  Prefactor     .33862E-08    21.021       -.59319E-06** at limit **
   9  norm          1.0637        .52194       -.16698E-07   -.97616E-02
  10  Prefactor     .61062E-08    19.195        .13479E-06** at limit **
  11  Prefactor     .33307E-09    6.1054       -.14829E-06** at limit **
  12  Prefactor     .32752E-08    58.178        .10372E-06** at limit **
  13  Prefactor     1.0299        2.7610       -.32354E-07   -.24986E-03
  14  norm          1.4279        1.2013       -.25582E-08    .11741E-02
  15  Prefactor     .35472E-07    11.648       -.11674E-07** at limit **
  16  Prefactor      .0000        7.0758       -.46031E-07** at limit **
  17  Prefactor     .33307E-09    6.5027       -.84067E-07** at limit **
  18  Normalizat    1.2695        .21355       -.20709E-05    .28406E-03
  19  Prefactor     1.0218        .17167        .37966E-05    .50741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.8964
  norm       = 5.55112e-11
  Prefactor  = 7.17204e-08
  Prefactor  = 18.6328
  norm       = 2.4276
  norm       = 32.0203
  Prefactor  = 0
  Prefactor  = 3.38618e-09
  norm       = 1.06373
  Prefactor  = 6.10623e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 3.27516e-09
  Prefactor  = 1.02986
  norm       = 1.42788
  Prefactor  = 3.54716e-08
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Normalizat = 1.26948
  Prefactor  = 1.02179
 **********
 **   18 **HESSE 
 **********

 FCN=   7373.271     FROM HESSE     STATUS=OK           302 CALLS     2337 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.896        17.138        .15448E-03   -1.5579    
   2  norm          .55511E-10    1.2889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .71720E-07    12.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.633        19.262        .23185E-03   -1.5622    
   5  norm          2.4276        4.7071        .65502E-03   -1.5677    
   6  norm          32.020        92.254        .17938E-03   -1.5595    
   7  Prefactor      .0000        1.2614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33862E-08    20.851        .16923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0637        .52529        .95105E-03   -1.5687    
  10  Prefactor     .61062E-08    19.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33307E-09    6.1143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    57.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0299        2.7851        .11776E-02   -1.5688    
  14  norm          1.4279        1.2178        .90360E-03   -1.5684    
  15  Prefactor     .35472E-07    11.741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        7.0668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    6.5056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2695        .18358        .59463E-01   -.84482    
  19  Prefactor     1.0218        .14701        .41964E-01   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35668e-07
Minuit parameter uncertainties:
  1  17.1375
  2  1.4267e-05
  3  0.00188986
  4  19.2623
  5  4.70714
  6  92.2586
  7  3.28995e-06
  8  0.000530474
  9  0.525291
  10  0.000682896
  11  8.95876e-05
  12  0.000871861
  13  2.78508
  14  1.21781
  15  0.00129034
  16  1.8092e-05
  17  9.33198e-05
  18  0.18367
  19  0.147064
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  6.106e-09  6.829e-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:  1.022e+00  1.471e-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.269e+00  1.837e-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: 5.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66723/likelihoodResults_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.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) = 7373.29669641
delta logL = -0.0253145514253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7373.27138928
delta logL = -7.42013889976e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81485E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .64898       1.0000          .0000       10.000    
     3 'Normalizat'    1.2698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0216       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=   7373.271     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      211 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        22.128       -.37129E-06** at limit **
   2  Index         1.3782        5.3452       -.18669E-04     .0000    
   3  Normalizat    1.2695        .20959        .55204E-05    .58601E-04
   4  Prefactor     1.0218        .17053       -.28396E-05    .42075E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.37819
  Normalizat = 1.26948
  Prefactor  = 1.02179
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7373.271     FROM HESSE     STATUS=FAILED        11 CALLS      222 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        22.204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .15629        1.5325       -.18669E-04   -.81011    
   3  Normalizat    1.2695        1.0861        .55204E-05   -.84482    
   4  Prefactor     1.0218        1.2346       -.28396E-05   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.48179e-12
Minuit parameter uncertainties:
  1  2.75578e-05
  2  1.43806
  3  1.10648
  4  1.27168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66723': 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): 101
logL (Free Index) = 7373.27138186
delta logL = 2.81033862848e-10

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  2.756e-05  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  1.378e+00  1.438e+00  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:  1.022e+00  1.272e+00  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.269e+00  1.106e+00  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/66723/cmap_HighResolution_682041601_682300801_4FGL_J0818.7+3153_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2022-09-16 14:05:38.262624', job_id='66723', GAL2='1.02', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1663362338.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.81e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1708' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:05:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 66723: <4FGL_J0818.7+3153_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1708> 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) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:53:51 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:51 2022
Terminated at Fri Sep 16 14:05:38 2022
Results reported at Fri Sep 16 14:05:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1708 124.695 31.8862 682041601 682300801 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 :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            915 sec.

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

