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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1754
RA = 198.688, Dec = 23.8124
tmin = 693964801, tmax = 694224001
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='643445', job_status='RUN', time_executed='2023-01-01 01:11:26.241034', time_epoch_executed='1672564286.24' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643445

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643445/ft1_4FGL_J1314.7+2348_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643445/ft1_4FGL_J1314.7+2348_daily_bin1754.fits outfile=/scratch/kocevski/643445/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1754.fits ra=198.688 dec=23.8124 rad=12.0 tmin=693964801.0 tmax=694224001.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.94
user 3.70
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.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/643445/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.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.49
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/643445/ltcube_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.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/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits
.....................!
real 15.76
user 15.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/643445/ltcube_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.fits outfile=/scratch/kocevski/643445/expmap_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.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/643445/ltcube_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.fits
.....................!
real 192.61
user 187.11
sys 4.39

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

Setting source of interest to:
4FGL J1314.7+2348 @ 198.688 23.8124

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits scfile=/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits outfile=/scratch/kocevski/643445/cmap_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.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=198.688 yref=23.8124 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits scfile=/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits outfile=/scratch/kocevski/643445/cmap_HighResolution_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.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=198.688 yref=23.8124 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643445/Model_4FGL_J1314.7+2348_daily_bin1754.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/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits.....................!
real 54.29
user 52.90
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits', '/scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits', expMap='/scratch/kocevski/643445/expmap_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.fits', expCube='/scratch/kocevski/643445/ltcube_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643445/Model_4FGL_J1314.7+2348_daily_bin1754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1314.7+2348'

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  9.277e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643445/ft1_filtered_4FGL_J1314.7+2348_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/643445/ft2_4FGL_J1314.7+2348_daily_bin1754.fits
Exposure map: /scratch/kocevski/643445/expmap_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.fits
Exposure cube: /scratch/kocevski/643445/ltcube_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643445/Model_4FGL_J1314.7+2348_daily_bin1754.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6401.58775852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6197       1.0000          .0000       .10000E+07
     2 'norm      '    .11534       1.0000          .0000       .10000E+07
     3 'norm      '    2.6523       1.0000          .0000       .10000E+07
     4 'Prefactor '    .84988E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22128       1.0000          .0000       .10000E+07
     6 'norm      '    .19431E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.9266       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14501       1.0000          .0000       .10000E+07
     9 'norm      '    .74390E-06   1.0000          .0000       .10000E+07
    10 'norm      '    20.058       1.0000          .0000       .10000E+07
    11 'norm      '    7.7152       1.0000          .0000       .10000E+07
    12 'norm      '    11.135       1.0000          .0000       .10000E+07
    13 'Prefactor '    .75244       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14051E-03   1.0000          .0000       .10000E+07
    15 'norm      '    22.626       1.0000          .0000       .10000E+07
    16 'Prefactor '    .55301E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19868E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .39466E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.958       1.0000          .0000       .10000E+07
    20 'Prefactor '    .53569E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.1137       1.0000          .0000       .10000E+07
    22 'Prefactor '    2.1689       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1462       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6401.459     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1598 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5859        3.5582       -.36256E-07    .17879E-03
   2  norm          .11560        .28878        .28036E-07** at limit **
   3  norm          2.6705        2.8947        .44003E-07    .10935E-03
   4  Prefactor      .0000        3.2345        .11719E-06** at limit **
   5  Prefactor     .16214        .62834        .50746E-07** at limit **
   6  norm           .0000        2.1540        .18262E-06** at limit **
   7  Prefactor     8.9072        10.753       -.14772E-06    .23352E-01
   8  Prefactor     .23315E-08    112.20        .17769E-06** at limit **
   9  norm           .0000        1.1023       -.43210E-07** at limit **
  10  norm          20.089        4.3865       -.54914E-07   -.27775E-01
  11  norm          7.7136        3.4947       -.26568E-07    .27419E-01
  12  norm          11.133        2.1106       -.33050E-07    .27778E-01
  13  Prefactor     .74889        3.7074        .50537E-07    .18307E-02
  14  Prefactor     .25983E-05    12.788       -.49789E-06** at limit **
  15  norm          22.652        7.3384       -.12890E-06   -.17210E-02
  16  Prefactor     .24121E-05    14.713       -.54461E-06** at limit **
  17  Prefactor     .14266E-07    71.956       -.24286E-06** at limit **
  18  norm          .33307E-08    18.234        .42459E-06** at limit **
  19  Prefactor     10.949        4.2723        .49199E-07    .66556E-01
  20  Prefactor     .11102E-09    5.3395       -.20605E-06** at limit **
  21  Prefactor     2.1141        2.7320        .94950E-08    .63293E-05
  22  Prefactor     2.1629        8.1300       -.17276E-06    .24943E-02
  23  Normalizat    1.1465        .19319        .28243E-05   -.21741E-05
  24  Prefactor     .82540        .19446       -.38474E-05    .22667E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58589
  norm       = 0.115598
  norm       = 2.6705
  Prefactor  = 0
  Prefactor  = 0.16214
  norm       = 0
  Prefactor  = 8.9072
  Prefactor  = 2.33147e-09
  norm       = 0
  norm       = 20.0894
  norm       = 7.7136
  norm       = 11.1334
  Prefactor  = 0.748891
  Prefactor  = 2.59825e-06
  norm       = 22.6523
  Prefactor  = 2.41213e-06
  Prefactor  = 1.42664e-08
  norm       = 3.33067e-09
  Prefactor  = 10.949
  Prefactor  = 1.11022e-10
  Prefactor  = 2.11408
  Prefactor  = 2.16287
  Normalizat = 1.14649
  Prefactor  = 0.825397
 **********
 **   18 **HESSE 
 **********

 FCN=   6401.459     FROM HESSE     STATUS=OK           457 CALLS     2055 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5859        3.5583        .53080E-03   -1.5670    
   2  norm          .11560        .27362        .13534E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6705        2.8994        .62568E-03   -1.5675    
   4  Prefactor      .0000        3.2249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16214        4.4997        .94785E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.1526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.9072        12.059        .33523E-03   -1.5648    
   8  Prefactor     .23315E-08    16.974        .12850E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.1051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.089        6.9356        .22335E-03   -1.5618    
  11  norm          7.7136        9.5510        .36078E-03   -1.5652    
  12  norm          11.133        12.474        .29999E-03   -1.5641    
  13  Prefactor     .74889        3.8503        .56550E-03   -1.5691    
  14  Prefactor     .25983E-05    26.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          22.652        7.4070        .21029E-03   -1.5613    
  16  Prefactor     .24121E-05    27.554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14266E-07    72.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .33307E-08    18.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.949        11.463        .30241E-03   -1.5642    
  20  Prefactor     .11102E-09    5.3464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.1141        2.7515        .70925E-03   -1.5679    
  22  Prefactor     2.1629        8.2007        .69898E-03   -1.5679    
  23  Normalizat    1.1465        .17437        .36368E-01   -.88273    
  24  Prefactor     .82540        .17073        .44047E-01   -.98799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80552e-07
Minuit parameter uncertainties:
  1  3.55835
  2  0.273621
  3  2.89937
  4  1.2228e-05
  5  1.70831
  6  2.04788e-06
  7  12.059
  8  0.000396415
  9  1.4965e-06
  10  6.93561
  11  9.55103
  12  12.4738
  13  3.39615
  14  0.0167053
  15  7.40698
  16  0.016305
  17  0.00203049
  18  0.000490266
  19  11.4633
  20  5.03539e-05
  21  2.75155
  22  8.2007
  23  0.174459
  24  0.17084
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.113e+01  1.247e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.254e-01  1.708e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.146e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.41
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.06e-08 +/- 1.19e-08
Energy Flux (Fixed Index): 8.26e-06 +/- 9.25e-06

TS (Fixed Index): 1.41
Ra Dec: 198.688 23.812
Photon Flux Upper Limit: 4.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/643445/likelihoodResults_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.txt

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) = 6401.45645869
delta logL = 0.00291262911378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6401.45628492
delta logL = 0.00308640210187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.363       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8334       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+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=   6401.456     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      249 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.365        13.035        .11878E-04   -.12674E-01
   2  alpha         1.8333        .78810        .20797E-01   -.18417E-03
   3  Normalizat    1.1471        .18600        .22438E-03    .19636E-03
   4  Prefactor     .82507        .19279        .26846E-03    .18569E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.3646
  alpha      = 1.83325
  Normalizat = 1.1471
  Prefactor  = 0.825067
 **********
 **   18 **HESSE 
 **********

 FCN=   6401.456     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.365        12.922        .23755E-05   -1.5641    
   2  alpha         1.8333        .78174        .83189E-03   -.26997    
   3  Normalizat    1.1471        .18615        .44875E-04   -.88254    
   4  Prefactor     .82507        .19295        .10739E-04   -.98811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13544e-09
Minuit parameter uncertainties:
  1  12.9222
  2  0.796145
  3  0.186261
  4  0.193112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643445': 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) = 6401.45628486
delta logL = 0.00308646237863

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.136e+01  1.292e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.833e+00  7.961e-01  0.000e+00  5.000e+00 ( 1.000e+00)
310         beta:  9.683e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.251e-01  1.931e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.147e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.83 +/- 0.80
Photon Flux (Free Index): 1.00e-08 +/- 1.35e-08
Energy Flux (Free Index): 8.87e-06 +/- 1.29e-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/643445/cmap_HighResolution_693964801_694224001_4FGL_J1314.7+2348_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', photon_flux='1.06e-08', energy_flux2='8.87e-06', photon_flux_error='1.19e-08', dlogl='3.09e-03', energy_flux='8.26e-06', photon_flux2='1.00e-08', job_status='DONE', time_completed='2023-01-01 01:21:14.369677', photon_index_error2='0.80', photon_index2='1.83', ts='1.41', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='4.49e-08', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1672564874.37', return_code='0', job_id='643445', GAL2='0.83', EG2='1.15', return_code2='0', energy_flux_error='9.25e-06', photon_flux_error2='1.35e-08', ts2='1.42', photon_index='1.90' WHERE bin_id='1754' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:21:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 643445: <4FGL_J1314.7+2348_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1754> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jan  1 01:10:16 2023
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:10:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:10:56 2023
Terminated at Sun Jan  1 01:21:15 2023
Results reported at Sun Jan  1 01:21:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1754 198.688 23.8124 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1314.7+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             325.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            659 sec.

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

