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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin322
RA = 124.695, Dec = 31.8862
tmin = 433728001, tmax = 434332801
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='574099', job_status='RUN', time_executed='2021-07-13 14:56:56.654716', time_epoch_executed='1626213416.65' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='322'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574099

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574099/ft1_4FGL_J0818.7+3153_weekly_bin322.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574099/ft2_4FGL_J0818.7+3153_weekly_bin322.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574099/ft1_4FGL_J0818.7+3153_weekly_bin322.fits outfile=/scratch/kocevski/574099/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin322.fits ra=124.695 dec=31.8862 rad=12.0 tmin=433728001.0 tmax=434332801.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 13.45
user 13.04
sys 0.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574099/ft1_filtered_4FGL_J0818.7+3153_weekly_bin322.fits" evtable="EVENTS" scfile=/scratch/kocevski/574099/ft2_4FGL_J0818.7+3153_weekly_bin322.fits sctable="SC_DATA" outfile=/scratch/kocevski/574099/ltcube_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.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/574099/ft2_4FGL_J0818.7+3153_weekly_bin322.fits
.....................!
real 32.86
user 32.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574099/ft1_filtered_4FGL_J0818.7+3153_weekly_bin322.fits evtable="EVENTS" scfile=/scratch/kocevski/574099/ft2_4FGL_J0818.7+3153_weekly_bin322.fits sctable="SC_DATA" expcube=/scratch/kocevski/574099/ltcube_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.fits outfile=/scratch/kocevski/574099/expmap_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.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/574099/ltcube_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.fits
.....................!
real 191.28
user 185.76
sys 4.91

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/574099/ft1_filtered_4FGL_J0818.7+3153_weekly_bin322.fits scfile=/scratch/kocevski/574099/ft2_4FGL_J0818.7+3153_weekly_bin322.fits outfile=/scratch/kocevski/574099/cmap_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/574099/ft1_filtered_4FGL_J0818.7+3153_weekly_bin322.fits scfile=/scratch/kocevski/574099/ft2_4FGL_J0818.7+3153_weekly_bin322.fits outfile=/scratch/kocevski/574099/cmap_HighResolution_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.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.59
user 0.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3460       1.0000         .10000E-03   10000.    
     2 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.132       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8413       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.291       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4211       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2116       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9210       1.0000         .10000E-03   10000.    
    10 'norm      '    .69289       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4851       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6489       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.797       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .32919       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.005       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .53692E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0387       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8044       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1351       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69369       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=   12382.38     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2421 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3462        4.9492       -.30840E-07    .46391E-05
   2  norm          .10000E-03    .87982       -.33244E-07** at limit **
   3  Prefactor     36.134        24.972        .10325E-05   -.23959E-04
   4  Prefactor     2.8410        2.3091        .26423E-06   -.72552E-03
   5  Prefactor     25.291        20.988       -.35683E-06    .26492E-05
   6  norm          1.4214        4.5713       -.10889E-05   -.66744E-04
   7  norm          .10000E-03    48.158       -.47597E-06** at limit **
   8  Prefactor     3.2116        2.7572       -.23483E-06    .32916E-04
   9  Prefactor     5.9233        12.325       -.19214E-06   -.84156E-06
  10  norm          .69289        .30617       -.42984E-07    .58452E-04
  11  Prefactor     .10000E-03    8.9785        .70456E-07** at limit **
  12  Prefactor     3.4857        9.3910        .88800E-06   -.25703E-04
  13  Prefactor     7.6470        7.1026        .24185E-05    .41233E-04
  14  Prefactor     17.791        13.850        .41664E-06   -.35660E-04
  15  Prefactor     .10000E-03    .79191       -.35870E-06** at limit **
  16  norm          .32968        .61546       -.17400E-07   -.47685E-03
  17  Prefactor     11.005        14.448        .18769E-06    .83890E-05
  18  Prefactor     .10001E-03    3.1106        .20683E-06** at limit **
  19  Prefactor     6.0391        11.016        .81411E-07   -.95898E-05
  20  Prefactor     3.8044        2.4694        .21635E-07   -.23078E-04
  21  Normalizat    1.1351        .12128       -.48595E-06    .17655E-03
  22  Prefactor     .69368        .91333E-01    .16154E-06    .62246E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.34619
  norm       = 0.0001
  Prefactor  = 36.134
  Prefactor  = 2.84097
  Prefactor  = 25.2912
  norm       = 1.4214
  norm       = 0.0001
  Prefactor  = 3.21164
  Prefactor  = 5.92325
  norm       = 0.692888
  Prefactor  = 0.0001
  Prefactor  = 3.48569
  Prefactor  = 7.64702
  Prefactor  = 17.7906
  Prefactor  = 0.0001
  norm       = 0.329682
  Prefactor  = 11.0049
  Prefactor  = 0.000100013
  Prefactor  = 6.03905
  Prefactor  = 3.80443
  Normalizat = 1.13513
  Prefactor  = 0.693682
 **********
 **   18 **HESSE 
 **********

 FCN=   12382.38     FROM HESSE     STATUS=OK           368 CALLS     2789 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3462        4.9468        .19322E-03   -1.5291    
   2  norm          .10000E-03    .89828        .20327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.134        24.880        .66672E-04   -1.4505    
   4  Prefactor     2.8410        6.7846        .12061E-02   -1.5371    
   5  Prefactor     25.291        20.974        .79656E-04   -1.4702    
   6  norm          1.4214        4.6137        .36286E-03   -1.5470    
   7  norm          .10000E-03    48.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2116        2.7399        .15999E-03   -1.5350    
   9  Prefactor     5.9233        12.317        .16503E-03   -1.5221    
  10  norm          .69289        .30673        .38924E-04   -1.5541    
  11  Prefactor     .10000E-03    8.9993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4857        9.3707        .21659E-03   -1.5335    
  13  Prefactor     7.6470        7.1364        .14500E-03   -1.5155    
  14  Prefactor     17.791        13.299        .94940E-04   -1.4864    
  15  Prefactor     .10000E-03    1.8070        .18967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .32968        .55426        .10424E-02   -1.5593    
  17  Prefactor     11.005        14.428        .12077E-03   -1.5044    
  18  Prefactor     .10001E-03    3.3273        .57829E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0391        11.042        .16339E-03   -1.5216    
  20  Prefactor     3.8044        2.4686        .13669E-03   -1.5318    
  21  Normalizat    1.1351        .13784        .22373E-03   -.88632    
  22  Prefactor     .69368        .10473        .22156E-03   -1.0378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59147e-08
Minuit parameter uncertainties:
  1  4.94729
  2  2.16527e-06
  3  24.8876
  4  6.78648
  5  20.9803
  6  4.61486
  7  2.15078e-05
  8  2.74003
  9  12.3224
  10  0.306728
  11  2.05438e-07
  12  9.37463
  13  7.13717
  14  13.3016
  15  5.11378e-05
  16  0.554266
  17  14.4324
  18  0.000408294
  19  11.046
  20  2.46867
  21  0.137886
  22  0.104765
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  3.486e+00  9.375e+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:  6.937e-01  1.048e-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.135e+00  1.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/574099/likelihoodResults_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.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) = 12382.3573576
delta logL = 0.02108893693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12382.3415458
delta logL = 0.0369007531262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9395       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8263       1.0000          .0000       10.000    
     3 'Normalizat'    1.1366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69269       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12382.34     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      243 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9371        15.612        .16477E-03    .33616E-03
   2  Index         1.8270        1.0709        .15076E-01    .12897E-03
   3  Normalizat    1.1366        .12987        .22360E-03   -.51119E-03
   4  Prefactor     .69270        .10346        .22169E-03   -.65314E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.93712
  Index      = 1.82701
  Normalizat = 1.13659
  Prefactor  = 0.692697
 **********
 **   18 **HESSE 
 **********

 FCN=   12382.34     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9371        14.799        .65907E-05   -1.5221    
   2  Index         1.8270        1.0176        .60305E-03   -.68749    
   3  Normalizat    1.1366        .12994        .44720E-04   -.88585    
   4  Prefactor     .69270        .10353        .44339E-04   -1.0381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14585e-09
Minuit parameter uncertainties:
  1  14.8077
  2  1.02978
  3  0.129975
  4  0.103556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574099': 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) = 12382.3415455
delta logL = 0.0369010646427

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  5.937e+00  1.481e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  1.827e+00  1.030e+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:  6.927e-01  1.036e-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.137e+00  1.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/574099/cmap_HighResolution_433728001_434332801_4FGL_J0818.7+3153_weekly_bin322.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-03', job_status='DONE', photon_flux_upper_limit='3.30e-08', time_completed='2021-07-13 15:25:00.361814', job_id='574099', GAL2='0.69', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1626215100.36', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='3.69e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='322' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:25:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 574099: <4FGL_J0818.7+3153_weekly_bin322> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin322> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Jul 12 07:47:47 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 07:52:11 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:52:11 2021
Terminated at Tue Jul 13 15:25:01 2021
Results reported at Tue Jul 13 15:25:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin322 124.695 31.8862 433728001 434332801 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 :                                   1096.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             50.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2214 sec.
    Turnaround time :                            113834 sec.

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

