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


Performing analysis on: 4FGL_J2158.8-3013_daily_bin1763
RA = 329.714, Dec = -30.2251
tmin = 696297601, tmax = 696556801
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='295285', job_status='RUN', time_executed='2023-01-28 01:48:23.473135', time_epoch_executed='1674899303.47' WHERE source_name='4FGL J2158.8-3013' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/295285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/295285/ft1_4FGL_J2158.8-3013_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/295285/ft1_4FGL_J2158.8-3013_daily_bin1763.fits outfile=/scratch/kocevski/295285/ft1_filteredMKT_4FGL_J2158.8-3013_daily_bin1763.fits ra=329.714 dec=-30.2251 rad=12.0 tmin=696297601.0 tmax=696556801.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.69
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.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/295285/ft1_filteredMKT_4FGL_J2158.8-3013_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.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.36
sys 0.16

Number of photons that the gtmktime cut: 456

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/295285/ltcube_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.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/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits
.....................!
real 15.14
user 14.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/295285/ltcube_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.fits outfile=/scratch/kocevski/295285/expmap_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.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/295285/ltcube_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.fits
.....................!
real 192.20
user 185.71
sys 5.86

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

Setting source of interest to:
4FGL J2158.8-3013 @ 329.714 -30.2251

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits scfile=/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits outfile=/scratch/kocevski/295285/cmap_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.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=329.714 yref=-30.2251 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits scfile=/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits outfile=/scratch/kocevski/295285/cmap_HighResolution_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.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=329.714 yref=-30.2251 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/295285/Model_4FGL_J2158.8-3013_daily_bin1763.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/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits.....................!
real 46.03
user 44.51
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits', '/scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits', expMap='/scratch/kocevski/295285/expmap_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.fits', expCube='/scratch/kocevski/295285/ltcube_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/295285/Model_4FGL_J2158.8-3013_daily_bin1763.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2158.8-3013'

4FGL J2158.8-3013
   Spectrum: LogParabola
261         norm:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
262        alpha:  1.767e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  4.097e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/295285/ft1_filtered_4FGL_J2158.8-3013_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/295285/ft2_4FGL_J2158.8-3013_daily_bin1763.fits
Exposure map: /scratch/kocevski/295285/expmap_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.fits
Exposure cube: /scratch/kocevski/295285/ltcube_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/295285/Model_4FGL_J2158.8-3013_daily_bin1763.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) = 5175.48514663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79424E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30691E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .92298E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30097E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .40911E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .19828E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35382       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27649E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .11149E-05   1.0000          .0000       .10000E+07
    10 'norm      '    2.1699       1.0000          .0000       .10000E+07
    11 'Prefactor '    17.230       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49178E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.403       1.0000          .0000       .10000E+07
    14 'norm      '    .10838E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3487       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.1605       1.0000          .0000       .10000E+07
    17 'norm      '    5.6403       1.0000          .0000       .10000E+07
    18 'Prefactor '    .48422E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.4929       1.0000          .0000       .10000E+07
    20 'norm      '    9.6658       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0056       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.394     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1338 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.2593        .19381E-07** at limit **
   2  Prefactor     .82157E-08    15.572        .10238E-06** at limit **
   3  Prefactor     .27034E-07    2.1625        .95219E-07** at limit **
   4  Prefactor     .22204E-09    4.8949        .62497E-07** at limit **
   5  Prefactor     .23315E-07    2.7715        .10427E-06** at limit **
   6  norm          .26812E-06    22.102        .17226E-06** at limit **
   7  Prefactor     .25543E-05    4.1758        .20959E-07** at limit **
   8  Prefactor     .78437E-07    42.494       -.10620E-06** at limit **
   9  norm           .0000        1.7062        .52955E-07** at limit **
  10  norm          2.1709        .57203        .21421E-07    .12556E-01
  11  Prefactor     17.274        6.6443        .17823E-07   -.86141E-01
  12  Prefactor     .22532E-06    1.6587        .33531E-07** at limit **
  13  Prefactor     18.420        11.997       -.21242E-07   -.27298E-01
  14  norm          .73275E-08    11.084        .11824E-06** at limit **
  15  Prefactor     6.3502        2.3323       -.61296E-08   -.26517E-02
  16  Prefactor     5.1618        7.0457       -.23322E-07   -.44937E-03
  17  norm          5.6393        3.2864        .84947E-08   -.13320E-05
  18  Prefactor     .16653E-06    15.837        .99151E-07** at limit **
  19  Prefactor     6.3154        2.6774        .45400E-08   -.47071E-02
  20  norm          9.6611        7.3980       -.80466E-07   -.29966E-02
  21  Normalizat    1.0062        .26406        .19498E-05   -.10684E-04
  22  Prefactor     1.0320        .18469       -.19094E-05   -.56167E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 8.21565e-09
  Prefactor  = 2.70339e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 2.33147e-08
  norm       = 2.68119e-07
  Prefactor  = 2.55435e-06
  Prefactor  = 7.84373e-08
  norm       = 0
  norm       = 2.17091
  Prefactor  = 17.2736
  Prefactor  = 2.2532e-07
  Prefactor  = 18.4201
  norm       = 7.32747e-09
  Prefactor  = 6.35021
  Prefactor  = 5.16184
  norm       = 5.63926
  Prefactor  = 1.66533e-07
  Prefactor  = 6.31545
  norm       = 9.66108
  Normalizat = 1.00618
  Prefactor  = 1.03203
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.394     FROM HESSE     STATUS=OK           394 CALLS     1732 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.2568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .82157E-08    15.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27034E-07    4.8541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    4.9267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .23315E-07    4.8130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .26812E-06    24.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .25543E-05    12.970        .13918E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .78437E-07    43.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1709        .57508        .60928E-03   -1.5678    
  11  Prefactor     17.274        16.086        .24102E-03   -1.5625    
  12  Prefactor     .22532E-06    17.531        .10226E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.420        12.827        .23319E-03   -1.5622    
  14  norm          .73275E-08    26.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3502        15.796        .39812E-03   -1.5658    
  16  Prefactor     5.1618        7.0515        .44231E-03   -1.5663    
  17  norm          5.6393        3.2858        .42274E-03   -1.5660    
  18  Prefactor     .16653E-06    27.369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3154        18.929        .39362E-03   -1.5658    
  20  norm          9.6611        7.4362        .32208E-03   -1.5646    
  21  Normalizat    1.0062        .23703        .68506E-01   -.92824    
  22  Prefactor     1.0320        .15896        .41106E-01   -.91669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51606e-07
Minuit parameter uncertainties:
  1  7.17781e-06
  2  0.000712415
  3  0.00072436
  4  6.76196e-05
  5  0.000669881
  6  0.00515555
  7  0.0115117
  8  0.00367918
  9  4.07618e-06
  10  0.575085
  11  16.0865
  12  0.00397477
  13  12.8274
  14  0.000879591
  15  15.7965
  16  7.05149
  17  3.28576
  18  0.00426986
  19  18.9294
  20  7.43621
  21  0.237275
  22  0.159034
Done.

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

Extracting fit parameters...

4FGL J2158.8-3013
   Spectrum: LogParabola
261         norm:  2.171e+00  5.751e-01  0.000e+00  1.000e+06 ( 1.000e-11)
262        alpha:  1.767e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  4.097e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.032e+00  1.590e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.006e+00  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 70.96
Ra Dec: 329.714 -30.225
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 1.80e-07 +/- 4.77e-08
Energy Flux (Fixed Index): 2.04e-04 +/- 5.40e-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) = 5175.16524107
delta logL = 0.228844979632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.14100139
delta logL = 0.253084658035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1624       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0267       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.141     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1624        .59874        .62431E-03    .19240E-01
   2  alpha         1.6253        .19657        .13132        .20981E-04
   3  Normalizat    1.0266        .22017        .67942E-01    .23579E-04
   4  Prefactor     1.0267        .15743        .41529E-01    .21428E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.16244
  alpha      = 1.62529
  Normalizat = 1.02661
  Prefactor  = 1.02669
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.141     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1624        .58884        .27551E-05   -1.5679    
   2  alpha         1.6253        .19759        .56718E-02   -.35745    
   3  Normalizat    1.0266        .25558        .30057E-03   -.92144    
   4  Prefactor     1.0267        .18287        .21502E-03   -.91845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.10844e-11
Minuit parameter uncertainties:
  1  0.588844
  2  0.197822
  3  0.25589
  4  0.182978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/295285': 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) = 5175.14100139
delta logL = 0.253084666184

Extracting fit parameters...

4FGL J2158.8-3013
   Spectrum: LogParabola
261         norm:  2.162e+00  5.888e-01  0.000e+00  1.000e+06 ( 1.000e-11)
262        alpha:  1.625e+00  1.978e-01  0.000e+00  5.000e+00 ( 1.000e+00)
263         beta:  4.097e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.027e+00  1.830e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.027e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 71.34
Ra Dec: 329.714 -30.225
Photon Index (Free Index): 1.63 +/- 0.20
Photon Flux (Free Index): 1.55e-07 +/- 5.36e-08
Energy Flux (Free Index): 2.61e-04 +/- 1.17e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/295285/cmap_HighResolution_696297601_696556801_4FGL_J2158.8-3013_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.80e-07', energy_flux2='2.61e-04', photon_flux_error='4.77e-08', dlogl='2.53e-01', energy_flux='2.04e-04', photon_flux2='1.55e-07', job_status='DONE', time_completed='2023-01-28 01:56:05.258196', photon_index_error2='0.20', photon_index2='1.63', ts='70.96', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.17e-04', EG='1.01', time_epoch_completed='1674899765.26', return_code='0', job_id='295285', GAL2='1.03', EG2='1.03', return_code2='0', energy_flux_error='5.40e-05', photon_flux_error2='5.36e-08', ts2='71.34', photon_index='1.77' WHERE bin_id='1763' AND source_name='4FGL J2158.8-3013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:56:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 295285: <4FGL_J2158.8-3013_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2158.8-3013_daily_bin1763> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan 28 01:40:25 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:46:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:46:10 2023
Terminated at Sat Jan 28 01:56:06 2023
Results reported at Sat Jan 28 01:56:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2158.8-3013_daily_bin1763 329.714 -30.2251 696297601 696556801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2158.8-3013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   463.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            941 sec.

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

