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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1751
RA = 198.688, Dec = 23.8124
tmin = 693187201, tmax = 693446401
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='79022', job_status='RUN', time_executed='2022-12-23 00:46:01.531125', time_epoch_executed='1671785161.53' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79022

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79022/ft1_4FGL_J1314.7+2348_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79022/ft1_4FGL_J1314.7+2348_daily_bin1751.fits outfile=/scratch/kocevski/79022/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1751.fits ra=198.688 dec=23.8124 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.42
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.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/79022/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.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.34
sys 0.14

Number of photons that the gtmktime cut: 638

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/79022/ltcube_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.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/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/79022/ltcube_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.fits outfile=/scratch/kocevski/79022/expmap_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.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/79022/ltcube_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.fits
.....................!
real 191.51
user 186.77
sys 4.42

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/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits scfile=/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits outfile=/scratch/kocevski/79022/cmap_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits scfile=/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits outfile=/scratch/kocevski/79022/cmap_HighResolution_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79022/Model_4FGL_J1314.7+2348_daily_bin1751.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/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits.....................!
real 55.75
user 54.45
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits', '/scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits', expMap='/scratch/kocevski/79022/expmap_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.fits', expCube='/scratch/kocevski/79022/ltcube_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79022/Model_4FGL_J1314.7+2348_daily_bin1751.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/79022/ft1_filtered_4FGL_J1314.7+2348_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/79022/ft2_4FGL_J1314.7+2348_daily_bin1751.fits
Exposure map: /scratch/kocevski/79022/expmap_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.fits
Exposure cube: /scratch/kocevski/79022/ltcube_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79022/Model_4FGL_J1314.7+2348_daily_bin1751.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) = 6826.25902053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5344       1.0000          .0000       .10000E+07
     2 'norm      '    .43996       1.0000          .0000       .10000E+07
     3 'norm      '    14.236       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.570       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65086E-02   1.0000          .0000       .10000E+07
     6 'norm      '    4.2161       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.398       1.0000          .0000       .10000E+07
     8 'Prefactor '    35.809       1.0000          .0000       .10000E+07
     9 'norm      '    1.3592       1.0000          .0000       .10000E+07
    10 'norm      '    29.869       1.0000          .0000       .10000E+07
    11 'norm      '    17.651       1.0000          .0000       .10000E+07
    12 'norm      '    50.207       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.6866       1.0000          .0000       .10000E+07
    14 'Prefactor '    .53935E-03   1.0000          .0000       .10000E+07
    15 'norm      '    35.373       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99135E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .37664E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .19020E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    11.240       1.0000          .0000       .10000E+07
    20 'Prefactor '    24.607       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.2355       1.0000          .0000       .10000E+07
    22 'Prefactor '    21.027       1.0000          .0000       .10000E+07
    23 'Normalizat'    .89192       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91724       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=   6826.228     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1949 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5675        4.9655       -.75085E-07   -.16768E-02
   2  norm          .43997        .26739       -.56236E-08   -.14588E-01
   3  norm          14.189        5.3380       -.80664E-08   -.14954E-02
   4  Prefactor     10.596        8.1629        .64800E-08    .30671E-02
   5  Prefactor     .12212E-08    8.2545        .13347E-06** at limit **
   6  norm          4.2195        4.5125       -.24745E-07   -.22853E-02
   7  Prefactor     10.410        2.0931        .11251E-07    .43717E-01
   8  Prefactor     36.070        14.325       -.87118E-07    .33052E-01
   9  norm          1.3619        2.1394       -.36983E-07   -.33909E-02
  10  norm          29.828        5.4675       -.84086E-08   -.52615E-01
  11  norm          17.713        4.6923        .20719E-07    .70887E-01
  12  norm          49.933        19.607        .99597E-07   -.35121E-01
  13  Prefactor     1.6814        2.9252       -.73557E-07   -.47926E-02
  14  Prefactor     .38858E-09    5.4839        .76629E-07** at limit **
  15  norm          35.202        9.3680        .37470E-08    .17199E-01
  16  Prefactor     .27756E-08    17.628        .13391E-06** at limit **
  17  Prefactor     .20706E-07    56.303        .16353E-06** at limit **
  18  norm          .33307E-09    4.4879        .20306E-07** at limit **
  19  Prefactor     11.241        1.9218        .81840E-08    .55130E-01
  20  Prefactor     24.612        1.5633       -.73193E-08   -.12123E-01
  21  Prefactor     5.2265        3.7126       -.21672E-08   -.67268E-03
  22  Prefactor     20.954        3.3560        .20197E-07    .93440E-01
  23  Normalizat    .89286        .20091        .49980E-06   -.31615E-03
  24  Prefactor     .91688        .20201       -.15604E-05   -.34983E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56746
  norm       = 0.439967
  norm       = 14.1894
  Prefactor  = 10.5965
  Prefactor  = 1.22125e-09
  norm       = 4.21953
  Prefactor  = 10.4097
  Prefactor  = 36.0705
  norm       = 1.36192
  norm       = 29.8282
  norm       = 17.7128
  norm       = 49.933
  Prefactor  = 1.6814
  Prefactor  = 3.88578e-10
  norm       = 35.2023
  Prefactor  = 2.77556e-09
  Prefactor  = 2.07057e-08
  norm       = 3.33067e-10
  Prefactor  = 11.2407
  Prefactor  = 24.6115
  Prefactor  = 5.22653
  Prefactor  = 20.9543
  Normalizat = 0.892863
  Prefactor  = 0.916884
 **********
 **   18 **HESSE 
 **********

 FCN=   6826.228     FROM HESSE     STATUS=OK           455 CALLS     2404 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5675        5.0197        .86096E-03   -1.5683    
   2  norm          .43997        .27436        .72276E-03   -1.5695    
   3  norm          14.189        5.3615        .26520E-03   -1.5633    
   4  Prefactor     10.596        8.1768        .30794E-03   -1.5643    
   5  Prefactor     .12212E-08    8.2360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.2195        4.6825        .49053E-03   -1.5667    
   7  Prefactor     10.410        11.005        .31048E-03   -1.5643    
   8  Prefactor     36.070        28.626        .16713E-03   -1.5588    
   9  norm          1.3619        2.1755        .93662E-03   -1.5685    
  10  norm          29.828        9.0596        .18300E-03   -1.5599    
  11  norm          17.713        14.000        .23812E-03   -1.5624    
  12  norm          49.933        26.292        .14114E-03   -1.5567    
  13  Prefactor     1.6814        2.9529        .81047E-03   -1.5682    
  14  Prefactor     .38858E-09    5.4888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          35.202        9.5652        .16816E-03   -1.5589    
  16  Prefactor     .27756E-08    17.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .20706E-07    56.325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .33307E-09    4.4863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.241        10.220        .29857E-03   -1.5641    
  20  Prefactor     24.612        16.908        .20164E-03   -1.5609    
  21  Prefactor     5.2265        3.7103        .43907E-03   -1.5662    
  22  Prefactor     20.954        12.499        .21814E-03   -1.5616    
  23  Normalizat    .89286        .17743        .44798E-01   -.96711    
  24  Prefactor     .91688        .17587        .45224E-01   -.95554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95468e-07
Minuit parameter uncertainties:
  1  5.01972
  2  0.274362
  3  5.36155
  4  8.17685
  5  0.00019993
  6  4.68252
  7  11.0045
  8  28.6263
  9  2.17551
  10  9.05962
  11  14.0001
  12  26.2916
  13  2.95292
  14  9.54159e-05
  15  9.56521
  16  0.000442639
  17  0.00215857
  18  7.92735e-05
  19  10.22
  20  16.9081
  21  3.71032
  22  12.4986
  23  0.177544
  24  0.175977
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  4.993e+01  2.629e+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:  9.169e-01  1.760e-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:  8.929e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.09
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 4.76e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 1.95e-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) = 6826.19360746
delta logL = 0.0339705366941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6826.19319638
delta logL = 0.0343816159111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    50.339       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7672       1.0000          .0000       5.0000    
     3 'Normalizat'    .89922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91366       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.

 FCN=   6826.193     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      224 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.339        57.953        .14096E-03   -.16277E-01
   2  alpha         1.7674        .89288        .28054        .85418E-05
   3  Normalizat    .89935        .17397        .44892E-01    .22205E-04
   4  Prefactor     .91368        .17664        .45179E-01    .18193E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 50.3388
  alpha      = 1.7674
  Normalizat = 0.899354
  Prefactor  = 0.913678
 **********
 **   18 **HESSE 
 **********

 FCN=   6826.193     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.339        26.775        .56382E-05   -1.5566    
   2  alpha         1.7674        .49005        .13889E-01   -.29741    
   3  Normalizat    .89935        .19258        .26413E-03   -.96483    
   4  Prefactor     .91368        .19957        .27206E-03   -.95665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7771e-09
Minuit parameter uncertainties:
  1  26.7755
  2  0.493545
  3  0.192727
  4  0.199726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79022': 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) = 6826.1931948
delta logL = 0.0343831972814

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  5.034e+01  2.678e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.767e+00  4.935e-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:  9.137e-01  1.997e-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:  8.994e-01  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.16
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.77 +/- 0.49
Photon Flux (Free Index): 4.11e-08 +/- 3.21e-08
Energy Flux (Free Index): 4.20e-05 +/- 3.13e-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/79022/cmap_HighResolution_693187201_693446401_4FGL_J1314.7+2348_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.76e-08', energy_flux2='4.20e-05', photon_flux_error='2.50e-08', dlogl='3.44e-02', energy_flux='3.70e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2022-12-23 00:55:33.801257', photon_index_error2='0.49', photon_index2='1.77', ts='12.09', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='3.13e-05', EG='0.89', time_epoch_completed='1671785733.8', return_code='0', job_id='79022', GAL2='0.91', EG2='0.90', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='3.21e-08', ts2='12.16', photon_index='1.90' WHERE bin_id='1751' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:55:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 79022: <4FGL_J1314.7+2348_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:45:20 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:45:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:45:21 2022
Terminated at Fri Dec 23 00:55:34 2022
Results reported at Fri Dec 23 00:55:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1751 198.688 23.8124 693187201 693446401 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 :                                   574.56 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             346.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            614 sec.

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

