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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1733
RA = 125.299, Dec = 10.1287
tmin = 688521601, tmax = 688780801
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='826958', job_status='RUN', time_executed='2022-10-30 08:31:08.424669', time_epoch_executed='1667143868.42' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826958/ft1_4FGL_J0821.1+1007_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826958/ft2_4FGL_J0821.1+1007_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826958/ft1_4FGL_J0821.1+1007_daily_bin1733.fits outfile=/scratch/kocevski/826958/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1733.fits ra=125.299 dec=10.1287 rad=12.0 tmin=688521601.0 tmax=688780801.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.53
user 3.29
sys 0.21

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

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

Number of photons that the gtmktime cut: 643

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826958/ft1_filtered_4FGL_J0821.1+1007_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/826958/ft2_4FGL_J0821.1+1007_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/826958/ltcube_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.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/826958/ft2_4FGL_J0821.1+1007_daily_bin1733.fits
.....................!
real 12.49
user 12.02
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826958/ft1_filtered_4FGL_J0821.1+1007_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/826958/ft2_4FGL_J0821.1+1007_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/826958/ltcube_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.fits outfile=/scratch/kocevski/826958/expmap_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.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/826958/ltcube_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.fits
.....................!
real 190.97
user 185.45
sys 4.62

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/826958/ft1_filtered_4FGL_J0821.1+1007_daily_bin1733.fits scfile=/scratch/kocevski/826958/ft2_4FGL_J0821.1+1007_daily_bin1733.fits outfile=/scratch/kocevski/826958/cmap_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.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/826958/ft1_filtered_4FGL_J0821.1+1007_daily_bin1733.fits scfile=/scratch/kocevski/826958/ft2_4FGL_J0821.1+1007_daily_bin1733.fits outfile=/scratch/kocevski/826958/cmap_HighResolution_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.471       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18996E-06   1.0000          .0000       .10000E+07
     3 'norm      '    3.6003       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49130E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .50930E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.625       1.0000          .0000       .10000E+07
     7 'norm      '    22.318       1.0000          .0000       .10000E+07
     8 'norm      '    2.6701       1.0000          .0000       .10000E+07
     9 'norm      '    2.8306       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .12267E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .37015E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.817       1.0000          .0000       .10000E+07
    14 'norm      '    .14167E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .81286       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1519       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=   7257.743     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     1108 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.837        33.719       -.13543E-07   -.27541E-01
   2  Prefactor      .0000        1.0939       -.29234E-08** at limit **
   3  norm          3.4706        11.712        .18068E-06   -.47421E-03
   4  Prefactor     .65503E-07    9.1951       -.15815E-06** at limit **
   5  norm           .0000        23.369       -.35171E-07** at limit **
   6  Prefactor     13.436        20.229        .23291E-07   -.54036E-01
   7  norm          22.353        1.3396       -.44590E-08    .50797E-02
   8  norm          2.7788        13.473        .11795E-07   -.18507E-01
   9  norm          2.8311        2.6580        .10472E-06    .28189E-02
  10  Prefactor      .0000        2.5748        .11030E-06** at limit **
  11  norm           .0000        .40759       -.12860E-07** at limit **
  12  norm          .10419E-06    10.216       -.82133E-07** at limit **
  13  Prefactor     10.947        5.5760       -.40191E-08   -.11412E-01
  14  norm          .16653E-09    6.4726        .66450E-07** at limit **
  15  Normalizat    .81260        .19774       -.10578E-05   -.55972E-04
  16  Prefactor     1.1520        .16209       -.33377E-06   -.76536E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.837
  Prefactor  = 0
  norm       = 3.4706
  Prefactor  = 6.55032e-08
  norm       = 0
  Prefactor  = 13.4358
  norm       = 22.3527
  norm       = 2.77885
  norm       = 2.83107
  Prefactor  = 0
  norm       = 0
  norm       = 1.04194e-07
  Prefactor  = 10.9471
  norm       = 1.66533e-10
  Normalizat = 0.812603
  Prefactor  = 1.15195
 **********
 **   18 **HESSE 
 **********

 FCN=   7257.743     FROM HESSE     STATUS=OK           235 CALLS     1343 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.837        41.850        .17287E-03   -1.5592    
   2  Prefactor      .0000        1.0891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4706        11.756        .53229E-03   -1.5671    
   4  Prefactor     .65503E-07    9.7456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        23.343        .15504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.436        37.901        .27110E-03   -1.5635    
   7  norm          22.353        13.585        .21173E-03   -1.5613    
   8  norm          2.7788        61.103        .62342E-03   -1.5675    
   9  norm          2.8311        2.6799        .60420E-03   -1.5674    
  10  Prefactor      .0000        2.5735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .39285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10419E-06    11.028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.947        39.194        .30437E-03   -1.5642    
  14  norm          .16653E-09    6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .81260        .17455        .64960E-01   -.99603    
  16  Prefactor     1.1520        .13822        .35881E-01   -.87823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03763e-07
Minuit parameter uncertainties:
  1  41.8504
  2  3.09252e-07
  3  11.7556
  4  0.00159823
  5  1.80096e-05
  6  37.9019
  7  13.5845
  8  26.0615
  9  2.67993
  10  2.21392e-06
  11  5.43273e-07
  12  0.00214378
  13  39.1949
  14  6.9727e-05
  15  0.174671
  16  0.138268
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  0.000e+00  2.214e-06  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.152e+00  1.383e-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.126e-01  1.747e-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: 3.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/826958/likelihoodResults_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.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) = 7257.74314249
delta logL = -0.000615069453488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7257.74253059
delta logL = -3.17629928759e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86031E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0395       1.0000          .0000       10.000    
     3 'Normalizat'    .81242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1523       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7257.743     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      238 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5812        .42118E-03** at limit **
   2  Index         2.7810        1.7684        .39406E-04     .0000    
   3  Normalizat    .81260        1.1510        .44865E-05   -.16375E-03
   4  Prefactor     1.1520        1.1208        .92657E-06   -.16876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.781
  Normalizat = 0.812602
  Prefactor  = 1.15195
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7257.743     FROM HESSE     STATUS=FAILED         9 CALLS      247 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .87604        2.0851        .39406E-04   -.45983    
   3  Normalizat    .81260        1.1510        .44865E-05   -.99603    
   4  Prefactor     1.1520        1.1208        .92657E-06   -.87823    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.10546e-11
Minuit parameter uncertainties:
  1  1.01856e-05
  2  1.81782
  3  1.18862
  4  1.14521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826958': 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): 101
logL (Free Index) = 7257.74252742
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  0.000e+00  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.781e+00  1.818e+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.152e+00  1.145e+00  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.126e-01  1.189e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/826958/cmap_HighResolution_688521601_688780801_4FGL_J0821.1+1007_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2022-10-30 08:39:40.959963', job_id='826958', GAL2='1.15', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1667144380.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1733' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 08:39:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 826958: <4FGL_J0821.1+1007_daily_bin1733> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct 30 08:30:14 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 08:30:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 08:30:15 2022
Terminated at Sun Oct 30 08:39:41 2022
Results reported at Sun Oct 30 08:39:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1733 125.299 10.1287 688521601 688780801 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 :                                   510.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             377.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            567 sec.

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

