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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1745
RA = 129.051, Dec = 21.6971
tmin = 691632001, tmax = 691891201
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='641594', job_status='RUN', time_executed='2022-12-05 00:21:42.177071', time_epoch_executed='1670228502.18' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641594

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641594/ft1_4FGL_J0836.2+2141_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641594/ft1_4FGL_J0836.2+2141_daily_bin1745.fits outfile=/scratch/kocevski/641594/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1745.fits ra=129.051 dec=21.6971 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.37
user 2.16
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.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/641594/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/641594/ft1_filtered_4FGL_J0836.2+2141_daily_bin1745.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641594/ft1_filtered_4FGL_J0836.2+2141_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/641594/ltcube_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.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/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.fits
.....................!
real 12.34
user 12.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641594/ft1_filtered_4FGL_J0836.2+2141_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/641594/ltcube_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.fits outfile=/scratch/kocevski/641594/expmap_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.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/641594/ltcube_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.fits
.....................!
real 189.86
user 185.44
sys 4.09

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/641594/ft1_filtered_4FGL_J0836.2+2141_daily_bin1745.fits scfile=/scratch/kocevski/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.fits outfile=/scratch/kocevski/641594/cmap_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641594/ft1_filtered_4FGL_J0836.2+2141_daily_bin1745.fits scfile=/scratch/kocevski/641594/ft2_4FGL_J0836.2+2141_daily_bin1745.fits outfile=/scratch/kocevski/641594/cmap_HighResolution_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16580E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    48.987       1.0000          .0000       .10000E+07
     3 'norm      '    .15335E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .80711E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .43704E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10254E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .84878       1.0000          .0000       .10000E+07
     8 'Prefactor '    12.820       1.0000          .0000       .10000E+07
     9 'Prefactor '    26.365       1.0000          .0000       .10000E+07
    10 'norm      '    .61613       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.147       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.7362       1.0000          .0000       .10000E+07
    13 'norm      '    .34594E-05   1.0000          .0000       .10000E+07
    14 'norm      '    24.503       1.0000          .0000       .10000E+07
    15 'norm      '    1.3149       1.0000          .0000       .10000E+07
    16 'Normalizat'    .72599       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2626       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=   6442.143     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1205 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    14.253       -.21744E-06** at limit **
   2  Prefactor     50.175        55.584       -.15633E-05    .13853E-01
   3  norm          .90039E-07    243.96        .29505E-05** at limit **
   4  Prefactor     .77716E-09    12.889        .53054E-06** at limit **
   5  Prefactor     .72164E-09    12.545       -.14135E-06** at limit **
   6  Prefactor      .0000        7.5678        .89121E-07** at limit **
   7  norm          .84875        .96199        .23723E-07   -.10297E-03
   8  Prefactor     12.886        12.715        .30024E-07    .17415E-03
   9  Prefactor     27.339        28.385       -.23898E-06   -.42578E-01
  10  norm          .61687        .74997       -.54026E-08    .15728E-04
  11  Prefactor     25.241        5.5539        .44485E-07    .25838E-01
  12  Prefactor     8.8697        19.079       -.14075E-06    .73719E-02
  13  norm           .0000        2.1144        .12583E-06** at limit **
  14  norm          23.940        20.159       -.14619E-06   -.53356E-01
  15  norm          1.3154        2.3966        .15023E-06   -.11849E-02
  16  Normalizat    .72431        .23168       -.35862E-06    .94653E-04
  17  Prefactor     1.2626        .18282       -.22631E-05    .14759E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 50.1755
  norm       = 9.00391e-08
  Prefactor  = 7.77156e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  norm       = 0.848746
  Prefactor  = 12.8855
  Prefactor  = 27.3386
  norm       = 0.616865
  Prefactor  = 25.2412
  Prefactor  = 8.86972
  norm       = 0
  norm       = 23.9396
  norm       = 1.3154
  Normalizat = 0.724309
  Prefactor  = 1.26259
 **********
 **   18 **HESSE 
 **********

 FCN=   6442.143     FROM HESSE     STATUS=OK           259 CALLS     1464 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    14.255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     50.175        56.372        .14289E-03   -1.5566    
   3  norm          .90039E-07    244.63        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .77716E-09    13.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .72164E-09    12.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.5605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .84875        .97043        .49367E-03   -1.5690    
   8  Prefactor     12.886        12.740        .27951E-03   -1.5636    
   9  Prefactor     27.339        34.778        .19479E-03   -1.5603    
  10  norm          .61687        .82009        .67796E-03   -1.5692    
  11  Prefactor     25.241        17.521        .19946E-03   -1.5607    
  12  Prefactor     8.8697        19.281        .33889E-03   -1.5648    
  13  norm           .0000        2.1133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          23.940        33.509        .20206E-03   -1.5610    
  15  norm          1.3154        2.4442        .96034E-03   -1.5685    
  16  Normalizat    .72431        .20280        .70536E-01   -1.0294    
  17  Prefactor     1.2626        .15896        .33296E-01   -.84426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47347e-07
Minuit parameter uncertainties:
  1  6.47068e-05
  2  56.3724
  3  0.00938639
  4  0.000203705
  5  0.000192375
  6  7.32982e-07
  7  0.970434
  8  12.7402
  9  34.7783
  10  0.820086
  11  17.5215
  12  19.2814
  13  6.20854e-06
  14  33.509
  15  2.44416
  16  0.203009
  17  0.159019
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.289e+01  1.274e+01  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.263e+00  1.590e-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:  7.243e-01  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 129.051 21.697
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 6.32e-08 +/- 6.25e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.47e-05

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

Saving results to:
/scratch/kocevski/641594/likelihoodResults_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.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) = 6440.90683775
delta logL = 1.23643184922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6440.89859992
delta logL = 1.24466967987

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8918       1.0000          .0000       .10000E+07
     2 'Index     '    4.8072       1.0000          .0000       10.000    
     3 'Normalizat'    .63982       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3189       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=   6440.899     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      298 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8808        17.422        .75618E-03   -.16035E-02
   2  Index         4.8115        3.4569        .14417        .60752E-04
   3  Normalizat    .63985        .58597E-01    .74606E-01   -.78492E-04
   4  Prefactor     1.3189        .50181E-01    .32288E-01   -.22501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88085
  Index      = 4.81154
  Normalizat = 0.639848
  Prefactor  = 1.31891
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.899     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      329 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8808        31.234        .61397E-05   -1.5681    
   2  Index         4.8115        7.2382        .56184E-02   -.37701E-01
   3  Normalizat    .63985        .20015        .33028E-03   -1.0632    
   4  Prefactor     1.3189        .16923        .20381E-03   -.82747    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.93743e-10
Minuit parameter uncertainties:
  1  15.3294
  2  5.82012
  3  0.200374
  4  0.169301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641594': 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) = 6440.89859748
delta logL = 1.24467212054

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.881e+00  1.533e+01  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  4.812e+00  5.820e+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.319e+00  1.693e-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:  6.398e-01  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.21
Ra Dec: 129.051 21.697
Photon Index (Free Index): 4.81 +/- 5.82
Photon Flux (Free Index): 1.24e-07 +/- 7.73e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.58e-05

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/641594/cmap_HighResolution_691632001_691891201_4FGL_J0836.2+2141_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', photon_flux='6.32e-08', energy_flux2='1.68e-05', photon_flux_error='6.25e-08', dlogl='1.24e+00', energy_flux='1.49e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2022-12-05 00:29:45.364041', photon_index_error2='5.82', photon_index2='4.81', ts='1.34', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='1.58e-05', EG='0.72', time_epoch_completed='1670228985.36', return_code='0', job_id='641594', GAL2='1.32', EG2='0.64', return_code2='102', energy_flux_error='1.47e-05', photon_flux_error2='7.73e-08', ts2='4.21', photon_index='2.73' WHERE bin_id='1745' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:29:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 641594: <4FGL_J0836.2+2141_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:20:19 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:20:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:20:21 2022
Terminated at Mon Dec  5 00:29:46 2022
Results reported at Mon Dec  5 00:29:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1745 129.051 21.6971 691632001 691891201 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 :                                   485.49 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            567 sec.

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

