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 230 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0010.6+2043_daily_bin1679
RA = 2.6502, Dec = 20.7332
tmin = 674524801, tmax = 674784001
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='424550', job_status='RUN', time_executed='2022-05-21 00:09:32.515951', time_epoch_executed='1653116972.52' WHERE source_name='4FGL J0010.6+2043' and cadence='daily' and bin_id='1679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424550

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424550/ft1_4FGL_J0010.6+2043_daily_bin1679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424550/ft1_4FGL_J0010.6+2043_daily_bin1679.fits outfile=/scratch/kocevski/424550/ft1_filteredMKT_4FGL_J0010.6+2043_daily_bin1679.fits ra=2.6502 dec=20.7332 rad=12.0 tmin=674524801.0 tmax=674784001.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 3.65
user 3.39
sys 0.20

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

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

Number of photons that the gtmktime cut: 646

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424550/ft1_filtered_4FGL_J0010.6+2043_daily_bin1679.fits" evtable="EVENTS" scfile=/scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits sctable="SC_DATA" outfile=/scratch/kocevski/424550/ltcube_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.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/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits
.....................!
real 15.78
user 15.27
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424550/ft1_filtered_4FGL_J0010.6+2043_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits sctable="SC_DATA" expcube=/scratch/kocevski/424550/ltcube_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.fits outfile=/scratch/kocevski/424550/expmap_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.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/424550/ltcube_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.fits
.....................!
real 192.61
user 187.07
sys 5.03

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/424550/ft1_filtered_4FGL_J0010.6+2043_daily_bin1679.fits scfile=/scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits outfile=/scratch/kocevski/424550/cmap_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424550/ft1_filtered_4FGL_J0010.6+2043_daily_bin1679.fits scfile=/scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits outfile=/scratch/kocevski/424550/cmap_HighResolution_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.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.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424550/ft1_filtered_4FGL_J0010.6+2043_daily_bin1679.fits', '/scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits', expMap='/scratch/kocevski/424550/expmap_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.fits', expCube='/scratch/kocevski/424550/ltcube_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424550/Model_4FGL_J0010.6+2043_daily_bin1679.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  1.000e-04  1.000e+04 ( 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/424550/ft1_filtered_4FGL_J0010.6+2043_daily_bin1679.fits
Spacecraft file(s): /scratch/kocevski/424550/ft2_4FGL_J0010.6+2043_daily_bin1679.fits
Exposure map: /scratch/kocevski/424550/expmap_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.fits
Exposure cube: /scratch/kocevski/424550/ltcube_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424550/Model_4FGL_J0010.6+2043_daily_bin1679.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) = 7168.31038311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25388       1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.755       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.404       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.215       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.374       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5764       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.338       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .76592       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0755       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=   7168.306     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1710 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25085        1.4361        .61581E-01   -.10292E-03
   2  Prefactor     32.756        13.132        .17503E-02   -.13863E-02
   3  Prefactor     .10000E-03    3.1300        .90712E-02** at limit **
   4  Prefactor     16.404        9.0646        .24722E-02    .90827E-04
   5  Prefactor     .10000E-03    21.500        .90712E-02** at limit **
   6  Prefactor     .10000E-03    2.1873        .90712E-02** at limit **
   7  norm          .10000E-03    4.3377        .90712E-02** at limit **
   8  Prefactor     48.216        29.229        .14437E-02   -.11898E-02
   9  Prefactor     .10000E-03    13.651        .90712E-02** at limit **
  10  norm          .10000E-03    2.1733        .90712E-02** at limit **
  11  Prefactor     15.374        9.0238        .25537E-02    .89143E-04
  12  Prefactor     9.5764        10.784        .32375E-02    .11211E-03
  13  Prefactor     24.338        17.910        .20299E-02    .48714E-03
  14  norm          .10000E-03    3.9290        .90712E-02** at limit **
  15  Prefactor     .10000E-03    3.0886        .90712E-02** at limit **
  16  Prefactor     .10000E-03    10.615        .90712E-02** at limit **
  17  Normalizat    .76585        .19127        .72539E-01    .68427E-03
  18  Prefactor     1.0756        .12406        .38600E-01   -.70960E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.250854
  Prefactor  = 32.7565
  Prefactor  = 0.0001
  Prefactor  = 16.404
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 48.2159
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.3745
  Prefactor  = 9.5764
  Prefactor  = 24.3375
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.765853
  Prefactor  = 1.0756
 **********
 **   18 **HESSE 
 **********

 FCN=   7168.306     FROM HESSE     STATUS=OK           238 CALLS     1948 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25085        8.9652        .18354E-02   -1.5608    
   2  Prefactor     32.756        13.142        .70014E-04   -1.4563    
   3  Prefactor     .10000E-03    3.1359        .14626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.404        9.0696        .98889E-04   -1.4898    
   5  Prefactor     .10000E-03    21.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2426        .24413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.3453        .17221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     48.216        29.273        .57748E-04   -1.4318    
   9  Prefactor     .10000E-03    13.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1741        .12189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.374        9.0228        .10215E-03   -1.4924    
  12  Prefactor     9.5764        10.794        .12950E-03   -1.5089    
  13  Prefactor     24.338        17.922        .81197E-04   -1.4721    
  14  norm          .10000E-03    3.9307        .16390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.1371        .14528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .76585        .22096        .16052E-02   -1.0135    
  18  Prefactor     1.0756        .14408        .18660E-03   -.90250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50034e-09
Minuit parameter uncertainties:
  1  2.99918
  2  13.1433
  3  1.79501e-05
  4  9.07037
  5  3.26193e-05
  6  3.52792e-06
  7  8.96853e-06
  8  29.2814
  9  7.31628e-05
  10  4.45278e-06
  11  9.02356
  12  10.7961
  13  17.9262
  14  5.25887e-06
  15  2.19753e-05
  16  7.39576e-05
  17  0.221218
  18  0.144137
Done.

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

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  3.276e+01  1.314e+01  1.000e-04  1.000e+04 ( 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.076e+00  1.441e-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:  7.659e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.46
Ra Dec: 2.650 20.733
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 4.42e-08
Energy Flux (Fixed Index): 4.06e-05 +/- 1.63e-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) = 7167.99344104
delta logL = 0.31291270831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7167.99203986
delta logL = 0.314313883972

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.456       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0561       1.0000          .0000       10.000    
     3 'Normalizat'    .79254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0641       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=   7167.992     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      301 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.438        19.954        .61524E-04    .36465E-03
   2  Index         2.0557        .32516        .48064E-02    .17801E-03
   3  Normalizat    .79263        .21379        .31606E-03   -.50790E-04
   4  Prefactor     1.0641        .14420        .18746E-03    .18226E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.4379
  Index      = 2.05566
  Normalizat = 0.79263
  Prefactor  = 1.06411
 **********
 **   18 **HESSE 
 **********

 FCN=   7167.992     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.438        19.603        .12305E-04   -1.4404    
   2  Index         2.0557        .31920        .19226E-03   -.62966    
   3  Normalizat    .79263        .21383        .12642E-04   -1.0034    
   4  Prefactor     1.0641        .14427        .37493E-04   -.90622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.198e-10
Minuit parameter uncertainties:
  1  19.6063
  2  0.319533
  3  0.214055
  4  0.144321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424550': 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) = 7167.99203725
delta logL = 0.314316491059

Extracting fit parameters...

4FGL J0010.6+2043
   Spectrum: PowerLaw
45     Prefactor:  4.244e+01  1.961e+01  1.000e-04  1.000e+04 ( 1.000e-13)
46         Index:  2.056e+00  3.195e-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.064e+00  1.443e-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:  7.926e-01  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.03
Ra Dec: 2.650 20.733
Photon Index (Free Index): 2.06 +/- 0.32
Photon Flux (Free Index): 8.94e-08 +/- 4.50e-08
Energy Flux (Free Index): 5.41e-05 +/- 3.16e-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/424550/cmap_HighResolution_674524801_674784001_4FGL_J0010.6+2043_daily_bin1679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='5.41e-05', photon_flux_error='4.42e-08', dlogl='3.14e-01', energy_flux='4.06e-05', photon_flux2='8.94e-08', job_status='DONE', time_completed='2022-05-21 00:18:46.471056', photon_index_error2='0.32', photon_index2='2.06', ts='16.46', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='3.16e-05', EG='0.77', time_epoch_completed='1653117526.47', return_code='0', job_id='424550', GAL2='1.06', EG2='0.79', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='4.50e-08', ts2='17.03', photon_index='2.32' WHERE bin_id='1679' AND source_name='4FGL J0010.6+2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 21 00:18:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 424550: <4FGL_J0010.6+2043_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0010.6+2043_daily_bin1679> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat May 21 00:04:53 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:05:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:05:28 2022
Terminated at Sat May 21 00:18:47 2022
Results reported at Sat May 21 00:18:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0010.6+2043_daily_bin1679 2.6502 20.7332 674524801 674784001 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 :                                   555.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            834 sec.

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

