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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin758
RA = 127.701, Dec = 24.1727
tmin = 697420801, tmax = 698025601
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='81626', job_status='RUN', time_executed='2023-02-14 00:49:15.149593', time_epoch_executed='1676364555.15' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81626

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81626/ft1_4FGL_J0830.8+2410_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81626/ft1_4FGL_J0830.8+2410_weekly_bin758.fits outfile=/scratch/kocevski/81626/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin758.fits ra=127.701 dec=24.1727 rad=12.0 tmin=697420801.0 tmax=698025601.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.88
user 7.58
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.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/81626/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/81626/ft1_filtered_4FGL_J0830.8+2410_weekly_bin758.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.54
user 0.39
sys 0.14

Number of photons that the gtmktime cut: 1212

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81626/ft1_filtered_4FGL_J0830.8+2410_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/81626/ltcube_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.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/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.fits
.....................!
real 25.93
user 25.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81626/ft1_filtered_4FGL_J0830.8+2410_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/81626/ltcube_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.fits outfile=/scratch/kocevski/81626/expmap_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.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/81626/ltcube_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.fits
.....................!
real 191.73
user 186.80
sys 4.55

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/81626/ft1_filtered_4FGL_J0830.8+2410_weekly_bin758.fits scfile=/scratch/kocevski/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.fits outfile=/scratch/kocevski/81626/cmap_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81626/ft1_filtered_4FGL_J0830.8+2410_weekly_bin758.fits scfile=/scratch/kocevski/81626/ft2_4FGL_J0830.8+2410_weekly_bin758.fits outfile=/scratch/kocevski/81626/cmap_HighResolution_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24385E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.538       1.0000          .0000       .10000E+07
     3 'Prefactor '    17.608       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.7455       1.0000          .0000       .10000E+07
     5 'norm      '    12.566       1.0000          .0000       .10000E+07
     6 'Prefactor '    .63227E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .44331E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    17.161       1.0000          .0000       .10000E+07
     9 'norm      '    .85888       1.0000          .0000       .10000E+07
    10 'Prefactor '    .61808       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0631       1.0000          .0000       .10000E+07
    12 'norm      '    .74798       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81203E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    31.818       1.0000          .0000       .10000E+07
    15 'norm      '    5.8360       1.0000          .0000       .10000E+07
    16 'norm      '    1.0037       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1962       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .77751       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=   13788.26     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1080 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    3.8689        .93142E-06** at limit **
   2  Prefactor     16.268        6.0007        .20796E-06   -.58331E-01
   3  Prefactor     17.424        10.640        .19320E-06    .39370E-02
   4  Prefactor     9.7235        31.292        .43879E-06    .80501E-02
   5  norm          17.568        47.548       -.19141E-05   -.28712E-03
   6  Prefactor     .11102E-08    4.7924       -.40173E-06** at limit **
   7  Prefactor      .0000        5.0860       -.14174E-05** at limit **
   8  Prefactor     16.943        6.6382        .43758E-06   -.20504E-01
   9  norm          .86424        .74003       -.35480E-07    .32199E-02
  10  Prefactor     .66017        8.8694       -.24773E-06    .66022E-03
  11  Prefactor     2.0887        7.4019        .11240E-05    .21362E-01
  12  norm          .74866        .38440       -.22524E-08   -.17582E-02
  13  Prefactor     .72164E-09    20.673        .13594E-06** at limit **
  14  Prefactor     32.062        12.344       -.68571E-07    .33972E-01
  15  norm          5.7939        15.297        .15929E-05   -.35780E-02
  16  norm          1.0046        1.0052       -.12428E-06    .26029E-03
  17  Normalizat    1.1967        .14701        .50083E-05    .63345E-04
  18  Prefactor     .77609        .11660       -.43847E-05    .32052E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  Prefactor  = 16.2676
  Prefactor  = 17.424
  Prefactor  = 9.72353
  norm       = 17.5682
  Prefactor  = 1.11022e-09
  Prefactor  = 0
  Prefactor  = 16.9429
  norm       = 0.864242
  Prefactor  = 0.660171
  Prefactor  = 2.08867
  norm       = 0.748664
  Prefactor  = 7.21645e-10
  Prefactor  = 32.062
  norm       = 5.79385
  norm       = 1.00462
  Normalizat = 1.19666
  Prefactor  = 0.776088
 **********
 **   18 **HESSE 
 **********

 FCN=   13788.26     FROM HESSE     STATUS=OK           290 CALLS     1370 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    3.7998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.268        23.639        .24602E-03   -1.5627    
   3  Prefactor     17.424        10.719        .23841E-03   -1.5624    
   4  Prefactor     9.7235        32.106        .33871E-03   -1.5646    
   5  norm          17.568        47.414        .28233E-03   -1.5624    
   6  Prefactor     .11102E-08    4.8042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.0827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.943        17.989        .24150E-03   -1.5626    
   9  norm          .86424        .84605        .48645E-03   -1.5689    
  10  Prefactor     .66017        8.9607        .67624E-03   -1.5692    
  11  Prefactor     2.0887        29.537        .71911E-03   -1.5679    
  12  norm          .74866        .38535        .56896E-03   -1.5691    
  13  Prefactor     .72164E-09    20.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.062        12.864        .17731E-03   -1.5595    
  15  norm          5.7939        17.743        .41548E-03   -1.5660    
  16  norm          1.0046        1.0086        .43895E-03   -1.5688    
  17  Normalizat    1.1967        .12380        .54119E-01   -.86706    
  18  Prefactor     .77609        .97840E-01    .43424E-01   -1.0062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9648e-07
Minuit parameter uncertainties:
  1  4.89758e-05
  2  23.6388
  3  10.7187
  4  32.1068
  5  47.4152
  6  0.000147132
  7  6.91511e-06
  8  17.989
  9  0.846048
  10  4.86441
  11  15.7092
  12  0.385345
  13  0.000237719
  14  12.8644
  15  17.7428
  16  1.00863
  17  0.123827
  18  0.097862
Done.

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

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  8.642e-01  8.460e-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.761e-01  9.786e-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.197e+00  1.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.02
Ra Dec: 127.701 24.173
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.72e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 8.07e-06 +/- 7.90e-06

TS (Fixed Index): 2.02
Ra Dec: 127.701 24.173
Photon Flux Upper Limit: 7.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81626/likelihoodResults_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.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) = 13787.1226692
delta logL = 1.13742625352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13787.1149719
delta logL = 1.14512355585

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67809       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5779       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80588       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=   13787.11     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      271 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67811        .68303        .49572E-05    .12260E-01
   2  alpha         3.5777        .85678        .21032E-01    .34939E-04
   3  Normalizat    1.1386        .14872        .24429E-03    .97124E-03
   4  Prefactor     .80586        .11675        .22980E-03    .11010E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.678112
  alpha      = 3.57765
  Normalizat = 1.13857
  Prefactor  = 0.805856
 **********
 **   18 **HESSE 
 **********

 FCN=   13787.11     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67811        .58402        .19829E-06   -1.5691    
   2  alpha         3.5777        .73610        .84126E-03    .44567    
   3  Normalizat    1.1386        .14867        .48857E-04   -.88523    
   4  Prefactor     .80586        .11664        .45961E-04   -.99513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94609e-10
Minuit parameter uncertainties:
  1  0.584018
  2  0.749828
  3  0.148729
  4  0.116676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81626': 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) = 13787.1149717
delta logL = 1.14512370741

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  6.781e-01  5.840e-01  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  3.578e+00  7.498e-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.059e-01  1.167e-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.139e+00  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 127.701 24.173
Photon Index (Free Index): 3.58 +/- 0.75
Photon Flux (Free Index): 7.58e-08 +/- 4.58e-08
Energy Flux (Free Index): 1.29e-05 +/- 7.14e-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/81626/cmap_HighResolution_697420801_698025601_4FGL_J0830.8+2410_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-05', comment='SUCCESS', photon_flux='2.72e-08', energy_flux2='1.29e-05', photon_flux_error='2.66e-08', dlogl='1.15e+00', energy_flux='8.07e-06', photon_flux2='7.58e-08', job_status='DONE', time_completed='2023-02-14 01:01:54.828296', photon_index_error2='0.75', photon_index2='3.58', ts='2.02', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='7.51e-08', energy_flux_error2='7.14e-06', EG='1.20', time_epoch_completed='1676365314.83', return_code='0', job_id='81626', GAL2='0.81', EG2='1.14', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='4.58e-08', ts2='4.50', photon_index='2.41' WHERE bin_id='758' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:01:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 81626: <4FGL_J0830.8+2410_weekly_bin758> in cluster <slac> Done

Job <4FGL_J0830.8+2410_weekly_bin758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 14 00:45:22 2023
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 00:45:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 00:45:23 2023
Terminated at Tue Feb 14 01:01:55 2023
Results reported at Tue Feb 14 01:01:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0830.8+2410_weekly_bin758 127.701 24.1727 697420801 698025601 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 :                                   761.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            993 sec.

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

