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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1778
RA = 125.299, Dec = 10.1287
tmin = 700185601, 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='955973', job_status='RUN', time_executed='2023-03-14 00:31:41.046726', time_epoch_executed='1678779101.05' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955973

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=700185601.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>=700185601.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955973/ft1_4FGL_J0821.1+1007_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955973/ft1_4FGL_J0821.1+1007_daily_bin1778.fits outfile=/scratch/kocevski/955973/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1778.fits ra=125.299 dec=10.1287 rad=12.0 tmin=700185601.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 3.93
user 3.73
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.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/955973/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 484

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/955973/ltcube_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.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/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits
.....................!
real 12.98
user 12.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/955973/ltcube_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.fits outfile=/scratch/kocevski/955973/expmap_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.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/955973/ltcube_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.fits
.....................!
real 191.02
user 185.59
sys 5.06

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

Setting source of interest to:
4FGL J0821.1+1007 @ 125.299 10.1287

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits scfile=/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits outfile=/scratch/kocevski/955973/cmap_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.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=125.299 yref=10.1287 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits scfile=/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits outfile=/scratch/kocevski/955973/cmap_HighResolution_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.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=125.299 yref=10.1287 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955973/Model_4FGL_J0821.1+1007_daily_bin1778.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/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits.....................!
real 61.85
user 60.36
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits', '/scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits', expMap='/scratch/kocevski/955973/expmap_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.fits', expCube='/scratch/kocevski/955973/ltcube_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/955973/Model_4FGL_J0821.1+1007_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0821.1+1007'

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/955973/ft1_filtered_4FGL_J0821.1+1007_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/955973/ft2_4FGL_J0821.1+1007_daily_bin1778.fits
Exposure map: /scratch/kocevski/955973/expmap_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.fits
Exposure cube: /scratch/kocevski/955973/ltcube_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/955973/Model_4FGL_J0821.1+1007_daily_bin1778.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) = 5491.59172603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4577       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9367       1.0000          .0000       .10000E+07
     3 'norm      '    .53994E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5983       1.0000          .0000       .10000E+07
     5 'norm      '    .11120E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20279E-05   1.0000          .0000       .10000E+07
     7 'norm      '    3.4725       1.0000          .0000       .10000E+07
     8 'norm      '    .29032E-07   1.0000          .0000       .10000E+07
     9 'norm      '    3.0232       1.0000          .0000       .10000E+07
    10 'Prefactor '    19.973       1.0000          .0000       .10000E+07
    11 'norm      '    1.9432       1.0000          .0000       .10000E+07
    12 'norm      '    .17318E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25266E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .49905E-07   1.0000          .0000       .10000E+07
    15 'Normalizat'    .81960       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5491.551     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1100 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47407E-07    789.52        .10984E-04** at limit **
   2  Prefactor     5.9375        3.2128       -.45176E-06    .63219E-03
   3  norm          .29143E-07    19.783        .54781E-05** at limit **
   4  Prefactor     4.6113        8.6851       -.84376E-06   -.66738E-03
   5  norm          .27756E-08    63.813        .46291E-05** at limit **
   6  Prefactor     .89373E-08    21.545       -.16951E-05** at limit **
   7  norm          3.3842        1.3153       -.97589E-07   -.73769E-02
   8  norm           .0000        6.2440        .85478E-06** at limit **
   9  norm          3.0220        3.6862        .10099E-05    .94607E-03
  10  Prefactor     19.815        2.6961        .35075E-06    .63344E-01
  11  norm          1.9422        1.0841       -.41031E-07    .16181E-02
  12  norm          .55511E-10    16.637       -.21476E-05** at limit **
  13  Prefactor      .0000        8.8397       -.16534E-05** at limit **
  14  norm           .0000        3.6570        .20125E-05** at limit **
  15  Normalizat    .82023        .23630        .66007E-05   -.23558E-03
  16  Prefactor     1.1205        .19023       -.16017E-04   -.37006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.74065e-08
  Prefactor  = 5.93745
  norm       = 2.91434e-08
  Prefactor  = 4.61131
  norm       = 2.77556e-09
  Prefactor  = 8.9373e-09
  norm       = 3.3842
  norm       = 0
  norm       = 3.02196
  Prefactor  = 19.8147
  norm       = 1.94217
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.820229
  Prefactor  = 1.12052
 **********
 **   18 **HESSE 
 **********

 FCN=   5491.551     FROM HESSE     STATUS=OK           239 CALLS     1339 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47407E-07    37.063        .13117E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9375        3.2113        .41190E-03   -1.5659    
   3  norm          .29143E-07    20.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6113        8.7070        .46916E-03   -1.5665    
   5  norm          .27756E-08    64.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .89373E-08    21.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.3842        32.746        .54241E-03   -1.5671    
   8  norm           .0000        6.2529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0220        3.7549        .58340E-03   -1.5673    
  10  Prefactor     19.815        18.587        .22383E-03   -1.5619    
  11  norm          1.9422        1.0867        .74438E-03   -1.5680    
  12  norm          .55511E-10    16.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        8.8389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        3.6532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .82023        .20429        .66063E-01   -.99323    
  16  Prefactor     1.1205        .16216        .36866E-01   -.88813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41028e-08
Minuit parameter uncertainties:
  1  0.00265079
  2  3.21135
  3  0.0015285
  4  8.70706
  5  0.00084452
  6  0.000880077
  7  21.0544
  8  1.03432e-05
  9  3.75492
  10  18.5875
  11  1.08675
  12  4.93551e-05
  13  1.14775e-05
  14  1.16429e-05
  15  0.204485
  16  0.16223
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.981e+01  1.859e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.121e+00  1.622e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  8.202e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 125.299 10.129
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.12e-08 +/- 4.79e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.55e-05

TS (Fixed Index): 1.54
Ra Dec: 125.299 10.129
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/955973/likelihoodResults_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.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) = 5491.1817669
delta logL = 0.369665096782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5491.17344627
delta logL = 0.377985733418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8501       1.0000          .0000       .10000E+07
     2 'Index     '    3.1509       1.0000          .0000       10.000    
     3 'Normalizat'    .77525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5491.173     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      254 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8328        120.01        .35764E-03    .56060E-02
   2  Index         3.1520        2.9621        .13251        .21734E-03
   3  Normalizat    .77530        .66850E-01    .67757E-01   -.56246E-04
   4  Prefactor     1.1465        .51302E-01    .36035E-01   -.52541E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.83278
  Index      = 3.15201
  Normalizat = 0.775296
  Prefactor  = 1.14652
 **********
 **   18 **HESSE 
 **********

 FCN=   5491.173     FROM HESSE     STATUS=OK            31 CALLS      285 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8328        23.874        .14306E-04   -1.5652    
   2  Index         3.1520        1.5608        .46566E-02   -.37858    
   3  Normalizat    .77530        .24690        .29980E-03   -1.0099    
   4  Prefactor     1.1465        .19523        .20197E-03   -.87993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.46395e-10
Minuit parameter uncertainties:
  1  23.8745
  2  1.5918
  3  0.247255
  4  0.195353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955973': 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) = 5491.17344524
delta logL = 0.377986756764

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  7.833e+00  2.387e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  3.152e+00  1.592e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  1.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.147e+00  1.954e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  7.753e-01  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.39
Ra Dec: 125.299 10.129
Photon Index (Free Index): 3.15 +/- 1.59
Photon Flux (Free Index): 8.15e-08 +/- 6.49e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.34e-05

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/955973/cmap_HighResolution_700185601_700444801_4FGL_J0821.1+1007_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', photon_flux='5.12e-08', energy_flux2='1.52e-05', photon_flux_error='4.79e-08', dlogl='3.78e-01', energy_flux='1.65e-05', photon_flux2='8.15e-08', job_status='DONE', time_completed='2023-03-14 00:39:30.127677', photon_index_error2='1.59', photon_index2='3.15', ts='1.54', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.34e-05', EG='0.82', time_epoch_completed='1678779570.13', return_code='0', job_id='955973', GAL2='1.15', EG2='0.78', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='6.49e-08', ts2='2.39', photon_index='2.41' WHERE bin_id='1778' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:39:30 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 955973: <4FGL_J0821.1+1007_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:30:12 2023
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:30:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:30:13 2023
Terminated at Tue Mar 14 00:39:30 2023
Results reported at Tue Mar 14 00:39:30 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1778 125.299 10.1287 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0821.1+1007 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   471.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            558 sec.

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

