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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin757
RA = 127.701, Dec = 24.1727
tmin = 696816001, tmax = 697420801
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='258216', job_status='RUN', time_executed='2023-02-07 00:52:49.981147', time_epoch_executed='1675759969.98' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258216

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258216/ft1_4FGL_J0830.8+2410_weekly_bin757.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258216/ft1_4FGL_J0830.8+2410_weekly_bin757.fits outfile=/scratch/kocevski/258216/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin757.fits ra=127.701 dec=24.1727 rad=12.0 tmin=696816001.0 tmax=697420801.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 7.70
user 7.42
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.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/258216/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin757.fits evtable="EVENTS" outfile="/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.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.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 1355

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits" evtable="EVENTS" scfile=/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits sctable="SC_DATA" outfile=/scratch/kocevski/258216/ltcube_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.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/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits
.....................!
real 28.68
user 28.18
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits sctable="SC_DATA" expcube=/scratch/kocevski/258216/ltcube_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.fits outfile=/scratch/kocevski/258216/expmap_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.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/258216/ltcube_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.fits
.....................!
real 193.04
user 186.26
sys 6.30

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

Setting source of interest to:
4FGL J0830.8+2410 @ 127.701 24.1727

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits scfile=/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits outfile=/scratch/kocevski/258216/cmap_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.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.701 yref=24.1727 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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits scfile=/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits outfile=/scratch/kocevski/258216/cmap_HighResolution_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.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.701 yref=24.1727 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/258216/Model_4FGL_J0830.8+2410_weekly_bin757.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/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits.....................!
real 135.25
user 133.73
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits', '/scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits', expMap='/scratch/kocevski/258216/expmap_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.fits', expCube='/scratch/kocevski/258216/ltcube_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/258216/Model_4FGL_J0830.8+2410_weekly_bin757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0830.8+2410'

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.247e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.412e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/258216/ft1_filtered_4FGL_J0830.8+2410_weekly_bin757.fits
Spacecraft file(s): /scratch/kocevski/258216/ft2_4FGL_J0830.8+2410_weekly_bin757.fits
Exposure map: /scratch/kocevski/258216/expmap_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.fits
Exposure cube: /scratch/kocevski/258216/ltcube_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/258216/Model_4FGL_J0830.8+2410_weekly_bin757.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) = 15501.4951834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.572       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.699       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71066E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    36.664       1.0000          .0000       .10000E+07
     5 'norm      '    3.5354       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.7689       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10730E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20135E-02   1.0000          .0000       .10000E+07
     9 'norm      '    3.5211       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6624       1.0000          .0000       .10000E+07
    11 'Prefactor '    .31592E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .25033       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12352E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .67020E-03   1.0000          .0000       .10000E+07
    15 'norm      '    19.620       1.0000          .0000       .10000E+07
    16 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0372       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0883       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15501.49     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1300 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.545        4.5851        .17622E-06   -.24289E-02
   2  Prefactor     24.118        27.173       -.12059E-05    .63937E-01
   3  Prefactor     .32752E-08    14.804        .56089E-06** at limit **
   4  Prefactor     36.621        11.665        .35529E-06   -.85396E-01
   5  norm          3.1200        107.54        .36458E-05    .20534E-01
   6  Prefactor     4.7641        5.0800        .40525E-06    .71782E-03
   7  Prefactor     .24064E-06    5.9586       -.22801E-06** at limit **
   8  Prefactor     .15543E-08    9.2167        .34349E-06** at limit **
   9  norm          3.5214        1.1404       -.25192E-07   -.16448E-02
  10  Prefactor     2.6249        7.4197        .38658E-06    .16923E-03
  11  Prefactor     .29676E-06    6.4103       -.13467E-08** at limit **
  12  norm          .25053        .38492        .23835E-07    .13622E-02
  13  Prefactor     .11102E-09    7.6198        .57549E-07** at limit **
  14  Prefactor      .0000        6.2080       -.39242E-06** at limit **
  15  norm          19.774        17.849       -.51579E-06   -.57078E-01
  16  norm           .0000        .38529        .28937E-07** at limit **
  17  Normalizat    1.0373        .14836       -.29442E-05    .78819E-04
  18  Prefactor     1.0883        .11799        .30666E-05    .11457E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.5452
  Prefactor  = 24.1177
  Prefactor  = 3.27516e-09
  Prefactor  = 36.6208
  norm       = 3.11996
  Prefactor  = 4.76412
  Prefactor  = 2.40641e-07
  Prefactor  = 1.55431e-09
  norm       = 3.52143
  Prefactor  = 2.62494
  Prefactor  = 2.96763e-07
  norm       = 0.250535
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 19.7745
  norm       = 0
  Normalizat = 1.03731
  Prefactor  = 1.08833
 **********
 **   18 **HESSE 
 **********

 FCN=   15501.49     FROM HESSE     STATUS=OK           284 CALLS     1584 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.545        5.0984        .28226E-03   -1.5637    
   2  Prefactor     24.118        42.563        .20546E-03   -1.5610    
   3  Prefactor     .32752E-08    14.957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.621        31.360        .16517E-03   -1.5587    
   5  norm          3.1200        186.44        .53735E-03   -1.5673    
   6  Prefactor     4.7641        29.445        .46049E-03   -1.5664    
   7  Prefactor     .24064E-06    11.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15543E-08    9.2444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5214        1.1551        .53849E-03   -1.5670    
  10  Prefactor     2.6249        7.5641        .62440E-03   -1.5676    
  11  Prefactor     .29676E-06    11.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .25053        .39221        .21548E-02   -1.5698    
  13  Prefactor     .11102E-09    7.6248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.2287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.774        20.985        .22584E-03   -1.5619    
  16  norm           .0000        .38193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0373        .12878        .63292E-01   -.91791    
  18  Prefactor     1.0883        .10100        .38048E-01   -.89840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97493e-07
Minuit parameter uncertainties:
  1  5.09839
  2  42.5635
  3  0.000441765
  4  31.3604
  5  48.2373
  6  23.6881
  7  0.00334671
  8  0.000238919
  9  1.15509
  10  7.56411
  11  0.0036722
  12  0.392206
  13  5.52687e-05
  14  9.065e-06
  15  20.9853
  16  1.13254e-07
  17  0.12882
  18  0.101013
Done.

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

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  3.521e+00  1.155e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.412e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.088e+00  1.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.037e+00  1.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.03
Ra Dec: 127.701 24.173
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.11e-07 +/- 3.64e-08
Energy Flux (Fixed Index): 3.29e-05 +/- 1.08e-05

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) = 15500.6205408
delta logL = 0.872454451461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15500.6192334
delta logL = 0.873761827354

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15500.62     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      273 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2043        10.192        .56578E-03    .44194E-02
   2  alpha         2.8879        3.8032        .30303        .11757E-03
   3  Normalizat    .97510        .66499E-01    .45855E-01    .55373E-04
   4  Prefactor     1.1207        .47278E-01    .36848E-01    .33643E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.20427
  alpha      = 2.88792
  Normalizat = 0.975102
  Prefactor  = 1.12067
 **********
 **   18 **HESSE 
 **********

 FCN=   15500.62     FROM HESSE     STATUS=OK            33 CALLS      306 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2043        1.0862        .55769E-05   -1.5672    
   2  alpha         2.8879        .37222        .12158E-01    .15580    
   3  Normalizat    .97510        .15220        .28707E-03   -.93869    
   4  Prefactor     1.1207        .12050        .22116E-03   -.88809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81988e-11
Minuit parameter uncertainties:
  1  1.08616
  2  0.373643
  3  0.152269
  4  0.120527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258216': 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) = 15500.6192328
delta logL = 0.873762426785

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  3.204e+00  1.086e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.888e+00  3.736e-01  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  5.176e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.121e+00  1.205e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.751e-01  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.14
Ra Dec: 127.701 24.173
Photon Index (Free Index): 2.89 +/- 0.37
Photon Flux (Free Index): 1.62e-07 +/- 5.36e-08
Energy Flux (Free Index): 3.52e-05 +/- 9.49e-06

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/258216/cmap_HighResolution_696816001_697420801_4FGL_J0830.8+2410_weekly_bin757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-07', energy_flux2='3.52e-05', photon_flux_error='3.64e-08', dlogl='8.74e-01', energy_flux='3.29e-05', photon_flux2='1.62e-07', job_status='DONE', time_completed='2023-02-07 01:05:56.961542', photon_index_error2='0.37', photon_index2='2.89', ts='24.03', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='9.49e-06', EG='1.04', time_epoch_completed='1675760756.96', return_code='0', job_id='258216', GAL2='1.12', EG2='0.98', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='5.36e-08', ts2='26.14', photon_index='2.41' WHERE bin_id='757' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb  7 01:05:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 258216: <4FGL_J0830.8+2410_weekly_bin757> in cluster <slac> Done

Job <4FGL_J0830.8+2410_weekly_bin757> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Feb  7 00:50:21 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  7 00:50:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  7 00:50:48 2023
Terminated at Tue Feb  7 01:05:57 2023
Results reported at Tue Feb  7 01:05:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0830.8+2410_weekly_bin757 127.701 24.1727 696816001 697420801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0830.8+2410 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   788.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            936 sec.

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

