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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1768
RA = 129.051, Dec = 21.6971
tmin = 697593601, tmax = 697852801
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='266537', job_status='RUN', time_executed='2023-02-12 00:38:11.351730', time_epoch_executed='1676191091.35' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266537

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266537/ft1_4FGL_J0836.2+2141_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266537/ft2_4FGL_J0836.2+2141_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266537/ft1_4FGL_J0836.2+2141_daily_bin1768.fits outfile=/scratch/kocevski/266537/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1768.fits ra=129.051 dec=21.6971 rad=12.0 tmin=697593601.0 tmax=697852801.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 3.64
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266537/ft1_filtered_4FGL_J0836.2+2141_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/266537/ft2_4FGL_J0836.2+2141_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/266537/ltcube_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.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/266537/ft2_4FGL_J0836.2+2141_daily_bin1768.fits
.....................!
real 15.41
user 14.96
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266537/ft1_filtered_4FGL_J0836.2+2141_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/266537/ft2_4FGL_J0836.2+2141_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/266537/ltcube_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.fits outfile=/scratch/kocevski/266537/expmap_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.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/266537/ltcube_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.fits
.....................!
real 191.70
user 185.56
sys 5.68

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/266537/ft1_filtered_4FGL_J0836.2+2141_daily_bin1768.fits scfile=/scratch/kocevski/266537/ft2_4FGL_J0836.2+2141_daily_bin1768.fits outfile=/scratch/kocevski/266537/cmap_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266537/ft1_filtered_4FGL_J0836.2+2141_daily_bin1768.fits scfile=/scratch/kocevski/266537/ft2_4FGL_J0836.2+2141_daily_bin1768.fits outfile=/scratch/kocevski/266537/cmap_HighResolution_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.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.56
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.990       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.776       1.0000          .0000       .10000E+07
     3 'norm      '    113.92       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37612E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .64606E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.328       1.0000          .0000       .10000E+07
     7 'norm      '    2.4499       1.0000          .0000       .10000E+07
     8 'Prefactor '    .45927E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.282       1.0000          .0000       .10000E+07
    10 'norm      '    1.6722       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.0341       1.0000          .0000       .10000E+07
    12 'Prefactor '    53.322       1.0000          .0000       .10000E+07
    13 'norm      '    6.1823       1.0000          .0000       .10000E+07
    14 'norm      '    .79452E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.0207       1.0000          .0000       .10000E+07
    16 'Normalizat'    .56059       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1354       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=   5767.067     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1226 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.966        3.2975        .61100E-07    .29310E-02
   2  Prefactor     12.579        18.366        .92136E-06   -.86266E-01
   3  norm          115.21        108.79       -.14189E-05   -.50777E-01
   4  Prefactor     .41883E-06    19.325        .28389E-06** at limit **
   5  Prefactor     .47268E-06    19.845        .61636E-06** at limit **
   6  Prefactor     15.487        26.225       -.15480E-05    .27780E-01
   7  norm          2.4460        1.5123        .18241E-06    .69868E-03
   8  Prefactor      .0000        2.7346       -.52075E-06** at limit **
   9  Prefactor     10.264        10.130        .56613E-06    .91725E-01
  10  norm          1.6696        .74729        .92020E-07   -.21434E-02
  11  Prefactor     3.1972        9.3353        .64694E-07   -.55908E-04
  12  Prefactor     53.322        3.8531        .22382E-07    .53548E-01
  13  norm          6.2211        6.6707        .15439E-07    .18557E-03
  14  norm           .0000        16.167        .11902E-06** at limit **
  15  norm          2.0220        2.3772       -.32325E-07    .28435E-03
  16  Normalizat    .56060        .21015       -.24925E-04    .13085E-03
  17  Prefactor     1.1350        .17998        .47904E-05    .15164E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9657
  Prefactor  = 12.5793
  norm       = 115.209
  Prefactor  = 4.18832e-07
  Prefactor  = 4.72677e-07
  Prefactor  = 15.4875
  norm       = 2.44595
  Prefactor  = 0
  Prefactor  = 10.2638
  norm       = 1.66963
  Prefactor  = 3.19723
  Prefactor  = 53.3215
  norm       = 6.22105
  norm       = 0
  norm       = 2.02203
  Normalizat = 0.560599
  Prefactor  = 1.13504
 **********
 **   18 **HESSE 
 **********

 FCN=   5767.067     FROM HESSE     STATUS=OK           261 CALLS     1487 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.966        20.792        .25843E-03   -1.5631    
   2  Prefactor     12.579        70.128        .27999E-03   -1.5637    
   3  norm          115.21        111.90        .93697E-04   -1.5493    
   4  Prefactor     .41883E-06    20.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .47268E-06    20.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.487        28.401        .25556E-03   -1.5629    
   7  norm          2.4460        1.5358        .65327E-03   -1.5677    
   8  Prefactor      .0000        2.7316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.264        24.690        .31223E-03   -1.5644    
  10  norm          1.6696        .75078        .81482E-03   -1.5682    
  11  Prefactor     3.1972        9.3043        .58229E-03   -1.5672    
  12  Prefactor     53.322        21.971        .13695E-03   -1.5562    
  13  norm          6.2211        6.6759        .40351E-03   -1.5658    
  14  norm           .0000        16.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0220        2.4052        .72771E-03   -1.5680    
  16  Normalizat    .56060        .18912        .71712E-01   -1.0968    
  17  Prefactor     1.1350        .15733        .36374E-01   -.88354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7984e-06
Minuit parameter uncertainties:
  1  20.7923
  2  59.4032
  3  111.906
  4  0.00579062
  5  0.00625515
  6  28.4013
  7  1.53583
  8  7.58448e-06
  9  24.6903
  10  0.750779
  11  9.30438
  12  21.9715
  13  6.67595
  14  5.40728e-06
  15  2.40519
  16  0.189341
  17  0.157399
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  7.584e-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.135e+00  1.574e-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.606e-01  1.893e-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: 6.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266537/likelihoodResults_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.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) = 5767.07544154
delta logL = -0.00804993015572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5767.06739331
delta logL = -1.69677423401e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36058E-05   1.0000          .0000       .10000E+07
     2 'Index     '    3.3709       1.0000          .0000       10.000    
     3 'Normalizat'    .56048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1352       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=   5767.067     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      215 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.7636        .48804E-06** at limit **
   2  Index         1.7991        1.8923        .15501E-04     .0000    
   3  Normalizat    .56060        .20573        .99057E-05   -.12019E-04
   4  Prefactor     1.1350        .17788       -.13167E-05   -.33866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.79909
  Normalizat = 0.560598
  Prefactor  = 1.13504
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5767.067     FROM HESSE     STATUS=FAILED        11 CALLS      226 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.6912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .33128        1.5407        .15501E-04   -.69474    
   3  Normalizat    .56060        .89609        .99057E-05   -1.0968    
   4  Prefactor     1.1350        1.1287       -.13167E-05   -.88354    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.60814e-12
Minuit parameter uncertainties:
  1  9.57338e-06
  2  0.821086
  3  0.920928
  4  1.15402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266537': 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) = 5767.06739161
delta logL = 1.72803993337e-11

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  9.573e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  1.799e+00  8.211e-01  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.135e+00  1.154e+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.606e-01  9.209e-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/266537/cmap_HighResolution_697593601_697852801_4FGL_J0836.2+2141_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.01e-08', time_completed='2023-02-12 00:46:16.432034', job_id='266537', GAL2='1.14', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1676191576.43', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1768' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 00:46:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 266537: <4FGL_J0836.2+2141_daily_bin1768> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1768> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Feb 12 00:35:22 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:37:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:37:34 2023
Terminated at Sun Feb 12 00:46:17 2023
Results reported at Sun Feb 12 00:46:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1768 129.051 21.6971 697593601 697852801 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 :                                   487.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   522 sec.
    Turnaround time :                            655 sec.

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

