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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin310
RA = 124.695, Dec = 31.8862
tmin = 426470401, tmax = 427075201
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='574079', job_status='RUN', time_executed='2021-07-13 14:56:53.541869', time_epoch_executed='1626213413.54' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574079

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574079/ft1_4FGL_J0818.7+3153_weekly_bin310.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574079/ft2_4FGL_J0818.7+3153_weekly_bin310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574079/ft1_4FGL_J0818.7+3153_weekly_bin310.fits outfile=/scratch/kocevski/574079/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin310.fits ra=124.695 dec=31.8862 rad=12.0 tmin=426470401.0 tmax=427075201.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 11.13
user 10.74
sys 0.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574079/ft1_filtered_4FGL_J0818.7+3153_weekly_bin310.fits" evtable="EVENTS" scfile=/scratch/kocevski/574079/ft2_4FGL_J0818.7+3153_weekly_bin310.fits sctable="SC_DATA" outfile=/scratch/kocevski/574079/ltcube_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.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/574079/ft2_4FGL_J0818.7+3153_weekly_bin310.fits
.....................!
real 31.55
user 31.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574079/ft1_filtered_4FGL_J0818.7+3153_weekly_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/574079/ft2_4FGL_J0818.7+3153_weekly_bin310.fits sctable="SC_DATA" expcube=/scratch/kocevski/574079/ltcube_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.fits outfile=/scratch/kocevski/574079/expmap_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.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/574079/ltcube_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.fits
.....................!
real 191.84
user 186.09
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/574079/ft1_filtered_4FGL_J0818.7+3153_weekly_bin310.fits scfile=/scratch/kocevski/574079/ft2_4FGL_J0818.7+3153_weekly_bin310.fits outfile=/scratch/kocevski/574079/cmap_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.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.61
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/574079/ft1_filtered_4FGL_J0818.7+3153_weekly_bin310.fits scfile=/scratch/kocevski/574079/ft2_4FGL_J0818.7+3153_weekly_bin310.fits outfile=/scratch/kocevski/574079/cmap_HighResolution_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.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.60
user 0.41
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10561E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.081       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.550       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.445       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3144       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .99432       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0471       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4730       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6712       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    45.699       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2928       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1786       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=   16283.56     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2044 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9966        .51230E-06** at limit **
   2  norm          .10000E-03    1.4909        .45256E-07** at limit **
   3  Prefactor     11.076        20.606       -.35408E-05    .26693E-04
   4  Prefactor     28.545        13.902        .20514E-06   -.37980E-04
   5  Prefactor     31.445        24.699        .91655E-06   -.13201E-04
   6  norm          .10000E-03    2.8235        .10680E-06** at limit **
   7  norm          .10000E-03    46.083        .32680E-06** at limit **
   8  Prefactor     4.3142        2.9218       -.15116E-05   -.49538E-03
   9  Prefactor     .10000E-03    5.9271        .45675E-05** at limit **
  10  norm          .99436        .35754        .74210E-07    .36371E-03
  11  Prefactor     .10000E-03    5.1423       -.17111E-05** at limit **
  12  Prefactor     3.0312        22.427       -.89583E-05   -.18273E-04
  13  Prefactor     .10000E-03    3.2363       -.79094E-07** at limit **
  14  Prefactor     .10000E-03    10.126        .55185E-06** at limit **
  15  Prefactor     1.4731        1.3077       -.46837E-07   -.89434E-03
  16  norm          1.6708        .94843       -.15715E-06   -.16174E-02
  17  Prefactor     .10000E-03    6.6745       -.35366E-05** at limit **
  18  Prefactor     .10000E-03    2.8890       -.49765E-06** at limit **
  19  Prefactor     45.698        15.533       -.50855E-06    .56553E-04
  20  Prefactor     5.2927        2.5817       -.13100E-06   -.19949E-03
  21  Normalizat    .97267        .12697        .86778E-06    .24722E-04
  22  Prefactor     1.1787        .98844E-01    .25932E-06    .13546E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0761
  Prefactor  = 28.5454
  Prefactor  = 31.4447
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.3142
  Prefactor  = 0.0001
  norm       = 0.99436
  Prefactor  = 0.0001
  Prefactor  = 3.03124
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.47309
  norm       = 1.67081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.6985
  Prefactor  = 5.29268
  Normalizat = 0.97267
  Prefactor  = 1.17868
 **********
 **   18 **HESSE 
 **********

 FCN=   16283.56     FROM HESSE     STATUS=OK           342 CALLS     2386 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5145        .15147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.076        20.566        .12035E-03   -1.5042    
   4  Prefactor     28.545        13.877        .74980E-04   -1.4639    
   5  Prefactor     31.445        24.640        .71453E-04   -1.4586    
   6  norm          .10000E-03    2.8407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    46.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3142        2.9896        .17413E-03   -1.5293    
   9  Prefactor     .10000E-03    5.8414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .99436        .35880        .43786E-04   -1.5509    
  11  Prefactor     .10000E-03    5.1317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0312        22.952        .23243E-03   -1.5360    
  13  Prefactor     .10000E-03    3.2511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4731        1.2912        .13248E-03   -1.5465    
  16  norm          1.6708        .94729        .88984E-04   -1.5449    
  17  Prefactor     .10000E-03    6.6346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.9058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     45.698        15.583        .59310E-04   -1.4355    
  20  Prefactor     5.2927        2.5843        .13908E-03   -1.5248    
  21  Normalizat    .97267        .14597        .29678E-03   -.93952    
  22  Prefactor     1.1787        .11395        .21817E-03   -.86990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02387e-10
Minuit parameter uncertainties:
  1  9.54503e-06
  2  1.36544e-06
  3  20.5793
  4  13.8783
  5  24.6482
  6  3.24372e-06
  7  3.25138e-05
  8  2.98971
  9  7.0205e-05
  10  0.358799
  11  2.61982e-05
  12  16.6906
  13  9.01527e-06
  14  4.4161e-06
  15  1.29124
  16  0.947295
  17  5.92917e-05
  18  6.11808e-06
  19  15.5846
  20  2.58438
  21  0.146034
  22  0.113971
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  3.031e+00  1.669e+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:  1.179e+00  1.140e-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:  9.727e-01  1.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/574079/likelihoodResults_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.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) = 16283.4976793
delta logL = 0.0589391323501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16283.4655296
delta logL = 0.0910888342096

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19590       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7160       1.0000          .0000       10.000    
     3 'Normalizat'    .95366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1880       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=   16283.47     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      263 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18683        2.0435        .23750E-01    .48150E-02
   2  Index         3.7338        1.9143        .95628E-01    .49500E-03
   3  Normalizat    .95363        .13597E-01    .67706E-01    .50827E-04
   4  Prefactor     1.1880        .10933E-01    .34921E-01    .11557E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.186832
  Index      = 3.73381
  Normalizat = 0.953635
  Prefactor  = 1.18803
 **********
 **   18 **HESSE 
 **********

 FCN=   16283.47     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      298 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18683        34.987        .83828E-03   -1.5622    
   2  Index         3.7338        6.4614        .11930E-01   -.25603    
   3  Normalizat    .95363        .69815E-01    .29951E-03   -.94600    
   4  Prefactor     1.1880        .55652E-01    .21745E-03   -.86701    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.24182e-09
Minuit parameter uncertainties:
  1  5.11504
  2  9.15342
  3  0.0698214
  4  0.055655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574079': 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) = 16283.4655235
delta logL = 0.0910949014142

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.868e-01  5.115e+00  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  3.734e+00  9.153e+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.188e+00  5.566e-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:  9.536e-01  6.982e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/574079/cmap_HighResolution_426470401_427075201_4FGL_J0818.7+3153_weekly_bin310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2021-07-13 15:25:39.740665', job_id='574079', GAL2='1.19', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1626215139.74', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='9.11e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='310' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:25:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 574079: <4FGL_J0818.7+3153_weekly_bin310> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin310 124.695 31.8862 426470401 427075201 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 :                                   1200.11 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             50.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2299 sec.
    Turnaround time :                            113874 sec.

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

