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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin469
RA = 124.695, Dec = 31.8862
tmin = 522633601, tmax = 523238401
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='574331', job_status='RUN', time_executed='2021-07-13 14:58:32.064669', time_epoch_executed='1626213512.06' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574331

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574331/ft1_4FGL_J0818.7+3153_weekly_bin469.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574331/ft1_4FGL_J0818.7+3153_weekly_bin469.fits outfile=/scratch/kocevski/574331/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin469.fits ra=124.695 dec=31.8862 rad=12.0 tmin=522633601.0 tmax=523238401.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.85
user 7.53
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/574331/ltcube_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.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/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits
.....................!
real 29.85
user 29.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/574331/ltcube_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits outfile=/scratch/kocevski/574331/expmap_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.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/574331/ltcube_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits
.....................!
real 192.51
user 186.13
sys 5.21

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/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits scfile=/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits outfile=/scratch/kocevski/574331/cmap_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=124.695 yref=31.8862 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits scfile=/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits outfile=/scratch/kocevski/574331/cmap_HighResolution_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=124.695 yref=31.8862 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/574331/Model_4FGL_J0818.7+3153_weekly_bin469.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/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits.....................!
real 146.54
user 144.24
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits', '/scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits', expMap='/scratch/kocevski/574331/expmap_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits', expCube='/scratch/kocevski/574331/ltcube_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/574331/Model_4FGL_J0818.7+3153_weekly_bin469.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/574331/ft1_filtered_4FGL_J0818.7+3153_weekly_bin469.fits
Spacecraft file(s): /scratch/kocevski/574331/ft2_4FGL_J0818.7+3153_weekly_bin469.fits
Exposure map: /scratch/kocevski/574331/expmap_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits
Exposure cube: /scratch/kocevski/574331/ltcube_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/574331/Model_4FGL_J0818.7+3153_weekly_bin469.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 17045.1797269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10365E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.588       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.602       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.1056       1.0000         .10000E-03   10000.    
     7 'norm      '    22.416       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39408       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .87973       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11571E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.523       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7048       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6342       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.042       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5386       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1882       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1611       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=   17045.10     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2114 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5956        .19514E-06** at limit **
   2  norm          .10000E-03    1.4610        .25089E-07** at limit **
   3  Prefactor     25.587        23.198        .14963E-06   -.80025E-05
   4  Prefactor     19.602        13.629        .68951E-07   -.98194E-05
   5  Prefactor     .10000E-03    7.5689        .82207E-08** at limit **
   6  norm          8.1061        7.3296        .16051E-06   -.21054E-05
   7  norm          22.336        71.708       -.12984E-05   -.38550E-04
   8  Prefactor     .39706        1.2661        .11158E-06   -.77728E-04
   9  Prefactor     .10000E-03    9.1150        .83802E-07** at limit **
  10  norm          .87975        .34109       -.14884E-07   -.21634E-03
  11  Prefactor     .10000E-03    70.528        .73097E-06** at limit **
  12  Prefactor     .10000E-03    23.047        .30593E-06** at limit **
  13  Prefactor     .10000E-03    2.7087       -.16123E-08** at limit **
  14  Prefactor     10.525        15.532       -.71557E-07   -.12231E-04
  15  Prefactor     2.7048        1.7805        .12569E-06   -.25231E-04
  16  norm          1.6339        1.0360       -.51170E-07   -.18343E-03
  17  Prefactor     .10000E-03    4.4373        .26367E-07** at limit **
  18  Prefactor     11.043        8.3599        .17940E-05    .97094E-04
  19  Prefactor     .10000E-03    11.139        .18879E-06** at limit **
  20  Prefactor     4.5386        2.4534        .73220E-07    .17133E-05
  21  Normalizat    1.1883        .13536       -.14379E-05    .40134E-04
  22  Prefactor     1.1610        .10323        .69260E-06   -.25705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.5865
  Prefactor  = 19.6024
  Prefactor  = 0.0001
  norm       = 8.10609
  norm       = 22.3363
  Prefactor  = 0.397057
  Prefactor  = 0.0001
  norm       = 0.879749
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5248
  Prefactor  = 2.70478
  norm       = 1.63394
  Prefactor  = 0.0001
  Prefactor  = 11.0428
  Prefactor  = 0.0001
  Prefactor  = 4.53857
  Normalizat = 1.18827
  Prefactor  = 1.16097
 **********
 **   18 **HESSE 
 **********

 FCN=   17045.10     FROM HESSE     STATUS=OK           344 CALLS     2458 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.8619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4806        .15354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.587        23.178        .79193E-04   -1.4696    
   4  Prefactor     19.602        13.606        .90465E-04   -1.4822    
   5  Prefactor     .10000E-03    7.5757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.1061        7.3322        .14082E-03   -1.5138    
   7  norm          22.336        72.000        .84602E-04   -1.4762    
   8  Prefactor     .39706        4.6186        .24422E-02   -1.5582    
   9  Prefactor     .10000E-03    9.1324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .87975        .33689        .45453E-04   -1.5520    
  11  Prefactor     .10000E-03    72.373        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.7188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.525        15.417        .12351E-03   -1.5059    
  15  Prefactor     2.7048        1.7656        .13397E-03   -1.5379    
  16  norm          1.6339        1.0153        .92404E-04   -1.5452    
  17  Prefactor     .10000E-03    4.4426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.043        8.4161        .60283E-03   -1.5043    
  19  Prefactor     .10000E-03    11.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5386        2.4524        .14593E-03   -1.5282    
  21  Normalizat    1.1883        .15218        .28880E-03   -.86966    
  22  Prefactor     1.1610        .11835        .23114E-03   -.87541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73759e-08
Minuit parameter uncertainties:
  1  4.9218e-06
  2  1.64806e-06
  3  23.1865
  4  13.6079
  5  1.21007e-06
  6  7.33305
  7  72.2822
  8  2.7083
  9  7.39139e-06
  10  0.336896
  11  9.77697e-05
  12  2.08282e-05
  13  1.25678e-07
  14  15.4231
  15  1.76567
  16  1.01527
  17  1.61293e-06
  18  8.41697
  19  1.62011e-05
  20  2.4525
  21  0.152235
  22  0.118375
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.083e-05  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.161e+00  1.184e-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.188e+00  1.522e-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.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/574331/likelihoodResults_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.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) = 17045.0970501
delta logL = -0.000201573035156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17045.0970501
delta logL = -0.000201560185815

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96355E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1347       1.0000          .0000       10.000    
     3 'Normalizat'    1.1883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1610       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=   17045.10     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      210 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    97.527        .90713E-02** at limit **
   2  Index         2.1163        5.3053        .50000        .59245E-05
   3  Normalizat    1.1883        .67291E-02    .65284E-01    .70593E-04
   4  Prefactor     1.1610        .53548E-02    .52280E-01    .58156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.11626
  Normalizat = 1.18827
  Prefactor  = 1.16097
 **********
 **   18 **HESSE 
 **********

 FCN=   17045.10     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.717        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1163        6.0529        .50000       -.61474    
   3  Normalizat    1.1883        .14661        .28880E-03   -.86966    
   4  Prefactor     1.1610        .11675        .23114E-03   -.87541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.22814e-11
Minuit parameter uncertainties:
  1  0.00013585
  2  4.16875
  3  0.146658
  4  0.116777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574331': 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) = 17045.0968485
delta logL = 2.79978848994e-08

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.359e-04  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.116e+00  4.169e+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.161e+00  1.168e-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.188e+00  1.467e-01  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/574331/cmap_HighResolution_522633601_523238401_4FGL_J0818.7+3153_weekly_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.74e-03', job_status='DONE', photon_flux_upper_limit='3.62e-08', time_completed='2021-07-13 15:27:35.434214', job_id='574331', GAL2='1.16', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1626215255.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='469' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:27:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 574331: <4FGL_J0818.7+3153_weekly_bin469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin469 124.695 31.8862 522633601 523238401 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 :                                   1234.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             50.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2153 sec.
    Turnaround time :                            113970 sec.

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

