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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin736
RA = 127.701, Dec = 24.1727
tmin = 684115201, tmax = 684720001
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='145110', job_status='RUN', time_executed='2022-09-16 18:18:01.520437', time_epoch_executed='1663377481.52' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145110

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145110/ft1_4FGL_J0830.8+2410_weekly_bin736.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145110/ft1_4FGL_J0830.8+2410_weekly_bin736.fits outfile=/scratch/kocevski/145110/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin736.fits ra=127.701 dec=24.1727 rad=12.0 tmin=684115201.0 tmax=684720001.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 9.54
user 9.17
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.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/145110/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin736.fits evtable="EVENTS" outfile="/scratch/kocevski/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.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.57
user 0.41
sys 0.16

Number of photons that the gtmktime cut: 1358

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/145110/ltcube_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.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/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits
.....................!
real 33.71
user 33.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/145110/ltcube_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.fits outfile=/scratch/kocevski/145110/expmap_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.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/145110/ltcube_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.fits
.....................!
real 193.02
user 186.47
sys 5.25

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/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.fits scfile=/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits outfile=/scratch/kocevski/145110/cmap_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.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.59
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.fits scfile=/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits outfile=/scratch/kocevski/145110/cmap_HighResolution_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.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.60
user 0.44
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.fits', '/scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits', expMap='/scratch/kocevski/145110/expmap_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.fits', expCube='/scratch/kocevski/145110/ltcube_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/145110/Model_4FGL_J0830.8+2410_weekly_bin736.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/145110/ft1_filtered_4FGL_J0830.8+2410_weekly_bin736.fits
Spacecraft file(s): /scratch/kocevski/145110/ft2_4FGL_J0830.8+2410_weekly_bin736.fits
Exposure map: /scratch/kocevski/145110/expmap_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.fits
Exposure cube: /scratch/kocevski/145110/ltcube_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/145110/Model_4FGL_J0830.8+2410_weekly_bin736.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) = 15164.7942665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9751       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0217       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12725E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    43.913       1.0000          .0000       .10000E+07
     5 'norm      '    47.606       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5149       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12646E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1988       1.0000          .0000       .10000E+07
     9 'norm      '    1.6486       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.9592       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2608       1.0000          .0000       .10000E+07
    12 'norm      '    .60551       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49977E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.1821       1.0000          .0000       .10000E+07
    15 'norm      '    .81452E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .96632       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2690       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78972       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=   15164.78     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1289 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9724        2.0706       -.14633E-07   -.84055E-03
   2  Prefactor     6.0849        1.1667        .40928E-08    .24448E-03
   3  Prefactor      .0000        4.0519       -.10479E-06** at limit **
   4  Prefactor     43.475        30.246        .75912E-07    .24004E-02
   5  norm          47.547        7.1188        .61619E-08    .11066    
   6  Prefactor     8.2856        16.494        .87582E-07   -.37766E-01
   7  Prefactor     .33307E-09    2.6625        .16743E-06** at limit **
   8  Prefactor     1.9304        7.7063       -.18689E-07    .52997E-01
   9  norm          1.6567        .84145        .31131E-07    .15200E-01
  10  Prefactor     6.9440        7.2543       -.40380E-07    .20517E-03
  11  Prefactor     1.2493        18.060       -.13710E-06   -.51801E-02
  12  norm          .60493        .44103       -.59966E-08   -.38387E-02
  13  Prefactor     .10475E-06    8.9227        .89849E-07** at limit **
  14  Prefactor     9.1663        3.8910       -.16193E-07    .60580E-04
  15  norm          .75495E-07    9.6489        .17126E-06** at limit **
  16  norm          .96604        .73892       -.35562E-07   -.12339E-01
  17  Normalizat    1.2696        .14074       -.11741E-05    .14222E-03
  18  Prefactor     .78971        .10910        .15875E-05    .32918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9724
  Prefactor  = 6.08487
  Prefactor  = 0
  Prefactor  = 43.4754
  norm       = 47.5468
  Prefactor  = 8.28563
  Prefactor  = 3.33067e-10
  Prefactor  = 1.93045
  norm       = 1.65671
  Prefactor  = 6.94402
  Prefactor  = 1.24928
  norm       = 0.604932
  Prefactor  = 1.0475e-07
  Prefactor  = 9.16633
  norm       = 7.54952e-08
  norm       = 0.966043
  Normalizat = 1.26959
  Prefactor  = 0.789707
 **********
 **   18 **HESSE 
 **********

 FCN=   15164.78     FROM HESSE     STATUS=OK           288 CALLS     1577 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9724        2.1748        .73738E-03   -1.5680    
   2  Prefactor     6.0849        16.856        .40893E-03   -1.5659    
   3  Prefactor      .0000        4.0500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.475        31.108        .15092E-03   -1.5576    
   5  norm          47.547        52.808        .14495E-03   -1.5570    
   6  Prefactor     8.2856        19.800        .34329E-03   -1.5650    
   7  Prefactor     .33307E-09    2.6706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9304        21.108        .69362E-03   -1.5680    
   9  norm          1.6567        .92310        .82208E-03   -1.5682    
  10  Prefactor     6.9440        7.3026        .38006E-03   -1.5655    
  11  Prefactor     1.2493        21.000        .99289E-03   -1.5686    
  12  norm          .60493        .44831        .68736E-03   -1.5692    
  13  Prefactor     .10475E-06    9.1922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.1663        9.1905        .33050E-03   -1.5647    
  15  norm          .75495E-07    9.8672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .96604        .73829        .42569E-03   -1.5688    
  17  Normalizat    1.2696        .11981        .53673E-01   -.84479    
  18  Prefactor     .78971        .93304E-01    .43583E-01   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67515e-06
Minuit parameter uncertainties:
  1  2.17484
  2  16.8561
  3  1.86341e-05
  4  31.108
  5  52.8084
  6  19.8003
  7  5.91636e-05
  8  12.7669
  9  0.923102
  10  7.30258
  11  10.244
  12  0.448314
  13  0.00196267
  14  9.19051
  15  0.00172625
  16  0.738292
  17  0.119838
  18  0.0933221
Done.

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

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.657e+00  9.231e-01  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:  7.897e-01  9.332e-02  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.270e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.99
Ra Dec: 127.701 24.173
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.22e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 8.62e-06

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) = 15164.5577689
delta logL = 0.217438458414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15164.5561808
delta logL = 0.219026584227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4717       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7640       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2518       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80008       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15164.56     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      276 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4718        .83499        .64680E-05    .10434E-01
   2  alpha         2.7640        .57042        .18189E-01    .32357E-04
   3  Normalizat    1.2518        .13756        .23870E-03    .69249E-04
   4  Prefactor     .80008        .11001        .23606E-03    .11799E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.47178
  alpha      = 2.76401
  Normalizat = 1.25175
  Prefactor  = 0.800079
 **********
 **   18 **HESSE 
 **********

 FCN=   15164.56     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4718        .80056        .25872E-06   -1.5684    
   2  alpha         2.7640        .54665        .72755E-03    .10580    
   3  Normalizat    1.2518        .13754        .95481E-05   -.85018    
   4  Prefactor     .80008        .10998        .94424E-05   -.99725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79455e-11
Minuit parameter uncertainties:
  1  0.800555
  2  0.551149
  3  0.137585
  4  0.110014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145110': 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) = 15164.5561808
delta logL = 0.219026585512

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.472e+00  8.006e-01  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.764e+00  5.511e-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:  8.001e-01  1.100e-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.252e+00  1.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.47
Ra Dec: 127.701 24.173
Photon Index (Free Index): 2.76 +/- 0.55
Photon Flux (Free Index): 6.51e-08 +/- 3.42e-08
Energy Flux (Free Index): 1.52e-05 +/- 6.89e-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/145110/cmap_HighResolution_684115201_684720001_4FGL_J0830.8+2410_weekly_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.22e-08', energy_flux2='1.52e-05', photon_flux_error='2.91e-08', dlogl='2.19e-01', energy_flux='1.55e-05', photon_flux2='6.51e-08', job_status='DONE', time_completed='2022-09-16 18:31:24.311232', photon_index_error2='0.55', photon_index2='2.76', ts='6.99', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='6.89e-06', EG='1.27', time_epoch_completed='1663378284.31', return_code='0', job_id='145110', GAL2='0.80', EG2='1.25', return_code2='0', energy_flux_error='8.62e-06', photon_flux_error2='3.42e-08', ts2='7.47', photon_index='2.41' WHERE bin_id='736' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:31:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 145110: <4FGL_J0830.8+2410_weekly_bin736> in cluster <slac> Done

Job <4FGL_J0830.8+2410_weekly_bin736> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:15:34 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:16:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:16:32 2022
Terminated at Fri Sep 16 18:31:25 2022
Results reported at Fri Sep 16 18:31:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0830.8+2410_weekly_bin736 127.701 24.1727 684115201 684720001 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 :                                   798.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             296.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            951 sec.

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

