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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1780
RA = 125.299, Dec = 10.1287
tmin = 700704001, tmax = 700963201
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='55253', job_status='RUN', time_executed='2023-03-20 00:25:58.935443', time_epoch_executed='1679297158.94' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55253/ft1_4FGL_J0821.1+1007_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55253/ft2_4FGL_J0821.1+1007_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55253/ft1_4FGL_J0821.1+1007_daily_bin1780.fits outfile=/scratch/kocevski/55253/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1780.fits ra=125.299 dec=10.1287 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.07
user 3.86
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55253/ft2_4FGL_J0821.1+1007_daily_bin1780.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/55253/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/55253/ft1_filtered_4FGL_J0821.1+1007_daily_bin1780.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.33
sys 0.14

Number of photons that the gtmktime cut: 509

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55253/ft1_filtered_4FGL_J0821.1+1007_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/55253/ft2_4FGL_J0821.1+1007_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/55253/ltcube_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.fits outfile=/scratch/kocevski/55253/expmap_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.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/55253/ltcube_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.fits
.....................!
real 189.56
user 185.21
sys 4.02

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/55253/ft1_filtered_4FGL_J0821.1+1007_daily_bin1780.fits scfile=/scratch/kocevski/55253/ft2_4FGL_J0821.1+1007_daily_bin1780.fits outfile=/scratch/kocevski/55253/cmap_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55253/ft1_filtered_4FGL_J0821.1+1007_daily_bin1780.fits scfile=/scratch/kocevski/55253/ft2_4FGL_J0821.1+1007_daily_bin1780.fits outfile=/scratch/kocevski/55253/cmap_HighResolution_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.393       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.8732       1.0000          .0000       .10000E+07
     3 'norm      '    .12683E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.3208       1.0000          .0000       .10000E+07
     5 'norm      '    .14562       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47208E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .20824E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .23507E-04   1.0000          .0000       .10000E+07
     9 'norm      '    8.2747       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.892       1.0000          .0000       .10000E+07
    11 'norm      '    .90847       1.0000          .0000       .10000E+07
    12 'norm      '    .11739E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1705       1.0000          .0000       .10000E+07
    14 'norm      '    4.1859       1.0000          .0000       .10000E+07
    15 'Normalizat'    .62816       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1437       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=   5853.693     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1099 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.653        34.093       -.26997E-06   -.92341E-01
   2  Prefactor     9.8647        3.7325        .19515E-07    .12421E-02
   3  norm          .65503E-08    6.0056        .14518E-06** at limit **
   4  Prefactor     7.4327        7.0167        .18614E-08   -.21396E-03
   5  norm          .88263E-07    42.650       -.29434E-06** at limit **
   6  Prefactor     .12712E-07    15.397        .30794E-06** at limit **
   7  norm          .22204E-09    4.7699       -.93210E-07** at limit **
   8  norm          .66058E-08    5.8491       -.82053E-07** at limit **
   9  norm          8.2481        4.1255       -.31506E-07   -.13242E-02
  10  Prefactor     11.897        2.3701        .13863E-07    .68632E-02
  11  norm          .90869        .83786       -.16556E-07   -.13343E-02
  12  norm          .11491E-07    13.483       -.61627E-07** at limit **
  13  Prefactor     1.0306        125.04        .12433E-05   -.23603E-01
  14  norm          4.2982        5.2193       -.14643E-06   -.17323E-02
  15  Normalizat    .62821        .23032        .30845E-05    .82158E-04
  16  Prefactor     1.1437        .18472       -.75687E-06    .94090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.6533
  Prefactor  = 9.86469
  norm       = 6.55032e-09
  Prefactor  = 7.43265
  norm       = 8.82627e-08
  Prefactor  = 1.27121e-08
  norm       = 2.22045e-10
  norm       = 6.60583e-09
  norm       = 8.24807
  Prefactor  = 11.897
  norm       = 0.908689
  norm       = 1.14908e-08
  Prefactor  = 1.03063
  norm       = 4.29824
  Normalizat = 0.628213
  Prefactor  = 1.14366
 **********
 **   18 **HESSE 
 **********

 FCN=   5853.693     FROM HESSE     STATUS=OK           241 CALLS     1340 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.653        46.835        .16811E-03   -1.5589    
   2  Prefactor     9.8647        3.7377        .31866E-03   -1.5645    
   3  norm          .65503E-08    6.1147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.4327        7.0153        .37046E-03   -1.5653    
   5  norm          .88263E-07    42.738        .12837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12712E-07    15.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .22204E-09    4.7758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .66058E-08    5.9522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.2481        4.1310        .34828E-03   -1.5651    
  10  Prefactor     11.897        11.502        .29024E-03   -1.5639    
  11  norm          .90869        .84347        .45176E-03   -1.5689    
  12  norm          .11491E-07    13.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0306        34.824        .13101E-01   -1.5688    
  14  norm          4.2982        5.2227        .49235E-03   -1.5666    
  15  Normalizat    .62821        .20440        .72527E-01   -1.0680    
  16  Prefactor     1.1437        .15774        .36120E-01   -.88083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28347e-07
Minuit parameter uncertainties:
  1  46.8351
  2  3.73772
  3  0.000400713
  4  7.01529
  5  0.00388419
  6  0.000884864
  7  6.16842e-05
  8  0.000396744
  9  4.13099
  10  11.502
  11  0.843466
  12  0.000786417
  13  11.9818
  14  5.22272
  15  0.204645
  16  0.157801
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.190e+01  1.150e+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.144e+00  1.578e-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.282e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 125.299 10.129
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.07e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 9.60e-06

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

Saving results to:
/scratch/kocevski/55253/likelihoodResults_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.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) = 5853.19581259
delta logL = 0.496745109681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5853.16754899
delta logL = 0.525008713034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.597       1.0000          .0000       .10000E+07
     2 'Index     '    1.7336       1.0000          .0000       10.000    
     3 'Normalizat'    .65144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1304       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=   5853.168     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      245 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.586        771.00        .23848E-03    .16108E-03
   2  Index         1.7331        5.1320        .26024       -.19013E-04
   3  Normalizat    .65167        .22545        .71266E-01    .15382E-04
   4  Prefactor     1.1303        .13045        .36530E-01   -.65320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5855
  Index      = 1.7331
  Normalizat = 0.651673
  Prefactor  = 1.13035
 **********
 **   18 **HESSE 
 **********

 FCN=   5853.168     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.586        16.116        .95392E-05   -1.5624    
   2  Index         1.7331        .58901        .90424E-02   -.71204    
   3  Normalizat    .65167        .22785        .31544E-03   -1.0583    
   4  Prefactor     1.1303        .18362        .19639E-03   -.88502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64602e-12
Minuit parameter uncertainties:
  1  16.1158
  2  0.59141
  3  0.228179
  4  0.183726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55253': 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) = 5853.16754763
delta logL = 0.525010064675

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.759e+01  1.612e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  1.733e+00  5.914e-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.130e+00  1.837e-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.517e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.88
Ra Dec: 125.299 10.129
Photon Index (Free Index): 1.73 +/- 0.59
Photon Flux (Free Index): 1.65e-08 +/- 1.99e-08
Energy Flux (Free Index): 2.43e-05 +/- 3.41e-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/55253/cmap_HighResolution_700704001_700963201_4FGL_J0821.1+1007_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', comment='SUCCESS', photon_flux='3.07e-08', energy_flux2='2.43e-05', photon_flux_error='2.97e-08', dlogl='5.25e-01', energy_flux='9.93e-06', photon_flux2='1.65e-08', job_status='DONE', time_completed='2023-03-20 00:34:02.829483', photon_index_error2='0.59', photon_index2='1.73', ts='1.83', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='3.41e-05', EG='0.63', time_epoch_completed='1679297642.83', return_code='0', job_id='55253', GAL2='1.13', EG2='0.65', return_code2='0', energy_flux_error='9.60e-06', photon_flux_error2='1.99e-08', ts2='2.88', photon_index='2.41' WHERE bin_id='1780' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:34:02 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 55253: <4FGL_J0821.1+1007_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:25:18 2023
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:25:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:25:20 2023
Terminated at Mon Mar 20 00:34:03 2023
Results reported at Mon Mar 20 00:34:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1780 125.299 10.1287 700704001 700963201 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 :                                   486.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   523 sec.
    Turnaround time :                            525 sec.

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

