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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1764
RA = 129.051, Dec = 21.6971
tmin = 696556801, tmax = 696816001
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='440788', job_status='RUN', time_executed='2023-01-31 00:32:21.778031', time_epoch_executed='1675153941.78' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440788

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440788/ft1_4FGL_J0836.2+2141_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440788/ft2_4FGL_J0836.2+2141_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440788/ft1_4FGL_J0836.2+2141_daily_bin1764.fits outfile=/scratch/kocevski/440788/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1764.fits ra=129.051 dec=21.6971 rad=12.0 tmin=696556801.0 tmax=696816001.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.74
user 3.48
sys 0.23

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

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

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440788/ft1_filtered_4FGL_J0836.2+2141_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/440788/ft2_4FGL_J0836.2+2141_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/440788/ltcube_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.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/440788/ft2_4FGL_J0836.2+2141_daily_bin1764.fits
.....................!
real 15.45
user 15.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440788/ft1_filtered_4FGL_J0836.2+2141_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/440788/ft2_4FGL_J0836.2+2141_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/440788/ltcube_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.fits outfile=/scratch/kocevski/440788/expmap_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.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/440788/ltcube_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.fits
.....................!
real 193.66
user 187.40
sys 5.86

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/440788/ft1_filtered_4FGL_J0836.2+2141_daily_bin1764.fits scfile=/scratch/kocevski/440788/ft2_4FGL_J0836.2+2141_daily_bin1764.fits outfile=/scratch/kocevski/440788/cmap_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440788/ft1_filtered_4FGL_J0836.2+2141_daily_bin1764.fits scfile=/scratch/kocevski/440788/ft2_4FGL_J0836.2+2141_daily_bin1764.fits outfile=/scratch/kocevski/440788/cmap_HighResolution_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16434E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13702E-03   1.0000          .0000       .10000E+07
     3 'norm      '    54.183       1.0000          .0000       .10000E+07
     4 'Prefactor '    88.936       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.4679       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.497       1.0000          .0000       .10000E+07
     7 'norm      '    .93818       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56769E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    21.619       1.0000          .0000       .10000E+07
    10 'norm      '    .43939       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    46.255       1.0000          .0000       .10000E+07
    13 'norm      '    2.6847       1.0000          .0000       .10000E+07
    14 'norm      '    24.044       1.0000          .0000       .10000E+07
    15 'norm      '    2.8027       1.0000          .0000       .10000E+07
    16 'Normalizat'    .87479       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1156       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=   6586.174     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1285 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    8.8946        .19330E-06** at limit **
   2  Prefactor     .95951E-06    34.201        .15821E-07** at limit **
   3  norm          43.122        83.268        .47107E-07    .49372E-02
   4  Prefactor     89.653        43.043        .53550E-07    .95496E-01
   5  Prefactor     2.4903        8.6836       -.47126E-07   -.61705E-01
   6  Prefactor     23.695        5.9246       -.14556E-08   -.12522    
   7  norm          .93469        1.3236       -.86459E-09    .14860E-02
   8  Prefactor     .10825E-07    100.97        .89965E-06** at limit **
   9  Prefactor     22.744        37.297        .30049E-06   -.34769E-01
  10  norm          .43810        .63849       -.33956E-07   -.99044E-02
  11  Prefactor     .37748E-08    13.836        .41864E-06** at limit **
  12  Prefactor     45.875        23.511        .66191E-07   -.71284E-01
  13  norm          2.6665        5.6167       -.72363E-07   -.12016E-02
  14  norm          24.134        8.8909        .56596E-07    .68684E-01
  15  norm          2.8043        2.6166       -.48172E-08   -.15008E-03
  16  Normalizat    .87241        .23084       -.41091E-05   -.52722E-05
  17  Prefactor     1.1190        .18557        .31463E-05    .20792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 9.5951e-07
  norm       = 43.1221
  Prefactor  = 89.6526
  Prefactor  = 2.49026
  Prefactor  = 23.6947
  norm       = 0.934692
  Prefactor  = 1.08247e-08
  Prefactor  = 22.7441
  norm       = 0.438096
  Prefactor  = 3.77476e-09
  Prefactor  = 45.875
  norm       = 2.66647
  norm       = 24.1338
  norm       = 2.80434
  Normalizat = 0.87241
  Prefactor  = 1.11895
 **********
 **   18 **HESSE 
 **********

 FCN=   6586.174     FROM HESSE     STATUS=OK           271 CALLS     1556 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    8.8557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .95951E-06    35.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          43.122        83.385        .13586E-03   -1.5577    
   4  Prefactor     89.653        46.353        .10604E-03   -1.5519    
   5  Prefactor     2.4903        68.989        .54278E-03   -1.5676    
   6  Prefactor     23.695        27.948        .20635E-03   -1.5611    
   7  norm          .93469        1.4575        .43155E-03   -1.5689    
   8  Prefactor     .10825E-07    5.8163        .12173E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.744        38.655        .21513E-03   -1.5613    
  10  norm          .43810        .71203        .17378E-02   -1.5695    
  11  Prefactor     .37748E-08    13.796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.875        24.203        .14705E-03   -1.5573    
  13  norm          2.6665        5.6347        .62160E-03   -1.5675    
  14  norm          24.134        31.537        .20399E-03   -1.5610    
  15  norm          2.8043        2.6295        .60740E-03   -1.5674    
  16  Normalizat    .87241        .20304        .65964E-01   -.97436    
  17  Prefactor     1.1190        .15838        .37023E-01   -.88863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45738e-06
Minuit parameter uncertainties:
  1  7.30437e-05
  2  0.0116491
  3  83.3877
  4  46.3535
  5  26.2149
  6  27.9485
  7  1.45752
  8  0.000501813
  9  38.6557
  10  0.712031
  11  0.000456707
  12  24.2029
  13  5.63476
  14  31.5375
  15  2.6295
  16  0.203219
  17  0.158448
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.082e-08  5.018e-04  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.119e+00  1.584e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  8.724e-01  2.032e-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: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440788/likelihoodResults_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.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) = 6586.16637784
delta logL = 0.00770190375897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6585.81804774
delta logL = 0.356032010124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3305       1.0000          .0000       .10000E+07
     2 'Index     '    4.2163       1.0000          .0000       10.000    
     3 'Normalizat'    .78978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1597       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=   6585.818     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      299 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3310        8.8682        .13450E-04    .18047E-01
   2  Index         4.2157        2.5428        .92995E-02    .25050E-03
   3  Normalizat    .78987        .23595        .30530E-03    .89500E-03
   4  Prefactor     1.1597        .18810        .21434E-03    .86127E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.331
  Index      = 4.21572
  Normalizat = 0.789867
  Prefactor  = 1.15968
 **********
 **   18 **HESSE 
 **********

 FCN=   6585.818     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3310        5.4051        .53801E-06   -1.5677    
   2  Index         4.2157        1.5927        .37198E-03   -.15751    
   3  Normalizat    .78987        .23659        .61059E-04   -1.0045    
   4  Prefactor     1.1597        .18837        .42869E-04   -.87581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11274e-09
Minuit parameter uncertainties:
  1  5.40514
  2  1.62166
  3  0.236902
  4  0.188484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440788': 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) = 6585.81804749
delta logL = 0.356032254901

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  2.331e+00  5.405e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  4.216e+00  1.622e+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.160e+00  1.885e-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.899e-01  2.369e-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/440788/cmap_HighResolution_696556801_696816001_4FGL_J0836.2+2141_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2023-01-31 00:41:20.571730', job_id='440788', GAL2='1.16', fit_tolerance='1e-08', EG2='0.79', EG='0.87', time_epoch_completed='1675154480.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.56e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1764' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:41:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 440788: <4FGL_J0836.2+2141_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:30:30 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:31:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:31:23 2023
Terminated at Tue Jan 31 00:41:21 2023
Results reported at Tue Jan 31 00:41:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1764 129.051 21.6971 696556801 696816001 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 :                                   541.14 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            651 sec.

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

