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


Performing analysis on: 4FGL_J0821.1+1007_daily_bin1759
RA = 125.299, Dec = 10.1287
tmin = 695260801, tmax = 695520001
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='554217', job_status='RUN', time_executed='2023-01-16 00:57:58.166848', time_epoch_executed='1673859478.17' WHERE source_name='4FGL J0821.1+1007' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554217

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554217/ft1_4FGL_J0821.1+1007_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554217/ft2_4FGL_J0821.1+1007_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554217/ft1_4FGL_J0821.1+1007_daily_bin1759.fits outfile=/scratch/kocevski/554217/ft1_filteredMKT_4FGL_J0821.1+1007_daily_bin1759.fits ra=125.299 dec=10.1287 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.72
user 2.50
sys 0.20

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

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

Number of photons that the gtmktime cut: 40

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554217/ft1_filtered_4FGL_J0821.1+1007_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554217/ft2_4FGL_J0821.1+1007_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554217/ltcube_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.fits outfile=/scratch/kocevski/554217/expmap_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.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/554217/ltcube_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.fits
.....................!
real 191.95
user 185.95
sys 5.65

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/554217/ft1_filtered_4FGL_J0821.1+1007_daily_bin1759.fits scfile=/scratch/kocevski/554217/ft2_4FGL_J0821.1+1007_daily_bin1759.fits outfile=/scratch/kocevski/554217/cmap_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554217/ft1_filtered_4FGL_J0821.1+1007_daily_bin1759.fits scfile=/scratch/kocevski/554217/ft2_4FGL_J0821.1+1007_daily_bin1759.fits outfile=/scratch/kocevski/554217/cmap_HighResolution_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.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.60
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/554217/ft1_filtered_4FGL_J0821.1+1007_daily_bin1759.fits', '/scratch/kocevski/554217/ft2_4FGL_J0821.1+1007_daily_bin1759.fits', expMap='/scratch/kocevski/554217/expmap_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.fits', expCube='/scratch/kocevski/554217/ltcube_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/554217/Model_4FGL_J0821.1+1007_daily_bin1759.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/554217/ft1_filtered_4FGL_J0821.1+1007_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/554217/ft2_4FGL_J0821.1+1007_daily_bin1759.fits
Exposure map: /scratch/kocevski/554217/expmap_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.fits
Exposure cube: /scratch/kocevski/554217/ltcube_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/554217/Model_4FGL_J0821.1+1007_daily_bin1759.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 526.454797536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 524.382053191

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1990       1.0000          .0000       .10000E+07
     2 'Prefactor '    .91461E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .17372E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6855       1.0000          .0000       .10000E+07
     5 'norm      '    9.7363       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25207E-01   1.0000          .0000       .10000E+07
     7 'norm      '    123.09       1.0000          .0000       .10000E+07
     8 'norm      '    .11970       1.0000          .0000       .10000E+07
     9 'norm      '    .15259E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14011E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.4027       1.0000          .0000       .10000E+07
    12 'norm      '    .72387E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .48013       1.0000          .0000       .10000E+07
    14 'norm      '    .25677E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    .10038E-01   1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.6740       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=   524.3733     FROM MIGRAD    STATUS=CONVERGED    158 CALLS      399 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1990        1.0024         .0000         .0000    
   2  Prefactor     .77716E-09    161.51       -.48760E-06** at limit **
   3  norm          .55511E-10    346.94       -.43366E-07** at limit **
   4  Prefactor     .61062E-09    180.58        .11768E-05** at limit **
   5  norm          9.7363        1.0013         .0000         .0000    
   6  Prefactor     .55511E-10    78.383        .13087E-06** at limit **
   7  norm          122.72        6.7498       -.70590E-08   -.14579E-01
   8  norm           .0000        60.636        .12937E-06** at limit **
   9  norm           .0000        36.372       -.27026E-06** at limit **
  10  Prefactor     .12657E-07    307.23       -.40796E-06** at limit **
  11  norm          1.3907        3.8068       -.57262E-06    .27290E-02
  12  norm          .11102E-09    80.791        .24281E-06** at limit **
  13  Prefactor      .0000        230.66        .43699E-06** at limit **
  14  norm          .11102E-09    37.053       -.24550E-06** at limit **
  15  Normalizat    .49795E-01    6.4783        .41918E-03    .76026E-05
  16  Prefactor     1.6490        .63140       -.67604E-04    .93471E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.19905
  Prefactor  = 7.77156e-10
  norm       = 5.55112e-11
  Prefactor  = 6.10623e-10
  norm       = 9.73628
  Prefactor  = 5.55112e-11
  norm       = 122.718
  norm       = 0
  norm       = 0
  Prefactor  = 1.26565e-08
  norm       = 1.39068
  norm       = 1.11022e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  Normalizat = 0.0497949
  Prefactor  = 1.64897
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   524.3733     FROM HESSE     STATUS=FAILED        11 CALLS      410 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33520.        33512.         .0000       -1.5654    
   2  Prefactor     .77716E-09    .44347E-01   -.48760E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    .74098       -.43366E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    .16435        .11768E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.7363        1.0013         .0000       -1.5646    
   6  Prefactor     .55511E-10    .69852        .13087E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          122.72        .99849       -.70590E-08   -1.5486    
   8  norm           .0000        .45075        .12937E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .75439       -.27026E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12657E-07    .44347E-01   -.40796E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3907        1.0796       -.57262E-06   -1.5684    
  12  norm          .11102E-09    .54319        .24281E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .16295        .43699E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    .44347E-01   -.24550E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .49795E-01    .25303        .41918E-03   -1.4445    
  16  Prefactor     1.6490        1.0285       -.67604E-04   -.73449    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.44162e-11
Minuit parameter uncertainties:
  1  1.00243
  2  1.1615e-05
  3  1.38434e-05
  4  2.03436e-05
  5  1.00132
  6  1.48644e-05
  7  0.998492
  8  3.63436e-06
  9  4.85584e-06
  10  4.73581e-05
  11  1.07959
  12  1.64712e-05
  13  4.60415e-07
  14  4.00536e-06
  15  0.201959
  16  1.04217
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 524.373290871

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.266e-08  4.736e-05  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.649e+00  1.042e+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:  4.979e-02  2.020e-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: 1.54e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/554217/likelihoodResults_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.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) = 524.374654691
delta logL = -0.00136381963614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 522.48916248
delta logL = 1.88412839098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    102.62       1.0000          .0000       .10000E+07
     2 'Index     '    .74125       1.0000          .0000       10.000    
     3 'Normalizat'    .10013E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   522.4892     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      281 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     102.70        170.89        .84339E-06    .42831E-04
   2  Index         .74215        .61372        .30786E-04   -.72002E-05
   3  Normalizat    .10000E-01    1.0308        .70703E-05** at limit **
   4  Prefactor     1.6104        .42955       -.13355E-05   -.11473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 102.702
  Index      = 0.742153
  Normalizat = 0.01
  Prefactor  = 1.61035
 **********
 **   18 **HESSE 
 **********

 FCN=   522.4892     FROM HESSE     STATUS=OK            29 CALLS      310 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     102.70        170.81        .19744E-04   -1.5505    
   2  Index         .74215        .61080        .33459E-03   -1.0190    
   3  Normalizat    .10000E-01    6.2582        .10949E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6104        .32357        .19644E-03   -.74494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14206e-10
Minuit parameter uncertainties:
  1  170.82
  2  0.616469
  3  1.48051e-05
  4  0.323991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554217': 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) = 522.489158596
delta logL = 1.88413227528

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  1.027e+02  1.708e+02  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  7.422e-01  6.165e-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.610e+00  3.240e-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.000e-02  1.481e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.77
Ra Dec: 125.299 10.129
Photon Index (Free Index): 0.74 +/- 0.62
Photon Flux (Free Index): 1.21e-07 +/- 1.28e-07
Energy Flux (Free Index): 2.98e-03 +/- 4.30e-03

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/554217/cmap_HighResolution_695260801_695520001_4FGL_J0821.1+1007_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-01', comment='SUCCESS', energy_flux2='2.98e-03', dlogl='1.88e+00', photon_flux2='1.21e-07', job_status='DONE', time_completed='2023-01-16 01:03:20.268099', photon_index_error2='0.62', photon_index2='0.74', ts='-0.00', fit_tolerance='1e-08', GAL='1.65', photon_index_error='0.00', photon_flux_upper_limit='1.54e-06', energy_flux_error2='4.30e-03', EG='0.05', time_epoch_completed='1673859800.27', return_code='101', job_id='554217', GAL2='1.61', EG2='0.01', return_code2='0', photon_flux_error2='1.28e-07', ts2='3.77', photon_index='2.41' WHERE bin_id='1759' AND source_name='4FGL J0821.1+1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:03:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 554217: <4FGL_J0821.1+1007_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0821.1+1007_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:28 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:56:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:56:17 2023
Terminated at Mon Jan 16 01:03:21 2023
Results reported at Mon Jan 16 01:03:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_daily_bin1759 125.299 10.1287 695260801 695520001 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 :                                   324.45 sec.
    Max Memory :                                 1126 MB
    Average Memory :                             417.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   423 sec.
    Turnaround time :                            473 sec.

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

