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


Performing analysis on: 4FGL_J0114.8+1326_weekly_bin589
RA = 18.7119, Dec = 13.4342
tmin = 595209601, tmax = 595814401
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='114714', job_status='RUN', time_executed='2021-07-03 18:35:36.427094', time_epoch_executed='1625362536.43' WHERE source_name='4FGL J0114.8+1326' and cadence='weekly' and bin_id='589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114714

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/114714/ft1_4FGL_J0114.8+1326_weekly_bin589.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114714/ft1_4FGL_J0114.8+1326_weekly_bin589.fits outfile=/scratch/kocevski/114714/ft1_filteredMKT_4FGL_J0114.8+1326_weekly_bin589.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=595209601.0 tmax=595814401.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 5.84
user 5.53
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.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/114714/ft1_filteredMKT_4FGL_J0114.8+1326_weekly_bin589.fits evtable="EVENTS" outfile="/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.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.54
user 0.37
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits" evtable="EVENTS" scfile=/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits sctable="SC_DATA" outfile=/scratch/kocevski/114714/ltcube_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.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/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits
.....................!
real 28.04
user 27.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits sctable="SC_DATA" expcube=/scratch/kocevski/114714/ltcube_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.fits outfile=/scratch/kocevski/114714/expmap_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.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/114714/ltcube_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.fits
.....................!
real 193.33
user 186.90
sys 5.75

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0114.8+1326 @ 18.7119 13.4342

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits scfile=/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits outfile=/scratch/kocevski/114714/cmap_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.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=18.7119 yref=13.4342 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits scfile=/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits outfile=/scratch/kocevski/114714/cmap_HighResolution_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.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=18.7119 yref=13.4342 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/114714/Model_4FGL_J0114.8+1326_weekly_bin589.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/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits.....................!
real 39.98
user 38.43
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits', '/scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits', expMap='/scratch/kocevski/114714/expmap_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.fits', expCube='/scratch/kocevski/114714/ltcube_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/114714/Model_4FGL_J0114.8+1326_weekly_bin589.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0114.8+1326'

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  5.554e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/114714/ft1_filtered_4FGL_J0114.8+1326_weekly_bin589.fits
Spacecraft file(s): /scratch/kocevski/114714/ft2_4FGL_J0114.8+1326_weekly_bin589.fits
Exposure map: /scratch/kocevski/114714/expmap_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.fits
Exposure cube: /scratch/kocevski/114714/ltcube_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/114714/Model_4FGL_J0114.8+1326_weekly_bin589.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) = 2781.23719495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12351E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4582       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    82.569       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4775       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11757E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.3018       1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.426       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.620       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .41666       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3632       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2780.827     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2275 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.6275       -.19662E-07** at limit **
   2  Prefactor     .10000E-03    106.17        .98135E-05** at limit **
   3  Prefactor     .10000E-03    39.895        .17581E-04** at limit **
   4  norm          .10000E-03    3.9719        .25105E-07** at limit **
   5  Prefactor     4.4614        7.1200       -.15423E-05   -.22866E-03
   6  Prefactor     .10000E-03    34.409       -.64643E-05** at limit **
   7  norm          .10000E-03    9.8056       -.85626E-07** at limit **
   8  Prefactor     82.595        85.111        .22143E-04   -.55175E-05
   9  Prefactor     .10000E-03    63.229       -.14608E-04** at limit **
  10  norm          1.4780        2.8186        .51236E-07   -.16373E-03
  11  Prefactor     .10000E-03    80.012        .19893E-04** at limit **
  12  norm          9.3036        2.3094        .28901E-06   -.15401E-03
  13  Prefactor     42.446        39.975        .72131E-05    .72640E-05
  14  Prefactor     .10000E-03    8.3509        .14904E-06** at limit **
  15  Prefactor     27.593        45.568       -.21358E-04    .12498E-04
  16  Prefactor     .10000E-03    57.058       -.20245E-04** at limit **
  17  Prefactor     .10000E-03    141.62       -.28077E-04** at limit **
  18  norm          .10000E-03    67.822       -.62026E-05** at limit **
  19  Prefactor     .10000E-03    89.294        .33718E-04** at limit **
  20  Normalizat    .41590        .34868       -.98001E-05   -.10853E-03
  21  Prefactor     1.3633        .25200        .21683E-05   -.19753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.46138
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 82.5953
  Prefactor  = 0.0001
  norm       = 1.47797
  Prefactor  = 0.0001
  norm       = 9.30359
  Prefactor  = 42.446
  Prefactor  = 0.0001
  Prefactor  = 27.5935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.415898
  Prefactor  = 1.36331
 **********
 **   18 **HESSE 
 **********

 FCN=   2780.827     FROM HESSE     STATUS=OK           309 CALLS     2584 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6415        .12217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    110.19        .41234E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    40.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.9740        .10265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4614        7.1083        .16975E-03   -1.5285    
   6  Prefactor     .10000E-03    34.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.8074        .16130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     82.595        85.106        .22102E-03   -1.3888    
   9  Prefactor     .10000E-03    63.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4780        2.7731        .11748E-03   -1.5465    
  11  Prefactor     .10000E-03    80.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.3036        2.3084        .38038E-04   -1.5098    
  13  Prefactor     42.446        39.944        .61546E-04   -1.4404    
  14  Prefactor     .10000E-03    8.3589        .14883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.593        45.524        .76229E-04   -1.4657    
  16  Prefactor     .10000E-03    57.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    141.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    67.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    89.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .41590        .35208        .46658E-03   -1.1649    
  21  Prefactor     1.3633        .25877        .19724E-03   -.81444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69199e-10
Minuit parameter uncertainties:
  1  5.92195e-07
  2  7.78198e-05
  3  4.02149e-05
  4  2.06303e-06
  5  7.10961
  6  0.000164978
  7  7.7445e-07
  8  85.2319
  9  3.47665e-05
  10  2.77339
  11  4.16048e-05
  12  2.30841
  13  39.9691
  14  4.76207e-05
  15  45.5809
  16  1.03703e-05
  17  0.000515429
  18  1.09318e-05
  19  5.32039e-05
  20  0.353981
  21  0.259017
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  4.245e+01  3.997e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.363e+00  2.590e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  4.159e-01  3.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.68
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 1.03e-07
Energy Flux (Fixed Index): 5.90e-05 +/- 5.55e-05

TS (Fixed Index): 1.68
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 3.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/114714/likelihoodResults_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.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) = 2779.46566253
delta logL = 1.36148162913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2779.32391037
delta logL = 1.50323378245

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18497E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.9087       1.0000          .0000       10.000    
     3 'Normalizat'    .20119       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2779.324     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      462 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17926E-02    .24530E-01    .36311E-03** at limit **
   2  Index         6.9211        2.5437        .58922E-01    .74132E-04
   3  Normalizat    .20082        .12104        .15010        .45093E-04
   4  Prefactor     1.5017        .90275E-01    .42824E-01    .14707E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00179261
  Index      = 6.92115
  Normalizat = 0.200822
  Prefactor  = 1.5017
 **********
 **   18 **HESSE 
 **********

 FCN=   2779.324     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      495 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17926E-02    .36396E-01    .13613E-05   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.9211        3.1310        .25352E-02    .39437    
   3  Normalizat    .20082        .32868        .65899E-03   -1.2935    
   4  Prefactor     1.5017        .24148        .18926E-03   -.77492    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.71607e-08
Minuit parameter uncertainties:
  1  0.0156976
  2  3.4409
  3  0.331934
  4  0.241667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114714': 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) = 2779.32390545
delta logL = 1.50323870454

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.793e-03  1.570e-02  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  6.921e+00  3.441e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.502e+00  2.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  2.008e-01  3.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.21
Ra Dec: 18.712 13.434
Photon Index (Free Index): 6.92 +/- 3.44
Photon Flux (Free Index): 3.54e-07 +/- 2.14e-07
Energy Flux (Free Index): 4.24e-05 +/- 2.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/114714/cmap_HighResolution_595209601_595814401_4FGL_J0114.8+1326_weekly_bin589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-02', comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='4.24e-05', photon_flux_error='1.03e-07', dlogl='1.50e+00', energy_flux='5.90e-05', photon_flux2='3.54e-07', job_status='DONE', time_completed='2021-07-03 18:43:57.384214', photon_index_error2='3.44', photon_index2='6.92', ts='1.68', fit_tolerance='1e-08', GAL='1.36', photon_index_error='0.00', photon_flux_upper_limit='3.32e-07', energy_flux_error2='2.70e-05', EG='0.42', time_epoch_completed='1625363037.38', return_code='0', job_id='114714', GAL2='1.50', EG2='0.20', return_code2='102', energy_flux_error='5.55e-05', photon_flux_error2='2.14e-07', ts2='5.21', photon_index='2.11' WHERE bin_id='589' AND source_name='4FGL J0114.8+1326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 18:43:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 114714: <4FGL_J0114.8+1326_weekly_bin589> in cluster <slac> Done

Job <4FGL_J0114.8+1326_weekly_bin589> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Jul  3 18:35:24 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 18:35:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 18:35:25 2021
Terminated at Sat Jul  3 18:43:59 2021
Results reported at Sat Jul  3 18:43:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_weekly_bin589 18.7119 13.4342 595209601 595814401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0114.8+1326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   493.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             327.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   514 sec.
    Turnaround time :                            515 sec.

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

