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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin468
RA = 124.695, Dec = 31.8862
tmin = 522028801, tmax = 522633601
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='574330', job_status='RUN', time_executed='2021-07-13 14:58:38.720240', time_epoch_executed='1626213518.72' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574330

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574330/ft1_4FGL_J0818.7+3153_weekly_bin468.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574330/ft1_4FGL_J0818.7+3153_weekly_bin468.fits outfile=/scratch/kocevski/574330/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin468.fits ra=124.695 dec=31.8862 rad=12.0 tmin=522028801.0 tmax=522633601.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 8.29
user 7.56
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574330/ft1_filtered_4FGL_J0818.7+3153_weekly_bin468.fits" evtable="EVENTS" scfile=/scratch/kocevski/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits sctable="SC_DATA" outfile=/scratch/kocevski/574330/ltcube_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.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/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits
.....................!
real 30.85
user 29.94
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574330/ft1_filtered_4FGL_J0818.7+3153_weekly_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits sctable="SC_DATA" expcube=/scratch/kocevski/574330/ltcube_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.fits outfile=/scratch/kocevski/574330/expmap_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.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/574330/ltcube_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.fits
.....................!
real 191.28
user 186.45
sys 4.03

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/574330/ft1_filtered_4FGL_J0818.7+3153_weekly_bin468.fits scfile=/scratch/kocevski/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits outfile=/scratch/kocevski/574330/cmap_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.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.78
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/574330/ft1_filtered_4FGL_J0818.7+3153_weekly_bin468.fits scfile=/scratch/kocevski/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits outfile=/scratch/kocevski/574330/cmap_HighResolution_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.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.64
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/574330/ft1_filtered_4FGL_J0818.7+3153_weekly_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/574330/ft2_4FGL_J0818.7+3153_weekly_bin468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/574330/Model_4FGL_J0818.7+3153_weekly_bin468.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/574330/ft1_filtered_4FGL_J0818.7+3153_weekly_bin468.fits.....................!
real 148.29
user 145.77
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    7.3847       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.020       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.597       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    335.32       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .58616       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5034       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4338       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.911       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .45582       1.0000         .10000E-03   10000.    
    16 'norm      '    .48537       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.469       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.056       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .83435       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2442       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0511       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=   16943.96     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2385 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9929        .90712E-02** at limit **
   2  norm          7.3843        3.7295        .36898E-02    .13093E-02
   3  Prefactor     32.020        24.260        .17703E-02   -.30944E-03
   4  Prefactor     12.597        14.061        .28215E-02    .18128E-03
   5  Prefactor     .10000E-03    10.466        .90712E-02** at limit **
   6  norm          .10000E-03    1.6052        .90712E-02** at limit **
   7  norm          335.32        117.64        .55549E-03    .73912E-03
   8  Prefactor     .10000E-03    1.0141        .90712E-02** at limit **
   9  Prefactor     .10000E-03    5.8505        .90712E-02** at limit **
  10  norm          .58612        .27239        .10118E-01    .18407E-03
  11  Prefactor     .10000E-03    7.8224        .90712E-02** at limit **
  12  Prefactor     9.5024        15.117        .32499E-02    .12319E-02
  13  Prefactor     5.4350        6.5948        .43096E-02    .25429E-03
  14  Prefactor     29.911        16.431        .18315E-02    .41652E-03
  15  Prefactor     .45621        1.3294        .37762E-01    .28276E-02
  16  norm          .48540        .85618        .11211E-02    .58719E-03
  17  Prefactor     16.468        15.421        .24673E-02    .10854E-02
  18  Prefactor     20.056        8.6871        .22359E-02    .26119E-03
  19  Prefactor     .10000E-03    2.1077        .90712E-02** at limit **
  20  Prefactor     .83450        1.8991        .12567E-01    .32111E-02
  21  Normalizat    1.2442        .12567        .61316E-01    .92802E-04
  22  Prefactor     1.0512        .98034E-01    .39844E-01    .59695E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.38431
  Prefactor  = 32.0197
  Prefactor  = 12.597
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 335.324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.58612
  Prefactor  = 0.0001
  Prefactor  = 9.50238
  Prefactor  = 5.43496
  Prefactor  = 29.9107
  Prefactor  = 0.456215
  norm       = 0.4854
  Prefactor  = 16.4685
  Prefactor  = 20.0557
  Prefactor  = 0.0001
  Prefactor  = 0.834503
  Normalizat = 1.24421
  Prefactor  = 1.05116
 **********
 **   18 **HESSE 
 **********

 FCN=   16943.96     FROM HESSE     STATUS=OK           342 CALLS     2727 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.3843        3.7144        .14759E-03   -1.5164    
   3  Prefactor     32.020        24.228        .70811E-04   -1.4576    
   4  Prefactor     12.597        14.020        .11286E-03   -1.4998    
   5  Prefactor     .10000E-03    10.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.6200        .16104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          335.32        117.68        .11110E-03   -1.2025    
   8  Prefactor     .10000E-03    1.0391        .25576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .58612        .27274        .44509E-04   -1.5555    
  11  Prefactor     .10000E-03    7.8402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.5024        15.123        .13000E-03   -1.5091    
  13  Prefactor     5.4350        6.4559        .17238E-03   -1.5242    
  14  Prefactor     29.911        16.399        .73258E-04   -1.4614    
  15  Prefactor     .45621        1.7705        .22127E-02   -1.5573    
  16  norm          .48540        .85073        .44844E-04   -1.5569    
  17  Prefactor     16.468        15.404        .98693E-04   -1.4896    
  18  Prefactor     20.056        8.6761        .89436E-04   -1.4812    
  19  Prefactor     .10000E-03    2.1111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .83450        1.8613        .26180E-03   -1.5525    
  21  Normalizat    1.2442        .14516        .27120E-03   -.85247    
  22  Prefactor     1.0512        .11369        .23545E-03   -.91043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32919e-09
Minuit parameter uncertainties:
  1  1.72134e-05
  2  3.71448
  3  24.2351
  4  14.0239
  5  5.6546e-05
  6  1.96997e-06
  7  117.768
  8  2.52801e-06
  9  1.98918e-05
  10  0.272741
  11  2.36019e-05
  12  15.1288
  13  6.45672
  14  16.4011
  15  1.77072
  16  0.850754
  17  15.4081
  18  8.6766
  19  1.04582e-05
  20  1.86143
  21  0.145206
  22  0.113714
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  9.502e+00  1.513e+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.051e+00  1.137e-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.244e+00  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/574330/likelihoodResults_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.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): 0
logL (Free Index) = 16942.9939475
delta logL = 0.970381996627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16942.9597289
delta logL = 1.00460059184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4140       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3856       1.0000          .0000       10.000    
     3 'Normalizat'    1.1978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0716       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=   16942.96     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      270 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4062        13.810        .91038E-02    .12369E-02
   2  Index         3.3874        1.7291        .82965E-01    .45053E-03
   3  Normalizat    1.1979        .33257E-01    .62317E-01   -.75138E-04
   4  Prefactor     1.0715        .26369E-01    .38784E-01   -.22332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.40616
  Index      = 3.38743
  Normalizat = 1.19786
  Prefactor  = 1.07155
 **********
 **   18 **HESSE 
 **********

 FCN=   16942.96     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4062        32.325        .10227E-03   -1.5471    
   2  Index         3.3874        3.1526        .51404E-02   -.32839    
   3  Normalizat    1.1979        .12690        .27564E-03   -.86669    
   4  Prefactor     1.0715        .98730E-01    .23345E-03   -.90381    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03054e-06
Minuit parameter uncertainties:
  1  13.4917
  2  3.45011
  3  0.12693
  4  0.098747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574330': 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) = 16942.9597268
delta logL = 1.00460272822

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.406e+00  1.349e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  3.387e+00  3.450e+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.072e+00  9.875e-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.198e+00  1.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 124.695 31.886
Photon Index (Free Index): 3.39 +/- 3.45
Photon Flux (Free Index): 4.68e-08 +/- 3.84e-08
Energy Flux (Free Index): 8.03e-06 +/- 7.08e-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/574330/cmap_HighResolution_522028801_522633601_4FGL_J0818.7+3153_weekly_bin468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-03', comment='SUCCESS', energy_flux2='8.03e-06', dlogl='1.00e+00', photon_flux2='4.68e-08', job_status='DONE', time_completed='2021-07-13 15:22:46.316643', photon_index_error2='3.45', photon_index2='3.39', ts='0.53', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='4.98e-08', energy_flux_error2='7.08e-06', EG='1.24', time_epoch_completed='1626214966.32', return_code='0', job_id='574330', GAL2='1.07', EG2='1.20', return_code2='102', photon_flux_error2='3.84e-08', ts2='2.62', photon_index='2.13' WHERE bin_id='468' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:22:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0013>
Subject: Job 574330: <4FGL_J0818.7+3153_weekly_bin468> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin468> 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) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 12 07:55:54 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:54 2021
Terminated at Tue Jul 13 15:22:47 2021
Results reported at Tue Jul 13 15:22:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin468 124.695 31.8862 522028801 522633601 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 :                                   1327.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             12.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1870 sec.
    Turnaround time :                            113679 sec.

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

