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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1712
RA = 125.299, Dec = 10.1287
tmin = 683078401, tmax = 683337601
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='67901', job_status='RUN', time_executed='2022-09-16 13:58:00.505511', time_epoch_executed='1663361880.51' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67901/ft1_4FGL_J0821.1+1007_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67901/ft2_4FGL_J0821.1+1007_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67901/ft1_4FGL_J0821.1+1007_daily_bin1712.fits outfile=/scratch/kocevski/67901/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1712.fits ra=125.299 dec=10.1287 rad=12.0 tmin=683078401.0 tmax=683337601.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.78
user 4.50
sys 0.25

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

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

Number of photons that the gtmktime cut: 595

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67901/ft1_filtered_4FGL_J0821.1+1007_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/67901/ft2_4FGL_J0821.1+1007_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/67901/ltcube_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.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/67901/ft2_4FGL_J0821.1+1007_daily_bin1712.fits
.....................!
real 13.87
user 13.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67901/ft1_filtered_4FGL_J0821.1+1007_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/67901/ft2_4FGL_J0821.1+1007_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/67901/ltcube_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.fits outfile=/scratch/kocevski/67901/expmap_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.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/67901/ltcube_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.fits
.....................!
real 192.76
user 186.19
sys 5.50

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/67901/ft1_filtered_4FGL_J0821.1+1007_daily_bin1712.fits scfile=/scratch/kocevski/67901/ft2_4FGL_J0821.1+1007_daily_bin1712.fits outfile=/scratch/kocevski/67901/cmap_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=125.299 yref=10.1287 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67901/ft1_filtered_4FGL_J0821.1+1007_daily_bin1712.fits scfile=/scratch/kocevski/67901/ft2_4FGL_J0821.1+1007_daily_bin1712.fits outfile=/scratch/kocevski/67901/cmap_HighResolution_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.094       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8153       1.0000          .0000       .10000E+07
     3 'norm      '    .28060E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10446E-03   1.0000          .0000       .10000E+07
     5 'norm      '    142.51       1.0000          .0000       .10000E+07
     6 'Prefactor '    .61018E-03   1.0000          .0000       .10000E+07
     7 'norm      '    8.7566       1.0000          .0000       .10000E+07
     8 'norm      '    .18657E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .92949       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15688       1.0000          .0000       .10000E+07
    11 'norm      '    .13971       1.0000          .0000       .10000E+07
    12 'norm      '    .13948E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    40.079       1.0000          .0000       .10000E+07
    14 'norm      '    .15623E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3473       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .79578       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=   6720.845     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1123 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.151        1.9544        .11792E-07   -.65263E-01
   2  Prefactor     3.8141        3.8445        .10049E-06   -.79906E-03
   3  norm          .21438E-06    7.6523        .23291E-06** at limit **
   4  Prefactor     .21094E-08    13.742       -.35688E-06** at limit **
   5  norm          142.54        2.4892        .70430E-08   -.20744    
   6  Prefactor     .15210E-07    7.7429        .18048E-06** at limit **
   7  norm          8.7488        1.1017        .54579E-08   -.67471E-02
   8  norm          .28311E-08    6.5588       -.38588E-06** at limit **
   9  norm          .93375        2.3919       -.17262E-06    .83874E-03
  10  Prefactor     .22204E-08    41.320       -.11828E-05** at limit **
  11  norm          .13951        1.5777        .10506E-06** at limit **
  12  norm          .24475E-06    4.8735        .23082E-07** at limit **
  13  Prefactor     40.140        1.0056        .89980E-10    .13834E-02
  14  norm           .0000        3.0467       -.10883E-06** at limit **
  15  Normalizat    1.3477        .22239        .24536E-05   -.67901E-05
  16  Prefactor     .79568        .16792       -.21637E-05   -.23233E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.1514
  Prefactor  = 3.81406
  norm       = 2.14384e-07
  Prefactor  = 2.10942e-09
  norm       = 142.543
  Prefactor  = 1.52101e-08
  norm       = 8.74875
  norm       = 2.83107e-09
  norm       = 0.933754
  Prefactor  = 2.22045e-09
  norm       = 0.139512
  norm       = 2.44749e-07
  Prefactor  = 40.1395
  norm       = 0
  Normalizat = 1.34772
  Prefactor  = 0.79568
 **********
 **   18 **HESSE 
 **********

 FCN=   6720.845     FROM HESSE     STATUS=OK           239 CALLS     1362 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.151        57.176        .18232E-03   -1.5598    
   2  Prefactor     3.8141        3.8659        .51649E-03   -1.5669    
   3  norm          .21438E-06    11.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21094E-08    14.602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          142.54        114.24        .83773E-04   -1.5469    
   6  Prefactor     .15210E-07    7.7993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.7488        10.922        .33849E-03   -1.5649    
   8  norm          .28311E-08    6.5689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .93375        2.4190        .43742E-03   -1.5689    
  10  Prefactor     .22204E-08    7.6682        .12600E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13951        .75120        .22973E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .24475E-06    12.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.140        36.173        .15797E-03   -1.5581    
  14  norm           .0000        3.0454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3477        .19433        .56176E-01   -.82153    
  16  Prefactor     .79568        .14299        .43662E-01   -.99888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32223e-06
Minuit parameter uncertainties:
  1  57.1769
  2  3.86589
  3  0.00307433
  4  0.000350557
  5  114.246
  6  0.000689192
  7  10.9223
  8  0.000271666
  9  2.41898
  10  0.000261928
  11  0.647462
  12  0.00351711
  13  36.1734
  14  8.65556e-06
  15  0.194433
  16  0.143057
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  2.220e-09  2.619e-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:  7.957e-01  1.431e-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:  1.348e+00  1.944e-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: 9.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/67901/likelihoodResults_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.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) = 6720.85847982
delta logL = -0.0132639775957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6720.73584525
delta logL = 0.109370601376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14302       1.0000          .0000       .10000E+07
     2 'Index     '    4.5874       1.0000          .0000       10.000    
     3 'Normalizat'    1.3084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81487       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=   6720.736     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      243 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14104        2.5383        .12893E-02** at limit **
   2  Index         4.5918        1.9638        .20209        .85667E-04
   3  Normalizat    1.3088        .21521E-01    .56893E-01   -.26624E-05
   4  Prefactor     .81466        .16498E-01    .43910E-01   -.18091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.141036
  Index      = 4.59176
  Normalizat = 1.30882
  Prefactor  = 0.814656
 **********
 **   18 **HESSE 
 **********

 FCN=   6720.736     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      278 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14104        28.844        .57165E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5918        5.8826        .72670E-02   -.81739E-01
   3  Normalizat    1.3088        .13212        .25159E-03   -.83304    
   4  Prefactor     .81466        .99317E-01    .23693E-03   -.99190    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.47316e-10
Minuit parameter uncertainties:
  1  4.03391
  2  13.0071
  3  0.132152
  4  0.0993389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67901': 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) = 6720.7358416
delta logL = 0.109374245473

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.410e-01  4.034e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  4.592e+00  1.301e+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:  8.147e-01  9.934e-02  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:  1.309e+00  1.322e-01  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/67901/cmap_HighResolution_683078401_683337601_4FGL_J0821.1+1007_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.98e-03', job_status='DONE', photon_flux_upper_limit='9.03e-08', time_completed='2022-09-16 14:06:38.783243', job_id='67901', GAL2='0.81', fit_tolerance='1e-08', EG2='1.31', EG='1.35', time_epoch_completed='1663362398.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.09e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1712' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:06:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 67901: <4FGL_J0821.1+1007_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:55:15 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:56:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:56:48 2022
Terminated at Fri Sep 16 14:06:39 2022
Results reported at Fri Sep 16 14:06:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1712 125.299 10.1287 683078401 683337601 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 :                                   519.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            684 sec.

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

