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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1746
RA = 125.299, Dec = 10.1287
tmin = 691891201, tmax = 692150401
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='718728', job_status='RUN', time_executed='2022-12-08 00:31:17.560935', time_epoch_executed='1670488277.56' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718728/ft1_4FGL_J0821.1+1007_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718728/ft2_4FGL_J0821.1+1007_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718728/ft1_4FGL_J0821.1+1007_daily_bin1746.fits outfile=/scratch/kocevski/718728/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1746.fits ra=125.299 dec=10.1287 rad=12.0 tmin=691891201.0 tmax=692150401.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.71
user 4.46
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/718728/ft2_4FGL_J0821.1+1007_daily_bin1746.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/718728/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/718728/ft1_filtered_4FGL_J0821.1+1007_daily_bin1746.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 528

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718728/ft1_filtered_4FGL_J0821.1+1007_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/718728/ft2_4FGL_J0821.1+1007_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/718728/ltcube_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.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/718728/ft2_4FGL_J0821.1+1007_daily_bin1746.fits
.....................!
real 11.96
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718728/ft1_filtered_4FGL_J0821.1+1007_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718728/ft2_4FGL_J0821.1+1007_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/718728/ltcube_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.fits outfile=/scratch/kocevski/718728/expmap_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.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/718728/ltcube_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.fits
.....................!
real 190.84
user 185.26
sys 5.16

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/718728/ft1_filtered_4FGL_J0821.1+1007_daily_bin1746.fits scfile=/scratch/kocevski/718728/ft2_4FGL_J0821.1+1007_daily_bin1746.fits outfile=/scratch/kocevski/718728/cmap_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31951       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2646       1.0000          .0000       .10000E+07
     3 'norm      '    .71375E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6483       1.0000          .0000       .10000E+07
     5 'norm      '    .74762E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23345E-01   1.0000          .0000       .10000E+07
     7 'norm      '    11.236       1.0000          .0000       .10000E+07
     8 'norm      '    25.055       1.0000          .0000       .10000E+07
     9 'norm      '    .89416E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47425E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .17819E-07   1.0000          .0000       .10000E+07
    12 'norm      '    3.0722       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39310       1.0000          .0000       .10000E+07
    14 'norm      '    .62298E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    .80194       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1261       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=   6167.794     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1153 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16126E-04    31.660        .12170E-05** at limit **
   2  Prefactor     2.2484        3.8631       -.59732E-07    .10482E-02
   3  norm          .22204E-09    11.760       -.26974E-06** at limit **
   4  Prefactor     1.8425        20.580       -.10800E-07   -.41083E-02
   5  norm          .11602E-07    37.744        .17762E-05** at limit **
   6  Prefactor     .80363E-06    80.815        .92278E-06** at limit **
   7  norm          11.140        3.3212       -.52318E-07    .12649    
   8  norm          24.999        1.0822        .37748E-08    .10292E-01
   9  norm           .0000        1.5367        .66737E-07** at limit **
  10  Prefactor     .22760E-08    8.8113       -.36493E-07** at limit **
  11  norm           .0000        5.6522       -.32789E-06** at limit **
  12  norm          3.0808        6.7801        .79442E-07    .57103E-03
  13  Prefactor     .64437E-05    215.29        .15531E-05** at limit **
  14  norm           .0000        1.9881        .43455E-06** at limit **
  15  Normalizat    .80265        .22182       -.32590E-05   -.42175E-04
  16  Prefactor     1.1260        .17686        .64306E-08   -.82013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61258e-05
  Prefactor  = 2.24837
  norm       = 2.22045e-10
  Prefactor  = 1.84251
  norm       = 1.16018e-08
  Prefactor  = 8.03635e-07
  norm       = 11.1403
  norm       = 24.9988
  norm       = 0
  Prefactor  = 2.27596e-09
  norm       = 0
  norm       = 3.08078
  Prefactor  = 6.44373e-06
  norm       = 0
  Normalizat = 0.802651
  Prefactor  = 1.126
 **********
 **   18 **HESSE 
 **********

 FCN=   6167.794     FROM HESSE     STATUS=OK           245 CALLS     1398 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16126E-04    236.50        .99475E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2484        3.9270        .68228E-03   -1.5678    
   3  norm          .22204E-09    11.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8425        21.156        .82219E-03   -1.5681    
   5  norm          .11602E-07    38.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .80363E-06    19.537        .12391E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.140        12.877        .29863E-03   -1.5641    
   8  norm          24.999        22.995        .19982E-03   -1.5608    
   9  norm           .0000        1.5318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22760E-08    8.8092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .35022        .27009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0808        6.7993        .57845E-03   -1.5673    
  13  Prefactor     .64437E-05    239.96        .90291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.9829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .80265        .19020        .65995E-01   -.99970    
  16  Prefactor     1.1260        .14895        .36671E-01   -.88640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03089e-07
Minuit parameter uncertainties:
  1  0.123517
  2  3.92696
  3  0.000101986
  4  12.4869
  5  0.00133412
  6  0.00792484
  7  12.8767
  8  22.9953
  9  2.10527e-06
  10  0.000282522
  11  3.22448e-06
  12  6.79927
  13  0.0786472
  14  8.96716e-07
  15  0.190356
  16  0.14901
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  2.276e-09  2.825e-04  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.126e+00  1.490e-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.027e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 125.299 10.129
Photon Flux Upper Limit: 6.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/718728/likelihoodResults_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.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): 102
logL (Free Index) = 6167.85055765
delta logL = -0.056114726327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6167.7944433
delta logL = -3.75902345695e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19064E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.3855       1.0000          .0000       10.000    
     3 'Normalizat'    .80270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1260       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=   6167.794     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      206 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    7.3952       -.62059E-06** at limit **
   2  Index         2.5508        3.2535        .53213E-04    .65380E-10
   3  Normalizat    .80265        .21705       -.35669E-05   -.11050E-03
   4  Prefactor     1.1260        .17424        .51212E-05   -.17729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.55081
  Normalizat = 0.80265
  Prefactor  = 1.126
 **********
 **   18 **HESSE 
 **********

 FCN=   6167.794     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      243 TOTAL
                     EDM=   .53E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .32230E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5508        8.4873        .50000       -.51190    
   3  Normalizat    .80265        .30337E-03    .65995E-01   -.99970    
   4  Prefactor     1.1260        .24240E-03    .36673E-01   -.88640    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.27766e-14
Minuit parameter uncertainties:
  1  4.56263e-06
  2  5059.77
  3  0.000303374
  4  0.000242403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718728': 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): 102
logL (Free Index) = 6167.79444292
delta logL = 1.10048858915e-10

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.665e-10  4.563e-06  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.551e+00  5.060e+03  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.126e+00  2.424e-04  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.027e-01  3.034e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 125.299 10.129

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/718728/cmap_HighResolution_691891201_692150401_4FGL_J0821.1+1007_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-03', job_status='DONE', photon_flux_upper_limit='6.76e-08', time_completed='2022-12-08 00:39:26.830988', job_id='718728', GAL2='1.13', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1670488766.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.10e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1746' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:39:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 718728: <4FGL_J0821.1+1007_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 00:30:13 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:30:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:30:14 2022
Terminated at Thu Dec  8 00:39:27 2022
Results reported at Thu Dec  8 00:39:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1746 125.299 10.1287 691891201 692150401 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 :                                   492.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   553 sec.
    Turnaround time :                            554 sec.

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

