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


Performing analysis on: 4FGL_J0114.8+1326_weekly_bin382
RA = 18.7119, Dec = 13.4342
tmin = 470016001, tmax = 470620801
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='112751', job_status='RUN', time_executed='2021-07-03 18:26:16.083998', time_epoch_executed='1625361976.08' WHERE source_name='4FGL J0114.8+1326' and cadence='weekly' and bin_id='382'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/112751

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/112751/ft1_4FGL_J0114.8+1326_weekly_bin382.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/112751/ft2_4FGL_J0114.8+1326_weekly_bin382.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/112751/ft1_4FGL_J0114.8+1326_weekly_bin382.fits outfile=/scratch/kocevski/112751/ft1_filteredMKT_4FGL_J0114.8+1326_weekly_bin382.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=470016001.0 tmax=470620801.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 6.10
user 5.78
sys 0.28

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/112751/ft1_filtered_4FGL_J0114.8+1326_weekly_bin382.fits evtable="EVENTS" scfile=/scratch/kocevski/112751/ft2_4FGL_J0114.8+1326_weekly_bin382.fits sctable="SC_DATA" expcube=/scratch/kocevski/112751/ltcube_470016001_470620801_4FGL_J0114.8+1326_weekly_bin382.fits outfile=/scratch/kocevski/112751/expmap_470016001_470620801_4FGL_J0114.8+1326_weekly_bin382.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/112751/ltcube_470016001_470620801_4FGL_J0114.8+1326_weekly_bin382.fits
.....................!
real 155.70
user 149.92
sys 4.76

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/112751/ft1_filtered_4FGL_J0114.8+1326_weekly_bin382.fits scfile=/scratch/kocevski/112751/ft2_4FGL_J0114.8+1326_weekly_bin382.fits outfile=/scratch/kocevski/112751/cmap_470016001_470620801_4FGL_J0114.8+1326_weekly_bin382.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.52
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/112751/ft1_filtered_4FGL_J0114.8+1326_weekly_bin382.fits scfile=/scratch/kocevski/112751/ft2_4FGL_J0114.8+1326_weekly_bin382.fits outfile=/scratch/kocevski/112751/cmap_HighResolution_470016001_470620801_4FGL_J0114.8+1326_weekly_bin382.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.53
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1762       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6940       1.0000         .10000E-03   10000.    
     4 'norm      '    .62625E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0668       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3331       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3932       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6444       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    32.231       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .77652       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.417       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.455       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.945       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.974       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6193       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70204       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0440       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=   16504.80     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     1915 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1764        4.7575        .18085E-06   -.11847E-03
   2  Prefactor     6.2109        9.7182       -.18255E-06   -.62563E-04
   3  Prefactor     9.6934        9.8151        .39374E-08   -.15159E-03
   4  norm          .10001E-03    2.4005        .52591E-06** at limit **
   5  Prefactor     3.0670        2.8876        .32221E-06   -.25099E-03
   6  Prefactor     3.3230        7.4975       -.38846E-05   -.50313E-06
   7  norm          1.3892        9.7731       -.39399E-05   -.36124E-03
   8  Prefactor     5.6437        20.654       -.15773E-05    .81527E-05
   9  Prefactor     .10000E-03    21.062        .16494E-05** at limit **
  10  norm          32.230        2.8887        .32936E-06   -.28626E-02
  11  Prefactor     .10000E-03    26.305       -.17158E-05** at limit **
  12  norm          .77645        .36161        .27301E-07   -.23982E-03
  13  Prefactor     16.417        8.2577        .60851E-07   -.74744E-04
  14  Prefactor     11.454        4.7795       -.57979E-06    .69979E-03
  15  Prefactor     .10000E-03    2.9055        .38592E-07** at limit **
  16  Prefactor     29.945        28.655       -.11806E-06   -.18438E-04
  17  Prefactor     .10000E-03    7.1907        .37113E-06** at limit **
  18  norm          18.974        9.4534        .26291E-07   -.14386E-04
  19  Prefactor     6.6194        3.8045       -.39656E-06    .16603E-03
  20  Normalizat    .70206        .12295       -.12965E-06   -.27810E-04
  21  Prefactor     1.0440        .86140E-01    .37139E-06   -.67731E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.17636
  Prefactor  = 6.21085
  Prefactor  = 9.6934
  norm       = 0.000100012
  Prefactor  = 3.06702
  Prefactor  = 3.32296
  norm       = 1.38922
  Prefactor  = 5.64366
  Prefactor  = 0.000100001
  norm       = 32.2302
  Prefactor  = 0.000100001
  norm       = 0.776455
  Prefactor  = 16.4174
  Prefactor  = 11.454
  Prefactor  = 0.0001
  Prefactor  = 29.9452
  Prefactor  = 0.0001
  norm       = 18.9742
  Prefactor  = 6.6194
  Normalizat = 0.702061
  Prefactor  = 1.04398
 **********
 **   18 **HESSE 
 **********

 FCN=   16504.80     FROM HESSE     STATUS=OK           321 CALLS     2236 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1764        4.7565        .16154E-03   -1.5211    
   2  Prefactor     6.2109        9.7191        .16107E-03   -1.5209    
   3  Prefactor     9.6934        9.7882        .12871E-03   -1.5085    
   4  norm          .10001E-03    9.8654        .37635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0670        2.8805        .20098E-03   -1.5358    
   6  Prefactor     3.3230        7.5389        .22171E-03   -1.5343    
   7  norm          1.3892        11.615        .36802E-03   -1.5472    
   8  Prefactor     5.6437        20.646        .16908E-03   -1.5233    
   9  Prefactor     .10000E-03    21.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          32.230        2.8401        .61604E-04   -1.4572    
  11  Prefactor     .10000E-03    26.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .77645        .35813        .50471E-04   -1.5532    
  13  Prefactor     16.417        8.2567        .98848E-04   -1.4897    
  14  Prefactor     11.454        4.7352        .11837E-03   -1.5031    
  15  Prefactor     .10000E-03    2.9195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.945        28.658        .73217E-04   -1.4613    
  17  Prefactor     .10000E-03    7.1936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.974        9.4536        .91948E-04   -1.4837    
  19  Prefactor     6.6194        3.8045        .15597E-03   -1.5193    
  20  Normalizat    .70206        .14164        .33457E-03   -1.0381    
  21  Prefactor     1.0440        .10001        .19805E-03   -.91277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21875e-09
Minuit parameter uncertainties:
  1  4.75674
  2  9.72155
  3  9.78981
  4  0.000699695
  5  2.88067
  6  7.54102
  7  8.03577
  8  20.6725
  9  0.000212867
  10  2.84014
  11  0.000255946
  12  0.358129
  13  8.25732
  14  4.73534
  15  1.16926e-06
  16  28.6712
  17  2.2555e-05
  18  9.45434
  19  3.80462
  20  0.141715
  21  0.100025
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.642e+01  8.257e+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.044e+00  1.000e-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:  7.021e-01  1.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.88
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.22e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.15e-05

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) = 16503.6628232
delta logL = 1.13595233393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16503.6600668
delta logL = 1.13870872022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5114       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6767       1.0000          .0000       10.000    
     3 'Normalizat'    .66220       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0601       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=   16503.66     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      269 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5114        47.110        .32485E-02    .11259E-02
   2  Index         2.6769        1.8105        .13618        .36707E-03
   3  Normalizat    .66215        .47789E-01    .77643E-01    .36257E-03
   4  Prefactor     1.0601        .29549E-01    .39351E-01    .49204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.51142
  Index      = 2.67691
  Normalizat = 0.662154
  Prefactor  = 1.06011
 **********
 **   18 **HESSE 
 **********

 FCN=   16503.66     FROM HESSE     STATUS=OK            31 CALLS      300 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5114        8.0968        .12994E-03   -1.5091    
   2  Index         2.6769        .45988        .47361E-02   -.48320    
   3  Normalizat    .66215        .14245        .34378E-03   -1.0541    
   4  Prefactor     1.0601        .99768E-01    .19666E-03   -.90752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20115e-10
Minuit parameter uncertainties:
  1  8.09772
  2  0.460707
  3  0.142526
  4  0.0997855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/112751': 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) = 16503.6600664
delta logL = 1.13870913728

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  9.511e+00  8.098e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.677e+00  4.607e-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.060e+00  9.979e-02  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:  6.622e-01  1.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.22
Ra Dec: 18.712 13.434
Photon Index (Free Index): 2.68 +/- 0.46
Photon Flux (Free Index): 7.45e-08 +/- 3.49e-08
Energy Flux (Free Index): 1.83e-05 +/- 8.12e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/112751/cmap_HighResolution_470016001_470620801_4FGL_J0114.8+1326_weekly_bin382.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.22e-08', energy_flux2='1.83e-05', photon_flux_error='2.12e-08', dlogl='1.14e+00', energy_flux='2.28e-05', photon_flux2='7.45e-08', job_status='DONE', time_completed='2021-07-03 18:39:37.192474', photon_index_error2='0.46', photon_index2='2.68', ts='6.88', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='8.12e-06', EG='0.70', time_epoch_completed='1625362777.19', return_code='0', job_id='112751', GAL2='1.06', EG2='0.66', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.49e-08', ts2='9.22', photon_index='2.11' WHERE bin_id='382' AND source_name='4FGL J0114.8+1326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 18:39:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 112751: <4FGL_J0114.8+1326_weekly_bin382> in cluster <slac> Done

Job <4FGL_J0114.8+1326_weekly_bin382> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul  3 18:25:53 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 18:25:54 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:25:54 2021
Terminated at Sat Jul  3 18:39:39 2021
Results reported at Sat Jul  3 18:39:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_weekly_bin382 18.7119 13.4342 470016001 470620801 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 :                                   786.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             388.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            826 sec.

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

