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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin349
RA = 124.695, Dec = 31.8862
tmin = 450057601, tmax = 450662401
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='574143', job_status='RUN', time_executed='2021-07-13 14:53:51.189827', time_epoch_executed='1626213231.19' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='349'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574143

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574143/ft1_4FGL_J0818.7+3153_weekly_bin349.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574143/ft1_4FGL_J0818.7+3153_weekly_bin349.fits outfile=/scratch/kocevski/574143/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin349.fits ra=124.695 dec=31.8862 rad=12.0 tmin=450057601.0 tmax=450662401.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.99
user 7.60
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.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/574143/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin349.fits evtable="EVENTS" outfile="/scratch/kocevski/574143/ft1_filtered_4FGL_J0818.7+3153_weekly_bin349.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/574143/ft1_filtered_4FGL_J0818.7+3153_weekly_bin349.fits" evtable="EVENTS" scfile=/scratch/kocevski/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.fits sctable="SC_DATA" outfile=/scratch/kocevski/574143/ltcube_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.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/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.fits
.....................!
real 31.52
user 30.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574143/ft1_filtered_4FGL_J0818.7+3153_weekly_bin349.fits evtable="EVENTS" scfile=/scratch/kocevski/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.fits sctable="SC_DATA" expcube=/scratch/kocevski/574143/ltcube_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.fits outfile=/scratch/kocevski/574143/expmap_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.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/574143/ltcube_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.fits
.....................!
real 192.21
user 186.16
sys 5.26

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/574143/ft1_filtered_4FGL_J0818.7+3153_weekly_bin349.fits scfile=/scratch/kocevski/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.fits outfile=/scratch/kocevski/574143/cmap_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.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.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/574143/ft1_filtered_4FGL_J0818.7+3153_weekly_bin349.fits scfile=/scratch/kocevski/574143/ft2_4FGL_J0818.7+3153_weekly_bin349.fits outfile=/scratch/kocevski/574143/cmap_HighResolution_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.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.62
user 0.43
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8703       1.0000         .10000E-03   10000.    
     2 'norm      '    .49429       1.0000         .10000E-03   10000.    
     3 'Prefactor '    55.109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.5361       1.0000         .10000E-03   10000.    
     7 'norm      '    46.708       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0981       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6841       1.0000         .10000E-03   10000.    
    10 'norm      '    .97067       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7973       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .82602       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.769       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10871E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.049       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .47926E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.015       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .93498       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1212       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98632       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=   15377.67     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2425 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8697        8.2851        .34231E-09    .18062E-03
   2  norm          .49234        1.6800       -.35520E-06   -.13914E-03
   3  Prefactor     55.115        36.749        .64124E-06   -.71332E-04
   4  Prefactor     .10000E-03    4.2299        .30562E-07** at limit **
   5  Prefactor     .10000E-03    22.602       -.11656E-05** at limit **
   6  norm          8.5358        6.9777       -.37444E-07    .78122E-05
   7  norm          46.704        48.062        .49340E-06    .12213E-05
   8  Prefactor     1.0989        2.6983        .38313E-06    .92939E-04
   9  Prefactor     5.6876        24.248       -.10947E-05    .44841E-05
  10  norm          .97084        .41889        .48332E-07   -.90820E-04
  11  Prefactor     .10000E-03    14.897       -.13075E-06** at limit **
  12  Prefactor     1.7970        13.912        .17235E-05    .43833E-03
  13  Prefactor     .81024        5.7286       -.10677E-05    .13170E-03
  14  Prefactor     10.768        13.422       -.13821E-06    .11633E-03
  15  Prefactor     .10000E-03    .71888        .27209E-09** at limit **
  16  norm          .10000E-03    .19737        .12494E-08** at limit **
  17  Prefactor     47.061        22.820       -.49045E-06   -.71908E-04
  18  Prefactor     .10047E-03    7.5366       -.22431E-05** at limit **
  19  Prefactor     21.014        13.908       -.13031E-06    .23721E-04
  20  Prefactor     .93468        1.2463        .66216E-06    .19339E-02
  21  Normalizat    1.1212        .12981        .46887E-06    .43651E-04
  22  Prefactor     .98633        .94863E-01    .81210E-07    .19775E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.8697
  norm       = 0.492335
  Prefactor  = 55.1148
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.53581
  norm       = 46.7045
  Prefactor  = 1.09888
  Prefactor  = 5.68758
  norm       = 0.970839
  Prefactor  = 0.0001
  Prefactor  = 1.79703
  Prefactor  = 0.810242
  Prefactor  = 10.7678
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 47.061
  Prefactor  = 0.000100467
  Prefactor  = 21.0137
  Prefactor  = 0.934678
  Normalizat = 1.12119
  Prefactor  = 0.986327
 **********
 **   18 **HESSE 
 **********

 FCN=   15377.67     FROM HESSE     STATUS=OK           366 CALLS     2791 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8697        8.3092        .63773E-03   -1.5080    
   2  norm          .49234        5.7338        .23504E-02   -1.5568    
   3  Prefactor     55.115        37.092        .54034E-04   -1.4222    
   4  Prefactor     .10000E-03    4.2517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.5358        6.9790        .13720E-03   -1.5124    
   7  norm          46.704        48.039        .58668E-04   -1.4340    
   8  Prefactor     1.0989        2.6096        .29402E-03   -1.5498    
   9  Prefactor     5.6876        24.007        .16848E-03   -1.5231    
  10  norm          .97084        .41521        .48163E-04   -1.5511    
  11  Prefactor     .10000E-03    14.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7970        15.954        .15594E-02   -1.5440    
  13  Prefactor     .81024        33.119        .43437E-02   -1.5528    
  14  Prefactor     10.768        13.424        .12209E-03   -1.5052    
  15  Prefactor     .10000E-03    4.4118        .18706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .19740        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     47.061        23.041        .58456E-04   -1.4335    
  18  Prefactor     .10047E-03    3.2714        .64793E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.014        13.993        .87373E-04   -1.4791    
  20  Prefactor     .93468        1.1677        .20173E-02   -1.5515    
  21  Normalizat    1.1212        .15035        .27224E-03   -.89074    
  22  Prefactor     .98633        .11195        .22389E-03   -.93187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17712e-08
Minuit parameter uncertainties:
  1  8.31019
  2  3.36038
  3  37.108
  4  4.98813e-06
  5  4.91513e-05
  6  6.97965
  7  48.0789
  8  2.60992
  9  23.386
  10  0.415214
  11  2.53496e-05
  12  10.7122
  13  10.3658
  14  13.4278
  15  0.000119093
  16  8.51878e-09
  17  23.0454
  18  0.00247291
  19  13.9954
  20  1.16776
  21  0.150403
  22  0.111974
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.797e+00  1.071e+01  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:  9.863e-01  1.120e-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.121e+00  1.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/574143/likelihoodResults_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.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) = 15377.6680088
delta logL = 0.00653819799118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15377.5945489
delta logL = 0.079998028441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40042E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    4.9856       1.0000          .0000       10.000    
     3 'Normalizat'    1.1025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99618       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.

 FCN=   15377.59     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      307 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38640E-02    .64394E-01    .28797E-02    .37732E-01
   2  Index         4.9978        1.8564        .10810        .41179E-03
   3  Normalizat    1.1024        .13961E-01    .62019E-01    .50475E-04
   4  Prefactor     .99615        .10899E-01    .46219E-01    .30524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00386398
  Index      = 4.99777
  Normalizat = 1.10241
  Prefactor  = 0.996154
 **********
 **   18 **HESSE 
 **********

 FCN=   15377.59     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      342 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38640E-02    .89944        .14175E-03   -1.5696    
   2  Index         4.9978        7.3481        .10624E-01   -.44625E-03
   3  Normalizat    1.1024        .68994E-01    .27431E-03   -.89674    
   4  Prefactor     .99615        .53305E-01    .22294E-03   -.92858    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.59731e-11
Minuit parameter uncertainties:
  1  0.116371
  2  9.59696
  3  0.0689994
  4  0.0533076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574143': 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) = 15377.5945446
delta logL = 0.0800023861011

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  3.864e-03  1.164e-01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  4.998e+00  9.597e+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:  9.962e-01  5.331e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.102e+00  6.900e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/574143/cmap_HighResolution_450057601_450662401_4FGL_J0818.7+3153_weekly_bin349.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-03', job_status='DONE', photon_flux_upper_limit='3.86e-08', time_completed='2021-07-13 15:22:37.034483', job_id='574143', GAL2='1.00', fit_tolerance='1e-08', EG2='1.10', EG='1.12', time_epoch_completed='1626214957.03', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.00e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='349' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:22:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 574143: <4FGL_J0818.7+3153_weekly_bin349> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin349 124.695 31.8862 450057601 450662401 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 :                                   1230.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             50.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2044 sec.
    Turnaround time :                            113687 sec.

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

