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


Performing analysis on: 4FGL_J0821.1+1007_weekly_bin756
RA = 125.299, Dec = 10.1287
tmin = 696211201, tmax = 696816001
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='472610', job_status='RUN', time_executed='2023-01-31 02:28:52.776209', time_epoch_executed='1675160932.78' WHERE source_name='4FGL J0821.1+1007' and cadence='weekly' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472610

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472610/ft1_4FGL_J0821.1+1007_weekly_bin756.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472610/ft2_4FGL_J0821.1+1007_weekly_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472610/ft1_4FGL_J0821.1+1007_weekly_bin756.fits outfile=/scratch/kocevski/472610/ft1_filteredMKT_4FGL_J0821.1+1007_weekly_bin756.fits ra=125.299 dec=10.1287 rad=12.0 tmin=696211201.0 tmax=696816001.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 7.90
user 7.58
sys 0.29

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

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

Number of photons that the gtmktime cut: 1303

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472610/ft1_filtered_4FGL_J0821.1+1007_weekly_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/472610/ft2_4FGL_J0821.1+1007_weekly_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/472610/ltcube_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.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/472610/ft2_4FGL_J0821.1+1007_weekly_bin756.fits
.....................!
real 31.77
user 31.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472610/ft1_filtered_4FGL_J0821.1+1007_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/472610/ft2_4FGL_J0821.1+1007_weekly_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/472610/ltcube_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.fits outfile=/scratch/kocevski/472610/expmap_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.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/472610/ltcube_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.fits
.....................!
real 193.29
user 186.19
sys 5.73

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/472610/ft1_filtered_4FGL_J0821.1+1007_weekly_bin756.fits scfile=/scratch/kocevski/472610/ft2_4FGL_J0821.1+1007_weekly_bin756.fits outfile=/scratch/kocevski/472610/cmap_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.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.60
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472610/ft1_filtered_4FGL_J0821.1+1007_weekly_bin756.fits scfile=/scratch/kocevski/472610/ft2_4FGL_J0821.1+1007_weekly_bin756.fits outfile=/scratch/kocevski/472610/cmap_HighResolution_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.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.56
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.752       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8200       1.0000          .0000       .10000E+07
     3 'norm      '    .46054       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.3441       1.0000          .0000       .10000E+07
     5 'norm      '    19.850       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6847       1.0000          .0000       .10000E+07
     7 'norm      '    10.040       1.0000          .0000       .10000E+07
     8 'norm      '    .42560E-06   1.0000          .0000       .10000E+07
     9 'norm      '    9.2831       1.0000          .0000       .10000E+07
    10 'Prefactor '    23.231       1.0000          .0000       .10000E+07
    11 'norm      '    .10682E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .49988E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    22.907       1.0000          .0000       .10000E+07
    14 'norm      '    .84961E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    .72640       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1205       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=   14908.98     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1193 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.878        33.566        .67902E-06   -.90778E-02
   2  Prefactor     3.8205        2.1353        .16734E-07    .16715E-02
   3  norm          .35260        73.030        .34964E-05   -.11414E-01
   4  Prefactor     6.4027        8.9749        .28740E-06    .10603E-01
   5  norm          17.796        60.333       -.21450E-05    .84735E-03
   6  Prefactor     2.5898        8.5237        .86809E-07   -.41740E-03
   7  norm          10.172        10.125        .11290E-05    .20841E-01
   8  norm          .38858E-09    9.0233       -.27185E-06** at limit **
   9  norm          9.3078        2.8863       -.77426E-07    .92495E-05
  10  Prefactor     23.342        10.176       -.48928E-06   -.25295E-01
  11  norm          .55511E-10    1.5559       -.22666E-06** at limit **
  12  norm          .55511E-09    6.4882       -.15900E-06** at limit **
  13  Prefactor     23.137        11.548        .34599E-07    .94855E-01
  14  norm          .21039E-07    17.658        .14162E-05** at limit **
  15  Normalizat    .72457        .14134        .13944E-05    .50887E-04
  16  Prefactor     1.1211        .11133       -.18152E-06    .18667E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.8776
  Prefactor  = 3.82048
  norm       = 0.352602
  Prefactor  = 6.40269
  norm       = 17.7964
  Prefactor  = 2.58981
  norm       = 10.1718
  norm       = 3.88578e-10
  norm       = 9.30784
  Prefactor  = 23.3418
  norm       = 5.55112e-11
  norm       = 5.55112e-10
  Prefactor  = 23.1368
  norm       = 2.10387e-08
  Normalizat = 0.724573
  Prefactor  = 1.12105
 **********
 **   18 **HESSE 
 **********

 FCN=   14908.98     FROM HESSE     STATUS=OK           261 CALLS     1454 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.878        33.688        .20523E-03   -1.5606    
   2  Prefactor     3.8205        2.1415        .51616E-03   -1.5669    
   3  norm          .35260        7.5299        .10330E-01   -1.5696    
   4  Prefactor     6.4027        8.6543        .39827E-03   -1.5657    
   5  norm          17.796        60.853        .22452E-03   -1.5624    
   6  Prefactor     2.5898        8.5561        .62160E-03   -1.5676    
   7  norm          10.172        10.247        .31599E-03   -1.5644    
   8  norm          .38858E-09    8.9823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3078        2.8889        .32869E-03   -1.5647    
  10  Prefactor     23.342        10.219        .20753E-03   -1.5611    
  11  norm          .55511E-10    .16158        .27422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-09    6.4256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.137        26.049        .20899E-03   -1.5612    
  14  norm          .21039E-07    2.0501        .66352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .72457        .12481        .68829E-01   -1.0293    
  16  Prefactor     1.1211        .96000E-01    .36856E-01   -.88797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82164e-07
Minuit parameter uncertainties:
  1  33.6887
  2  2.14148
  3  3.25888
  4  8.65432
  5  60.8551
  6  8.55619
  7  10.2471
  8  0.000113885
  9  2.88888
  10  10.2191
  11  5.73153e-06
  12  0.000118435
  13  26.0487
  14  0.000415632
  15  0.124854
  16  0.0960152
Done.

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

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  2.334e+01  1.022e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.155e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  1.121e+00  9.602e-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:  7.246e-01  1.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.70
Ra Dec: 125.299 10.129
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 6.03e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 8.53e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14908.453531
delta logL = 0.524117600427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14908.4530264
delta logL = 0.524622190409

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.296       1.0000          .0000       .10000E+07
     2 'Index     '    1.9983       1.0000          .0000       10.000    
     3 'Normalizat'    .75473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1059       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=   14908.45     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.318        298.64        .18478E-03    .14436E-02
   2  Index         1.9991        5.9677        .15824        .46643E-04
   3  Normalizat    .75467        .16598        .67550E-01    .55932E-04
   4  Prefactor     1.1059        .74021E-01    .37366E-01    .55794E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.3178
  Index      = 1.99906
  Normalizat = 0.754666
  Prefactor  = 1.10591
 **********
 **   18 **HESSE 
 **********

 FCN=   14908.45     FROM HESSE     STATUS=OK            33 CALLS      312 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.318        13.814        .36957E-04   -1.5600    
   2  Index         1.9991        .38563        .91473E-02   -.64374    
   3  Normalizat    .75467        .13932        .29889E-03   -1.0177    
   4  Prefactor     1.1059        .11055        .20120E-03   -.89278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58112e-10
Minuit parameter uncertainties:
  1  13.8137
  2  0.386235
  3  0.139381
  4  0.110574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472610': 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) = 14908.4530231
delta logL = 0.524625508819

Extracting fit parameters...

4FGL J0821.1+1007
   Spectrum: PowerLaw
295    Prefactor:  2.932e+01  1.381e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  1.999e+00  3.862e-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.106e+00  1.106e-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:  7.547e-01  1.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.68
Ra Dec: 125.299 10.129
Photon Index (Free Index): 2.00 +/- 0.39
Photon Flux (Free Index): 3.90e-08 +/- 2.68e-08
Energy Flux (Free Index): 2.70e-05 +/- 1.75e-05

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/472610/cmap_HighResolution_696211201_696816001_4FGL_J0821.1+1007_weekly_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.03e-08', energy_flux2='2.70e-05', photon_flux_error='2.64e-08', dlogl='5.25e-01', energy_flux='1.95e-05', photon_flux2='3.90e-08', job_status='DONE', time_completed='2023-01-31 02:41:40.511036', photon_index_error2='0.39', photon_index2='2.00', ts='10.70', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='0.72', time_epoch_completed='1675161700.51', return_code='0', job_id='472610', GAL2='1.11', EG2='0.75', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.68e-08', ts2='11.68', photon_index='2.41' WHERE bin_id='756' AND source_name='4FGL J0821.1+1007' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:41:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 472610: <4FGL_J0821.1+1007_weekly_bin756> in cluster <slac> Done

Job <4FGL_J0821.1+1007_weekly_bin756> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 31 02:25:21 2023
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:27:05 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:27:05 2023
Terminated at Tue Jan 31 02:41:41 2023
Results reported at Tue Jan 31 02:41:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0821.1+1007_weekly_bin756 125.299 10.1287 696211201 696816001 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 :                                   766.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             319.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            980 sec.

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

