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 98 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 = 17158
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin155
RA = 124.695, Dec = 31.8862
tmin = 332726401, tmax = 333331201
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='572059', job_status='RUN', time_executed='2021-07-13 15:00:43.593469', time_epoch_executed='1626213643.59' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572059

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572059/ft1_4FGL_J0818.7+3153_weekly_bin155.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572059/ft1_4FGL_J0818.7+3153_weekly_bin155.fits outfile=/scratch/kocevski/572059/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin155.fits ra=124.695 dec=31.8862 rad=12.0 tmin=332726401.0 tmax=333331201.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.47
user 7.68
sys 0.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572059/ft1_filtered_4FGL_J0818.7+3153_weekly_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/572059/ltcube_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.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/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits
.....................!
real 29.35
user 28.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572059/ft1_filtered_4FGL_J0818.7+3153_weekly_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/572059/ltcube_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.fits outfile=/scratch/kocevski/572059/expmap_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.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/572059/ltcube_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.fits
.....................!
real 192.16
user 186.69
sys 4.98

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/572059/ft1_filtered_4FGL_J0818.7+3153_weekly_bin155.fits scfile=/scratch/kocevski/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits outfile=/scratch/kocevski/572059/cmap_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572059/ft1_filtered_4FGL_J0818.7+3153_weekly_bin155.fits scfile=/scratch/kocevski/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits outfile=/scratch/kocevski/572059/cmap_HighResolution_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572059/ft1_filtered_4FGL_J0818.7+3153_weekly_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/572059/ft2_4FGL_J0818.7+3153_weekly_bin155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572059/Model_4FGL_J0818.7+3153_weekly_bin155.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/572059/ft1_filtered_4FGL_J0818.7+3153_weekly_bin155.fits.....................!
real 125.96
user 124.36
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .40887E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10836E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.558       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.244       1.0000         .10000E-03   10000.    
     6 'norm      '    8.2788       1.0000         .10000E-03   10000.    
     7 'norm      '    91.015       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .94011       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.272       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11358E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8809       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.953       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3555       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7230       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.746       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7867       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24887       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6278       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95324       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0835       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=   14497.25     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2520 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3176        .11149E-07** at limit **
   2  norm          .12102E-03    1.1468       -.86134E-06** at limit **
   3  Prefactor     .10001E-03    63.814       -.30423E-05** at limit **
   4  Prefactor     34.639        15.607        .14786E-05    .11102E-02
   5  Prefactor     17.287        20.780        .13122E-05    .54979E-04
   6  norm          8.2779        7.2695        .75284E-07    .11258E-03
   7  norm          91.000        89.165        .15006E-07   -.63439E-04
   8  Prefactor     4.4194        3.0754        .53401E-07    .15979E-04
   9  Prefactor     .10000E-03    11.893       -.75129E-07** at limit **
  10  norm          .94010        .38765        .15174E-07    .23709E-03
  11  Prefactor     28.271        17.440        .57501E-07   -.28012E-04
  12  Prefactor     .10003E-03    5.4311        .14916E-05** at limit **
  13  Prefactor     8.8800        10.765       -.42966E-06    .35502E-03
  14  Prefactor     12.944        20.728       -.33880E-06    .61610E-04
  15  Prefactor     3.3551        2.4817        .17719E-06    .12400E-03
  16  norm          1.7230        1.0777       -.97624E-07    .98926E-04
  17  Prefactor     16.742        14.675        .96503E-08    .58723E-04
  18  Prefactor     3.7861        6.0585        .29925E-05   -.25252E-03
  19  Prefactor     .23246        3.7286        .71479E-06   -.27715E-03
  20  Prefactor     3.6276        2.1434        .16566E-07   -.15339E-04
  21  Normalizat    .95339        .13153       -.40602E-06    .59761E-03
  22  Prefactor     1.0835        .10355        .27685E-06    .76552E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000121024
  Prefactor  = 0.00010001
  Prefactor  = 34.6392
  Prefactor  = 17.2871
  norm       = 8.27794
  norm       = 90.9998
  Prefactor  = 4.41943
  Prefactor  = 0.0001
  norm       = 0.940099
  Prefactor  = 28.2711
  Prefactor  = 0.000100029
  Prefactor  = 8.88
  Prefactor  = 12.9435
  Prefactor  = 3.3551
  norm       = 1.72301
  Prefactor  = 16.7421
  Prefactor  = 3.78614
  Prefactor  = 0.232465
  Prefactor  = 3.62761
  Normalizat = 0.953386
  Prefactor  = 1.08346
 **********
 **   18 **HESSE 
 **********

 FCN=   14497.25     FROM HESSE     STATUS=OK           360 CALLS     2880 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3259        .17899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .12102E-03    3.5376        .36275E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    65.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.639        17.076        .68169E-04   -1.4530    
   5  Prefactor     17.287        21.137        .96448E-04   -1.4876    
   6  norm          8.2779        7.2696        .13933E-03   -1.5132    
   7  norm          91.000        89.286        .42121E-04   -1.3797    
   8  Prefactor     4.4194        3.0612        .16490E-03   -1.5287    
   9  Prefactor     .10000E-03    11.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .94010        .38455        .44966E-04   -1.5514    
  11  Prefactor     28.271        17.435        .75347E-04   -1.4644    
  12  Prefactor     .10003E-03    30.823        .51312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.8800        10.646        .13450E-03   -1.5112    
  14  Prefactor     12.944        20.474        .11129E-03   -1.4988    
  15  Prefactor     3.3551        2.4527        .13612E-03   -1.5342    
  16  norm          1.7230        1.0580        .78940E-04   -1.5445    
  17  Prefactor     16.742        14.663        .97874E-04   -1.4889    
  18  Prefactor     3.7861        6.1079        .10372E-02   -1.5319    
  19  Prefactor     .23246        51.485        .43596E-02   -1.5612    
  20  Prefactor     3.6276        2.1427        .13145E-03   -1.5327    
  21  Normalizat    .95339        .14925        .27727E-03   -.94609    
  22  Prefactor     1.0835        .11840        .21736E-03   -.89997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2185e-09
Minuit parameter uncertainties:
  1  1.25821e-06
  2  0.0172492
  3  0.0016559
  4  17.0786
  5  21.1458
  6  7.27039
  7  89.4184
  8  3.0613
  9  1.42333e-05
  10  0.384552
  11  17.4377
  12  0.00189035
  13  10.6485
  14  20.4847
  15  2.45277
  16  1.05801
  17  14.6666
  18  6.10894
  19  6.9236
  20  2.14272
  21  0.149316
  22  0.118424
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.890e-03  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.083e+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:  9.534e-01  1.493e-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.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572059/likelihoodResults_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.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) = 14497.2525908
delta logL = -0.000152163542225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14497.252438
delta logL = 5.99953636993e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79700E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0022       1.0000          .0000       10.000    
     3 'Normalizat'    .95360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0833       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=   14496.01     FROM MIGRAD    STATUS=CONVERGED    142 CALLS      321 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6519        204.06        .10452E-01   -.73790E-03
   2  Index         .29179        9.5295        .25776E-01    .28481E-04
   3  Normalizat    .94541        .10369        .45583E-01    .15444E-04
   4  Prefactor     1.0883        .86542E-01    .38259E-01   -.34228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.65191
  Index      = 0.291795
  Normalizat = 0.945405
  Prefactor  = 1.08829
 **********
 **   18 **HESSE 
 **********

 FCN=   14496.01     FROM HESSE     STATUS=OK            31 CALLS      352 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6519        7.4721        .21715E-03   -1.5382    
   2  Index         .29179        1.0031        .10310E-02   -1.2275    
   3  Normalizat    .94541        .14022        .27820E-03   -.94883    
   4  Prefactor     1.0883        .11706        .21693E-03   -.89842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05906e-11
Minuit parameter uncertainties:
  1  7.47469
  2  1.07462
  3  0.140274
  4  0.117091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572059': 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) = 14496.0107605
delta logL = 1.24167807509

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.652e+00  7.475e+00  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.918e-01  1.075e+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.088e+00  1.171e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  9.454e-01  1.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 124.695 31.886
Photon Index (Free Index): 0.29 +/- 1.07
Photon Flux (Free Index): 1.31e-09 +/- 1.51e-09
Energy Flux (Free Index): 5.47e-05 +/- 7.11e-05

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/572059/cmap_HighResolution_332726401_333331201_4FGL_J0818.7+3153_weekly_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-03', comment='SUCCESS', energy_flux2='5.47e-05', dlogl='1.24e+00', photon_flux2='1.31e-09', job_status='DONE', time_completed='2021-07-13 15:28:29.318263', photon_index_error2='1.07', photon_index2='0.29', ts='-0.00', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='3.10e-08', energy_flux_error2='7.11e-05', EG='0.95', time_epoch_completed='1626215309.32', return_code='0', job_id='572059', GAL2='1.09', EG2='0.95', return_code2='0', photon_flux_error2='1.51e-09', ts2='2.49', photon_index='2.13' WHERE bin_id='155' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:28:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 572059: <4FGL_J0818.7+3153_weekly_bin155> in cluster <slac> Done

Job <4FGL_J0818.7+3153_weekly_bin155> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Jul 12 07:41:29 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 13 14:56:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 13 14:56:17 2021
Terminated at Tue Jul 13 15:28:40 2021
Results reported at Tue Jul 13 15:28:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin155 124.695 31.8862 332726401 333331201 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 :                                   1235.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             245.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1942 sec.
    Turnaround time :                            114431 sec.

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

