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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1764
RA = 125.299, Dec = 10.1287
tmin = 696556801, tmax = 696816001
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='440767', job_status='RUN', time_executed='2023-01-31 00:34:49.927514', time_epoch_executed='1675154089.93' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440767

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440767/ft1_4FGL_J0821.1+1007_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440767/ft1_4FGL_J0821.1+1007_daily_bin1764.fits outfile=/scratch/kocevski/440767/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1764.fits ra=125.299 dec=10.1287 rad=12.0 tmin=696556801.0 tmax=696816001.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.72
user 3.47
sys 0.24

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

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

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440767/ft1_filtered_4FGL_J0821.1+1007_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/440767/ltcube_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.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/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits
.....................!
real 14.12
user 13.70
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440767/ft1_filtered_4FGL_J0821.1+1007_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/440767/ltcube_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.fits outfile=/scratch/kocevski/440767/expmap_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.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/440767/ltcube_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.fits
.....................!
real 193.58
user 187.43
sys 5.51

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/440767/ft1_filtered_4FGL_J0821.1+1007_daily_bin1764.fits scfile=/scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits outfile=/scratch/kocevski/440767/cmap_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440767/ft1_filtered_4FGL_J0821.1+1007_daily_bin1764.fits scfile=/scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits outfile=/scratch/kocevski/440767/cmap_HighResolution_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/440767/ft1_filtered_4FGL_J0821.1+1007_daily_bin1764.fits', '/scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits', expMap='/scratch/kocevski/440767/expmap_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.fits', expCube='/scratch/kocevski/440767/ltcube_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/440767/Model_4FGL_J0821.1+1007_daily_bin1764.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/440767/ft1_filtered_4FGL_J0821.1+1007_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/440767/ft2_4FGL_J0821.1+1007_daily_bin1764.fits
Exposure map: /scratch/kocevski/440767/expmap_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.fits
Exposure cube: /scratch/kocevski/440767/ltcube_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/440767/Model_4FGL_J0821.1+1007_daily_bin1764.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) = 6360.37059069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.506       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4664       1.0000          .0000       .10000E+07
     3 'norm      '    .30032E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10295E-02   1.0000          .0000       .10000E+07
     5 'norm      '    109.65       1.0000          .0000       .10000E+07
     6 'Prefactor '    22.310       1.0000          .0000       .10000E+07
     7 'norm      '    20.861       1.0000          .0000       .10000E+07
     8 'norm      '    .17825E-03   1.0000          .0000       .10000E+07
     9 'norm      '    10.094       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.483       1.0000          .0000       .10000E+07
    11 'norm      '    .31086E-08   1.0000          .0000       .10000E+07
    12 'norm      '    2.4451       1.0000          .0000       .10000E+07
    13 'Prefactor '    39.709       1.0000          .0000       .10000E+07
    14 'norm      '    1.5513       1.0000          .0000       .10000E+07
    15 'Normalizat'    .64302       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1206       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=   6360.366     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1172 TOTAL
                     EDM=   .99E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.376        52.806        .19555E-05   -.95577E-04
   2  Prefactor     2.4681        3.1387       -.51357E-07    .96257E-05
   3  norm           .0000        6.5931        .55138E-07** at limit **
   4  Prefactor      .0000        8.4287       -.61125E-07** at limit **
   5  norm          111.32        114.38        .74948E-06    .37069E-05
   6  Prefactor     22.354        22.001       -.69832E-07   -.25011E-04
   7  norm          20.903        17.339       -.43746E-07    .10861E-03
   8  norm           .0000        12.689       -.30453E-06** at limit **
   9  norm          10.092        4.7211       -.21506E-08    .10962E-03
  10  Prefactor     13.496        12.810       -.13512E-06   -.77257E-04
  11  norm           .0000        .93479       -.26629E-07** at limit **
  12  norm          2.4497        6.6160       -.48472E-06    .54765E-04
  13  Prefactor     40.432        40.103        .24438E-06    .23372E-04
  14  norm          1.5702        5.2643        .20340E-06   -.18096E-04
  15  Normalizat    .64158        .21502       -.10855E-05   -.28867E-05
  16  Prefactor     1.1208        .16856       -.10076E-06   -.40857E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3757
  Prefactor  = 2.46806
  norm       = 0
  Prefactor  = 0
  norm       = 111.319
  Prefactor  = 22.3537
  norm       = 20.9031
  norm       = 0
  norm       = 10.0923
  Prefactor  = 13.496
  norm       = 0
  norm       = 2.4497
  Prefactor  = 40.4317
  norm       = 1.57018
  Normalizat = 0.64158
  Prefactor  = 1.12079
 **********
 **   18 **HESSE 
 **********

 FCN=   6360.366     FROM HESSE     STATUS=OK           245 CALLS     1417 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.376        52.887        .26271E-03   -1.5630    
   2  Prefactor     2.4681        3.1556        .65088E-03   -1.5677    
   3  norm           .0000        6.5931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        8.4174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          111.32        114.18        .95505E-04   -1.5497    
   6  Prefactor     22.354        21.999        .21177E-03   -1.5613    
   7  norm          20.903        17.356        .21901E-03   -1.5617    
   8  norm           .0000        12.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.092        4.7224        .31514E-03   -1.5644    
  10  Prefactor     13.496        12.799        .27253E-03   -1.5634    
  11  norm           .0000        .45547        .18608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4497        6.6407        .65397E-03   -1.5677    
  13  Prefactor     40.432        39.952        .15871E-03   -1.5581    
  14  norm          1.5702        5.2924        .85480E-03   -1.5683    
  15  Normalizat    .64158        .18806        .70701E-01   -1.0625    
  16  Prefactor     1.1208        .14602        .36851E-01   -.88805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15793e-09
Minuit parameter uncertainties:
  1  52.8885
  2  3.15555
  3  7.4585e-07
  4  1.26034e-06
  5  114.178
  6  21.9992
  7  17.3562
  8  2.15792e-06
  9  4.72241
  10  12.7987
  11  1.07773e-07
  12  6.6407
  13  39.9525
  14  5.29245
  15  0.188246
  16  0.146076
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.350e+01  1.280e+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.461e-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:  6.416e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.35
Ra Dec: 125.299 10.129
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.07e-05

TS (Fixed Index): 2.35
Ra Dec: 125.299 10.129
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440767/likelihoodResults_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.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) = 6359.85894684
delta logL = 0.507080529033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6359.84728574
delta logL = 0.518741625637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.453       1.0000          .0000       .10000E+07
     2 'Index     '    1.6477       1.0000          .0000       10.000    
     3 'Normalizat'    .67014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1080       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6359.847     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      249 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.461        17.365        .10181E-04    .22892E-03
   2  Index         1.6481        .68408        .10013E-01   -.13497E-04
   3  Normalizat    .67014        .20377        .30649E-03    .16136E-04
   4  Prefactor     1.1080        .16545        .19668E-03    .24747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4608
  Index      = 1.64808
  Normalizat = 0.670141
  Prefactor  = 1.10795
 **********
 **   18 **HESSE 
 **********

 FCN=   6359.847     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.461        17.676        .40723E-06   -1.5629    
   2  Index         1.6481        .69629        .40053E-03   -.73473    
   3  Normalizat    .67014        .20391        .12259E-04   -1.0508    
   4  Prefactor     1.1080        .16556        .39337E-04   -.89213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42898e-10
Minuit parameter uncertainties:
  1  17.6756
  2  0.700445
  3  0.204139
  4  0.165638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440767': 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) = 6359.84728558
delta logL = 0.51874178315

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.546e+01  1.768e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  1.648e+00  7.004e-01  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.108e+00  1.656e-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:  6.701e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 125.299 10.129
Photon Index (Free Index): 1.65 +/- 0.70
Photon Flux (Free Index): 1.33e-08 +/- 2.11e-08
Energy Flux (Free Index): 2.57e-05 +/- 3.76e-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/440767/cmap_HighResolution_696556801_696816001_4FGL_J0821.1+1007_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.77e-03', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='2.57e-05', photon_flux_error='3.30e-08', dlogl='5.19e-01', energy_flux='1.13e-05', photon_flux2='1.33e-08', job_status='DONE', time_completed='2023-01-31 00:43:31.829666', photon_index_error2='0.70', photon_index2='1.65', ts='2.35', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='3.76e-05', EG='0.64', time_epoch_completed='1675154611.83', return_code='0', job_id='440767', GAL2='1.11', EG2='0.67', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='2.11e-08', ts2='3.38', photon_index='2.41' WHERE bin_id='1764' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:43:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 440767: <4FGL_J0821.1+1007_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:30:29 2023
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:30:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:30:59 2023
Terminated at Tue Jan 31 00:43:32 2023
Results reported at Tue Jan 31 00:43:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1764 125.299 10.1287 696556801 696816001 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 :                                   523.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            783 sec.

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

