aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 55 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 = 17234
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin373
RA = 124.695, Dec = 31.8862
tmin = 464572801, tmax = 465177601
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='574193', job_status='RUN', time_executed='2021-07-13 14:56:23.976459', time_epoch_executed='1626213383.98' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574193

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574193/ft1_4FGL_J0818.7+3153_weekly_bin373.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574193/ft1_4FGL_J0818.7+3153_weekly_bin373.fits outfile=/scratch/kocevski/574193/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin373.fits ra=124.695 dec=31.8862 rad=12.0 tmin=464572801.0 tmax=465177601.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 7.35
user 6.91
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.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/574193/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin373.fits evtable="EVENTS" outfile="/scratch/kocevski/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.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.67
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits" evtable="EVENTS" scfile=/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits sctable="SC_DATA" outfile=/scratch/kocevski/574193/ltcube_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.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/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits
.....................!
real 31.17
user 30.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits sctable="SC_DATA" expcube=/scratch/kocevski/574193/ltcube_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.fits outfile=/scratch/kocevski/574193/expmap_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.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/574193/ltcube_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.fits
.....................!
real 192.62
user 186.52
sys 5.24

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/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits scfile=/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits outfile=/scratch/kocevski/574193/cmap_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.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.66
user 0.41
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/574193/Model_4FGL_J0818.7+3153_weekly_bin373.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/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits.....................!
real 156.51
user 154.59
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits', '/scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits', expMap='/scratch/kocevski/574193/expmap_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.fits', expCube='/scratch/kocevski/574193/ltcube_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/574193/Model_4FGL_J0818.7+3153_weekly_bin373.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  1.000e-04  1.000e+04 ( 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/574193/ft1_filtered_4FGL_J0818.7+3153_weekly_bin373.fits
Spacecraft file(s): /scratch/kocevski/574193/ft2_4FGL_J0818.7+3153_weekly_bin373.fits
Exposure map: /scratch/kocevski/574193/expmap_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.fits
Exposure cube: /scratch/kocevski/574193/ltcube_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/574193/Model_4FGL_J0818.7+3153_weekly_bin373.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) = 18261.9762425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.3034       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2703       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3819       1.0000         .10000E-03   10000.    
     7 'norm      '    42.266       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6314       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22642       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10460E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6749       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1932       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.921       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14611       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.3066       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .97971       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18261.97     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2386 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0714       -.24189E-06** at limit **
   2  norm          6.3027        2.8169        .29008E-07    .20605E-03
   3  Prefactor     .10000E-03    13.959       -.19359E-05** at limit **
   4  Prefactor     6.2702        7.7496        .68408E-06    .47709E-04
   5  Prefactor     .10000E-03    11.865        .18202E-05** at limit **
   6  norm          3.3822        5.3767        .34775E-05    .27931E-03
   7  norm          42.265        47.764        .30400E-06   -.27196E-05
   8  Prefactor     .10000E-03    1.4474       -.47626E-08** at limit **
   9  Prefactor     .10000E-03    6.4108        .33926E-06** at limit **
  10  norm          1.6314        .40261        .54315E-08    .14548E-03
  11  Prefactor     .10000E-03    7.3718       -.26289E-06** at limit **
  12  Prefactor     .22360        5.9394       -.26696E-05    .43324E-03
  13  Prefactor     .10000E-03    4.6733       -.86023E-08** at limit **
  14  Prefactor     .10000E-03    30.888        .43227E-06** at limit **
  15  Prefactor     2.6758        1.7688        .85820E-07    .10835E-03
  16  norm          1.1909        .79482       -.23750E-07   -.94145E-03
  17  Prefactor     12.922        14.282        .74574E-07    .90194E-05
  18  Prefactor     .13586        1.8998       -.39827E-07   -.13296E-03
  19  Prefactor     5.3082        9.1518        .24758E-06    .17141E-04
  20  Prefactor     .97941        1.5399       -.20492E-06   -.14185E-02
  21  Normalizat    1.1045        .11318       -.24529E-06    .20430E-03
  22  Prefactor     1.0362        .87949E-01   -.19453E-06    .21316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.30269
  Prefactor  = 0.0001
  Prefactor  = 6.27017
  Prefactor  = 0.0001
  norm       = 3.38222
  norm       = 42.2648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.63144
  Prefactor  = 0.0001
  Prefactor  = 0.223604
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.67585
  norm       = 1.1909
  Prefactor  = 12.9219
  Prefactor  = 0.135858
  Prefactor  = 5.30819
  Prefactor  = 0.979413
  Normalizat = 1.10447
  Prefactor  = 1.03625
 **********
 **   18 **HESSE 
 **********

 FCN=   18261.97     FROM HESSE     STATUS=OK           358 CALLS     2744 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.3027        2.8124        .14159E-03   -1.5206    
   3  Prefactor     .10000E-03    13.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2702        7.7391        .80153E-03   -1.5207    
   5  Prefactor     .10000E-03    11.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3822        5.4097        .11001E-02   -1.5340    
   7  norm          42.265        47.788        .61661E-04   -1.4407    
   8  Prefactor     .10000E-03    1.4953        .31708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.4181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6314        .40209        .40863E-04   -1.5453    
  11  Prefactor     .10000E-03    7.3840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22360        5.7448        .11140       -1.5613    
  13  Prefactor     .10000E-03    4.7121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.517        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6758        1.7597        .13785E-03   -1.5381    
  16  norm          1.1909        .77155        .91563E-04   -1.5490    
  17  Prefactor     12.922        14.268        .11143E-03   -1.4989    
  18  Prefactor     .13586        14.677        .35490E-02   -1.5634    
  19  Prefactor     5.3082        9.1754        .17447E-03   -1.5247    
  20  Prefactor     .97941        1.2533        .20844E-02   -1.5510    
  21  Normalizat    1.1045        .13128        .26852E-03   -.89608    
  22  Prefactor     1.0362        .10263        .22158E-03   -.91531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70209e-07
Minuit parameter uncertainties:
  1  2.3982e-05
  2  2.81244
  3  3.3142e-05
  4  7.74038
  5  4.32811e-05
  6  5.41049
  7  47.8311
  8  1.83474e-07
  9  3.72066e-06
  10  0.402093
  11  1.79946e-06
  12  2.26651
  13  6.67343e-07
  14  6.59681e-05
  15  1.75977
  16  0.771559
  17  14.2722
  18  2.82385
  19  9.17778
  20  1.25335
  21  0.13132
  22  0.102645
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.236e-01  2.267e+00  1.000e-04  1.000e+04 ( 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.036e+00  1.026e-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.104e+00  1.313e-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: 3.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/574193/likelihoodResults_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.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) = 18261.8549811
delta logL = 0.119353011509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18261.854934
delta logL = 0.119400185518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8553       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4263       1.0000          .0000       10.000    
     3 'Normalizat'    1.1055       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0344       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18261.85     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      340 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8605        11.723        .91279E-03   -.11249E-03
   2  Index         1.4274        1.0114        .13182E-01    .98320E-06
   3  Normalizat    1.1055        .12614        .26840E-03   -.16553E-03
   4  Prefactor     1.0344        .10178        .22173E-03   -.19791E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.86049
  Index      = 1.42741
  Normalizat = 1.10553
  Prefactor  = 1.03443
 **********
 **   18 **HESSE 
 **********

 FCN=   18261.85     FROM HESSE     STATUS=OK            23 CALLS      363 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8605        11.757        .36512E-04   -1.5267    
   2  Index         1.4274        1.0146        .52727E-03   -.79593    
   3  Normalizat    1.1055        .12625        .10736E-04   -.89574    
   4  Prefactor     1.0344        .10188        .88693E-05   -.91590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76452e-11
Minuit parameter uncertainties:
  1  11.7626
  2  1.02941
  3  0.126282
  4  0.101895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574193': 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) = 18261.8549334
delta logL = 0.119400803993

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  4.860e+00  1.176e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  1.427e+00  1.029e+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.034e+00  1.019e-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.106e+00  1.263e-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/574193/cmap_HighResolution_464572801_465177601_4FGL_J0818.7+3153_weekly_bin373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-03', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2021-07-13 15:27:06.828826', job_id='574193', GAL2='1.03', fit_tolerance='1e-08', EG2='1.11', EG='1.10', time_epoch_completed='1626215226.83', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.19e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='373' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:27:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 574193: <4FGL_J0818.7+3153_weekly_bin373> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin373> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Jul 12 07:47:55 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 07:53:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 12 07:53:25 2021
Terminated at Tue Jul 13 15:27:10 2021
Results reported at Tue Jul 13 15:27:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin373 124.695 31.8862 464572801 465177601 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 :                                   1390.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             51.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2287 sec.
    Turnaround time :                            113955 sec.

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

