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 12 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 = 17105
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin7
RA = 124.695, Dec = 31.8862
tmin = 243216001, tmax = 243820801
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='571825', job_status='RUN', time_executed='2021-07-13 14:56:26.493918', time_epoch_executed='1626213386.49' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571825

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

Retrieving the FT1 file...

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

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

Retrieving 104 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571825/ft1_4FGL_J0818.7+3153_weekly_bin7.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571825/ft1_4FGL_J0818.7+3153_weekly_bin7.fits outfile=/scratch/kocevski/571825/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin7.fits ra=124.695 dec=31.8862 rad=12.0 tmin=243216001.0 tmax=243820801.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 2.66
user 2.34
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571825/ft1_filtered_4FGL_J0818.7+3153_weekly_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/571825/ltcube_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.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/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits
.....................!
real 31.82
user 31.28
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571825/ft1_filtered_4FGL_J0818.7+3153_weekly_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/571825/ltcube_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.fits outfile=/scratch/kocevski/571825/expmap_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.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/571825/ltcube_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.fits
.....................!
real 193.23
user 187.31
sys 5.29

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/571825/ft1_filtered_4FGL_J0818.7+3153_weekly_bin7.fits scfile=/scratch/kocevski/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits outfile=/scratch/kocevski/571825/cmap_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.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.40
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571825/ft1_filtered_4FGL_J0818.7+3153_weekly_bin7.fits scfile=/scratch/kocevski/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits outfile=/scratch/kocevski/571825/cmap_HighResolution_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.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.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571825/ft1_filtered_4FGL_J0818.7+3153_weekly_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/571825/ft2_4FGL_J0818.7+3153_weekly_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571825/Model_4FGL_J0818.7+3153_weekly_bin7.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/571825/ft1_filtered_4FGL_J0818.7+3153_weekly_bin7.fits.....................!
real 180.65
user 178.21
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1275       1.0000         .10000E-03   10000.    
     2 'norm      '    .80080       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.263       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96573       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10284E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7207       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0210       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1843       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.455       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .48632       1.0000         .10000E-03   10000.    
    16 'norm      '    .85613       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.746       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7534       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1830       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88361       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=   21479.03     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2072 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1264        6.0456        .22723E-06    .52800E-04
   2  norm          .79346        2.2344        .90440E-06    .33500E-03
   3  Prefactor     .10000E-03    7.8573        .43212E-07** at limit **
   4  Prefactor     16.270        10.402        .22398E-06    .51713E-03
   5  Prefactor     .92970        47.123       -.20150E-04    .35260E-03
   6  norm          .10000E-03    1.9257       -.24362E-07** at limit **
   7  norm          .10000E-03    21.780       -.69929E-06** at limit **
   8  Prefactor     2.7226        2.4740        .50447E-07   -.28562E-03
   9  Prefactor     .10000E-03    5.8654       -.49395E-08** at limit **
  10  norm          2.0210        .42187       -.79970E-08   -.18983E-02
  11  Prefactor     3.1844        5.9841        .35577E-05    .98933E-03
  12  Prefactor     13.456        10.842       -.62898E-08   -.46427E-04
  13  Prefactor     .10000E-03    3.3340        .32135E-06** at limit **
  14  Prefactor     .10000E-03    13.059       -.16865E-06** at limit **
  15  Prefactor     .48589        .89820        .66781E-06    .17573E-02
  16  norm          .85601        .50156       -.24009E-07   -.14369E-02
  17  Prefactor     11.763        13.716       -.10695E-05    .50019E-04
  18  Prefactor     .10000E-03    4.3756       -.57973E-07** at limit **
  19  Prefactor     7.7491        7.9155        .15538E-05    .69332E-03
  20  Prefactor     .10000E-03    .43630       -.76852E-08** at limit **
  21  Normalizat    1.1830        .99091E-01   -.95083E-06   -.59804E-03
  22  Prefactor     .88361        .76708E-01    .37678E-06   -.49009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12639
  norm       = 0.793462
  Prefactor  = 0.0001
  Prefactor  = 16.27
  Prefactor  = 0.929696
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.7226
  Prefactor  = 0.0001
  norm       = 2.02098
  Prefactor  = 3.18436
  Prefactor  = 13.4564
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.485889
  norm       = 0.856014
  Prefactor  = 11.7626
  Prefactor  = 0.0001
  Prefactor  = 7.74915
  Prefactor  = 0.0001
  Normalizat = 1.18297
  Prefactor  = 0.88361
 **********
 **   18 **HESSE 
 **********

 FCN=   21479.03     FROM HESSE     STATUS=OK           352 CALLS     2424 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1264        6.0484        .19841E-03   -1.5302    
   2  norm          .79346        2.1834        .30101E-03   -1.5530    
   3  Prefactor     .10000E-03    7.8700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.270        10.206        .99316E-04   -1.4901    
   5  Prefactor     .92970        75.228        .68981E-02   -1.5515    
   6  norm          .10000E-03    1.9479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    21.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7226        2.4560        .20663E-03   -1.5378    
   9  Prefactor     .10000E-03    5.8850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0210        .41973        .41027E-04   -1.5424    
  11  Prefactor     3.1844        7.0224        .11354E-02   -1.5351    
  12  Prefactor     13.456        10.846        .10920E-03   -1.4974    
  13  Prefactor     .10000E-03    3.3765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.442        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .48589        1.0079        .17893E-02   -1.5569    
  16  norm          .85601        .48629        .76243E-03   -1.5523    
  17  Prefactor     11.763        13.702        .11689E-03   -1.5022    
  18  Prefactor     .10000E-03    4.5246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.7491        8.3245        .72005E-03   -1.5151    
  20  Prefactor     .10000E-03    .44149        .94527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1830        .11597        .25007E-03   -.87131    
  22  Prefactor     .88361        .89936E-01    .22492E-03   -.96716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.39077e-09
Minuit parameter uncertainties:
  1  6.04934
  2  2.18366
  3  8.29355e-05
  4  10.207
  5  16.7469
  6  1.79283e-06
  7  0.000176626
  8  2.45608
  9  1.73082e-05
  10  0.419726
  11  7.02417
  12  10.8477
  13  4.8297e-05
  14  0.000208671
  15  1.00792
  16  0.486289
  17  13.7053
  18  3.37705e-06
  19  8.32571
  20  3.89197e-07
  21  0.115997
  22  0.0899508
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.346e+01  1.085e+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:  8.836e-01  8.995e-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.183e+00  1.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.01
Ra Dec: 124.695 31.886
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 7.39e-06 +/- 5.96e-06

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) = 21479.0284451
delta logL = 0.00622719219609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21479.0256468
delta logL = 0.00902554246568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.444       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0503       1.0000          .0000       10.000    
     3 'Normalizat'    1.1848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88303       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   21479.03     FROM MIGRAD    STATUS=FAILED       105 CALLS      274 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.448        14.702        .10539E-03   -.56095E-05
   2  Index         2.0513        .66805        .13765E-01    .12495E-02
   3  Normalizat    1.1847        .11315        .24991E-03   -.24747E-04
   4  Prefactor     .88309        .89133E-01    .22498E-03    .10915E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   21479.03     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      349 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.448        14.702        .11366E-03   -1.4948    
   2  Index         2.0513        .66805        .50731E-03   -.63075    
   3  Normalizat    1.1847        .11315        .12042E-03   -.87076    
   4  Prefactor     .88309        .89133E-01    .95586E-04   -.96734    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21479.03     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      376 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.448        13.824        .42155E-05   -.64725E-05
   2  Index         2.0513        .62886        .27530E-02   -.19822E-05
   3  Normalizat    1.1847        .11306        .99964E-05   -.24565E-04
   4  Prefactor     .88309        .89188E-01    .89991E-05    .11117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4481
  Index      = 2.05126
  Normalizat = 1.18473
  Prefactor  = 0.883094
 **********
 **   18 **HESSE 
 **********

 FCN=   21479.03     FROM HESSE     STATUS=OK            25 CALLS      401 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.448        13.725        .84310E-06   -1.4948    
   2  Index         2.0513        .62202        .11012E-03   -.63075    
   3  Normalizat    1.1847        .11298        .19993E-05   -.87076    
   4  Prefactor     .88309        .89182E-01    .17998E-05   -.96734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38429e-12
Minuit parameter uncertainties:
  1  13.7281
  2  0.624509
  3  0.113007
  4  0.0891965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571825': 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) = 21479.0256446
delta logL = 0.00902768655578

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.445e+01  1.373e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.051e+00  6.245e-01  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:  8.831e-01  8.920e-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.185e+00  1.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.02
Ra Dec: 124.695 31.886
Photon Index (Free Index): 2.05 +/- 0.62
Photon Flux (Free Index): 1.27e-08 +/- 1.67e-08
Energy Flux (Free Index): 7.78e-06 +/- 7.21e-06

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/571825/cmap_HighResolution_243216001_243820801_4FGL_J0818.7+3153_weekly_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='7.78e-06', photon_flux_error='1.17e-08', dlogl='9.03e-03', energy_flux='7.39e-06', photon_flux2='1.27e-08', job_status='DONE', time_completed='2021-07-13 15:25:22.281917', photon_index_error2='0.62', photon_index2='2.05', ts='5.01', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='7.21e-06', EG='1.18', time_epoch_completed='1626215122.28', return_code='0', job_id='571825', GAL2='0.88', EG2='1.18', return_code2='0', energy_flux_error='5.96e-06', photon_flux_error2='1.67e-08', ts2='5.02', photon_index='2.13' WHERE bin_id='7' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:25:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 571825: <4FGL_J0818.7+3153_weekly_bin7> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin7> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Jul 12 07:41:11 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 07:45:55 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:45:55 2021
Terminated at Tue Jul 13 15:25:23 2021
Results reported at Tue Jul 13 15:25:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin7 124.695 31.8862 243216001 243820801 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 :                                   1284.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             25.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2036 sec.
    Turnaround time :                            114252 sec.

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

