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


Performing analysis on: 4FGL_J0836.2+2141_weekly_bin755
RA = 129.051, Dec = 21.6971
tmin = 695606401, tmax = 696211201
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='717782', job_status='RUN', time_executed='2023-01-24 01:11:50.996197', time_epoch_executed='1674551511.0' WHERE source_name='4FGL J0836.2+2141' and cadence='weekly' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717782

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717782/ft1_4FGL_J0836.2+2141_weekly_bin755.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717782/ft1_4FGL_J0836.2+2141_weekly_bin755.fits outfile=/scratch/kocevski/717782/ft1_filteredMKT_4FGL_J0836.2+2141_weekly_bin755.fits ra=129.051 dec=21.6971 rad=12.0 tmin=695606401.0 tmax=696211201.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 8.55
user 8.12
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.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/717782/ft1_filteredMKT_4FGL_J0836.2+2141_weekly_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/717782/ft1_filtered_4FGL_J0836.2+2141_weekly_bin755.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.65
user 0.38
sys 0.17

Number of photons that the gtmktime cut: 803

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717782/ft1_filtered_4FGL_J0836.2+2141_weekly_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/717782/ltcube_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.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/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.fits
.....................!
real 31.66
user 30.69
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717782/ft1_filtered_4FGL_J0836.2+2141_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/717782/ltcube_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.fits outfile=/scratch/kocevski/717782/expmap_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.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/717782/ltcube_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.fits
.....................!
real 192.69
user 186.72
sys 4.80

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/717782/ft1_filtered_4FGL_J0836.2+2141_weekly_bin755.fits scfile=/scratch/kocevski/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.fits outfile=/scratch/kocevski/717782/cmap_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.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.59
user 0.43
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717782/ft1_filtered_4FGL_J0836.2+2141_weekly_bin755.fits scfile=/scratch/kocevski/717782/ft2_4FGL_J0836.2+2141_weekly_bin755.fits outfile=/scratch/kocevski/717782/cmap_HighResolution_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.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.59
user 0.42
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.645       1.0000          .0000       .10000E+07
     2 'Prefactor '    87.349       1.0000          .0000       .10000E+07
     3 'norm      '    .18564       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50133E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .75491E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.3783       1.0000          .0000       .10000E+07
     7 'norm      '    .59350       1.0000          .0000       .10000E+07
     8 'Prefactor '    .43061E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.585       1.0000          .0000       .10000E+07
    10 'norm      '     .0000       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.4366       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6163       1.0000          .0000       .10000E+07
    13 'norm      '    4.1762       1.0000          .0000       .10000E+07
    14 'norm      '    .67025E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .71942E-07   1.0000          .0000       .10000E+07
    16 'Normalizat'    .84311       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1226       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=   9136.845     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1240 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.644        4.2181       -.23090E-07   -.19125E-01
   2  Prefactor     87.853        41.934        .83801E-07   -.42796E-01
   3  norm           .0000        28.375       -.70953E-06** at limit **
   4  Prefactor     .93314E-07    8.0868        .10815E-06** at limit **
   5  Prefactor     .66613E-09    4.9158        .32205E-07** at limit **
   6  Prefactor     4.3712        10.577        .16659E-06    .13322E-01
   7  norm          .59216        .73840       -.82782E-07   -.22669E-02
   8  Prefactor     .16365E-06    9.0476       -.88761E-07** at limit **
   9  Prefactor     12.788        10.028       -.43908E-07    .95646E-01
  10  norm           .0000        1.6142        .15938E-06** at limit **
  11  Prefactor     5.4283        5.8555        .36322E-06    .12593E-02
  12  Prefactor     2.5978        3.7417       -.36245E-07   -.85670E-02
  13  norm          4.1547        5.1270        .23593E-06    .70665E-03
  14  norm          .44409E-09    11.329        .23696E-06** at limit **
  15  norm           .0000        .86864       -.12729E-07** at limit **
  16  Normalizat    .84280        .16590        .20932E-05    .18150E-04
  17  Prefactor     1.1229        .14175       -.12337E-05    .13975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6438
  Prefactor  = 87.8533
  norm       = 0
  Prefactor  = 9.33142e-08
  Prefactor  = 6.66134e-10
  Prefactor  = 4.37123
  norm       = 0.592157
  Prefactor  = 1.63647e-07
  Prefactor  = 12.7876
  norm       = 0
  Prefactor  = 5.42829
  Prefactor  = 2.5978
  norm       = 4.15465
  norm       = 4.44089e-10
  norm       = 0
  Normalizat = 0.842804
  Prefactor  = 1.12285
 **********
 **   18 **HESSE 
 **********

 FCN=   9136.845     FROM HESSE     STATUS=OK           263 CALLS     1503 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.644        13.702        .29331E-03   -1.5640    
   2  Prefactor     87.853        43.045        .10700E-03   -1.5521    
   3  norm           .0000        28.329        .12037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .93314E-07    8.8038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .66613E-09    4.9281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3712        10.777        .48110E-03   -1.5666    
   7  norm          .59216        .75941        .69813E-03   -1.5693    
   8  Prefactor     .16365E-06    10.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.788        26.807        .28211E-03   -1.5636    
  10  norm           .0000        .23281        .26831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.4283        5.9143        .43072E-03   -1.5661    
  12  Prefactor     2.5978        17.636        .63032E-03   -1.5676    
  13  norm          4.1547        5.1362        .49294E-03   -1.5667    
  14  norm          .44409E-09    11.367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .86613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .84280        .14914        .44170E-01   -.98500    
  17  Prefactor     1.1229        .12345        .36784E-01   -.88739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7828e-07
Minuit parameter uncertainties:
  1  13.7017
  2  43.0454
  3  3.08813e-06
  4  0.00181254
  5  0.000114053
  6  10.7774
  7  0.759409
  8  0.00257042
  9  26.8075
  10  1.48098e-06
  11  5.91434
  12  13.5375
  13  5.13616
  14  0.000140474
  15  1.20677e-06
  16  0.149216
  17  0.123481
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.636e-07  2.570e-03  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.123e+00  1.235e-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.428e-01  1.492e-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: 6.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/717782/likelihoodResults_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.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) = 9136.84535718
delta logL = -0.00055042101485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9136.84480777
delta logL = -1.00792385638e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15297E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.6379       1.0000          .0000       10.000    
     3 'Normalizat'    .84263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1229       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=   9136.845     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      240 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    9.0190        .56987E-06** at limit **
   2  Index         3.0621        2.5458       -.12463E-04    .42378E-10
   3  Normalizat    .84280        .16217        .46911E-05   -.15609E-04
   4  Prefactor     1.1229        .14069       -.17549E-04   -.89512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 3.06205
  Normalizat = 0.842804
  Prefactor  = 1.12285
 **********
 **   18 **HESSE 
 **********

 FCN=   9136.845     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      275 TOTAL
                     EDM=   .61E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .48354E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0621        5.9160        .50000       -.39802    
   3  Normalizat    .84280        .26495E-03    .44164E-01   -.98500    
   4  Prefactor     1.1229        .22917E-03    .36774E-01   -.88739    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.07086e-14
Minuit parameter uncertainties:
  1  5.48465e-06
  2  6286.47
  3  0.000264947
  4  0.000229175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717782': 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) = 9136.84480675
delta logL = 7.99082044978e-09

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.665e-10  5.485e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.062e+00  6.286e+03  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.123e+00  2.292e-04  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.428e-01  2.649e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/717782/cmap_HighResolution_695606401_696211201_4FGL_J0836.2+2141_weekly_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.37e-03', job_status='DONE', photon_flux_upper_limit='6.81e-08', time_completed='2023-01-24 01:22:36.254391', job_id='717782', GAL2='1.12', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1674552156.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='7.99e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='755' AND source_name='4FGL J0836.2+2141' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 24 01:22:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 717782: <4FGL_J0836.2+2141_weekly_bin755> in cluster <slac> Done

Job <4FGL_J0836.2+2141_weekly_bin755> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 24 01:10:21 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 24 01:10:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 24 01:10:51 2023
Terminated at Tue Jan 24 01:22:37 2023
Results reported at Tue Jan 24 01:22:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_weekly_bin755 129.051 21.6971 695606401 696211201 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 :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            736 sec.

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

