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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1742
RA = 2.6502, Dec = 20.7332
tmin = 690854401, tmax = 691113601
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='217171', job_status='RUN', time_executed='2022-11-26 00:09:31.656235', time_epoch_executed='1669450171.66' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217171/ft1_4FGL_J0010.6+2043_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217171/ft1_4FGL_J0010.6+2043_daily_bin1742.fits outfile=/scratch/kocevski/217171/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1742.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=690854401.0 tmax=691113601.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.95
user 2.69
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.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/217171/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.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.53
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 657

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217171/ltcube_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.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/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits
.....................!
real 16.74
user 16.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217171/ltcube_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.fits outfile=/scratch/kocevski/217171/expmap_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.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/217171/ltcube_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.fits
.....................!
real 191.40
user 186.47
sys 4.44

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/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.fits scfile=/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits outfile=/scratch/kocevski/217171/cmap_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.fits scfile=/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits outfile=/scratch/kocevski/217171/cmap_HighResolution_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.fits', '/scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits', expMap='/scratch/kocevski/217171/expmap_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.fits', expCube='/scratch/kocevski/217171/ltcube_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217171/Model_4FGL_J0010.6+2043_daily_bin1742.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/217171/ft1_filtered_4FGL_J0010.6+2043_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217171/ft2_4FGL_J0010.6+2043_daily_bin1742.fits
Exposure map: /scratch/kocevski/217171/expmap_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217171/ltcube_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217171/Model_4FGL_J0010.6+2043_daily_bin1742.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) = 7088.88084662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63354E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    81.333       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27884E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54262E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5758       1.0000          .0000       .10000E+07
     6 'norm      '    .47567E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19985E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     9 'norm      '    6.8316       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40267E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.834       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10634E-03   1.0000          .0000       .10000E+07
    13 'norm      '    7.5567       1.0000          .0000       .10000E+07
    14 'Prefactor '    .27338       1.0000          .0000       .10000E+07
    15 'Prefactor '    15.335       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0961       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99458       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=   7088.834     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      998 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    3.0129       -.85856E-07** at limit **
   2  Prefactor     81.375        16.502        .22325E-07    .52940E-01
   3  Prefactor     .13128E-06    2.6040        .94496E-07** at limit **
   4  Prefactor     .32502E-06    5.0456        .35641E-07** at limit **
   5  Prefactor     2.5640        3.1727        .13951E-06    .12489E-02
   6  norm          .19579E-06    2.9209        .99578E-07** at limit **
   7  Prefactor     .45852E-07    6.6251       -.27859E-06** at limit **
   8  Prefactor     .64948E-08    5.3944       -.32466E-06** at limit **
   9  norm          6.8310        7.1119        .16993E-06    .96211E-03
  10  Prefactor     .27200E-07    3.3499       -.18724E-06** at limit **
  11  Prefactor     18.659        1.9977       -.29942E-07    .56254E-02
  12  Prefactor     .44409E-09    4.8828        .19798E-06** at limit **
  13  norm          7.5438        9.7644        .12974E-06    .23447E-01
  14  Prefactor     .23489        9.2164       -.73100E-06** at limit **
  15  Prefactor     13.001        32.810       -.16909E-05    .20369E-03
  16  Normalizat    1.0977        .23679        .57356E-06    .94370E-04
  17  Prefactor     .99468        .15639        .17749E-05    .17274E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 81.3747
  Prefactor  = 1.31284e-07
  Prefactor  = 3.25018e-07
  Prefactor  = 2.564
  norm       = 1.95788e-07
  Prefactor  = 4.58522e-08
  Prefactor  = 6.4948e-09
  norm       = 6.83098
  Prefactor  = 2.72005e-08
  Prefactor  = 18.6588
  Prefactor  = 4.44089e-10
  norm       = 7.54382
  Prefactor  = 0.234892
  Prefactor  = 13.0012
  Normalizat = 1.09768
  Prefactor  = 0.99468
 **********
 **   18 **HESSE 
 **********

 FCN=   7088.834     FROM HESSE     STATUS=OK           261 CALLS     1259 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.9509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     81.375        17.459        .11089E-03   -1.5528    
   3  Prefactor     .13128E-06    8.6130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .32502E-06    8.2231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5640        3.1884        .63567E-03   -1.5676    
   6  norm          .19579E-06    8.5031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .45852E-07    10.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .64948E-08    5.4620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.8310        7.1955        .38363E-03   -1.5656    
  10  Prefactor     .27200E-07    10.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.659        15.075        .23051E-03   -1.5622    
  12  Prefactor     .44409E-09    4.8851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.5438        10.146        .36458E-03   -1.5653    
  14  Prefactor     .23489        2.9589        .46234E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.001        32.865        .25550E-03   -1.5636    
  16  Normalizat    1.0977        .19813        .66378E-01   -.89826    
  17  Prefactor     .99468        .12969        .46199E-01   -.92907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05767e-07
Minuit parameter uncertainties:
  1  2.20667e-05
  2  17.4591
  3  0.00212681
  4  0.00326972
  5  3.18835
  6  0.00258057
  7  0.001386
  8  0.000376567
  9  7.19553
  10  0.00108601
  11  15.0751
  12  9.52904e-05
  13  10.1457
  14  1.66737
  15  32.8658
  16  0.198263
  17  0.129734
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  8.137e+01  1.746e+01  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:  9.947e-01  1.297e-01  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:  1.098e+00  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 76.81
Ra Dec: 2.650 20.733
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 2.74e-07 +/- 5.87e-08
Energy Flux (Fixed Index): 1.01e-04 +/- 2.16e-05

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) = 7086.08622791
delta logL = 2.74736054736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7086.08595962
delta logL = 2.74762883797

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    125.49       1.0000          .0000       .10000E+07
     2 'Index     '    1.8982       1.0000          .0000       10.000    
     3 'Normalizat'    1.1840       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95588       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.

 FCN=   7086.086     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      251 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     125.43        51.638        .89274E-04   -.11334E-04
   2  Index         1.8976        .27184        .70235E-01    .10653E-03
   3  Normalizat    1.1842        .19865        .64335E-01    .40858E-05
   4  Prefactor     .95586        .12992        .45713E-01    .44540E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 125.43
  Index      = 1.89759
  Normalizat = 1.18415
  Prefactor  = 0.955865
 **********
 **   18 **HESSE 
 **********

 FCN=   7086.086     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     125.43        31.332        .35709E-05   -1.5484    
   2  Index         1.8976        .16998        .30117E-02   -.66936    
   3  Normalizat    1.1842        .23577        .28459E-03   -.87094    
   4  Prefactor     .95586        .15539        .20726E-03   -.94215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03462e-12
Minuit parameter uncertainties:
  1  31.3318
  2  0.170033
  3  0.235983
  4  0.155459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217171': 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) = 7086.0859465
delta logL = 2.74764196473

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  1.254e+02  3.133e+01  0.000e+00  1.000e+06 ( 1.000e-13)
46         Index:  1.898e+00  1.700e-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:  9.559e-01  1.555e-01  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:  1.184e+00  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 82.35
Ra Dec: 2.650 20.733
Photon Index (Free Index): 1.90 +/- 0.17
Photon Flux (Free Index): 2.05e-07 +/- 5.53e-08
Energy Flux (Free Index): 1.85e-04 +/- 7.21e-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/217171/cmap_HighResolution_690854401_691113601_4FGL_J0010.6+2043_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.74e-07', energy_flux2='1.85e-04', photon_flux_error='5.87e-08', dlogl='2.75e+00', energy_flux='1.01e-04', photon_flux2='2.05e-07', job_status='DONE', time_completed='2022-11-26 00:17:54.930330', photon_index_error2='0.17', photon_index2='1.90', ts='76.81', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='7.21e-05', EG='1.10', time_epoch_completed='1669450674.93', return_code='0', job_id='217171', GAL2='0.96', EG2='1.18', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='5.53e-08', ts2='82.35', photon_index='2.32' WHERE bin_id='1742' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:17:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 217171: <4FGL_J0010.6+2043_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:37 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:05:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:05:41 2022
Terminated at Sat Nov 26 00:17:55 2022
Results reported at Sat Nov 26 00:17:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1742 2.6502 20.7332 690854401 691113601 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 :                                   499.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            798 sec.

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

