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


Performing analysis on: 4FGL_J0114.8+1326_weekly_bin158
RA = 18.7119, Dec = 13.4342
tmin = 334540801, tmax = 335145601
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='110121', job_status='RUN', time_executed='2021-07-03 18:16:40.192791', time_epoch_executed='1625361400.19' WHERE source_name='4FGL J0114.8+1326' and cadence='weekly' and bin_id='158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110121

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110121/ft1_4FGL_J0114.8+1326_weekly_bin158.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110121/ft1_4FGL_J0114.8+1326_weekly_bin158.fits outfile=/scratch/kocevski/110121/ft1_filteredMKT_4FGL_J0114.8+1326_weekly_bin158.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=334540801.0 tmax=335145601.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.50
user 7.08
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110121/ft1_filtered_4FGL_J0114.8+1326_weekly_bin158.fits" evtable="EVENTS" scfile=/scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits sctable="SC_DATA" outfile=/scratch/kocevski/110121/ltcube_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.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/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits
.....................!
real 27.00
user 26.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110121/ft1_filtered_4FGL_J0114.8+1326_weekly_bin158.fits evtable="EVENTS" scfile=/scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits sctable="SC_DATA" expcube=/scratch/kocevski/110121/ltcube_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.fits outfile=/scratch/kocevski/110121/expmap_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.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/110121/ltcube_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.fits
.....................!
real 196.04
user 187.49
sys 5.72

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/110121/ft1_filtered_4FGL_J0114.8+1326_weekly_bin158.fits scfile=/scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits outfile=/scratch/kocevski/110121/cmap_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.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.64
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110121/ft1_filtered_4FGL_J0114.8+1326_weekly_bin158.fits scfile=/scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits outfile=/scratch/kocevski/110121/cmap_HighResolution_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.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.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110121/ft1_filtered_4FGL_J0114.8+1326_weekly_bin158.fits', '/scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits', expMap='/scratch/kocevski/110121/expmap_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.fits', expCube='/scratch/kocevski/110121/ltcube_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110121/Model_4FGL_J0114.8+1326_weekly_bin158.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/110121/ft1_filtered_4FGL_J0114.8+1326_weekly_bin158.fits
Spacecraft file(s): /scratch/kocevski/110121/ft2_4FGL_J0114.8+1326_weekly_bin158.fits
Exposure map: /scratch/kocevski/110121/expmap_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.fits
Exposure cube: /scratch/kocevski/110121/ltcube_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110121/Model_4FGL_J0114.8+1326_weekly_bin158.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) = 14300.3873268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.727       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.3277       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0060       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5198       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.153       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.4752       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .78956       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.711       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9759       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8714       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.344       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.309       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4803       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90424       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0808       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=   14300.37     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     1841 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    4.2118        .90712E-02** at limit **
   2  Prefactor     27.724        17.433        .19021E-02    .83509E-03
   3  Prefactor     .10000E-03    5.7820        .90712E-02** at limit **
   4  norm          5.3275        3.8700        .43530E-02   -.17197E-02
   5  Prefactor     5.0059        3.4439        .44933E-02   -.13752E-02
   6  Prefactor     .10000E-03    2.9930        .90712E-02** at limit **
   7  norm          3.5197        4.4346        .53870E-02   -.87898E-04
   8  Prefactor     15.153        15.501        .25723E-02    .36295E-04
   9  Prefactor     .10000E-03    48.026        .90712E-02** at limit **
  10  norm          4.4761        1.5663        .47584E-02    .24920E-03
  11  Prefactor     .10000E-03    7.3059        .90712E-02** at limit **
  12  norm          .78961        .34390        .10051E-01    .55928E-03
  13  Prefactor     12.711        6.8652        .28089E-02    .96672E-03
  14  Prefactor     4.9761        4.1181        .45072E-02    .11015E-02
  15  Prefactor     3.8720        7.1301        .51271E-02    .66762E-03
  16  Prefactor     15.343        21.076        .25562E-02    .77253E-03
  17  Prefactor     .10001E-03    4.3401        .90712E-02** at limit **
  18  norm          12.309        8.5147        .28544E-02   -.46811E-03
  19  Prefactor     4.4801        3.4025        .47556E-02   -.30014E-02
  20  Normalizat    .90415        .12592        .65709E-01    .34298E-04
  21  Prefactor     1.0809        .91429E-01    .38364E-01   -.47804E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  Prefactor  = 27.7245
  Prefactor  = 0.0001
  norm       = 5.32753
  Prefactor  = 5.00587
  Prefactor  = 0.0001
  norm       = 3.51973
  Prefactor  = 15.1533
  Prefactor  = 0.0001
  norm       = 4.47611
  Prefactor  = 0.0001
  norm       = 0.789609
  Prefactor  = 12.7109
  Prefactor  = 4.97607
  Prefactor  = 3.87196
  Prefactor  = 15.3428
  Prefactor  = 0.000100008
  norm       = 12.3086
  Prefactor  = 4.48005
  Normalizat = 0.904148
  Prefactor  = 1.08092
 **********
 **   18 **HESSE 
 **********

 FCN=   14300.37     FROM HESSE     STATUS=OK           317 CALLS     2158 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    4.3100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.724        17.451        .76082E-04   -1.4654    
   3  Prefactor     .10000E-03    5.8998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3275        3.8703        .17412E-03   -1.5246    
   5  Prefactor     5.0059        3.4422        .17819E-03   -1.5260    
   6  Prefactor     .10000E-03    3.0087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5197        4.4309        .21548E-03   -1.5333    
   8  Prefactor     15.153        15.500        .10289E-03   -1.4929    
   9  Prefactor     .10000E-03    48.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.4761        1.5666        .85626E-04   -1.5285    
  11  Prefactor     .10000E-03    7.3159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .78961        .34275        .44439E-04   -1.5530    
  13  Prefactor     12.711        6.8687        .56177E-03   -1.4995    
  14  Prefactor     4.9761        4.1063        .18029E-03   -1.5262    
  15  Prefactor     3.8720        7.1134        .20508E-03   -1.5314    
  16  Prefactor     15.343        21.074        .10225E-03   -1.4924    
  17  Prefactor     .10001E-03    4.3413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.309        8.5156        .11418E-03   -1.5006    
  19  Prefactor     4.4801        3.4003        .18670E-03   -1.5285    
  20  Normalizat    .90415        .14632        .29066E-03   -.96315    
  21  Prefactor     1.0809        .10648        .19729E-03   -.90079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07393e-08
Minuit parameter uncertainties:
  1  0.0003586
  2  17.4546
  3  6.13821e-05
  4  3.87045
  5  3.44232
  6  1.06014e-07
  7  4.43134
  8  15.5037
  9  9.87533e-05
  10  1.56664
  11  3.99857e-05
  12  0.342755
  13  6.86911
  14  4.10657
  15  7.11497
  16  21.084
  17  0.000383882
  18  8.51648
  19  3.40049
  20  0.146381
  21  0.106497
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.271e+01  6.869e+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

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.081e+00  1.065e-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:  9.041e-01  1.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.57
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.26e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 9.54e-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) = 14300.3521957
delta logL = 0.0144734136411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14300.3427193
delta logL = 0.0239498099691

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.590       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2145       1.0000          .0000       10.000    
     3 'Normalizat'    .89896       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    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14300.34     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      285 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.592        8.9869        .11767E-03    .62160E-03
   2  Index         2.2146        .54504        .83147E-02    .18956E-03
   3  Normalizat    .89900        .14614        .29141E-03    .22923E-03
   4  Prefactor     1.0832        .10664        .19711E-03    .43163E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5923
  Index      = 2.21459
  Normalizat = 0.898995
  Prefactor  = 1.08322
 **********
 **   18 **HESSE 
 **********

 FCN=   14300.34     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.592        8.3228        .47069E-05   -1.5027    
   2  Index         2.2146        .50441        .33259E-03   -.59087    
   3  Normalizat    .89900        .14585        .11657E-04   -.96495    
   4  Prefactor     1.0832        .10658        .39422E-04   -.90005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24694e-10
Minuit parameter uncertainties:
  1  8.32364
  2  0.505656
  3  0.145914
  4  0.106599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110121': 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) = 14300.3427178
delta logL = 0.0239512733024

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.159e+01  8.324e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.215e+00  5.057e-01  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.083e+00  1.066e-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:  8.990e-01  1.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.62
Ra Dec: 18.712 13.434
Photon Index (Free Index): 2.21 +/- 0.51
Photon Flux (Free Index): 3.62e-08 +/- 2.53e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.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/110121/cmap_HighResolution_334540801_335145601_4FGL_J0114.8+1326_weekly_bin158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.26e-08', energy_flux2='1.59e-05', photon_flux_error='1.76e-08', dlogl='2.40e-02', energy_flux='1.77e-05', photon_flux2='3.62e-08', job_status='DONE', time_completed='2021-07-03 18:31:40.682247', photon_index_error2='0.51', photon_index2='2.21', ts='7.57', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.11e-05', EG='0.90', time_epoch_completed='1625362300.68', return_code='0', job_id='110121', GAL2='1.08', EG2='0.90', return_code2='0', energy_flux_error='9.54e-06', photon_flux_error2='2.53e-08', ts2='7.62', photon_index='2.11' WHERE bin_id='158' AND source_name='4FGL J0114.8+1326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 18:31:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0139>
Subject: Job 110121: <4FGL_J0114.8+1326_weekly_bin158> in cluster <slac> Done

Job <4FGL_J0114.8+1326_weekly_bin158> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 18:16:08 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 18:16:10 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:16:10 2021
Terminated at Sat Jul  3 18:31:42 2021
Results reported at Sat Jul  3 18:31:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_weekly_bin158 18.7119 13.4342 334540801 335145601 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 :                                   885.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            934 sec.

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

