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


Performing analysis on: 4FGL_J1248.3+5820_daily_bin1708
RA = 192.084, Dec = 58.3432
tmin = 682041601, tmax = 682300801
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='122002', job_status='RUN', time_executed='2022-09-16 16:59:36.012582', time_epoch_executed='1663372776.01' WHERE source_name='4FGL J1248.3+5820' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/122002

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/122002/ft1_4FGL_J1248.3+5820_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/122002/ft1_4FGL_J1248.3+5820_daily_bin1708.fits outfile=/scratch/kocevski/122002/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1708.fits ra=192.084 dec=58.3432 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.03
user 3.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.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/122002/ft1_filteredMKT_4FGL_J1248.3+5820_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/122002/ltcube_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.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/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits
.....................!
real 15.57
user 15.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/122002/ltcube_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.fits outfile=/scratch/kocevski/122002/expmap_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.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/122002/ltcube_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.fits
.....................!
real 191.65
user 186.42
sys 4.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 219 point sources and 0 extended sources

Setting source of interest to:
4FGL J1248.3+5820 @ 192.084 58.3432

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits scfile=/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits outfile=/scratch/kocevski/122002/cmap_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.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=192.084 yref=58.3432 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits scfile=/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits outfile=/scratch/kocevski/122002/cmap_HighResolution_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.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=192.084 yref=58.3432 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/122002/Model_4FGL_J1248.3+5820_daily_bin1708.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/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits....................!
real 57.53
user 56.16
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits', '/scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits', expMap='/scratch/kocevski/122002/expmap_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.fits', expCube='/scratch/kocevski/122002/ltcube_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/122002/Model_4FGL_J1248.3+5820_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.3+5820'

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  3.611e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/122002/ft1_filtered_4FGL_J1248.3+5820_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/122002/ft2_4FGL_J1248.3+5820_daily_bin1708.fits
Exposure map: /scratch/kocevski/122002/expmap_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.fits
Exposure cube: /scratch/kocevski/122002/ltcube_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/122002/Model_4FGL_J1248.3+5820_daily_bin1708.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) = 6492.28543421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5813       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.195       1.0000          .0000       .10000E+07
     3 'norm      '    .28687       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7026       1.0000          .0000       .10000E+07
     5 'norm      '    .19944       1.0000          .0000       .10000E+07
     6 'Prefactor '    .59461E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2631       1.0000          .0000       .10000E+07
     8 'norm      '    3.4315       1.0000          .0000       .10000E+07
     9 'Prefactor '    26.572       1.0000          .0000       .10000E+07
    10 'norm      '    .43501E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19490E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .98584       1.0000          .0000       .10000E+07
    13 'norm      '    3.2391       1.0000          .0000       .10000E+07
    14 'Prefactor '    .90144E-04   1.0000          .0000       .10000E+07
    15 'norm      '    2.6721       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31793E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12171E-02   1.0000          .0000       .10000E+07
    18 'norm      '    6.9709       1.0000          .0000       .10000E+07
    19 'Prefactor '    52.221       1.0000          .0000       .10000E+07
    20 'Prefactor '    45.598       1.0000          .0000       .10000E+07
    21 'norm      '    .41426E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    5.4965       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14410E-03   1.0000          .0000       .10000E+07
    24 'norm      '    7.1721       1.0000          .0000       .10000E+07
    25 'Prefactor '    6.6237       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0685       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .81701       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6492.266     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2403 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5029        7.7404        .15444E-06   -.55518E-02
   2  Prefactor     30.155        10.738       -.28785E-06    .99394E-01
   3  norm          .28495        .67935       -.75936E-07   -.17127E-04
   4  Prefactor     3.7093        4.9188        .59123E-07   -.20741E-03
   5  norm          .20932        18.218       -.94186E-06** at limit **
   6  Prefactor      .0000        2.6967       -.32297E-07** at limit **
   7  Prefactor     1.2410        4.3764        .20548E-06   -.84916E-02
   8  norm          3.4345        2.2116       -.96712E-07   -.58406E-03
   9  Prefactor     26.611        16.228       -.16064E-06   -.70180E-01
  10  norm          .38858E-09    3.9581       -.14388E-06** at limit **
  11  Prefactor     .85321E-07    116.18       -.13571E-05** at limit **
  12  Prefactor     .98713        3.7806       -.45042E-06   -.45051E-01
  13  norm          3.2390        1.9279       -.73972E-07   -.48701E-03
  14  Prefactor     .33307E-09    4.6529       -.60229E-07** at limit **
  15  norm          2.6720        1.7772        .12540E-07    .55088E-03
  16  Prefactor     .49960E-09    11.322       -.27698E-06** at limit **
  17  Prefactor     .32196E-08    7.8650        .27771E-07** at limit **
  18  norm          6.9798        4.0704        .55113E-08   -.34370E-03
  19  Prefactor     51.835        10.190       -.31213E-07    .11212    
  20  Prefactor     46.168        11.603        .14072E-06    .72656E-01
  21  norm          .16653E-08    5.8518       -.12737E-07** at limit **
  22  Prefactor     6.3379        50.122        .16319E-05   -.46437E-02
  23  Prefactor     .55511E-10    3.4216        .29854E-07** at limit **
  24  norm          7.1806        4.6272       -.38555E-07   -.65808E-03
  25  Prefactor     6.5813        1.4559        .51242E-07   -.48527E-03
  26  Normalizat    1.0682        .18366        .29178E-05    .62586E-04
  27  Prefactor     .81706        .21392        .16599E-05    .39879E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50294
  Prefactor  = 30.1553
  norm       = 0.284954
  Prefactor  = 3.70927
  norm       = 0.209321
  Prefactor  = 0
  Prefactor  = 1.241
  norm       = 3.43446
  Prefactor  = 26.6113
  norm       = 3.88578e-10
  Prefactor  = 8.53206e-08
  Prefactor  = 0.987129
  norm       = 3.23895
  Prefactor  = 3.33067e-10
  norm       = 2.67196
  Prefactor  = 4.996e-10
  Prefactor  = 3.21965e-09
  norm       = 6.97976
  Prefactor  = 51.8352
  Prefactor  = 46.1675
  norm       = 1.66533e-09
  Prefactor  = 6.33787
  Prefactor  = 5.55112e-11
  norm       = 7.18062
  Prefactor  = 6.58128
  Normalizat = 1.06822
  Prefactor  = 0.817063
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.266     FROM HESSE     STATUS=OK           554 CALLS     2957 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5029        7.9664        .36398E-03   -1.5653    
   2  Prefactor     30.155        27.705        .18201E-03   -1.5598    
   3  norm          .28495        6.3697        .10398E-01   -1.5697    
   4  Prefactor     3.7093        4.9370        .52459E-03   -1.5669    
   5  norm          .20932        2.1058        .74197E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.6984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2410        42.684        .99141E-03   -1.5686    
   8  norm          3.4345        2.2159        .54579E-03   -1.5671    
   9  Prefactor     26.611        17.151        .19403E-03   -1.5605    
  10  norm          .38858E-09    3.9629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85321E-07    117.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .98713        3.9752        .43264E-03   -1.5688    
  13  norm          3.2390        1.9412        .56255E-03   -1.5672    
  14  Prefactor     .33307E-09    4.6616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6720        1.7795        .62318E-03   -1.5675    
  16  Prefactor     .49960E-09    11.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .32196E-08    7.9168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.9798        4.1187        .37974E-03   -1.5655    
  19  Prefactor     51.835        53.833        .13839E-03   -1.5564    
  20  Prefactor     46.168        41.743        .14810E-03   -1.5572    
  21  norm          .16653E-08    5.8169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.3379        57.825        .42833E-03   -1.5658    
  23  Prefactor     .55511E-10    3.3947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.1806        4.6334        .37432E-03   -1.5654    
  25  Prefactor     6.5813        24.426        .38967E-03   -1.5657    
  26  Normalizat    1.0682        .15677        .39455E-01   -.90779    
  27  Prefactor     .81706        .18446        .65951E-01   -.99102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26741e-06
Minuit parameter uncertainties:
  1  7.96637
  2  27.7048
  3  2.6945
  4  4.93697
  5  1.32783
  6  1.61014e-05
  7  14.5563
  8  2.21593
  9  17.151
  10  7.96349e-05
  11  0.00634288
  12  3.96184
  13  1.94123
  14  7.75328e-05
  15  1.77946
  16  0.000153092
  17  0.000318692
  18  4.11865
  19  53.8335
  20  41.7428
  21  0.000198318
  22  38.2883
  23  2.99152e-05
  24  4.63343
  25  24.4266
  26  0.15684
  27  0.184604
Done.

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

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  3.239e+00  1.941e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  8.171e-01  1.846e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.068e+00  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.90
Ra Dec: 192.084 58.343
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 2.86e-08 +/- 1.71e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.71e-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) = 6492.06134434
delta logL = 0.204215114545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6492.05109029
delta logL = 0.214469167003

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6492.051     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0608        2.0080        .57967E-03    .35465E-04
   2  alpha         1.5269        .38384        .30838       -.26380E-04
   3  Normalizat    1.0763        .14908        .39059E-01   -.13237E-04
   4  Prefactor     .81355        .18231        .66089E-01    .88487E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0608
  alpha      = 1.52691
  Normalizat = 1.07629
  Prefactor  = 0.813551
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.051     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0608        2.0039        .83858E-05   -1.5673    
   2  alpha         1.5269        .42663        .12208E-01   -.39980    
   3  Normalizat    1.0763        .17382        .21142E-03   -.90517    
   4  Prefactor     .81355        .21245        .29236E-03   -.99231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40498e-12
Minuit parameter uncertainties:
  1  2.00391
  2  0.429114
  3  0.173912
  4  0.212668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/122002': 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) = 6492.05109017
delta logL = 0.214469289089

Extracting fit parameters...

4FGL J1248.3+5820
   Spectrum: LogParabola
364         norm:  3.061e+00  2.004e+00  0.000e+00  1.000e+06 ( 1.000e-12)
365        alpha:  1.527e+00  4.291e-01  0.000e+00  5.000e+00 ( 1.000e+00)
366         beta:  4.589e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
367           Eb:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
695    Prefactor:  8.136e-01  2.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
696        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
697        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
694   Normalization:  1.076e+00  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.32
Ra Dec: 192.084 58.343
Photon Index (Free Index): 1.53 +/- 0.43
Photon Flux (Free Index): 2.05e-08 +/- 1.68e-08
Energy Flux (Free Index): 4.51e-05 +/- 4.26e-05

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/122002/cmap_HighResolution_682041601_682300801_4FGL_J1248.3+5820_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.86e-08', energy_flux2='4.51e-05', photon_flux_error='1.71e-08', dlogl='2.14e-01', energy_flux='2.86e-05', photon_flux2='2.05e-08', job_status='DONE', time_completed='2022-09-16 17:11:26.182358', photon_index_error2='0.43', photon_index2='1.53', ts='11.90', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='4.26e-05', EG='1.07', time_epoch_completed='1663373486.18', return_code='0', job_id='122002', GAL2='0.81', EG2='1.08', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='1.68e-08', ts2='12.32', photon_index='1.81' WHERE bin_id='1708' AND source_name='4FGL J1248.3+5820' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:11:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 122002: <4FGL_J1248.3+5820_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1248.3+5820_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:55:23 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:56:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:56:54 2022
Terminated at Fri Sep 16 17:11:27 2022
Results reported at Fri Sep 16 17:11:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1248.3+5820_daily_bin1708 192.084 58.3432 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1248.3+5820 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   711.49 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            964 sec.

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

