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 48 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_J0831.8+0429_daily_bin1779
RA = 127.973, Dec = 4.4941
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='13843', job_status='RUN', time_executed='2023-03-17 00:56:12.407787', time_epoch_executed='1679039772.41' WHERE source_name='4FGL J0831.8+0429' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13843

Creating custom pfile directory:
/scratch/kocevski/13843/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/13843/ft1_4FGL_J0831.8+0429_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/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13843/ft1_4FGL_J0831.8+0429_daily_bin1779.fits outfile=/scratch/kocevski/13843/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin1779.fits ra=127.973 dec=4.4941 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.29
user 5.03
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_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/13843/ft1_filteredMKT_4FGL_J0831.8+0429_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_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: 407

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/13843/ltcube_700444801_700704001_4FGL_J0831.8+0429_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/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits
.....................!
real 12.07
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/13843/ltcube_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.fits outfile=/scratch/kocevski/13843/expmap_700444801_700704001_4FGL_J0831.8+0429_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/13843/ltcube_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.fits
.....................!
real 190.35
user 185.20
sys 4.62

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J0831.8+0429 @ 127.973 4.4941

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits scfile=/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits outfile=/scratch/kocevski/13843/cmap_700444801_700704001_4FGL_J0831.8+0429_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=127.973 yref=4.4941 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits scfile=/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits outfile=/scratch/kocevski/13843/cmap_HighResolution_700444801_700704001_4FGL_J0831.8+0429_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=127.973 yref=4.4941 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/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13843/Model_4FGL_J0831.8+0429_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/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits.....................!
real 58.43
user 56.97
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits', '/scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits', expMap='/scratch/kocevski/13843/expmap_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.fits', expCube='/scratch/kocevski/13843/ltcube_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13843/Model_4FGL_J0831.8+0429_daily_bin1779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0831.8+0429'

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.181e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  7.610e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/13843/ft1_filtered_4FGL_J0831.8+0429_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/13843/ft2_4FGL_J0831.8+0429_daily_bin1779.fits
Exposure map: /scratch/kocevski/13843/expmap_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.fits
Exposure cube: /scratch/kocevski/13843/ltcube_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13843/Model_4FGL_J0831.8+0429_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) = 4729.19703141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16736E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .22249E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15705E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    29.194       1.0000          .0000       .10000E+07
     5 'norm      '    .13844E-03   1.0000          .0000       .10000E+07
     6 'norm      '    2.5273       1.0000          .0000       .10000E+07
     7 'norm      '    48.819       1.0000          .0000       .10000E+07
     8 'norm      '    7.7165       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99702E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.2930       1.0000          .0000       .10000E+07
    11 'norm      '    .62572E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .14426E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .24669E-04   1.0000          .0000       .10000E+07
    14 'norm      '    8.1148       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0991       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .86029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4729.165     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1089 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57732E-08    4.2995       -.66710E-06** at limit **
   2  Prefactor     .49960E-09    7.3319       -.10239E-06** at limit **
   3  Prefactor     .55511E-10    2.4048        .77044E-06** at limit **
   4  Prefactor     29.909        56.002        .30027E-04    .42454E-03
   5  norm          .55511E-10    7.8920        .62351E-05** at limit **
   6  norm          2.4566        3.8084       -.67471E-07    .75594E-03
   7  norm          48.019        39.621        .65505E-05    .11984E-02
   8  norm          7.7187        4.7506       -.80700E-06    .17048E-02
   9  Prefactor     .16764E-07    3.8789       -.50099E-06** at limit **
  10  norm          1.2935        1.2915       -.39265E-06    .15012E-01
  11  norm          .24980E-08    12.433        .49300E-05** at limit **
  12  Prefactor     .94369E-09    20.603       -.31003E-05** at limit **
  13  norm          .55511E-10    1.9998        .46523E-06** at limit **
  14  norm          8.1057        7.9877        .87953E-06   -.43067E-03
  15  Normalizat    1.0989        .25634       -.90796E-04   -.18290E-03
  16  Prefactor     .86085        .19094        .30960E-04   -.36845E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.77316e-09
  Prefactor  = 4.996e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 29.9088
  norm       = 5.55112e-11
  norm       = 2.45656
  norm       = 48.0191
  norm       = 7.71872
  Prefactor  = 1.67644e-08
  norm       = 1.29351
  norm       = 2.498e-09
  Prefactor  = 9.4369e-10
  norm       = 5.55112e-11
  norm       = 8.10572
  Normalizat = 1.09893
  Prefactor  = 0.860853
 **********
 **   18 **HESSE 
 **********

 FCN=   4729.165     FROM HESSE     STATUS=OK           231 CALLS     1320 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57732E-08    8.1211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .49960E-09    7.3361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    2.4058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.909        55.884        .18511E-03   -1.5599    
   5  norm          .55511E-10    7.9014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4566        3.8193        .64227E-03   -1.5677    
   7  norm          48.019        39.639        .14313E-03   -1.5569    
   8  norm          7.7187        4.7497        .36075E-03   -1.5652    
   9  Prefactor     .16764E-07    8.0727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2935        1.3095        .97295E-03   -1.5685    
  11  norm          .24980E-08    12.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94369E-09    20.596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    1.9947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.1057        7.9824        .35172E-03   -1.5651    
  15  Normalizat    1.0989        .21597        .59641E-01   -.89786    
  16  Prefactor     .86085        .16102        .44497E-01   -.97523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5361e-09
Minuit parameter uncertainties:
  1  0.000433207
  2  0.000124129
  3  2.56421e-05
  4  55.885
  5  4.54199e-05
  6  3.81935
  7  39.6394
  8  4.74974
  9  0.000735975
  10  1.30946
  11  0.000350083
  12  0.000277895
  13  1.6556e-05
  14  7.98242
  15  0.216147
  16  0.161106
Done.

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

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  1.294e+00  1.309e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.181e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  7.610e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  8.609e-01  1.611e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  1.099e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 127.973 4.494
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.58e-08 +/- 4.64e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.86e-05

TS (Fixed Index): 1.77
Ra Dec: 127.973 4.494
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13843/likelihoodResults_700444801_700704001_4FGL_J0831.8+0429_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): 0
logL (Free Index) = 4726.98885244
delta logL = 2.17593704015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4726.98688023
delta logL = 2.17790925428

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85727       1.0000          .0000       .10000E+07
     2 'alpha     '    3.7823       1.0000          .0000       5.0000    
     3 'Normalizat'    .92219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4726.987     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      271 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85723        .94440        .28614E-05    .10898E-01
   2  alpha         3.7824        .82014        .10760E-02    .49766E-04
   3  Normalizat    .92210        .26539        .28350E-03   -.45155E-04
   4  Prefactor     .94248        .19513        .21311E-03   -.11895E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.857227
  alpha      = 3.78238
  Normalizat = 0.9221
  Prefactor  = 0.942483
 **********
 **   18 **HESSE 
 **********

 FCN=   4726.987     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85723        .92087        .11446E-06   -1.5689    
   2  alpha         3.7824        .80067        .43039E-04    .53862    
   3  Normalizat    .92210        .26563        .11340E-04   -.95688    
   4  Prefactor     .94248        .19527        .42622E-04   -.94672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25152e-10
Minuit parameter uncertainties:
  1  0.920865
  2  0.82052
  3  0.266008
  4  0.195416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13843': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4726.98688017
delta logL = 2.17790930793

Extracting fit parameters...

4FGL J0831.8+0429
   Spectrum: LogParabola
306         norm:  8.572e-01  9.209e-01  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  3.782e+00  8.205e-01  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  7.610e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  5.835e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.425e-01  1.954e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  9.221e-01  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.62
Ra Dec: 127.973 4.494
Photon Index (Free Index): 3.78 +/- 0.82
Photon Flux (Free Index): 2.08e-07 +/- 1.09e-07
Energy Flux (Free Index): 3.33e-05 +/- 1.64e-05

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/13843/cmap_HighResolution_700444801_700704001_4FGL_J0831.8+0429_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.03e-05', comment='SUCCESS', photon_flux='4.58e-08', energy_flux2='3.33e-05', photon_flux_error='4.64e-08', dlogl='2.18e+00', energy_flux='1.83e-05', photon_flux2='2.08e-07', job_status='DONE', time_completed='2023-03-17 01:03:38.187930', photon_index_error2='0.82', photon_index2='3.78', ts='1.77', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.64e-05', EG='1.10', time_epoch_completed='1679040218.19', return_code='0', job_id='13843', GAL2='0.94', EG2='0.92', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='1.09e-07', ts2='6.62', photon_index='2.18' WHERE bin_id='1779' AND source_name='4FGL J0831.8+0429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:03:38 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 13843: <4FGL_J0831.8+0429_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0831.8+0429_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 00:55:15 2023
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:55:16 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:16 2023
Terminated at Fri Mar 17 01:03:38 2023
Results reported at Fri Mar 17 01:03:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0831.8+0429_daily_bin1779 127.973 4.4941 700444801 700704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0831.8+0429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   447.43 sec.
    Max Memory :                                 1273 MB
    Average Memory :                             378.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3406 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   502 sec.
    Turnaround time :                            503 sec.

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

