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 220 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_bin1769
RA = 198.688, Dec = 23.8124
tmin = 697852801, tmax = 698112001
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='434676', job_status='RUN', time_executed='2023-02-15 00:49:21.377723', time_epoch_executed='1676450961.38' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434676

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434676/ft1_4FGL_J1314.7+2348_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434676/ft1_4FGL_J1314.7+2348_daily_bin1769.fits outfile=/scratch/kocevski/434676/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1769.fits ra=198.688 dec=23.8124 rad=12.0 tmin=697852801.0 tmax=698112001.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.42
user 4.17
sys 0.21

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

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

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434676/ft1_filtered_4FGL_J1314.7+2348_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/434676/ltcube_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.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/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits
.....................!
real 11.73
user 11.39
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434676/ft1_filtered_4FGL_J1314.7+2348_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/434676/ltcube_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.fits outfile=/scratch/kocevski/434676/expmap_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.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/434676/ltcube_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.fits
.....................!
real 189.50
user 185.06
sys 4.13

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/434676/ft1_filtered_4FGL_J1314.7+2348_daily_bin1769.fits scfile=/scratch/kocevski/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits outfile=/scratch/kocevski/434676/cmap_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434676/ft1_filtered_4FGL_J1314.7+2348_daily_bin1769.fits scfile=/scratch/kocevski/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits outfile=/scratch/kocevski/434676/cmap_HighResolution_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.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.53
user 0.41
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434676/ft1_filtered_4FGL_J1314.7+2348_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/434676/ft2_4FGL_J1314.7+2348_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434676/Model_4FGL_J1314.7+2348_daily_bin1769.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/434676/ft1_filtered_4FGL_J1314.7+2348_daily_bin1769.fits.....................!
real 51.01
user 49.85
sys 1.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68890E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12917       1.0000          .0000       .10000E+07
     3 'norm      '    10.257       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.405       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43221E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17402E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6252       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27256E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .14429E-02   1.0000          .0000       .10000E+07
    10 'norm      '    17.813       1.0000          .0000       .10000E+07
    11 'norm      '    21.671       1.0000          .0000       .10000E+07
    12 'norm      '    16.258       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19781E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .35636E-02   1.0000          .0000       .10000E+07
    15 'norm      '    33.448       1.0000          .0000       .10000E+07
    16 'Prefactor '    .60542E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    27.611       1.0000          .0000       .10000E+07
    18 'norm      '    .34639E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .26852E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6402       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.3039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .14910E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .55450       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4066       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=   6236.182     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1608 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    2.8232        .62288E-08** at limit **
   2  norm          .12940        .15178       -.60837E-08** at limit **
   3  norm          10.280        5.0107        .26027E-07    .13779E-02
   4  Prefactor     13.415        1.6469       -.73426E-08   -.44272E-02
   5  Prefactor     .55511E-10    1.7736       -.65010E-07** at limit **
   6  norm           .0000        1.4636        .49343E-07** at limit **
   7  Prefactor     2.1880        17.281        .73097E-07   -.17216E-01
   8  Prefactor     .42188E-06    3.7469       -.44632E-07** at limit **
   9  norm          .17379E-05    159.12       -.24764E-05** at limit **
  10  norm          17.873        6.8895       -.46807E-07   -.42710E-02
  11  norm          21.537        11.979        .63834E-07    .70936E-02
  12  norm          16.260        4.6530       -.62206E-09    .46474E-01
  13  Prefactor      .0000        1.3202        .68462E-07** at limit **
  14  Prefactor     .44009E-06    3.7060        .33852E-07** at limit **
  15  norm          33.506        8.7956       -.27324E-07    .59418E-01
  16  Prefactor     .28311E-08    13.474       -.19302E-06** at limit **
  17  Prefactor     27.011        32.995       -.28292E-06   -.13090E-01
  18  norm          .27756E-09    2.9919        .17284E-07** at limit **
  19  Prefactor     .55511E-10    32.038       -.91272E-07** at limit **
  20  Prefactor     6.0673        12.903       -.18058E-06   -.18126E-01
  21  Prefactor     7.2770        4.7726        .50229E-08    .49599E-03
  22  Prefactor      .0000        3.4283       -.52819E-07** at limit **
  23  Normalizat    .55296        .20507       -.80540E-06    .70628E-04
  24  Prefactor     1.4066        .21427        .14956E-05    .15291E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 0.129395
  norm       = 10.2799
  Prefactor  = 13.4147
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 2.18805
  Prefactor  = 4.21885e-07
  norm       = 1.73789e-06
  norm       = 17.8729
  norm       = 21.5366
  norm       = 16.2596
  Prefactor  = 0
  Prefactor  = 4.40092e-07
  norm       = 33.5063
  Prefactor  = 2.83107e-09
  Prefactor  = 27.0111
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 6.06728
  Prefactor  = 7.277
  Prefactor  = 0
  Normalizat = 0.552961
  Prefactor  = 1.4066
 **********
 **   18 **HESSE 
 **********

 FCN=   6236.182     FROM HESSE     STATUS=OK           457 CALLS     2065 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    2.8264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .12940        .17118        .73503E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.280        5.0358        .31261E-03   -1.5644    
   4  Prefactor     13.415        8.6556        .27332E-03   -1.5635    
   5  Prefactor     .55511E-10    1.7740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.4623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1880        19.790        .82957E-03   -1.5678    
   8  Prefactor     .42188E-06    5.9358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .17379E-05    1.9272        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.873        8.3291        .23703E-03   -1.5623    
  11  norm          21.537        16.459        .21487E-03   -1.5615    
  12  norm          16.260        16.386        .24813E-03   -1.5627    
  13  Prefactor      .0000        1.3165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .44009E-06    6.0330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          33.506        9.0532        .17293E-03   -1.5592    
  16  Prefactor     .28311E-08    13.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.011        33.505        .19034E-03   -1.5604    
  18  norm          .27756E-09    3.0007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    8.5349        .11784E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.0673        20.436        .42275E-03   -1.5659    
  21  Prefactor     7.2770        4.7751        .37089E-03   -1.5654    
  22  Prefactor      .0000        3.4345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .55296        .17739        .70298E-01   -1.1002    
  24  Prefactor     1.4066        .18300        .50633E-01   -.80190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34023e-07
Minuit parameter uncertainties:
  1  3.11988e-05
  2  0.171182
  3  5.03578
  4  8.65565
  5  1.97011e-05
  6  2.62316e-07
  7  13.161
  8  0.00316497
  9  0.00366023
  10  8.32907
  11  16.4595
  12  16.3862
  13  3.13777e-06
  14  0.00325895
  15  9.05323
  16  0.000391466
  17  33.505
  18  5.47686e-05
  19  4.94445e-05
  20  20.4358
  21  4.77513
  22  6.4251e-07
  23  0.177568
  24  0.183085
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.626e+01  1.639e+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:  1.407e+00  1.831e-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:  5.530e-01  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.55e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/434676/likelihoodResults_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.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) = 6236.12298402
delta logL = 0.058948424251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6236.11968496
delta logL = 0.0622474793427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.002       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1554       1.0000          .0000       5.0000    
     3 'Normalizat'    .54837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4086       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=   6236.120     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      241 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.002        16.123        .10333E-04    .31291E-02
   2  alpha         2.1556        .74491        .16078E-01    .42144E-04
   3  Normalizat    .54829        .19153        .31239E-03   -.61576E-04
   4  Prefactor     1.4087        .21134        .22366E-03   -.93153E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.0018
  alpha      = 2.15563
  Normalizat = 0.548286
  Prefactor  = 1.40867
 **********
 **   18 **HESSE 
 **********

 FCN=   6236.120     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.002        15.802        .20666E-05   -1.5630    
   2  alpha         2.1556        .73036        .64313E-03   -.13819    
   3  Normalizat    .54829        .19159        .12496E-04   -1.1023    
   4  Prefactor     1.4087        .21145        .44731E-04   -.80131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91617e-10
Minuit parameter uncertainties:
  1  15.8023
  2  0.741386
  3  0.191821
  4  0.211578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434676': 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) = 6236.11968483
delta logL = 0.062247617544

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.500e+01  1.580e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  2.156e+00  7.414e-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:  1.409e+00  2.116e-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:  5.483e-01  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.37
Ra Dec: 198.688 23.812
Photon Index (Free Index): 2.16 +/- 0.74
Photon Flux (Free Index): 2.05e-08 +/- 2.44e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.07e-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/434676/cmap_HighResolution_697852801_698112001_4FGL_J1314.7+2348_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-05', comment='SUCCESS', photon_flux='1.55e-08', energy_flux2='1.01e-05', photon_flux_error='1.56e-08', dlogl='6.22e-02', energy_flux='1.21e-05', photon_flux2='2.05e-08', job_status='DONE', time_completed='2023-02-15 00:59:12.908562', photon_index_error2='0.74', photon_index2='2.16', ts='2.25', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', photon_flux_upper_limit='5.79e-08', energy_flux_error2='1.07e-05', EG='0.55', time_epoch_completed='1676451552.91', return_code='0', job_id='434676', GAL2='1.41', EG2='0.55', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='2.44e-08', ts2='2.37', photon_index='1.90' WHERE bin_id='1769' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:59:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 434676: <4FGL_J1314.7+2348_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:45:26 2023
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:45:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:45:26 2023
Terminated at Wed Feb 15 00:59:13 2023
Results reported at Wed Feb 15 00:59:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1769 198.688 23.8124 697852801 698112001 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 :                                   592.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            827 sec.

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

