aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 60 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0114.8+1326_weekly_bin741
RA = 18.7119, Dec = 13.4342
tmin = 687139201, tmax = 687744001
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='378979', job_status='RUN', time_executed='2022-10-18 00:37:03.022571', time_epoch_executed='1666078623.02' WHERE source_name='4FGL J0114.8+1326' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378979

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378979/ft1_4FGL_J0114.8+1326_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378979/ft1_4FGL_J0114.8+1326_weekly_bin741.fits outfile=/scratch/kocevski/378979/ft1_filteredMKT_4FGL_J0114.8+1326_weekly_bin741.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=687139201.0 tmax=687744001.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.62
user 6.34
sys 0.26

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

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

Number of photons that the gtmktime cut: 330

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378979/ft1_filtered_4FGL_J0114.8+1326_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/378979/ltcube_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.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/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits
.....................!
real 26.96
user 26.48
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378979/ft1_filtered_4FGL_J0114.8+1326_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/378979/ltcube_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.fits outfile=/scratch/kocevski/378979/expmap_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.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/378979/ltcube_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.fits
.....................!
real 190.68
user 185.58
sys 4.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/378979/ft1_filtered_4FGL_J0114.8+1326_weekly_bin741.fits scfile=/scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits outfile=/scratch/kocevski/378979/cmap_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378979/ft1_filtered_4FGL_J0114.8+1326_weekly_bin741.fits scfile=/scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits outfile=/scratch/kocevski/378979/cmap_HighResolution_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.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.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378979/ft1_filtered_4FGL_J0114.8+1326_weekly_bin741.fits', '/scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits', expMap='/scratch/kocevski/378979/expmap_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.fits', expCube='/scratch/kocevski/378979/ltcube_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378979/Model_4FGL_J0114.8+1326_weekly_bin741.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  0.000e+00  1.000e+06 ( 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/378979/ft1_filtered_4FGL_J0114.8+1326_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/378979/ft2_4FGL_J0114.8+1326_weekly_bin741.fits
Exposure map: /scratch/kocevski/378979/expmap_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.fits
Exposure cube: /scratch/kocevski/378979/ltcube_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378979/Model_4FGL_J0114.8+1326_weekly_bin741.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) = 3483.6564433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97130E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11744E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .55864E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .23759E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .38554E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31222E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .23674E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .26909       1.0000          .0000       .10000E+07
     9 'Prefactor '    104.29       1.0000          .0000       .10000E+07
    10 'norm      '    64.219       1.0000          .0000       .10000E+07
    11 'norm      '    1.1697       1.0000          .0000       .10000E+07
    12 'Prefactor '    .93217E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52161E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    49.596       1.0000          .0000       .10000E+07
    15 'Prefactor '    99.036       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23108       1.0000          .0000       .10000E+07
    17 'norm      '    14.143       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21672E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .87177       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2265       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3483.609     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1538 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        16.633        .12083E-04** at limit **
   2  Prefactor      .0000        22.399        .80135E-05** at limit **
   3  Prefactor     .33307E-09    30.418       -.13149E-05** at limit **
   4  norm          .11102E-09    8.4388       -.90613E-06** at limit **
   5  Prefactor      .0000        3.6211       -.10503E-05** at limit **
   6  Prefactor      .0000        9.1915        .40166E-05** at limit **
   7  norm           .0000        9.7732        .19990E-05** at limit **
   8  Prefactor     .13323E-08    79.597       -.22102E-05** at limit **
   9  Prefactor     96.164        147.39       -.13596E-04    .32123E-03
  10  norm          64.391        10.374       -.25155E-06   -.14939E-02
  11  norm          1.1686        .93005       -.25140E-06    .24441E-03
  12  Prefactor     .16653E-09    17.041       -.10581E-04** at limit **
  13  Prefactor      .0000        5.3921        .38958E-06** at limit **
  14  Prefactor     49.618        2.3304       -.22760E-08    .60343E-02
  15  Prefactor     97.983        101.91        .19688E-04    .25242E-03
  16  Prefactor      .0000        71.707        .78784E-05** at limit **
  17  norm          14.652        32.177        .29032E-05   -.36080E-03
  18  Prefactor     .55511E-10    28.140       -.14588E-04** at limit **
  19  Normalizat    .87299        .35637       -.12688E-04    .40372E-04
  20  Prefactor     1.2260        .26099       -.13598E-04    .24098E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.33227e-09
  Prefactor  = 96.1643
  norm       = 64.391
  norm       = 1.16861
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 49.6176
  Prefactor  = 97.983
  Prefactor  = 0
  norm       = 14.6525
  Prefactor  = 5.55112e-11
  Normalizat = 0.872994
  Prefactor  = 1.22595
 **********
 **   18 **HESSE 
 **********

 FCN=   3483.609     FROM HESSE     STATUS=OK           327 CALLS     1865 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        16.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        22.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33307E-09    30.418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    8.4343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.6186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        9.1881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        9.7783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13323E-08    79.498        .10656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     96.164        147.46        .97928E-04   -1.5512    
  10  norm          64.391        10.358        .12479E-03   -1.5547    
  11  norm          1.1686        .93420        .10610E-02   -1.5686    
  12  Prefactor     .16653E-09    17.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.3874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     49.618        24.657        .14201E-03   -1.5567    
  15  Prefactor     97.983        101.85        .10049E-03   -1.5510    
  16  Prefactor      .0000        71.523        .11247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.652        32.159        .26608E-03   -1.5631    
  18  Prefactor     .55511E-10    27.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .87299        .30083        .79625E-01   -.97416    
  20  Prefactor     1.2260        .21911        .50117E-01   -.85536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54419e-10
Minuit parameter uncertainties:
  1  6.63808e-06
  2  2.10241e-05
  3  0.000206026
  4  5.87809e-05
  5  9.4433e-06
  6  2.63279e-05
  7  1.77337e-05
  8  0.000653793
  9  147.464
  10  10.3585
  11  0.934205
  12  0.000104615
  13  2.08152e-05
  14  24.6571
  15  101.847
  16  1.04244e-05
  17  32.1591
  18  9.3894e-05
  19  0.301405
  20  0.219276
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.665e-10  1.046e-04  0.000e+00  1.000e+06 ( 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.226e+00  2.193e-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.730e-01  3.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378979/likelihoodResults_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.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) = 3483.63788609
delta logL = -0.0286107858033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3483.60927901
delta logL = -3.7037743823e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14163E-03   1.0000          .0000       .10000E+07
     2 'Index     '    1.4185       1.0000          .0000       10.000    
     3 'Normalizat'    .87301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2260       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=   3483.609     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      237 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .46710E-01    .42118E-03** at limit **
   2  Index         1.9186        8.8044        .50000        .11369E-10
   3  Normalizat    .87299        .34882E-03    .79625E-01   -.41519E-04
   4  Prefactor     1.2260        .25621E-03    .50117E-01   -.83494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.91861
  Normalizat = 0.872992
  Prefactor  = 1.22595
 **********
 **   18 **HESSE 
 **********

 FCN=   3483.609     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      268 TOTAL
                     EDM=   .34E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .23954        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9186        6.6757        .50000       -.66401    
   3  Normalizat    .87299        .78751E-03    .35249E-03   -.97416    
   4  Prefactor     1.2260        .57955E-03    .22155E-03   -.85536    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.4185e-14
Minuit parameter uncertainties:
  1  6.45361e-06
  2  14198.5
  3  0.00078751
  4  0.000579551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378979': 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) = 3483.60927531
delta logL = 4.09272615798e-12

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  5.551e-11  6.454e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.919e+00  1.420e+04  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.226e+00  5.796e-04  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.730e-01  7.875e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.712 13.434

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/378979/cmap_HighResolution_687139201_687744001_4FGL_J0114.8+1326_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.45e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2022-10-18 00:45:24.336634', job_id='378979', GAL2='1.23', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1666079124.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='4.09e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='741' AND source_name='4FGL J0114.8+1326' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:45:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 378979: <4FGL_J0114.8+1326_weekly_bin741> in cluster <slac> Done

Job <4FGL_J0114.8+1326_weekly_bin741> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:50 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:51 2022
Terminated at Tue Oct 18 00:45:24 2022
Results reported at Tue Oct 18 00:45:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_weekly_bin741 18.7119 13.4342 687139201 687744001 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 :                                   503.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            574 sec.

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

