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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1779
RA = 129.051, Dec = 21.6971
tmin = 700444801, tmax = 700704001
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='13851', job_status='RUN', time_executed='2023-03-17 00:58:31.552650', time_epoch_executed='1679039911.55' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13851

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13851/ft1_4FGL_J0836.2+2141_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13851/ft2_4FGL_J0836.2+2141_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13851/ft1_4FGL_J0836.2+2141_daily_bin1779.fits outfile=/scratch/kocevski/13851/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1779.fits ra=129.051 dec=21.6971 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.28
user 5.01
sys 0.24

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

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

Number of photons that the gtmktime cut: 410

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13851/ft1_filtered_4FGL_J0836.2+2141_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/13851/ft2_4FGL_J0836.2+2141_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/13851/ltcube_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.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/13851/ft2_4FGL_J0836.2+2141_daily_bin1779.fits
.....................!
real 12.01
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13851/ft1_filtered_4FGL_J0836.2+2141_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/13851/ft2_4FGL_J0836.2+2141_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/13851/ltcube_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.fits outfile=/scratch/kocevski/13851/expmap_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.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/13851/ltcube_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.fits
.....................!
real 190.34
user 185.18
sys 4.83

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/13851/ft1_filtered_4FGL_J0836.2+2141_daily_bin1779.fits scfile=/scratch/kocevski/13851/ft2_4FGL_J0836.2+2141_daily_bin1779.fits outfile=/scratch/kocevski/13851/cmap_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13851/ft1_filtered_4FGL_J0836.2+2141_daily_bin1779.fits scfile=/scratch/kocevski/13851/ft2_4FGL_J0836.2+2141_daily_bin1779.fits outfile=/scratch/kocevski/13851/cmap_HighResolution_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44144E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .84154E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .24093E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43030       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11633E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29384E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .17164E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .67509E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10783E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .47184E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12436E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    80.087       1.0000          .0000       .10000E+07
    13 'norm      '    .23437E-03   1.0000          .0000       .10000E+07
    14 'norm      '    42.053       1.0000          .0000       .10000E+07
    15 'norm      '    .10786E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    .94224       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91852       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=   4751.038     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1000 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19057E-05    24.112        .11140E-06** at limit **
   2  Prefactor     .23315E-08    15.483       -.19368E-06** at limit **
   3  norm          .18777E-04    31.303        .60950E-06** at limit **
   4  Prefactor     .89974E-01    206.29       -.17533E-05** at limit **
   5  Prefactor     .19342E-04    46.128       -.24719E-06** at limit **
   6  Prefactor     .29077E-06    23.845       -.57949E-06** at limit **
   7  norm          .55511E-10    .63493        .34192E-07** at limit **
   8  Prefactor     .11102E-09    3.4611       -.50988E-07** at limit **
   9  Prefactor     .90514E-05    25.369       -.34213E-07** at limit **
  10  norm          .11102E-09    .59989        .51658E-07** at limit **
  11  Prefactor      .0000        8.8793       -.33037E-07** at limit **
  12  Prefactor     79.993        2.1025        .98102E-08    .13544E-01
  13  norm          .55511E-10    6.5810        .36907E-07** at limit **
  14  norm          41.730        15.390       -.14641E-06    .22146E-01
  15  norm          .16653E-09    .79986        .71304E-07** at limit **
  16  Normalizat    .94261        .22274        .61580E-06    .33717E-03
  17  Prefactor     .91872        .18537        .78421E-06    .41238E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9057e-06
  Prefactor  = 2.33147e-09
  norm       = 1.87771e-05
  Prefactor  = 0.0899736
  Prefactor  = 1.93424e-05
  Prefactor  = 2.90767e-07
  norm       = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 9.05137e-06
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 79.993
  norm       = 5.55112e-11
  norm       = 41.7304
  norm       = 1.66533e-10
  Normalizat = 0.942607
  Prefactor  = 0.918717
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.038     FROM HESSE     STATUS=OK           261 CALLS     1261 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19057E-05    24.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23315E-08    15.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .18777E-04    37.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .89974E-01    19.419        .11432E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19342E-04    53.154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .29077E-06    10.324        .12245E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    .62752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    3.4604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .90514E-05    28.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .11102E-09    .58404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        8.9077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     79.993        28.693        .11175E-03   -1.5529    
  13  norm          .55511E-10    6.5568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          41.730        44.944        .15422E-03   -1.5579    
  15  norm          .16653E-09    .80135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .94261        .19392        .45439E-01   -.94979    
  17  Prefactor     .91872        .15806        .45241E-01   -.95490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34408e-06
Minuit parameter uncertainties:
  1  0.013728
  2  0.000381748
  3  0.0531902
  4  2.64362
  5  0.064129
  6  0.00346527
  7  1.05053e-05
  8  3.56704e-05
  9  0.0320735
  10  1.52932e-05
  11  2.59085e-05
  12  28.6931
  13  3.54347e-05
  14  44.9445
  15  2.47933e-05
  16  0.194069
  17  0.158142
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.110e-10  3.567e-05  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:  9.187e-01  1.581e-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:  9.426e-01  1.941e-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: 7.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13851/likelihoodResults_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.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) = 4751.03792694
delta logL = -0.000227215305131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4751.03770639
delta logL = -6.66727737553e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95183E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4157       1.0000          .0000       10.000    
     3 'Normalizat'    .94256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91849       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=   4751.038     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      267 TOTAL
                     EDM=   .89E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .53116E-02    .42118E-03** at limit **
   2  Index         3.9748        7.9703        .50000        .13642E-09
   3  Normalizat    .94261        .32454E-03    .45443E-01    .12556E-03
   4  Prefactor     .91872        .26970E-03    .45240E-01    .17362E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.97484
  Normalizat = 0.942607
  Prefactor  = 0.918717
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.038     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .33316E-01    .73774E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9748        5.7981        .50000       -.20650    
   3  Normalizat    .94261        .81095E-03    .25294E-03   -.94979    
   4  Prefactor     .91872        .67400E-03    .21150E-03   -.95490    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.58562e-13
Minuit parameter uncertainties:
  1  2.92947e-06
  2  16892.6
  3  0.000810947
  4  0.000673996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13851': 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) = 4751.03769973
delta logL = 6.63931132294e-11

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  5.551e-11  2.929e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.975e+00  1.689e+04  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.187e-01  6.740e-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:  9.426e-01  8.109e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/13851/cmap_HighResolution_700444801_700704001_4FGL_J0836.2+2141_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.83e-08', time_completed='2023-03-17 01:05:56.811532', job_id='13851', GAL2='0.92', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1679040356.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='6.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1779' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:05:56 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 13851: <4FGL_J0836.2+2141_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 00:55:16 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:55:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:55:17 2023
Terminated at Fri Mar 17 01:05:57 2023
Results reported at Fri Mar 17 01:05:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1779 129.051 21.6971 700444801 700704001 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 :                                   447.33 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             253.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            641 sec.

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

