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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin753
RA = 124.695, Dec = 31.8862
tmin = 694396801, tmax = 695001601
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='231028', job_status='RUN', time_executed='2023-01-10 02:53:41.902993', time_epoch_executed='1673348021.9' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231028

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231028/ft1_4FGL_J0818.7+3153_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231028/ft1_4FGL_J0818.7+3153_weekly_bin753.fits outfile=/scratch/kocevski/231028/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin753.fits ra=124.695 dec=31.8862 rad=12.0 tmin=694396801.0 tmax=695001601.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 6.20
user 5.89
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.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/231028/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.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.72
user 0.41
sys 0.16

Number of photons that the gtmktime cut: 35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/231028/ltcube_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.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/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits
.....................!
real 37.51
user 36.87
sys 0.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/231028/ltcube_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.fits outfile=/scratch/kocevski/231028/expmap_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.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/231028/ltcube_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.fits
.....................!
real 193.36
user 187.27
sys 5.49

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/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits scfile=/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits outfile=/scratch/kocevski/231028/cmap_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.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.59
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits scfile=/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits outfile=/scratch/kocevski/231028/cmap_HighResolution_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.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.61
user 0.44
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/231028/Model_4FGL_J0818.7+3153_weekly_bin753.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/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits...................................!
real 17.23
user 15.80
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits', '/scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits', expMap='/scratch/kocevski/231028/expmap_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.fits', expCube='/scratch/kocevski/231028/ltcube_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/231028/Model_4FGL_J0818.7+3153_weekly_bin753.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/231028/ft1_filtered_4FGL_J0818.7+3153_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/231028/ft2_4FGL_J0818.7+3153_weekly_bin753.fits
Exposure map: /scratch/kocevski/231028/expmap_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.fits
Exposure cube: /scratch/kocevski/231028/ltcube_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/231028/Model_4FGL_J0818.7+3153_weekly_bin753.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 438.893401457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 437.413696172

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.7830       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.4886       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.9747       1.0000          .0000       .10000E+07
     5 'norm      '    9.5406       1.0000          .0000       .10000E+07
     6 'norm      '    9.5934       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26511E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.1846       1.0000          .0000       .10000E+07
     9 'norm      '    .33914E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .91331E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75637E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.6441       1.0000          .0000       .10000E+07
    13 'Prefactor '    .71734E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .16195E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.2871       1.0000          .0000       .10000E+07
    16 'Prefactor '    84.616       1.0000          .0000       .10000E+07
    17 'Prefactor '    55.710       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .56692       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=   437.3802     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      313 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21133E-05    147.86        .60817E-06** at limit **
   2  norm          1.7830        1.0460         .0000         .0000    
   3  Prefactor     7.4886        1.0022         .0000         .0000    
   4  Prefactor     6.9747        1.0026         .0000         .0000    
   5  norm          11.898        74.580       -.11410E-06   -.32395E-01
   6  norm          .15222E-02    5456.5        .13939E-05** at limit **
   7  Prefactor     .11590E-04    95.753        .44774E-06** at limit **
   8  Prefactor     .56621E-08    462.96        .90932E-06** at limit **
   9  norm           .0000        3.1284       -.78596E-08** at limit **
  10  Prefactor     .42435E-04    116.38        .20447E-06** at limit **
  11  Prefactor     .37026E-07    101.62       -.32575E-06** at limit **
  12  Prefactor      .0000        111.31        .54211E-06** at limit **
  13  Prefactor      .0000        94.093        .82624E-07** at limit **
  14  norm           .0000        9.0625       -.90598E-07** at limit **
  15  Prefactor     .11452E-06    154.85        .10899E-05** at limit **
  16  Prefactor     85.159        47.804       -.12254E-06    .82604E-01
  17  Prefactor     53.323        53.907        .20959E-06    .45033E-01
  18  Normalizat    1.0540        .77831       -.64458E-05    .11911E-05
  19  Prefactor     .56505        .64502        .13275E-04    .15595E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11325e-06
  norm       = 1.78302
  Prefactor  = 7.48855
  Prefactor  = 6.9747
  norm       = 11.8979
  norm       = 0.00152221
  Prefactor  = 1.15898e-05
  Prefactor  = 5.66214e-09
  norm       = 0
  Prefactor  = 4.24351e-05
  Prefactor  = 3.70259e-08
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.1452e-07
  Prefactor  = 85.1591
  Prefactor  = 53.3229
  Normalizat = 1.05396
  Prefactor  = 0.565051
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   437.3802     FROM HESSE     STATUS=FAILED        15 CALLS      328 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21133E-05    149.33        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          62977.        62976.         .0000       -1.5681    
   3  Prefactor     7.4886        1.0022         .0000       -1.5653    
   4  Prefactor     6.9747        1.0026         .0000       -1.5655    
   5  norm          11.898        1.1183       -.11410E-06   -1.5639    
   6  norm          .15222E-02    .26131E-01    .13939E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11590E-04    .44347E-01    .44774E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .56621E-08    .27478        .90932E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .44347E-01   -.78596E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .42435E-04    .44347E-01    .20447E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .37026E-07    .44347E-01   -.32575E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .69947E-01    .54211E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .54475        .82624E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .44347E-01   -.90598E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11452E-06    .59130E-01    .10899E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     85.159        1.0032       -.12254E-06   -1.5523    
  17  Prefactor     53.323        .97838        .20959E-06   -1.5562    
  18  Normalizat    1.0540        1.2183       -.64458E-05   -.91244    
  19  Prefactor     .56505        .91191        .13275E-04   -1.0908    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.56063e-10
Minuit parameter uncertainties:
  1  0.0355297
  2  1.04601
  3  1.00225
  4  1.00259
  5  1.11827
  6  0.0126138
  7  0.00143385
  8  7.87386e-05
  9  1.21781e-07
  10  0.00274364
  11  8.10612e-05
  12  1.39076e-06
  13  2.65858e-07
  14  1.84456e-06
  15  0.000164597
  16  1.00322
  17  0.978379
  18  1.25307
  19  0.937454
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 437.380234183

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  4.244e-05  2.744e-03  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:  5.651e-01  9.375e-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.054e+00  1.253e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 1.17e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.89e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/231028/likelihoodResults_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.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): 102
logL (Free Index) = 437.38266572
delta logL = -0.00243153670021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 437.38023408
delta logL = 1.0270855455e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38858E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.8018       1.0000          .0000       10.000    
     3 'Normalizat'    1.0539       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56506       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=   437.3802     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      227 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29976E-07    389.68       -.31014E-05** at limit **
   2  Index         .96082        5.0087       -.14442E-03   -.85365E-10
   3  Normalizat    1.0540        .72962       -.75975E-04    .14893E-04
   4  Prefactor     .56505        .62523        .92268E-04    .15934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9976e-08
  Index      = 0.960824
  Normalizat = 1.05396
  Prefactor  = 0.565052
 **********
 **   18 **HESSE 
 **********

 FCN=   437.3802     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      264 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29976E-07    138.09        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .96082        6.5761        .50000       -.94047    
   3  Normalizat    1.0540        .99153E-02    .40302E-01   -.91244    
   4  Prefactor     .56505        .85256E-02    .61058E-01   -1.0908    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.87654e-11
Minuit parameter uncertainties:
  1  0.00406826
  2  49104.3
  3  0.00991532
  4  0.0085256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231028': 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): 102
logL (Free Index) = 437.380234075
delta logL = 1.08253971121e-07

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.998e-08  4.068e-03  0.000e+00  1.000e+06 ( 1.000e-14)
302        Index:  9.608e-01  4.910e+04  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:  5.651e-01  8.526e-03  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.054e+00  9.915e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/231028/cmap_HighResolution_694396801_695001601_4FGL_J0818.7+3153_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.89e-02', job_status='DONE', photon_flux_upper_limit='1.17e-06', time_completed='2023-01-10 03:00:01.738947', job_id='231028', GAL2='0.57', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1673348401.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.57', dlogl='1.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='753' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 03:00:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 231028: <4FGL_J0818.7+3153_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 02:50:30 2023
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:52:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:52:31 2023
Terminated at Tue Jan 10 03:00:02 2023
Results reported at Tue Jan 10 03:00:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin753 124.695 31.8862 694396801 695001601 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 :                                   380.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             264.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   451 sec.
    Turnaround time :                            572 sec.

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

