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


Performing analysis on: 4FGL_J0818.7+3153_weekly_bin364
RA = 124.695, Dec = 31.8862
tmin = 459129601, tmax = 459734401
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='574178', job_status='RUN', time_executed='2021-07-13 14:57:03.377585', time_epoch_executed='1626213423.38' WHERE source_name='4FGL J0818.7+3153' and cadence='weekly' and bin_id='364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/574178

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/574178/ft1_4FGL_J0818.7+3153_weekly_bin364.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/574178/ft1_4FGL_J0818.7+3153_weekly_bin364.fits outfile=/scratch/kocevski/574178/ft1_filteredMKT_4FGL_J0818.7+3153_weekly_bin364.fits ra=124.695 dec=31.8862 rad=12.0 tmin=459129601.0 tmax=459734401.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.86
user 7.48
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/574178/ft1_filtered_4FGL_J0818.7+3153_weekly_bin364.fits" evtable="EVENTS" scfile=/scratch/kocevski/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits sctable="SC_DATA" outfile=/scratch/kocevski/574178/ltcube_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.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/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits
.....................!
real 33.14
user 32.65
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/574178/ft1_filtered_4FGL_J0818.7+3153_weekly_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits sctable="SC_DATA" expcube=/scratch/kocevski/574178/ltcube_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.fits outfile=/scratch/kocevski/574178/expmap_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.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/574178/ltcube_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.fits
.....................!
real 192.50
user 187.19
sys 4.64

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/574178/ft1_filtered_4FGL_J0818.7+3153_weekly_bin364.fits scfile=/scratch/kocevski/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits outfile=/scratch/kocevski/574178/cmap_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.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.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/574178/ft1_filtered_4FGL_J0818.7+3153_weekly_bin364.fits scfile=/scratch/kocevski/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits outfile=/scratch/kocevski/574178/cmap_HighResolution_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.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.61
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/574178/ft1_filtered_4FGL_J0818.7+3153_weekly_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/574178/ft2_4FGL_J0818.7+3153_weekly_bin364.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/574178/Model_4FGL_J0818.7+3153_weekly_bin364.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/574178/ft1_filtered_4FGL_J0818.7+3153_weekly_bin364.fits....................!
real 142.92
user 141.31
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    9.7688       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13642       1.0000         .10000E-03   10000.    
     6 'norm      '    2.8968       1.0000         .10000E-03   10000.    
     7 'norm      '    263.78       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.214       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5170       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.947       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.267       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4028       1.0000         .10000E-03   10000.    
    16 'norm      '    .11322E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.556       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.2038       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20852E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0441       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1989       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=   16875.01     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2808 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4155        .90712E-02** at limit **
   2  norm          9.7757        3.7591        .32053E-02    .83946E-03
   3  Prefactor     .10000E-03    17.855        .90712E-02** at limit **
   4  Prefactor     .10000E-03    6.9605        .90712E-02** at limit **
   5  Prefactor     .10414E-03    11.784        .15004    ** at limit **
   6  norm          2.8983        6.6397        .59688E-02    .95263E-03
   7  norm          263.79        112.94        .62400E-03   -.33494E-03
   8  Prefactor     .10000E-03    1.4546        .90712E-02** at limit **
   9  Prefactor     11.216        14.845        .29909E-02    .18229E-02
  10  norm          1.5170        .44168        .86758E-02    .20543E-03
  11  Prefactor     .10000E-03    6.1400        .90712E-02** at limit **
  12  Prefactor     25.947        18.150        .19661E-02   -.19202E-03
  13  Prefactor     .10000E-03    5.5339        .90712E-02** at limit **
  14  Prefactor     11.252        15.792        .29838E-02    .70812E-03
  15  Prefactor     1.4030        1.9571        .91553E-02    .24847E-02
  16  norm          .10000E-03    .32995        .40814E-01** at limit **
  17  Prefactor     14.558        16.205        .26245E-02    .35397E-03
  18  Prefactor     8.1965        8.5042        .34993E-02    .75551E-03
  19  Prefactor     .10001E-03    13.579        .90712E-02** at limit **
  20  Prefactor     .10000E-03    1.2288        .45200E-01** at limit **
  21  Normalizat    1.0442        .12694        .67997E-01    .40433E-03
  22  Prefactor     1.1988        .97518E-01    .50697E-01    .23713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.77568
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010414
  norm       = 2.89828
  norm       = 263.786
  Prefactor  = 0.0001
  Prefactor  = 11.2155
  norm       = 1.51698
  Prefactor  = 0.0001
  Prefactor  = 25.9471
  Prefactor  = 0.000100001
  Prefactor  = 11.2518
  Prefactor  = 1.40297
  norm       = 0.0001
  Prefactor  = 14.5583
  Prefactor  = 8.1965
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Normalizat = 1.0442
  Prefactor  = 1.19879
 **********
 **   18 **HESSE 
 **********

 FCN=   16875.01     FROM HESSE     STATUS=OK           350 CALLS     3158 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.7757        3.7558        .12821E-03   -1.5083    
   3  Prefactor     .10000E-03    17.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10414E-03    12.296        .14422       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.8983        6.6258        .23875E-03   -1.5367    
   7  norm          263.79        113.04        .24960E-04   -1.2445    
   8  Prefactor     .10000E-03    1.4846        .15283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.216        14.839        .11964E-03   -1.5038    
  10  norm          1.5170        .43878        .44672E-04   -1.5462    
  11  Prefactor     .10000E-03    6.1526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.947        18.160        .78643E-04   -1.4689    
  13  Prefactor     .10000E-03    5.5806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.252        14.852        .11935E-03   -1.5037    
  15  Prefactor     1.4030        1.9285        .20104E-03   -1.5471    
  16  norm          .10000E-03    1.6082        .12911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.558        16.182        .10498E-03   -1.4945    
  18  Prefactor     8.1965        8.2785        .13997E-03   -1.5135    
  19  Prefactor     .10001E-03    13.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.407        .27893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0442        .14779        .30082E-03   -.91564    
  22  Prefactor     1.1988        .11449        .22413E-03   -.86369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.3977e-09
Minuit parameter uncertainties:
  1  2.77118e-05
  2  3.75591
  3  6.35371e-06
  4  9.55467e-05
  5  0.014272
  6  6.62746
  7  113.129
  8  2.44163e-05
  9  14.8438
  10  0.438779
  11  7.25273e-05
  12  18.1639
  13  0.000110233
  14  14.8567
  15  1.92855
  16  2.22515e-05
  17  16.1868
  18  8.2797
  19  0.000637397
  20  0.000117191
  21  0.147844
  22  0.114511
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.595e+01  1.816e+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.199e+00  1.145e-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.044e+00  1.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.78
Ra Dec: 124.695 31.886
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.80e-08 +/- 1.96e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 9.98e-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) = 16874.3713305
delta logL = 0.640150676947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16874.3130278
delta logL = 0.698453373032

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.031       1.0000         .10000E-03   10000.    
     2 'Index     '    .99206       1.0000          .0000       10.000    
     3 'Normalizat'    1.0595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2014       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=   16874.31     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      250 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.031        14.494        .27741E-02   -.19417E-02
   2  Index         .99184        .58755        .46168       -.13589E-03
   3  Normalizat    1.0595        .12270        .67558E-01    .36887E-04
   4  Prefactor     1.2014        .96429E-01    .50668E-01    .59929E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0306
  Index      = 0.991837
  Normalizat = 1.05953
  Prefactor  = 1.20135
 **********
 **   18 **HESSE 
 **********

 FCN=   16874.31     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.031        23.617        .11096E-03   -1.4986    
   2  Index         .99184        .88891        .21903E-01   -.93002    
   3  Normalizat    1.0595        .14231        .29888E-03   -.91062    
   4  Prefactor     1.2014        .11343        .22400E-03   -.86290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78741e-08
Minuit parameter uncertainties:
  1  23.6337
  2  0.902566
  3  0.14236
  4  0.113456
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/574178': 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) = 16874.3130276
delta logL = 0.698453595443

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.303e+01  2.363e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  9.918e-01  9.026e-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:  1.201e+00  1.135e-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.060e+00  1.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.16
Ra Dec: 124.695 31.886
Photon Index (Free Index): 0.99 +/- 0.90
Photon Flux (Free Index): 2.52e-09 +/- 4.27e-09
Energy Flux (Free Index): 3.72e-05 +/- 4.79e-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/574178/cmap_HighResolution_459129601_459734401_4FGL_J0818.7+3153_weekly_bin364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.80e-08', energy_flux2='3.72e-05', photon_flux_error='1.96e-08', dlogl='6.98e-01', energy_flux='1.43e-05', photon_flux2='2.52e-09', job_status='DONE', time_completed='2021-07-13 15:23:50.871515', photon_index_error2='0.90', photon_index2='0.99', ts='5.78', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='4.79e-05', EG='1.04', time_epoch_completed='1626215030.87', return_code='0', job_id='574178', GAL2='1.20', EG2='1.06', return_code2='0', energy_flux_error='9.98e-06', photon_flux_error2='4.27e-09', ts2='7.16', photon_index='2.13' WHERE bin_id='364' AND source_name='4FGL J0818.7+3153' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 13 15:23:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0127>
Subject: Job 574178: <4FGL_J0818.7+3153_weekly_bin364> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_weekly_bin364 124.695 31.8862 459129601 459734401 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 :                                   1199.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             50.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2070 sec.
    Turnaround time :                            113759 sec.

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

