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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1752
RA = 129.051, Dec = 21.6971
tmin = 693446401, tmax = 693705601
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='257855', job_status='RUN', time_executed='2022-12-26 00:38:12.395647', time_epoch_executed='1672043892.4' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257855

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257855/ft1_4FGL_J0836.2+2141_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257855/ft2_4FGL_J0836.2+2141_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257855/ft1_4FGL_J0836.2+2141_daily_bin1752.fits outfile=/scratch/kocevski/257855/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1752.fits ra=129.051 dec=21.6971 rad=12.0 tmin=693446401.0 tmax=693705601.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.61
user 3.21
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257855/ft1_filtered_4FGL_J0836.2+2141_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/257855/ft2_4FGL_J0836.2+2141_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/257855/ltcube_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.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/257855/ft2_4FGL_J0836.2+2141_daily_bin1752.fits
.....................!
real 13.23
user 12.25
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257855/ft1_filtered_4FGL_J0836.2+2141_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/257855/ft2_4FGL_J0836.2+2141_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/257855/ltcube_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.fits outfile=/scratch/kocevski/257855/expmap_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.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/257855/ltcube_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.fits
.....................!
real 191.30
user 185.10
sys 5.82

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/257855/ft1_filtered_4FGL_J0836.2+2141_daily_bin1752.fits scfile=/scratch/kocevski/257855/ft2_4FGL_J0836.2+2141_daily_bin1752.fits outfile=/scratch/kocevski/257855/cmap_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257855/ft1_filtered_4FGL_J0836.2+2141_daily_bin1752.fits scfile=/scratch/kocevski/257855/ft2_4FGL_J0836.2+2141_daily_bin1752.fits outfile=/scratch/kocevski/257855/cmap_HighResolution_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23759E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12028E-01   1.0000          .0000       .10000E+07
     3 'norm      '    40.128       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41326E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46415E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10096E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .75185       1.0000          .0000       .10000E+07
     8 'Prefactor '    .91999E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13587       1.0000          .0000       .10000E+07
    10 'norm      '    .52674       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30617E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20198       1.0000          .0000       .10000E+07
    13 'norm      '    .36899E-05   1.0000          .0000       .10000E+07
    14 'norm      '    7.8746       1.0000          .0000       .10000E+07
    15 'norm      '    .28819       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2845       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .87401       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=   5938.122     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1171 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45519E-08    6.5636        .23987E-05** at limit **
   2  Prefactor     .87541E-07    12.839        .30884E-05** at limit **
   3  norm          39.880        43.300       -.57557E-05    .15104    
   4  Prefactor     .14422E-06    5.8834        .12393E-05** at limit **
   5  Prefactor     .46618E-06    11.922       -.40193E-05** at limit **
   6  Prefactor     .50515E-07    8.0725       -.19605E-05** at limit **
   7  norm          .75090        .82032        .80516E-06   -.42165E-03
   8  Prefactor     .67724E-08    4.3458        .10574E-05** at limit **
   9  Prefactor     .44997E-06    54.394       -.86389E-05** at limit **
  10  norm          .52626        .49273        .29969E-06    .99624E-03
  11  Prefactor      .0000        5.4141        .14417E-05** at limit **
  12  Prefactor     .41656E-06    3.6827       -.17923E-05** at limit **
  13  norm          .70832E-07    4.3260        .15413E-05** at limit **
  14  norm          7.6447        21.751       -.46354E-05   -.13069    
  15  norm          .29020        1.9884        .35487E-06    .37447E-03
  16  Normalizat    1.2854        .21684       -.24969E-04   -.13340E-04
  17  Prefactor     .87374        .18110        .16051E-04   -.37629E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.55191e-09
  Prefactor  = 8.75411e-08
  norm       = 39.8796
  Prefactor  = 1.44218e-07
  Prefactor  = 4.66183e-07
  Prefactor  = 5.05151e-08
  norm       = 0.750902
  Prefactor  = 6.77236e-09
  Prefactor  = 4.49973e-07
  norm       = 0.526263
  Prefactor  = 0
  Prefactor  = 4.16556e-07
  norm       = 7.08322e-08
  norm       = 7.64471
  norm       = 0.290197
  Normalizat = 1.2854
  Prefactor  = 0.873741
 **********
 **   18 **HESSE 
 **********

 FCN=   5938.122     FROM HESSE     STATUS=OK           253 CALLS     1424 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45519E-08    6.5808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .87541E-07    16.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.880        61.645        .15788E-03   -1.5582    
   4  Prefactor     .14422E-06    9.9945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .46618E-06    12.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .50515E-07    8.1097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .75090        .82666        .56595E-03   -1.5691    
   8  Prefactor     .67724E-08    10.482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44997E-06    53.916        .13051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .52626        .48249        .76064E-03   -1.5693    
  11  Prefactor      .0000        5.4204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .41656E-06    9.0483        .11741E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .70832E-07    17.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.6447        29.840        .35708E-03   -1.5653    
  15  norm          .29020        1.9799        .10379E-02   -1.5697    
  16  Normalizat    1.2854        .18393        .52828E-01   -.84003    
  17  Prefactor     .87374        .15170        .44673E-01   -.97065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19546e-06
Minuit parameter uncertainties:
  1  0.000347074
  2  0.00241643
  3  61.6456
  4  0.00240123
  5  0.00481871
  6  0.00128023
  7  0.826663
  8  0.000533237
  9  0.00985127
  10  0.482492
  11  1.66104e-05
  12  0.00388275
  13  0.00223031
  14  29.8405
  15  1.51601
  16  0.184021
  17  0.151769
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  6.772e-09  5.332e-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:  8.737e-01  1.518e-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.285e+00  1.840e-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: 9.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/257855/likelihoodResults_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.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) = 5938.11947155
delta logL = 0.00220508028815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5937.69023379
delta logL = 0.431442844153

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62075E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.5644       1.0000          .0000       10.000    
     3 'Normalizat'    1.2205       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91045       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=   5937.690     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      288 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61567E-01    1.1088        .48162E-03** at limit **
   2  Index         6.5699        3.6630        .21271        .37079E-04
   3  Normalizat    1.2208        .35259E-01    .53973E-01   -.50269E-04
   4  Prefactor     .91026        .29539E-01    .45138E-01   -.55522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0615666
  Index      = 6.56989
  Normalizat = 1.22084
  Prefactor  = 0.910262
 **********
 **   18 **HESSE 
 **********

 FCN=   5937.690     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      323 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61567E-01    4.1265        .22080E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5699        8.0985        .92416E-02    .31938    
   3  Normalizat    1.2208        .15235        .23865E-03   -.85961    
   4  Prefactor     .91026        .12445        .22678E-03   -.95783    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.74976e-11
Minuit parameter uncertainties:
  1  1.00808
  2  10.818
  3  0.152402
  4  0.12449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257855': 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) = 5937.69023174
delta logL = 0.431444893135

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  6.157e-02  1.008e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  6.570e+00  1.082e+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:  9.103e-01  1.245e-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.221e+00  1.524e-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/257855/cmap_HighResolution_693446401_693705601_4FGL_J0836.2+2141_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2022-12-26 00:46:30.794421', job_id='257855', GAL2='0.91', fit_tolerance='1e-08', EG2='1.22', EG='1.29', time_epoch_completed='1672044390.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.31e-01', ts2='0.94', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1752' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:46:30 PST 2022


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1752 129.051 21.6971 693446401 693705601 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 :                                   491.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            671 sec.

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

