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


Performing analysis on: 4FGL_J0010.6+2043_weekly_bin762
RA = 2.6502, Dec = 20.7332
tmin = 699840001, tmax = 700444801
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='955086', job_status='RUN', time_executed='2023-03-14 00:27:34.889027', time_epoch_executed='1678778854.89' WHERE source_name='4FGL J0010.6+2043' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955086

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955086/ft1_4FGL_J0010.6+2043_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955086/ft1_4FGL_J0010.6+2043_weekly_bin762.fits outfile=/scratch/kocevski/955086/ft1_filteredMKT_4FGL_J0010.6+2043_weekly_bin762.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.21
user 7.85
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.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/955086/ft1_filteredMKT_4FGL_J0010.6+2043_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.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.56
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1453

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/955086/ltcube_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.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/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits
.....................!
real 25.98
user 25.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/955086/ltcube_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.fits outfile=/scratch/kocevski/955086/expmap_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.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/955086/ltcube_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.fits
.....................!
real 191.38
user 185.93
sys 5.10

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J0010.6+2043 @ 2.6502 20.7332

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits scfile=/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits outfile=/scratch/kocevski/955086/cmap_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.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=2.6502 yref=20.7332 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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits scfile=/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits outfile=/scratch/kocevski/955086/cmap_HighResolution_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.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=2.6502 yref=20.7332 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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955086/Model_4FGL_J0010.6+2043_weekly_bin762.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/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits.....................!
real 150.38
user 148.89
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits', '/scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits', expMap='/scratch/kocevski/955086/expmap_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.fits', expCube='/scratch/kocevski/955086/ltcube_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/955086/Model_4FGL_J0010.6+2043_weekly_bin762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0010.6+2043'

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.069e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/955086/ft1_filtered_4FGL_J0010.6+2043_weekly_bin762.fits
Spacecraft file(s): /scratch/kocevski/955086/ft2_4FGL_J0010.6+2043_weekly_bin762.fits
Exposure map: /scratch/kocevski/955086/expmap_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.fits
Exposure cube: /scratch/kocevski/955086/ltcube_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/955086/Model_4FGL_J0010.6+2043_weekly_bin762.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) = 15773.2076088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92926E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.413       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2003       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9324       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.884       1.0000          .0000       .10000E+07
     6 'norm      '    .10979E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5612       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18287E-04   1.0000          .0000       .10000E+07
     9 'norm      '    6.2285       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42522E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    21.840       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15421E-04   1.0000          .0000       .10000E+07
    13 'norm      '    6.9254       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42695       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24804E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .86714       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1049       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15772.19     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      954 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.6970        .48291E-06** at limit **
   2  Prefactor     18.495        5.8588       -.19083E-06    .50904E-01
   3  Prefactor     3.1734        4.2394       -.16590E-07   -.28915E-02
   4  Prefactor     4.9436        4.5867       -.29328E-06    .88969E-03
   5  Prefactor     12.886        3.0418       -.17873E-07    .79340E-03
   6  norm          .96034E-08    2.7182       -.71420E-06** at limit **
   7  Prefactor     2.5271        4.0210       -.97191E-06   -.11060E-01
   8  Prefactor     .35527E-08    2.6598        .40808E-06** at limit **
   9  norm          6.2292        3.8459       -.25719E-06    .94612E-03
  10  Prefactor      .0000        1.3482       -.28760E-06** at limit **
  11  Prefactor     21.784        2.0505        .85418E-07   -.26954E-01
  12  Prefactor      .0000        3.4607       -.30469E-06** at limit **
  13  norm          6.9047        2.1293       -.27586E-06   -.62549E-02
  14  Prefactor     .41956        2.2325        .11857E-05    .12944E-01
  15  Prefactor      .0000        36.360       -.45251E-06** at limit **
  16  Normalizat    .86710        .14414        .28758E-05   -.28833E-04
  17  Prefactor     1.1049        .98767E-01   -.84301E-07   -.60758E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 18.4954
  Prefactor  = 3.17339
  Prefactor  = 4.94357
  Prefactor  = 12.8862
  norm       = 9.60343e-09
  Prefactor  = 2.52707
  Prefactor  = 3.55271e-09
  norm       = 6.2292
  Prefactor  = 0
  Prefactor  = 21.7845
  Prefactor  = 0
  norm       = 6.90467
  Prefactor  = 0.419558
  Prefactor  = 0
  Normalizat = 0.867103
  Prefactor  = 1.10495
 **********
 **   18 **HESSE 
 **********

 FCN=   15772.19     FROM HESSE     STATUS=OK           265 CALLS     1219 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.6575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.495        7.8800        .23313E-03   -1.5622    
   3  Prefactor     3.1734        4.3117        .56613E-03   -1.5672    
   4  Prefactor     4.9436        4.6099        .45263E-03   -1.5663    
   5  Prefactor     12.886        3.0497        .27880E-03   -1.5636    
   6  norm          .96034E-08    3.3130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5271        6.8122        .63763E-03   -1.5676    
   8  Prefactor     .35527E-08    2.8260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.2292        3.8782        .40200E-03   -1.5658    
  10  Prefactor      .0000        1.3489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.784        8.8982        .21404E-03   -1.5615    
  12  Prefactor      .0000        3.5244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.9047        6.7578        .38100E-03   -1.5655    
  14  Prefactor     .41956        1.9340        .64199E-02   -1.5695    
  15  Prefactor      .0000        36.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .86710        .12696        .69789E-01   -.97626    
  17  Prefactor     1.1049        .85383E-01    .37402E-01   -.89309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63138e-08
Minuit parameter uncertainties:
  1  1.50838e-05
  2  7.87996
  3  4.31169
  4  4.60988
  5  3.04966
  6  0.000356775
  7  6.81219
  8  0.000200064
  9  3.87815
  10  1.11609e-05
  11  8.89821
  12  1.76214e-06
  13  6.75776
  14  1.8016
  15  3.1223e-05
  16  0.127007
  17  0.0853935
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.850e+01  7.880e+00  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.105e+00  8.539e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.671e-01  1.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.64
Ra Dec: 2.650 20.733
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 6.22e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 9.77e-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) = 15772.121988
delta logL = 0.0660761429208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15772.11314
delta logL = 0.0749241794019

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15772.11     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      293 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.156        12.558        .10280E-04    .23468E-02
   2  Index         2.4745        .48372        .55627E-02    .11110E-03
   3  Normalizat    .85767        .14561        .31028E-03   -.67323E-03
   4  Prefactor     1.1095        .99724E-01    .19103E-03   -.14636E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.1561
  Index      = 2.47446
  Normalizat = 0.857665
  Prefactor  = 1.10949
 **********
 **   18 **HESSE 
 **********

 FCN=   15772.11     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.156        10.882        .41118E-06   -1.5630    
   2  Index         2.4745        .41894        .22251E-03   -.52951    
   3  Normalizat    .85767        .14514        .12411E-04   -.97964    
   4  Prefactor     1.1095        .99518E-01    .38207E-04   -.89164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98685e-10
Minuit parameter uncertainties:
  1  10.8815
  2  0.419605
  3  0.14521
  4  0.0995348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955086': 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) = 15772.1131385
delta logL = 0.0749256222662

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.516e+01  1.088e+01  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  2.474e+00  4.196e-01  0.000e+00  1.000e+01 (-1.000e+00)
47         Scale:  1.386e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.109e+00  9.953e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.577e-01  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.83
Ra Dec: 2.650 20.733
Photon Index (Free Index): 2.47 +/- 0.42
Photon Flux (Free Index): 6.88e-08 +/- 3.23e-08
Energy Flux (Free Index): 2.06e-05 +/- 9.95e-06

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/955086/cmap_HighResolution_699840001_700444801_4FGL_J0010.6+2043_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.22e-08', energy_flux2='2.06e-05', photon_flux_error='2.65e-08', dlogl='7.49e-02', energy_flux='2.29e-05', photon_flux2='6.88e-08', job_status='DONE', time_completed='2023-03-14 00:40:05.933806', photon_index_error2='0.42', photon_index2='2.47', ts='9.64', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='9.95e-06', EG='0.87', time_epoch_completed='1678779605.93', return_code='0', job_id='955086', GAL2='1.11', EG2='0.86', return_code2='0', energy_flux_error='9.77e-06', photon_flux_error2='3.23e-08', ts2='9.83', photon_index='2.32' WHERE bin_id='762' AND source_name='4FGL J0010.6+2043' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:40:05 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 955086: <4FGL_J0010.6+2043_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0010.6+2043_weekly_bin762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:25:26 2023
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:25:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:25:27 2023
Terminated at Tue Mar 14 00:40:06 2023
Results reported at Tue Mar 14 00:40:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_weekly_bin762 2.6502 20.7332 699840001 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0010.6+2043 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   751.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             317.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            880 sec.

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

