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


Performing analysis on: 4FGL_J0830.8+2410_weekly_bin753
RA = 127.701, Dec = 24.1727
tmin = 694396801, tmax = 695001601
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='231041', job_status='RUN', time_executed='2023-01-10 02:54:29.125964', time_epoch_executed='1673348069.13' WHERE source_name='4FGL J0830.8+2410' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231041

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231041/ft1_4FGL_J0830.8+2410_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231041/ft1_4FGL_J0830.8+2410_weekly_bin753.fits outfile=/scratch/kocevski/231041/ft1_filteredMKT_4FGL_J0830.8+2410_weekly_bin753.fits ra=127.701 dec=24.1727 rad=12.0 tmin=694396801.0 tmax=695001601.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.21
user 5.88
sys 0.25

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

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

Number of photons that the gtmktime cut: 55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231041/ft1_filtered_4FGL_J0830.8+2410_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/231041/ltcube_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.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/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits
.....................!
real 36.10
user 35.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231041/ft1_filtered_4FGL_J0830.8+2410_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/231041/ltcube_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.fits outfile=/scratch/kocevski/231041/expmap_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.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/231041/ltcube_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.fits
.....................!
real 193.01
user 187.29
sys 5.26

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/231041/ft1_filtered_4FGL_J0830.8+2410_weekly_bin753.fits scfile=/scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits outfile=/scratch/kocevski/231041/cmap_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.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.63
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231041/ft1_filtered_4FGL_J0830.8+2410_weekly_bin753.fits scfile=/scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits outfile=/scratch/kocevski/231041/cmap_HighResolution_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.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.42
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/231041/ft1_filtered_4FGL_J0830.8+2410_weekly_bin753.fits', '/scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits', expMap='/scratch/kocevski/231041/expmap_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.fits', expCube='/scratch/kocevski/231041/ltcube_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/231041/Model_4FGL_J0830.8+2410_weekly_bin753.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/231041/ft1_filtered_4FGL_J0830.8+2410_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/231041/ft2_4FGL_J0830.8+2410_weekly_bin753.fits
Exposure map: /scratch/kocevski/231041/expmap_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.fits
Exposure cube: /scratch/kocevski/231041/ltcube_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/231041/Model_4FGL_J0830.8+2410_weekly_bin753.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 688.54995285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 686.328581619

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7830       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.4886       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.9747       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1083       1.0000          .0000       .10000E+07
     5 'norm      '    9.2456       1.0000          .0000       .10000E+07
     6 'Prefactor '    .42010       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27682E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .92046       1.0000          .0000       .10000E+07
     9 'norm      '    .17066E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    91.353       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10814       1.0000          .0000       .10000E+07
    12 'norm      '    .11608E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.681       1.0000          .0000       .10000E+07
    14 'Prefactor '    111.43       1.0000          .0000       .10000E+07
    15 'norm      '    4.3692       1.0000          .0000       .10000E+07
    16 'norm      '    3.6987       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2576       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .42535       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=   686.3140     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      312 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7830        1.0460         .0000         .0000    
   2  Prefactor     7.4886        1.0022         .0000         .0000    
   3  Prefactor     6.9747        1.0026         .0000         .0000    
   4  Prefactor     3.6465        204.04        .57249E-05    .52759E-01
   5  norm          .74176E-02    3255.7        .24726E-04** at limit **
   6  Prefactor     .37970E-07    471.92       -.12173E-05** at limit **
   7  Prefactor     .12301E-06    202.30        .65716E-05** at limit **
   8  Prefactor     .49960E-09    111.06        .37673E-06** at limit **
   9  norm          .11102E-09    9.1168       -.23625E-06** at limit **
  10  Prefactor     90.499        18.893        .18268E-07   -.16008E-01
  11  Prefactor     .55511E-10    141.14        .48944E-06** at limit **
  12  norm           .0000        .74105       -.28963E-06** at limit **
  13  Prefactor     11.464        35.880        .34617E-05    .84371E-03
  14  Prefactor     110.28        92.192        .39704E-06    .32393E-01
  15  norm          .25346E-06    363.06        .36538E-05** at limit **
  16  norm          3.6978        3.5604        .38244E-06   -.32753E-02
  17  Normalizat    1.2644        .69640        .20897E-04    .48194E-05
  18  Prefactor     .43287        .49251        .17933E-04    .36362E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78302
  Prefactor  = 7.48855
  Prefactor  = 6.9747
  Prefactor  = 3.64654
  norm       = 0.00741764
  Prefactor  = 3.79696e-08
  Prefactor  = 1.23013e-07
  Prefactor  = 4.996e-10
  norm       = 1.11022e-10
  Prefactor  = 90.4986
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 11.4636
  Prefactor  = 110.28
  norm       = 2.53464e-07
  norm       = 3.69779
  Normalizat = 1.26442
  Prefactor  = 0.432869
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   686.3140     FROM HESSE     STATUS=FAILED        11 CALLS      323 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62977.        62976.         .0000       -1.5681    
   2  Prefactor     7.4886        1.0022         .0000       -1.5653    
   3  Prefactor     6.9747        1.0026         .0000       -1.5655    
   4  Prefactor     3.6465        .71803        .57249E-05   -1.5670    
   5  norm          .74176E-02    .28366E-01    .24726E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .37970E-07    .19007       -.12173E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12301E-06    .44347E-01    .65716E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    .49185E-01    .37673E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    .44347E-01   -.23625E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     90.499        .99533        .18268E-07   -1.5518    
  11  Prefactor     .55511E-10    .47029        .48944E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .44347E-01   -.28963E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.464        .95153        .34617E-05   -1.5640    
  14  Prefactor     110.28        .99483        .39704E-06   -1.5498    
  15  norm          .25346E-06    .57989E-01    .36538E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6978        1.0093        .38244E-06   -1.5670    
  17  Normalizat    1.2644        1.0918        .20897E-04   -.84635    
  18  Prefactor     .43287        .76646        .17933E-04   -1.1516    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.80689e-10
Minuit parameter uncertainties:
  1  1.04601
  2  1.00225
  3  1.00259
  4  0.718029
  5  0.0283664
  6  0.000169852
  7  0.00014772
  8  9.75722e-06
  9  4.61877e-06
  10  0.99533
  11  8.3988e-06
  12  1.52281e-06
  13  0.951528
  14  0.994828
  15  0.000242478
  16  1.00932
  17  1.11261
  18  0.785844
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 686.313995556

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.110e-10  4.619e-06  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:  4.329e-01  7.858e-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.264e+00  1.113e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 127.701 24.173
Photon Flux Upper Limit: 6.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.07e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/231041/likelihoodResults_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.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) = 686.314026713
delta logL = -3.11573735416e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 685.888353902
delta logL = 0.425641653939

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7461       1.0000          .0000       .10000E+07
     2 'alpha     '    .86795       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3178       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36660       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=   685.8884     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7492        2.9622        .79336E-03    .17320E-03
   2  alpha         .86826        .75047        .21193       -.53597E-05
   3  Normalizat    1.3177        .54834        .56045E-01   -.13602E-05
   4  Prefactor     .36661        .42265        .77449E-01    .38106E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74916
  alpha      = 0.86826
  Normalizat = 1.31768
  Prefactor  = 0.366606
 **********
 **   18 **HESSE 
 **********

 FCN=   685.8884     FROM HESSE     STATUS=OK            31 CALLS      288 TOTAL
                     EDM=   .64E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7492        3.5861        .50923E-05   -1.5682    
   2  alpha         .86826        .91252        .92735E-03   -.71114    
   3  Normalizat    1.3177        .60267        .24781E-03   -.83040    
   4  Prefactor     .36661        .46290        .34321E-03   -1.1855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42413e-14
Minuit parameter uncertainties:
  1  3.5861
  2  0.952118
  3  0.605931
  4  0.467712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231041': 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) = 685.88835343
delta logL = 0.425642125537

Extracting fit parameters...

4FGL J0830.8+2410
   Spectrum: LogParabola
283         norm:  1.749e+00  3.586e+00  0.000e+00  1.000e+06 ( 1.000e-11)
284        alpha:  8.683e-01  9.521e-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:  3.666e-01  4.677e-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.318e+00  6.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 127.701 24.173

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/231041/cmap_HighResolution_694396801_695001601_4FGL_J0830.8+2410_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-04', job_status='DONE', photon_flux_upper_limit='6.99e-07', time_completed='2023-01-10 03:00:44.518525', job_id='231041', GAL2='0.37', fit_tolerance='1e-08', EG2='1.32', EG='1.26', time_epoch_completed='1673348444.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.43', dlogl='4.26e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='753' AND source_name='4FGL J0830.8+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 03:00:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 231041: <4FGL_J0830.8+2410_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0830.8+2410_weekly_bin753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 02:50:31 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:52:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:52:52 2023
Terminated at Tue Jan 10 03:00:45 2023
Results reported at Tue Jan 10 03:00:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0830.8+2410_weekly_bin753 127.701 24.1727 694396801 695001601 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 :                                   376.08 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             393.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   472 sec.
    Turnaround time :                            614 sec.

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

