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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1716
RA = 129.051, Dec = 21.6971
tmin = 684115201, tmax = 684374401
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='69282', job_status='RUN', time_executed='2022-09-16 14:05:53.772318', time_epoch_executed='1663362353.77' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69282

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69282/ft1_4FGL_J0836.2+2141_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69282/ft2_4FGL_J0836.2+2141_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69282/ft1_4FGL_J0836.2+2141_daily_bin1716.fits outfile=/scratch/kocevski/69282/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1716.fits ra=129.051 dec=21.6971 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.08
user 3.85
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69282/ft1_filtered_4FGL_J0836.2+2141_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/69282/ft2_4FGL_J0836.2+2141_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/69282/ltcube_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.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/69282/ft2_4FGL_J0836.2+2141_daily_bin1716.fits
.....................!
real 14.28
user 13.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69282/ft1_filtered_4FGL_J0836.2+2141_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/69282/ft2_4FGL_J0836.2+2141_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/69282/ltcube_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.fits outfile=/scratch/kocevski/69282/expmap_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.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/69282/ltcube_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.fits
.....................!
real 191.91
user 186.35
sys 5.23

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/69282/ft1_filtered_4FGL_J0836.2+2141_daily_bin1716.fits scfile=/scratch/kocevski/69282/ft2_4FGL_J0836.2+2141_daily_bin1716.fits outfile=/scratch/kocevski/69282/cmap_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69282/ft1_filtered_4FGL_J0836.2+2141_daily_bin1716.fits scfile=/scratch/kocevski/69282/ft2_4FGL_J0836.2+2141_daily_bin1716.fits outfile=/scratch/kocevski/69282/cmap_HighResolution_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47981E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    48.418       1.0000          .0000       .10000E+07
     3 'norm      '    14.098       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47455       1.0000          .0000       .10000E+07
     5 'Prefactor '    .96384E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8015       1.0000          .0000       .10000E+07
     7 'norm      '    2.9237       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.211       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2821       1.0000          .0000       .10000E+07
    10 'norm      '    .59008E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.7952       1.0000          .0000       .10000E+07
    12 'Prefactor '    22.318       1.0000          .0000       .10000E+07
    13 'norm      '    .18863E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .14671E-01   1.0000          .0000       .10000E+07
    15 'norm      '    2.4218       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3222       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .76203       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=   6619.492     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1236 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    26.871        .52133E-07** at limit **
   2  Prefactor     48.590        56.633       -.45569E-05    .10169E-02
   3  norm          16.009        164.70        .14946E-04    .36667E-03
   4  Prefactor     .72164E-09    98.707       -.22289E-05** at limit **
   5  Prefactor      .0000        7.2250        .79584E-07** at limit **
   6  Prefactor     1.7262        83.289        .13501E-04    .61300E-03
   7  norm          2.9232        1.6025       -.35197E-06    .15089E-01
   8  Prefactor     10.318        11.446        .58206E-06    .40664E-03
   9  Prefactor     4.2730        13.501        .34185E-05   -.50210E-04
  10  norm           .0000        .29008       -.11189E-06** at limit **
  11  Prefactor     4.7657        13.752        .14124E-06   -.13075E-03
  12  Prefactor     22.255        16.627       -.18739E-05    .73925E-03
  13  norm          .55511E-10    1.9790        .93980E-08** at limit **
  14  norm          .38858E-09    11.019        .33185E-06** at limit **
  15  norm          2.4228        1.9598        .31619E-07    .17108E-02
  16  Normalizat    1.3228        .21965       -.23001E-05    .14679E-03
  17  Prefactor     .76145        .17096       -.56407E-05    .21354E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 48.5902
  norm       = 16.0086
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  Prefactor  = 1.72624
  norm       = 2.92318
  Prefactor  = 10.3183
  Prefactor  = 4.27301
  norm       = 0
  Prefactor  = 4.76574
  Prefactor  = 22.2551
  norm       = 5.55112e-11
  norm       = 3.88578e-10
  norm       = 2.42277
  Normalizat = 1.32278
  Prefactor  = 0.761449
 **********
 **   18 **HESSE 
 **********

 FCN=   6619.492     FROM HESSE     STATUS=OK           261 CALLS     1497 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    26.069        .15622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     48.590        56.532        .14372E-03   -1.5569    
   3  norm          16.009        162.82        .26650E-03   -1.5628    
   4  Prefactor     .72164E-09    96.973        .81312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        7.2336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7262        87.264        .77850E-03   -1.5682    
   7  norm          2.9232        1.6581        .59386E-03   -1.5674    
   8  Prefactor     10.318        11.423        .31332E-03   -1.5644    
   9  Prefactor     4.2730        13.515        .48663E-03   -1.5667    
  10  norm           .0000        .28691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.7657        13.784        .45920E-03   -1.5664    
  12  Prefactor     22.255        16.553        .21173E-03   -1.5614    
  13  norm          .55511E-10    1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .38858E-09    11.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4228        1.9553        .65742E-03   -1.5677    
  16  Normalizat    1.3228        .18453        .53821E-01   -.82889    
  17  Prefactor     .76145        .14469        .43221E-01   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11797e-08
Minuit parameter uncertainties:
  1  8.20889e-05
  2  56.5321
  3  102.11
  4  0.000537905
  5  6.78125e-06
  6  24.5474
  7  1.65806
  8  11.4226
  9  13.515
  10  2.30416e-06
  11  13.7841
  12  16.5527
  13  1.94214e-05
  14  0.000128111
  15  1.95528
  16  0.184617
  17  0.144766
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.032e+01  1.142e+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:  7.614e-01  1.448e-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:  1.323e+00  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.02
Ra Dec: 129.051 21.697
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 5.06e-08 +/- 5.60e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/69282/likelihoodResults_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.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) = 6619.45223585
delta logL = 0.0395496994861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6619.43477099
delta logL = 0.057014557864

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1007       1.0000          .0000       .10000E+07
     2 'Index     '    3.0853       1.0000          .0000       10.000    
     3 'Normalizat'    1.3105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76975       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6619.435     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      246 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0990        13.983        .14081E-04    .13968E-03
   2  Index         3.0855        1.3125        .97502E-02    .30378E-03
   3  Normalizat    1.3105        .21301        .23888E-03   -.81195E-03
   4  Prefactor     .76974        .16946        .24503E-03   -.73786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.09902
  Index      = 3.08551
  Normalizat = 1.31055
  Prefactor  = 0.769739
 **********
 **   18 **HESSE 
 **********

 FCN=   6619.435     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0990        12.434        .56324E-06   -1.5651    
   2  Index         3.0855        1.1692        .19500E-02   -.39293    
   3  Normalizat    1.3105        .21319        .47776E-04   -.83252    
   4  Prefactor     .76974        .16932        .49006E-04   -1.0085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68895e-10
Minuit parameter uncertainties:
  1  12.4337
  2  1.18207
  3  0.213328
  4  0.169436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69282': 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) = 6619.43477097
delta logL = 0.0570145781076

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  8.099e+00  1.243e+01  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.086e+00  1.182e+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:  7.697e-01  1.694e-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:  1.311e+00  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 129.051 21.697
Photon Index (Free Index): 3.09 +/- 1.18
Photon Flux (Free Index): 5.88e-08 +/- 6.15e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.21e-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/69282/cmap_HighResolution_684115201_684374401_4FGL_J0836.2+2141_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='5.06e-08', energy_flux2='1.13e-05', photon_flux_error='5.60e-08', dlogl='5.70e-02', energy_flux='1.19e-05', photon_flux2='5.88e-08', job_status='DONE', time_completed='2022-09-16 14:14:32.800323', photon_index_error2='1.18', photon_index2='3.09', ts='1.02', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.21e-05', EG='1.32', time_epoch_completed='1663362872.8', return_code='0', job_id='69282', GAL2='0.77', EG2='1.31', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='6.15e-08', ts2='1.16', photon_index='2.73' WHERE bin_id='1716' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:14:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 69282: <4FGL_J0836.2+2141_daily_bin1716> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1716> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 14:00:23 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:03:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:03:27 2022
Terminated at Fri Sep 16 14:14:33 2022
Results reported at Fri Sep 16 14:14:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1716 129.051 21.6971 684115201 684374401 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 :                                   521.56 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            850 sec.

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

