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


Performing analysis on: 4FGL_J0836.2+2141_weekly_bin744
RA = 129.051, Dec = 21.6971
tmin = 688953601, tmax = 689558401
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='968997', job_status='RUN', time_executed='2022-11-08 01:01:01.327180', time_epoch_executed='1667898061.33' WHERE source_name='4FGL J0836.2+2141' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968997

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968997/ft1_4FGL_J0836.2+2141_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968997/ft1_4FGL_J0836.2+2141_weekly_bin744.fits outfile=/scratch/kocevski/968997/ft1_filteredMKT_4FGL_J0836.2+2141_weekly_bin744.fits ra=129.051 dec=21.6971 rad=12.0 tmin=688953601.0 tmax=689558401.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.64
user 7.33
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.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/968997/ft1_filteredMKT_4FGL_J0836.2+2141_weekly_bin744.fits evtable="EVENTS" outfile="/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.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.38
sys 0.16

Number of photons that the gtmktime cut: 1382

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits" evtable="EVENTS" scfile=/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits sctable="SC_DATA" outfile=/scratch/kocevski/968997/ltcube_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.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/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits
.....................!
real 34.37
user 33.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/968997/ltcube_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.fits outfile=/scratch/kocevski/968997/expmap_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.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/968997/ltcube_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.fits
.....................!
real 192.38
user 187.51
sys 4.53

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

Setting source of interest to:
4FGL J0836.2+2141 @ 129.051 21.6971

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits scfile=/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits outfile=/scratch/kocevski/968997/cmap_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.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=129.051 yref=21.6971 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits scfile=/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits outfile=/scratch/kocevski/968997/cmap_HighResolution_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.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=129.051 yref=21.6971 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.60
user 0.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968997/Model_4FGL_J0836.2+2141_weekly_bin744.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/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits.....................!
real 130.43
user 129.00
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits', '/scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits', expMap='/scratch/kocevski/968997/expmap_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.fits', expCube='/scratch/kocevski/968997/ltcube_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/968997/Model_4FGL_J0836.2+2141_weekly_bin744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0836.2+2141'

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  2.336e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/968997/ft1_filtered_4FGL_J0836.2+2141_weekly_bin744.fits
Spacecraft file(s): /scratch/kocevski/968997/ft2_4FGL_J0836.2+2141_weekly_bin744.fits
Exposure map: /scratch/kocevski/968997/expmap_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.fits
Exposure cube: /scratch/kocevski/968997/ltcube_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/968997/Model_4FGL_J0836.2+2141_weekly_bin744.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) = 15223.4477111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.387       1.0000          .0000       .10000E+07
     2 'Prefactor '    70.680       1.0000          .0000       .10000E+07
     3 'norm      '    21.838       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76605E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0382       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.6787       1.0000          .0000       .10000E+07
     7 'norm      '    1.5555       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.4786       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12031E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .32355       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7549       1.0000          .0000       .10000E+07
    12 'Prefactor '    37.188       1.0000          .0000       .10000E+07
    13 'norm      '    2.5327       1.0000          .0000       .10000E+07
    14 'norm      '    3.7641       1.0000          .0000       .10000E+07
    15 'norm      '    1.8738       1.0000          .0000       .10000E+07
    16 'Normalizat'    .84154       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15223.43     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1429 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.387        5.4032        .68793E-06    .41234E-01
   2  Prefactor     70.702        2.7540       -.51932E-06    .22223    
   3  norm          21.847        1.5131       -.41374E-06    .52667E-01
   4  Prefactor     .22204E-09    10.910        .22503E-05** at limit **
   5  Prefactor     3.0361        3.0448       -.92262E-07   -.72127E-02
   6  Prefactor     8.6773        2.2750       -.58656E-07   -.46245E-02
   7  norm          1.5555        .77957       -.18598E-06    .27020E-01
   8  Prefactor     4.4785        4.9511       -.30367E-06    .25710E-02
   9  Prefactor     .28422E-07    85.386        .44200E-05** at limit **
  10  norm          .32357        .32132        .15903E-06   -.63761E-04
  11  Prefactor     2.7541        5.2435       -.15074E-05   -.37146E-02
  12  Prefactor     37.185        9.6503       -.85620E-06   -.48282E-01
  13  norm          2.5327        3.2082        .81097E-06    .11271E-02
  14  norm          3.7630        13.066        .11328E-04    .62408E-02
  15  norm          1.8736        1.2162       -.13642E-06    .10246E-01
  16  Normalizat    .84158        .12838        .29184E-04    .53759E-03
  17  Prefactor     1.0573        .10880       -.14508E-04    .38321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3866
  Prefactor  = 70.7022
  norm       = 21.8473
  Prefactor  = 2.22045e-10
  Prefactor  = 3.03608
  Prefactor  = 8.67725
  norm       = 1.55545
  Prefactor  = 4.47847
  Prefactor  = 2.84217e-08
  norm       = 0.323568
  Prefactor  = 2.75413
  Prefactor  = 37.1853
  norm       = 2.5327
  norm       = 3.76299
  norm       = 1.87365
  Normalizat = 0.841584
  Prefactor  = 1.05731
 **********
 **   18 **HESSE 
 **********

 FCN=   15223.43     FROM HESSE     STATUS=OK           267 CALLS     1696 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.387        10.984        .27351E-03   -1.5635    
   2  Prefactor     70.702        31.465        .11895E-03   -1.5540    
   3  norm          21.847        32.465        .21405E-03   -1.5614    
   4  Prefactor     .22204E-09    10.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0361        12.543        .58188E-03   -1.5673    
   6  Prefactor     8.6773        12.412        .34002E-03   -1.5649    
   7  norm          1.5555        .86450        .85327E-03   -1.5683    
   8  Prefactor     4.4785        5.0064        .47554E-03   -1.5666    
   9  Prefactor     .28422E-07    83.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .32357        .36635        .15822E-02   -1.5697    
  11  Prefactor     2.7541        5.3582        .61303E-03   -1.5675    
  12  Prefactor     37.185        11.112        .16400E-03   -1.5586    
  13  norm          2.5327        3.2221        .64153E-03   -1.5676    
  14  norm          3.7630        13.512        .52013E-03   -1.5669    
  15  norm          1.8736        1.2175        .76047E-03   -1.5681    
  16  Normalizat    .84158        .11385        .44150E-01   -.98544    
  17  Prefactor     1.0573        .94792E-01    .39500E-01   -.90843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07977e-06
Minuit parameter uncertainties:
  1  10.9837
  2  31.4654
  3  32.4654
  4  9.84976e-05
  5  12.3423
  6  12.4119
  7  0.864497
  8  5.00641
  9  0.00308144
  10  0.366347
  11  5.35822
  12  11.1123
  13  3.22208
  14  13.5126
  15  1.21753
  16  0.113886
  17  0.0948068
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  4.478e+00  5.006e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.057e+00  9.481e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  8.416e-01  1.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 129.051 21.697
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 2.20e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 5.17e-06 +/- 5.78e-06

TS (Fixed Index): 1.03
Ra Dec: 129.051 21.697
Photon Flux Upper Limit: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/968997/likelihoodResults_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.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): 0
logL (Free Index) = 15223.4324411
delta logL = 3.06988149532e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15223.4324174
delta logL = 5.43876249139e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4491       1.0000          .0000       .10000E+07
     2 'Index     '    2.7399       1.0000          .0000       10.000    
     3 'Normalizat'    .84136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15223.43     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      240 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4447        75.293        .47716E-03    .62427E-02
   2  Index         2.7441        2.8466        .40751        .40703E-04
   3  Normalizat    .84133        .23192E-01    .44148E-01    .17419E-03
   4  Prefactor     1.0575        .19998E-01    .39493E-01    .53355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44475
  Index      = 2.74413
  Normalizat = 0.84133
  Prefactor  = 1.05748
 **********
 **   18 **HESSE 
 **********

 FCN=   15223.43     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4447        6.0997        .19086E-04   -1.5666    
   2  Index         2.7441        1.2680        .10668E-01   -.46808    
   3  Normalizat    .84133        .12749        .26590E-03   -.98553    
   4  Prefactor     1.0575        .10928        .20788E-03   -.90837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22442e-11
Minuit parameter uncertainties:
  1  6.09972
  2  1.28573
  3  0.127536
  4  0.109299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968997': 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) = 15223.4324099
delta logL = 6.19449328951e-05

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  4.445e+00  6.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  2.744e+00  1.286e+00  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.057e+00  1.093e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  8.413e-01  1.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 129.051 21.697
Photon Index (Free Index): 2.74 +/- 1.29
Photon Flux (Free Index): 2.21e-08 +/- 2.65e-08
Energy Flux (Free Index): 5.15e-06 +/- 6.00e-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/968997/cmap_HighResolution_688953601_689558401_4FGL_J0836.2+2141_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', comment='SUCCESS', photon_flux='2.20e-08', energy_flux2='5.15e-06', photon_flux_error='2.45e-08', dlogl='6.19e-05', energy_flux='5.17e-06', photon_flux2='2.21e-08', job_status='DONE', time_completed='2022-11-08 01:15:52.889262', photon_index_error2='1.29', photon_index2='2.74', ts='1.03', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.04e-08', energy_flux_error2='6.00e-06', EG='0.84', time_epoch_completed='1667898952.89', return_code='0', job_id='968997', GAL2='1.06', EG2='0.84', return_code2='0', energy_flux_error='5.78e-06', photon_flux_error2='2.65e-08', ts2='1.03', photon_index='2.73' WHERE bin_id='744' AND source_name='4FGL J0836.2+2141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:15:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 968997: <4FGL_J0836.2+2141_weekly_bin744> in cluster <slac> Done

Job <4FGL_J0836.2+2141_weekly_bin744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Nov  8 01:00:30 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:00:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:00:31 2022
Terminated at Tue Nov  8 01:15:53 2022
Results reported at Tue Nov  8 01:15:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_weekly_bin744 129.051 21.6971 688953601 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0836.2+2141 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   892.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            923 sec.

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

