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


Performing analysis on: 4FGL_J0836.2+2141_weekly_bin760
RA = 129.051, Dec = 21.6971
tmin = 698630401, tmax = 699235201
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='15876', job_status='RUN', time_executed='2023-02-28 00:47:39.487572', time_epoch_executed='1677574059.49' WHERE source_name='4FGL J0836.2+2141' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/15876

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/15876/ft1_4FGL_J0836.2+2141_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/15876/ft1_4FGL_J0836.2+2141_weekly_bin760.fits outfile=/scratch/kocevski/15876/ft1_filteredMKT_4FGL_J0836.2+2141_weekly_bin760.fits ra=129.051 dec=21.6971 rad=12.0 tmin=698630401.0 tmax=699235201.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.33
user 5.96
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.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/15876/ft1_filteredMKT_4FGL_J0836.2+2141_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 184

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/15876/ltcube_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.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/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits
.....................!
real 29.18
user 28.83
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/15876/ltcube_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.fits outfile=/scratch/kocevski/15876/expmap_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.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/15876/ltcube_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.fits
.....................!
real 191.00
user 186.58
sys 4.05

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/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits scfile=/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits outfile=/scratch/kocevski/15876/cmap_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits scfile=/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits outfile=/scratch/kocevski/15876/cmap_HighResolution_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits', '/scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits', expMap='/scratch/kocevski/15876/expmap_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.fits', expCube='/scratch/kocevski/15876/ltcube_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/15876/Model_4FGL_J0836.2+2141_weekly_bin760.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/15876/ft1_filtered_4FGL_J0836.2+2141_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/15876/ft2_4FGL_J0836.2+2141_weekly_bin760.fits
Exposure map: /scratch/kocevski/15876/expmap_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.fits
Exposure cube: /scratch/kocevski/15876/ltcube_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/15876/Model_4FGL_J0836.2+2141_weekly_bin760.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) = 2232.47213731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20777E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    45.276       1.0000          .0000       .10000E+07
     3 'norm      '    156.36       1.0000          .0000       .10000E+07
     4 'Prefactor '    .39491E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29785E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    47.520       1.0000          .0000       .10000E+07
     7 'norm      '    2.0647       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33270E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.1014       1.0000          .0000       .10000E+07
    10 'norm      '    .88818E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1659       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49472E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .37503E-02   1.0000          .0000       .10000E+07
    14 'norm      '    216.29       1.0000          .0000       .10000E+07
    15 'norm      '    .29327E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .49533       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1181       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=   2232.351     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1246 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    12.418       -.13236E-06** at limit **
   2  Prefactor     42.223        61.610       -.43551E-07    .53863E-01
   3  norm          162.04        121.30        .50664E-07    .16189    
   4  Prefactor      .0000        16.075        .50959E-07** at limit **
   5  Prefactor      .0000        21.558       -.11840E-06** at limit **
   6  Prefactor     38.823        67.183        .54174E-07   -.17800E-01
   7  norm          2.4074        3.7984       -.43968E-07   -.14312E-02
   8  Prefactor      .0000        10.871       -.18189E-08** at limit **
   9  Prefactor     6.3713        250.74        .31414E-05    .50636E-01
  10  norm           .0000        1.3284       -.26131E-07** at limit **
  11  Prefactor     6.2154        93.056        .29583E-06   -.29074E-02
  12  Prefactor      .0000        24.617       -.69639E-07** at limit **
  13  norm           .0000        20.767        .69086E-07** at limit **
  14  norm          214.60        101.06       -.51210E-06    .31867    
  15  norm           .0000        7.5729       -.48878E-07** at limit **
  16  Normalizat    .50603        .35471       -.62938E-06   -.15644E-06
  17  Prefactor     1.1147        .27223       -.47799E-06   -.13838E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 42.2228
  norm       = 162.038
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 38.8233
  norm       = 2.40737
  Prefactor  = 0
  Prefactor  = 6.37129
  norm       = 0
  Prefactor  = 6.21542
  Prefactor  = 0
  norm       = 0
  norm       = 214.604
  norm       = 0
  Normalizat = 0.506034
  Prefactor  = 1.11472
 **********
 **   18 **HESSE 
 **********

 FCN=   2232.351     FROM HESSE     STATUS=OK           251 CALLS     1497 TOTAL
                     EDM=   .37E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    12.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.223        61.764        .14863E-03   -1.5578    
   3  norm          162.04        125.88        .79978E-04   -1.5453    
   4  Prefactor      .0000        16.116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        21.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.823        65.605        .14508E-03   -1.5583    
   7  norm          2.4074        3.7472        .71878E-03   -1.5677    
   8  Prefactor      .0000        10.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.3713        273.39        .35201E-03   -1.5657    
  10  norm           .0000        1.3310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2154        104.06        .44207E-03   -1.5658    
  12  Prefactor      .0000        24.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        20.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          214.60        254.07        .68003E-04   -1.5415    
  15  norm           .0000        7.5677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .50603        .31636        .78072E-01   -1.1214    
  17  Prefactor     1.1147        .24066        .36937E-01   -.88998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68601e-05
Minuit parameter uncertainties:
  1  4.16205e-05
  2  61.7648
  3  125.885
  4  1.91257e-05
  5  3.71142e-05
  6  65.606
  7  3.74721
  8  7.18202e-06
  9  83.4747
  10  2.89125e-06
  11  50.8643
  12  1.0983e-05
  13  1.55018e-05
  14  254.079
  15  1.00475e-05
  16  0.317493
  17  0.240898
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  7.182e-06  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.115e+00  2.409e-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:  5.060e-01  3.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 129.051 21.697
Photon Flux Upper Limit: 2.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.81e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/15876/likelihoodResults_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.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) = 2232.35151854
delta logL = -4.34741364188e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2232.35147532
delta logL = -2.50297034654e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83067E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2792       1.0000          .0000       10.000    
     3 'Normalizat'    .50603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1147       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2232.351     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      248 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.3856        .42118E-03** at limit **
   2  Index         3.4653        1.5412       -.75902E-05     .0000    
   3  Normalizat    .50603        .83783       -.63467E-05   -.31868E-04
   4  Prefactor     1.1147        1.1397        .76327E-05   -.66318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.46528
  Normalizat = 0.506034
  Prefactor  = 1.11472
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2232.351     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.3856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3375        2.2105       -.75902E-05   -.31198    
   3  Normalizat    .50603        .83783       -.63467E-05   -1.1214    
   4  Prefactor     1.1147        1.1397        .76327E-05   -.88998    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.44839e-12
Minuit parameter uncertainties:
  1  5.03249e-06
  2  1.56948
  3  0.860177
  4  1.16617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/15876': 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): 101
logL (Free Index) = 2232.35147507
delta logL = -3.18323145621e-12

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  5.032e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.465e+00  1.569e+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.115e+00  1.166e+00  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:  5.060e-01  8.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 129.051 21.697

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/15876/cmap_HighResolution_698630401_699235201_4FGL_J0836.2+2141_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-02', job_status='DONE', photon_flux_upper_limit='2.29e-07', time_completed='2023-02-28 00:54:41.653517', job_id='15876', GAL2='1.11', fit_tolerance='1e-08', EG2='0.51', EG='0.51', time_epoch_completed='1677574481.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-3.18e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='760' AND source_name='4FGL J0836.2+2141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 00:54:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 15876: <4FGL_J0836.2+2141_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0836.2+2141_weekly_bin760> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Feb 28 00:45:29 2023
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:45:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:45:30 2023
Terminated at Tue Feb 28 00:54:42 2023
Results reported at Tue Feb 28 00:54:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_weekly_bin760 129.051 21.6971 698630401 699235201 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 :                                   423.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            553 sec.

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

