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


Performing analysis on: 4FGL_J1308.5+3547_daily_bin1759
RA = 197.129, Dec = 35.7918
tmin = 695260801, tmax = 695520001
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='558306', job_status='RUN', time_executed='2023-01-16 01:15:11.647470', time_epoch_executed='1673860511.65' WHERE source_name='4FGL J1308.5+3547' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/558306

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/558306/ft1_4FGL_J1308.5+3547_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/558306/ft1_4FGL_J1308.5+3547_daily_bin1759.fits outfile=/scratch/kocevski/558306/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1759.fits ra=197.129 dec=35.7918 rad=12.0 tmin=695260801.0 tmax=695520001.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.78
user 2.57
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.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/558306/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.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: 662

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/558306/ltcube_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.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/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits
.....................!
real 16.77
user 16.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/558306/ltcube_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.fits outfile=/scratch/kocevski/558306/expmap_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.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/558306/ltcube_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.fits
.....................!
real 195.24
user 188.59
sys 5.70

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

Setting source of interest to:
4FGL J1308.5+3547 @ 197.129 35.7918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits scfile=/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits outfile=/scratch/kocevski/558306/cmap_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.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=197.129 yref=35.7918 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.60
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits scfile=/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits outfile=/scratch/kocevski/558306/cmap_HighResolution_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.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=197.129 yref=35.7918 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.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/558306/Model_4FGL_J1308.5+3547_daily_bin1759.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/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits.....................!
real 57.58
user 55.69
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits', '/scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits', expMap='/scratch/kocevski/558306/expmap_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.fits', expCube='/scratch/kocevski/558306/ltcube_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/558306/Model_4FGL_J1308.5+3547_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1308.5+3547'

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.918e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/558306/ft1_filtered_4FGL_J1308.5+3547_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/558306/ft2_4FGL_J1308.5+3547_daily_bin1759.fits
Exposure map: /scratch/kocevski/558306/expmap_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.fits
Exposure cube: /scratch/kocevski/558306/ltcube_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/558306/Model_4FGL_J1308.5+3547_daily_bin1759.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) = 7100.21971364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5509       1.0000          .0000       .10000E+07
     2 'Prefactor '    .48283E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .49885E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .31942E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5003       1.0000          .0000       .10000E+07
     6 'norm      '    7.7260       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.4618       1.0000          .0000       .10000E+07
     8 'norm      '    .37178E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .54490E-06   1.0000          .0000       .10000E+07
    10 'norm      '    3.2413       1.0000          .0000       .10000E+07
    11 'norm      '    16.586       1.0000          .0000       .10000E+07
    12 'norm      '    67.582       1.0000          .0000       .10000E+07
    13 'norm      '    42.952       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.2313       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.420       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.6781       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12302E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.518       1.0000          .0000       .10000E+07
    19 'norm      '    .23198E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    7.0751       1.0000          .0000       .10000E+07
    21 'norm      '    22.841       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0044       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76088       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7100.138     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1528 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5685        6.3678       -.44523E-07   -.97802E-03
   2  Prefactor      .0000        2.7475       -.80997E-07** at limit **
   3  Prefactor     .37748E-07    16.119        .10508E-06** at limit **
   4  Prefactor     .11102E-09    7.6687       -.88289E-07** at limit **
   5  Prefactor     2.4915        4.6494        .53915E-07    .15042E-02
   6  norm          7.8333        5.2848        .16000E-06    .62961E-02
   7  Prefactor     .40253E-02    847.90       -.39705E-05** at limit **
   8  norm          .11102E-09    4.8851       -.10118E-06** at limit **
   9  Prefactor     .55511E-10    3.6576       -.20060E-07** at limit **
  10  norm          3.2491        3.2037       -.82582E-08    .28822E-03
  11  norm          16.580        5.8075        .16932E-07    .13028    
  12  norm          67.814        15.032       -.23293E-07   -.44360E-01
  13  norm          42.678        28.356        .88328E-07    .11530    
  14  Prefactor     5.1796        4.5416        .19591E-07   -.72078E-03
  15  Prefactor     10.349        2.0173       -.11694E-07    .15536E-01
  16  Prefactor     6.0159        55.485        .82449E-06    .65106E-01
  17  Prefactor     .16653E-09    4.8234        .77106E-07** at limit **
  18  Prefactor     21.966        2.2127       -.75140E-08   -.10273E-01
  19  norm           .0000        1.5575       -.57401E-07** at limit **
  20  Prefactor     7.0264        4.0866       -.22705E-07   -.28802E-03
  21  norm          22.726        14.083        .14544E-07   -.30543E-01
  22  Normalizat    1.0049        .19282        .17696E-05    .30839E-03
  23  Prefactor     .76039        .23196       -.10654E-05    .17866E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.56846
  Prefactor  = 0
  Prefactor  = 3.77476e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 2.49152
  norm       = 7.83332
  Prefactor  = 0.00402531
  norm       = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 3.24914
  norm       = 16.5803
  norm       = 67.8144
  norm       = 42.6782
  Prefactor  = 5.1796
  Prefactor  = 10.3485
  Prefactor  = 6.01594
  Prefactor  = 1.66533e-10
  Prefactor  = 21.9663
  norm       = 0
  Prefactor  = 7.02638
  norm       = 22.726
  Normalizat = 1.00492
  Prefactor  = 0.760385
 **********
 **   18 **HESSE 
 **********

 FCN=   7100.138     FROM HESSE     STATUS=OK           430 CALLS     1958 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5685        6.3729        .42619E-03   -1.5661    
   2  Prefactor      .0000        2.7318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .37748E-07    16.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    7.6766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4915        4.6682        .64604E-03   -1.5676    
   6  norm          7.8333        5.6474        .36053E-03   -1.5652    
   7  Prefactor     .40253E-02    28.229        .11659E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-09    4.8090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.6610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2491        3.2036        .56234E-03   -1.5672    
  11  norm          16.580        13.179        .24566E-03   -1.5627    
  12  norm          67.814        15.905        .12165E-03   -1.5543    
  13  norm          42.678        30.049        .15260E-03   -1.5577    
  14  Prefactor     5.1796        4.9068        .43925E-03   -1.5662    
  15  Prefactor     10.349        13.099        .31014E-03   -1.5644    
  16  Prefactor     6.0159        102.91        .46504E-03   -1.5659    
  17  Prefactor     .16653E-09    4.8193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.966        19.544        .21564E-03   -1.5614    
  19  norm           .0000        1.5156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.0264        4.0925        .37690E-03   -1.5655    
  21  norm          22.726        15.439        .20929E-03   -1.5613    
  22  Normalizat    1.0049        .16314        .46223E-01   -.92866    
  23  Prefactor     .76039        .19694        .76184E-01   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34427e-06
Minuit parameter uncertainties:
  1  6.37291
  2  1.47603e-05
  3  0.001563
  4  6.29121e-05
  5  4.66821
  6  5.64736
  7  0.674186
  8  4.75958e-05
  9  2.45487e-05
  10  3.20357
  11  13.1788
  12  15.9054
  13  30.0491
  14  4.90681
  15  13.0992
  16  49.7643
  17  5.43651e-05
  18  19.544
  19  8.94363e-06
  20  4.09247
  21  15.4385
  22  0.163218
  23  0.197124
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  3.249e+00  3.204e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  7.604e-01  1.971e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.005e+00  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.59
Ra Dec: 197.129 35.792
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.42e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 5.85e-06 +/- 5.77e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7099.40423995
delta logL = 0.733372281468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7099.20288668
delta logL = 0.934725557975

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7099.203     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3357        1.5051        .94792E-03   -.11779E-02
   2  alpha         .72931        .71487        .50000       -.33721E-04
   3  Normalizat    1.0120        .15876        .44884E-01    .88118E-04
   4  Prefactor     .75740        .19489        .76351E-01    .32838E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33569
  alpha      = 0.729314
  Normalizat = 1.01196
  Prefactor  = 0.757401
 **********
 **   18 **HESSE 
 **********

 FCN=   7099.203     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3357        2.0078        .93816E-05   -1.5685    
   2  alpha         .72931        .85374        .30045E-01   -.78705    
   3  Normalizat    1.0120        .18645        .24263E-03   -.92631    
   4  Prefactor     .75740        .22845        .33798E-03   -1.0132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18231e-10
Minuit parameter uncertainties:
  1  2.00784
  2  0.89113
  3  0.186566
  4  0.22874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/558306': 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) = 7099.20288296
delta logL = 0.934729270739

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.336e+00  2.008e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  7.293e-01  8.911e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  7.574e-01  2.287e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.012e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.47
Ra Dec: 197.129 35.792
Photon Index (Free Index): 0.73 +/- 0.89
Photon Flux (Free Index): 3.79e-09 +/- 4.23e-09
Energy Flux (Free Index): 1.45e-05 +/- 2.22e-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/558306/cmap_HighResolution_695260801_695520001_4FGL_J1308.5+3547_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-08', energy_flux2='1.45e-05', photon_flux_error='1.40e-08', dlogl='9.35e-01', energy_flux='5.85e-06', photon_flux2='3.79e-09', job_status='DONE', time_completed='2023-01-16 01:24:55.678828', photon_index_error2='0.89', photon_index2='0.73', ts='5.59', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.00', time_epoch_completed='1673861095.68', return_code='0', job_id='558306', GAL2='0.76', EG2='1.01', return_code2='0', energy_flux_error='5.77e-06', photon_flux_error2='4.23e-09', ts2='7.47', photon_index='2.18' WHERE bin_id='1759' AND source_name='4FGL J1308.5+3547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:24:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 558306: <4FGL_J1308.5+3547_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1308.5+3547_daily_bin1759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jan 16 01:10:18 2023
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:11:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:11:58 2023
Terminated at Mon Jan 16 01:24:56 2023
Results reported at Mon Jan 16 01:24:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1308.5+3547_daily_bin1759 197.129 35.7918 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1308.5+3547 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   585.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            878 sec.

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

