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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin278
RA = 124.695, Dec = 31.8862
tmin = 407116801, tmax = 407721601
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='573967', job_status='RUN', time_executed='2021-07-13 14:54:05.894150', time_epoch_executed='1626213245.89' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/573967

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/573967/ft1_4FGL_J0818.7+3153_weekly_bin278.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/573967/ft1_4FGL_J0818.7+3153_weekly_bin278.fits outfile=/scratch/kocevski/573967/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin278.fits ra=124.695 dec=31.8862 rad=12.0 tmin=407116801.0 tmax=407721601.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.70
user 7.33
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.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/573967/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin278.fits evtable="EVENTS" outfile="/scratch/kocevski/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.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.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.fits" evtable="EVENTS" scfile=/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits sctable="SC_DATA" outfile=/scratch/kocevski/573967/ltcube_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.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/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits
.....................!
real 30.04
user 29.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits sctable="SC_DATA" expcube=/scratch/kocevski/573967/ltcube_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.fits outfile=/scratch/kocevski/573967/expmap_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.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/573967/ltcube_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.fits
.....................!
real 193.23
user 186.80
sys 5.14

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/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.fits scfile=/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits outfile=/scratch/kocevski/573967/cmap_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.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.60
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.fits scfile=/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits outfile=/scratch/kocevski/573967/cmap_HighResolution_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.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/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/573967/ft2_4FGL_J0818.7+3153_weekly_bin278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/573967/Model_4FGL_J0818.7+3153_weekly_bin278.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/573967/ft1_filtered_4FGL_J0818.7+3153_weekly_bin278.fits.....................!
real 121.25
user 119.13
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.547       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9507       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .90301E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.369       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9684       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .20440       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24252E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .85869       1.0000         .10000E-03   10000.    
    16 'norm      '    .24402       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.578       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13307E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4652       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88773       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96371       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=   14809.30     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2496 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3591       -.12913E-07** at limit **
   2  norm          .10000E-03    .79597        .10225E-06** at limit **
   3  Prefactor     11.540        16.944        .14918E-05    .49264E-03
   4  Prefactor     3.9460        6.7632        .12206E-06   -.14203E-03
   5  Prefactor     .10000E-03    4.8705        .72962E-07** at limit **
   6  norm          .10000E-03    2.7797       -.23915E-07** at limit **
   7  norm          23.532        57.730        .75609E-06    .38616E-04
   8  Prefactor     1.9679        2.3667        .36383E-06   -.33463E-03
   9  Prefactor     .10000E-03    4.2155       -.29997E-08** at limit **
  10  norm          .20447        .21895        .41007E-08   -.46352E-03
  11  Prefactor     .10000E-03    5.2728       -.13011E-07** at limit **
  12  Prefactor     .10000E-03    29.843       -.14299E-05** at limit **
  13  Prefactor     .10000E-03    4.5503       -.48170E-07** at limit **
  14  Prefactor     .10044E-03    7.0312        .15388E-05** at limit **
  15  Prefactor     .85948        .98652        .10984E-07   -.56675E-04
  16  norm          .24391        .36524        .53054E-06    .76247E-03
  17  Prefactor     17.587        12.741        .19880E-06    .16075E-03
  18  Prefactor     .10000E-03    2.0103       -.48463E-06** at limit **
  19  Prefactor     8.4674        9.3710        .27935E-06    .36274E-04
  20  Prefactor     .10000E-03    .70386        .24778E-08** at limit **
  21  Normalizat    .88764        .10568       -.45693E-06   -.42818E-03
  22  Prefactor     .96373        .84390E-01    .36064E-07   -.44179E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.54
  Prefactor  = 3.94599
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 23.5318
  Prefactor  = 1.96794
  Prefactor  = 0.0001
  norm       = 0.204472
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100438
  Prefactor  = 0.859479
  norm       = 0.243913
  Prefactor  = 17.587
  Prefactor  = 0.0001
  Prefactor  = 8.46743
  Prefactor  = 0.0001
  Normalizat = 0.887642
  Prefactor  = 0.963733
 **********
 **   18 **HESSE 
 **********

 FCN=   14809.30     FROM HESSE     STATUS=OK           354 CALLS     2850 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .80780        .10569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.540        17.454        .11789E-03   -1.5028    
   4  Prefactor     3.9460        6.7682        .20295E-03   -1.5311    
   5  Prefactor     .10000E-03    4.8714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    24.282        .39058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.532        57.900        .82861E-04   -1.4737    
   8  Prefactor     1.9679        2.3194        .19263E-03   -1.5427    
   9  Prefactor     .10000E-03    4.2186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .20447        .19192        .56180E-03   -1.5618    
  11  Prefactor     .10000E-03    5.2799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.841        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.6722        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10044E-03    35.683        .53170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .85948        .79615        .12405E-02   -1.5523    
  16  norm          .24391        .36473        .10196E-02   -1.5609    
  17  Prefactor     17.587        12.724        .95529E-04   -1.4869    
  18  Prefactor     .10000E-03    10.835        .32339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.4674        9.3650        .13778E-03   -1.5126    
  20  Prefactor     .10000E-03    1.3498        .19854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88764        .12054        .24620E-03   -.96896    
  22  Prefactor     .96373        .98605E-01    .19679E-03   -.93948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32126e-08
Minuit parameter uncertainties:
  1  1.99998e-07
  2  3.54745e-06
  3  17.4613
  4  6.76949
  5  4.72868e-06
  6  0.000295616
  7  58.0385
  8  2.31952
  9  1.2152e-06
  10  0.191916
  11  2.86849e-06
  12  0.000605539
  13  4.04523e-06
  14  0.00791297
  15  0.79616
  16  0.364732
  17  12.726
  18  0.00010095
  19  9.36658
  20  5.6059e-06
  21  0.120576
  22  0.0986235
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  6.055e-04  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.637e-01  9.862e-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:  8.876e-01  1.206e-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.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/573967/likelihoodResults_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.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) = 14809.2984775
delta logL = -0.000154684214067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14809.2983234
delta logL = -5.59537511435e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27713E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2341       1.0000          .0000       10.000    
     3 'Normalizat'    .88765       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96375       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=   14809.30     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      225 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10024E-03    .32186        .10711    ** at limit **
   2  Index         2.2406        .96811        .50000       -.43479E-04
   3  Normalizat    .88764        .61337E-03    .44744E-01    .16819E-03
   4  Prefactor     .96373        .51164E-03    .45812E-01    .12653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100244
  Index      = 2.24062
  Normalizat = 0.887643
  Prefactor  = 0.963733
 **********
 **   18 **HESSE 
 **********

 FCN=   14809.30     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      262 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10024E-03    208.79        .57616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2406        5.3952        .50000       -.58461    
   3  Normalizat    .88764        .46374E-02    .24620E-03   -.96896    
   4  Prefactor     .96373        .38689E-02    .19679E-03   -.93948    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.0705e-08
Minuit parameter uncertainties:
  1  0.0143162
  2  7.36995
  3  0.0046374
  4  0.00386885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/573967': 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) = 14809.2983219
delta logL = 9.30493115447e-07

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.002e-04  1.432e-02  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.241e+00  7.370e+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.637e-01  3.869e-03  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  8.876e-01  4.637e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.695 31.886

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/573967/cmap_HighResolution_407116801_407721601_4FGL_J0818.7+3153_weekly_bin278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-03', job_status='DONE', photon_flux_upper_limit='3.37e-08', time_completed='2021-07-13 15:20:56.927026', job_id='573967', GAL2='0.96', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1626214856.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='9.30e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='278' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:20:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 573967: <4FGL_J0818.7+3153_weekly_bin278> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin278 124.695 31.8862 407116801 407721601 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 :                                   1198.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             50.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2035 sec.
    Turnaround time :                            113597 sec.

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

