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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin762
RA = 127.701, Dec = 24.1727
tmin = 699840001, tmax = 700444801
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='988696', job_status='RUN', time_executed='2023-03-14 02:43:57.860707', time_epoch_executed='1678787037.86' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/988696

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/988696/ft1_4FGL_J0830.8+2410_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/988696/ft1_4FGL_J0830.8+2410_weekly_bin762.fits outfile=/scratch/kocevski/988696/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin762.fits ra=127.701 dec=24.1727 rad=12.0 tmin=699840001.0 tmax=700444801.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 6.85
user 6.46
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.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/988696/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/988696/ft1_filtered_4FGL_J0830.8+2410_weekly_bin762.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 1350

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/988696/ft1_filtered_4FGL_J0830.8+2410_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/988696/ltcube_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.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/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.fits
.....................!
real 25.63
user 25.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/988696/ft1_filtered_4FGL_J0830.8+2410_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/988696/ltcube_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.fits outfile=/scratch/kocevski/988696/expmap_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.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/988696/ltcube_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.fits
.....................!
real 157.85
user 152.43
sys 4.37

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/988696/ft1_filtered_4FGL_J0830.8+2410_weekly_bin762.fits scfile=/scratch/kocevski/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.fits outfile=/scratch/kocevski/988696/cmap_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.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.55
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/988696/ft1_filtered_4FGL_J0830.8+2410_weekly_bin762.fits scfile=/scratch/kocevski/988696/ft2_4FGL_J0830.8+2410_weekly_bin762.fits outfile=/scratch/kocevski/988696/cmap_HighResolution_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.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.51
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14082E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    21.610       1.0000          .0000       .10000E+07
     3 'Prefactor '    27.851       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12339       1.0000          .0000       .10000E+07
     5 'norm      '    .38915E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .85276       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50520E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .82118E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .75378       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11885E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .27978E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .11131       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8089       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.192       1.0000          .0000       .10000E+07
    15 'norm      '    22.110       1.0000          .0000       .10000E+07
    16 'norm      '    1.5903       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1100       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0050       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=   14741.67     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1278 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4510       -.34840E-06** at limit **
   2  Prefactor     21.350        3.1912       -.17071E-07   -.36818E-02
   3  Prefactor     27.693        4.2102        .17598E-07    .23573    
   4  Prefactor     .31686E-06    48.576        .13306E-06** at limit **
   5  norm          .59397E-08    16.969        .17550E-06** at limit **
   6  Prefactor     .69120        42.985       -.38401E-06    .14227E-01
   7  Prefactor     .10325E-07    5.7285       -.56311E-07** at limit **
   8  Prefactor     .11102E-09    5.7281       -.74074E-07** at limit **
   9  norm          .75326        .59887       -.11397E-06    .12301E-02
  10  Prefactor     .55511E-10    .95331        .54550E-07** at limit **
  11  Prefactor     .11102E-09    5.8553       -.57713E-07** at limit **
  12  norm          .11158        .29162        .42574E-07** at limit **
  13  Prefactor     2.7764        5.4246       -.68494E-07    .12862E-02
  14  Prefactor     13.284        9.3437       -.13332E-07    .58834E-02
  15  norm          22.016        2.9168       -.12670E-07   -.25884E-01
  16  norm          1.5892        .90732       -.27463E-07   -.10986E-02
  17  Normalizat    1.1102        .13658       -.20038E-05    .13035E-04
  18  Prefactor     1.0052        .11493        .14786E-05    .37507E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 21.3499
  Prefactor  = 27.6927
  Prefactor  = 3.16858e-07
  norm       = 5.93969e-09
  Prefactor  = 0.691198
  Prefactor  = 1.03251e-08
  Prefactor  = 1.11022e-10
  norm       = 0.753261
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.111582
  Prefactor  = 2.77641
  Prefactor  = 13.2845
  norm       = 22.0159
  norm       = 1.5892
  Normalizat = 1.11023
  Prefactor  = 1.0052
 **********
 **   18 **HESSE 
 **********

 FCN=   14741.67     FROM HESSE     STATUS=OK           288 CALLS     1566 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.4441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.350        22.453        .21517E-03   -1.5616    
   3  Prefactor     27.693        12.387        .18952E-03   -1.5603    
   4  Prefactor     .31686E-06    10.765        .13339E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .59397E-08    17.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .69120        49.487        .49082E-03   -1.5691    
   7  Prefactor     .10325E-07    11.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    5.6963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .75326        .60515        .56446E-03   -1.5691    
  10  Prefactor     .55511E-10    .95322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    11.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11158        .24028        .21470E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7764        5.4970        .60669E-03   -1.5675    
  14  Prefactor     13.284        9.3520        .27552E-03   -1.5635    
  15  norm          22.016        20.371        .21272E-03   -1.5614    
  16  norm          1.5892        .90511        .84115E-03   -1.5683    
  17  Normalizat    1.1102        .11677        .56375E-01   -.89424    
  18  Prefactor     1.0052        .97292E-01    .44188E-01   -.92556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75429e-07
Minuit parameter uncertainties:
  1  2.18902e-06
  2  22.4532
  3  12.3875
  4  0.00369386
  5  0.000635995
  6  11.6972
  7  0.000692506
  8  5.5264e-05
  9  0.605155
  10  1.49626e-05
  11  6.48999e-05
  12  0.240276
  13  5.49702
  14  9.35201
  15  20.3709
  16  0.905115
  17  0.1168
  18  0.097309
Done.

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

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  7.533e-01  6.052e-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:  1.005e+00  9.731e-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.110e+00  1.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 127.701 24.173
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.37e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 7.03e-06 +/- 5.65e-06

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

Saving results to:
/scratch/kocevski/988696/likelihoodResults_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.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) = 14741.6151217
delta logL = 0.0577576139713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14741.6089345
delta logL = 0.0639448088696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68989       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0082       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=   14741.61     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68975        16.184        .61533E-04    .50886E-02
   2  alpha         2.6617        3.0119        .41261        .47710E-04
   3  Normalizat    1.1050        .55848E-01    .56492E-01   -.77820E-03
   4  Prefactor     1.0082        .47269E-01    .43604E-01   -.83714E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.689753
  alpha      = 2.66166
  Normalizat = 1.10498
  Prefactor  = 1.00817
 **********
 **   18 **HESSE 
 **********

 FCN=   14741.61     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68975        .61777        .24613E-05   -1.5691    
   2  alpha         2.6617        .73164        .26321E-01    .64711E-01
   3  Normalizat    1.1050        .13536        .24981E-03   -.89592    
   4  Prefactor     1.0082        .11485        .22134E-03   -.92458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71515e-09
Minuit parameter uncertainties:
  1  0.617767
  2  0.742558
  3  0.1354
  4  0.114878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/988696': 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) = 14741.6089344
delta logL = 0.0639448880102

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  6.898e-01  6.178e-01  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  2.662e+00  7.426e-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.008e+00  1.149e-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.105e+00  1.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 127.701 24.173
Photon Index (Free Index): 2.66 +/- 0.74
Photon Flux (Free Index): 2.75e-08 +/- 2.25e-08
Energy Flux (Free Index): 6.81e-06 +/- 5.38e-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/988696/cmap_HighResolution_699840001_700444801_4FGL_J0830.8+2410_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-05', comment='SUCCESS', photon_flux='2.37e-08', energy_flux2='6.81e-06', photon_flux_error='1.90e-08', dlogl='6.39e-02', energy_flux='7.03e-06', photon_flux2='2.75e-08', job_status='DONE', time_completed='2023-03-14 02:55:32.447856', photon_index_error2='0.74', photon_index2='2.66', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='5.38e-06', EG='1.11', time_epoch_completed='1678787732.45', return_code='0', job_id='988696', GAL2='1.01', EG2='1.10', return_code2='0', energy_flux_error='5.65e-06', photon_flux_error2='2.25e-08', ts2='2.46', photon_index='2.41' WHERE bin_id='762' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:55:32 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 988696: <4FGL_J0830.8+2410_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0830.8+2410_weekly_bin762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 02:40:23 2023
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:40:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:40:36 2023
Terminated at Tue Mar 14 02:55:32 2023
Results reported at Tue Mar 14 02:55:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0830.8+2410_weekly_bin762 127.701 24.1727 699840001 700444801 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 :                                   691.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            909 sec.

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

