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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1777
RA = 129.051, Dec = 21.6971
tmin = 699926401, tmax = 700185601
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='911096', job_status='RUN', time_executed='2023-03-11 00:29:17.657196', time_epoch_executed='1678523357.66' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/911096

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/911096/ft1_4FGL_J0836.2+2141_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/911096/ft2_4FGL_J0836.2+2141_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/911096/ft1_4FGL_J0836.2+2141_daily_bin1777.fits outfile=/scratch/kocevski/911096/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1777.fits ra=129.051 dec=21.6971 rad=12.0 tmin=699926401.0 tmax=700185601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.64
user 3.43
sys 0.19

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

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

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/911096/ft1_filtered_4FGL_J0836.2+2141_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/911096/ft2_4FGL_J0836.2+2141_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/911096/ltcube_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.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/911096/ft2_4FGL_J0836.2+2141_daily_bin1777.fits
.....................!
real 13.71
user 13.39
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/911096/ft1_filtered_4FGL_J0836.2+2141_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911096/ft2_4FGL_J0836.2+2141_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/911096/ltcube_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.fits outfile=/scratch/kocevski/911096/expmap_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.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/911096/ltcube_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.fits
.....................!
real 190.18
user 185.73
sys 4.08

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/911096/ft1_filtered_4FGL_J0836.2+2141_daily_bin1777.fits scfile=/scratch/kocevski/911096/ft2_4FGL_J0836.2+2141_daily_bin1777.fits outfile=/scratch/kocevski/911096/cmap_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/911096/ft1_filtered_4FGL_J0836.2+2141_daily_bin1777.fits scfile=/scratch/kocevski/911096/ft2_4FGL_J0836.2+2141_daily_bin1777.fits outfile=/scratch/kocevski/911096/cmap_HighResolution_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.520       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4896       1.0000          .0000       .10000E+07
     3 'norm      '    .78815E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38478       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6585       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35416E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .66571       1.0000          .0000       .10000E+07
     8 'Prefactor '    .67280E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.301       1.0000          .0000       .10000E+07
    10 'norm      '    .30632       1.0000          .0000       .10000E+07
    11 'Prefactor '    .59502       1.0000          .0000       .10000E+07
    12 'Prefactor '    33.246       1.0000          .0000       .10000E+07
    13 'norm      '    .44370E-06   1.0000          .0000       .10000E+07
    14 'norm      '    1.0371       1.0000          .0000       .10000E+07
    15 'norm      '    1.0085       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0256       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0210       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=   6101.955     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1188 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.448        6.4906       -.23116E-06   -.19582E-01
   2  Prefactor     1.4711        1.7351       -.19844E-06   -.29569E-03
   3  norm          .26645E-08    26.779        .14500E-05** at limit **
   4  Prefactor     .88818E-09    94.567        .58663E-06** at limit **
   5  Prefactor     2.7030        1.6106       -.12263E-06    .33578E-02
   6  Prefactor      .0000        5.5281        .34353E-06** at limit **
   7  norm          .66467        .73359       -.31294E-06   -.92087E-03
   8  Prefactor      .0000        1.5824        .64927E-06** at limit **
   9  Prefactor     14.607        10.875        .44483E-06    .41898E-01
  10  norm          .30581        .41791        .23220E-07    .15734E-03
  11  Prefactor     .61683        10.080       -.10560E-05   -.12624E-03
  12  Prefactor     32.473        17.888        .65099E-06   -.80090E-03
  13  norm           .0000        2.5981        .19295E-06** at limit **
  14  norm          .47340        541.84       -.87606E-05    .28770E-02
  15  norm          1.0102        1.3650        .14447E-06   -.42670E-03
  16  Normalizat    1.0281        .20838       -.71600E-06    .42188E-04
  17  Prefactor     1.0201        .17785        .67215E-05    .58883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4476
  Prefactor  = 1.47114
  norm       = 2.66454e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 2.70297
  Prefactor  = 0
  norm       = 0.664671
  Prefactor  = 0
  Prefactor  = 14.6066
  norm       = 0.305806
  Prefactor  = 0.616834
  Prefactor  = 32.4732
  norm       = 0
  norm       = 0.473396
  norm       = 1.0102
  Normalizat = 1.02811
  Prefactor  = 1.02009
 **********
 **   18 **HESSE 
 **********

 FCN=   6101.955     FROM HESSE     STATUS=OK           267 CALLS     1455 TOTAL
                     EDM=   .92E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.448        20.942        .23246E-03   -1.5622    
   2  Prefactor     1.4711        98.538        .87813E-03   -1.5684    
   3  norm          .26645E-08    26.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88818E-09    98.041        .91272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7030        45.802        .62490E-03   -1.5675    
   6  Prefactor      .0000        5.5340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .66467        .74725        .63536E-03   -1.5692    
   8  Prefactor      .0000        1.5836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.607        31.661        .26459E-03   -1.5632    
  10  norm          .30581        .45302        .10126E-02   -1.5697    
  11  Prefactor     .61683        10.104        .69675E-03   -1.5692    
  12  Prefactor     32.473        18.442        .17346E-03   -1.5594    
  13  norm           .0000        2.6048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .47340        32.622        .14628E-01   -1.5694    
  15  norm          1.0102        1.3723        .44064E-03   -1.5688    
  16  Normalizat    1.0281        .18225        .42634E-01   -.92095    
  17  Prefactor     1.0201        .15301        .42039E-01   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17603e-07
Minuit parameter uncertainties:
  1  20.9419
  2  24.0805
  3  0.000534685
  4  0.000598249
  5  22.2533
  6  1.45422e-05
  7  0.74725
  8  5.96512e-06
  9  31.6611
  10  0.453023
  11  4.99303
  12  18.4416
  13  3.76909e-06
  14  7.8596
  15  1.37226
  16  0.182356
  17  0.15308
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  5.965e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.020e+00  1.531e-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.028e+00  1.824e-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: 4.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/911096/likelihoodResults_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.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) = 6101.96055653
delta logL = -0.00554490526247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6101.95501176
delta logL = -1.3233966456e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86597E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .77781       1.0000          .0000       10.000    
     3 'Normalizat'    1.0282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0200       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6101.955     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      271 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .59902        .42118E-03** at limit **
   2  Index         3.7697        2.0391        .27723E-04     .0000    
   3  Normalizat    1.0281        1.2420        .10030E-04    .28385E-04
   4  Prefactor     1.0201        1.2379       -.13047E-04    .40592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.76967
  Normalizat = 1.02811
  Prefactor  = 1.02009
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6101.955     FROM HESSE     STATUS=FAILED         9 CALLS      280 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .59902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5604        2.3235        .27723E-04   -.24862    
   3  Normalizat    1.0281        1.2420        .10030E-04   -.92095    
   4  Prefactor     1.0201        1.2379       -.13047E-04   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.15161e-12
Minuit parameter uncertainties:
  1  1.41648e-06
  2  2.10462
  3  1.27989
  4  1.2753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/911096': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6101.95501162
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  1.416e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.770e+00  2.105e+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.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.028e+00  1.280e+00  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/911096/cmap_HighResolution_699926401_700185601_4FGL_J0836.2+2141_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-03', job_status='DONE', photon_flux_upper_limit='4.25e-08', time_completed='2023-03-11 00:37:45.788951', job_id='911096', GAL2='1.02', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1678523865.79', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1777' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:37:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 911096: <4FGL_J0836.2+2141_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 00:25:18 2023
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:25:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:25:19 2023
Terminated at Sat Mar 11 00:37:46 2023
Results reported at Sat Mar 11 00:37:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1777 129.051 21.6971 699926401 700185601 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 :                                   510.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            748 sec.

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

