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


Performing analysis on: 4FGL_J1314.7+2348_weekly_bin759
RA = 198.688, Dec = 23.8124
tmin = 698025601, tmax = 698630401
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='591001', job_status='RUN', time_executed='2023-02-21 03:36:17.093493', time_epoch_executed='1676979377.09' WHERE source_name='4FGL J1314.7+2348' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591001

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591001/ft1_4FGL_J1314.7+2348_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591001/ft1_4FGL_J1314.7+2348_weekly_bin759.fits outfile=/scratch/kocevski/591001/ft1_filteredMKT_4FGL_J1314.7+2348_weekly_bin759.fits ra=198.688 dec=23.8124 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.50
user 8.17
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.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/591001/ft1_filteredMKT_4FGL_J1314.7+2348_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.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.56
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/591001/ltcube_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.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/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits
.....................!
real 26.40
user 25.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/591001/ltcube_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.fits outfile=/scratch/kocevski/591001/expmap_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.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/591001/ltcube_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.fits
.....................!
real 191.19
user 185.61
sys 5.18

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/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.fits scfile=/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits outfile=/scratch/kocevski/591001/cmap_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.fits scfile=/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits outfile=/scratch/kocevski/591001/cmap_HighResolution_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/591001/ft2_4FGL_J1314.7+2348_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/591001/Model_4FGL_J1314.7+2348_weekly_bin759.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/591001/ft1_filtered_4FGL_J1314.7+2348_weekly_bin759.fits.....................!
real 75.51
user 74.18
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21246E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .98801E-02   1.0000          .0000       .10000E+07
     3 'norm      '    12.856       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.999       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24290E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .93550E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.784       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74665E-04   1.0000          .0000       .10000E+07
     9 'norm      '    1.0308       1.0000          .0000       .10000E+07
    10 'norm      '    38.621       1.0000          .0000       .10000E+07
    11 'norm      '    6.1986       1.0000          .0000       .10000E+07
    12 'norm      '    13.447       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12684E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .56344E-07   1.0000          .0000       .10000E+07
    15 'norm      '    41.367       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.314       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43407E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .79201       1.0000          .0000       .10000E+07
    19 'Prefactor '    .73203E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.4739       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.5429       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27357E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .94419       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1566       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=   9968.872     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1623 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3298        .27085E-07** at limit **
   2  norm          .96932E-02    .72409       -.83033E-07** at limit **
   3  norm          12.849        5.4069       -.82927E-09   -.57912E-03
   4  Prefactor     10.997        1.1595       -.46959E-09    .13930E-01
   5  Prefactor     .16653E-09    3.7794       -.32002E-07** at limit **
   6  norm           .0000        1.5902        .62087E-07** at limit **
   7  Prefactor     11.780        1.3674        .38160E-08    .93779E-03
   8  Prefactor     .90483E-08    5.7272        .71769E-07** at limit **
   9  norm          1.0011        1.9982       -.43753E-07   -.11750E-03
  10  norm          38.645        4.4144       -.47402E-08   -.10045E-01
  11  norm          6.2224        3.2516       -.19946E-08    .62602E-02
  12  norm          13.418        2.0419       -.47903E-08    .98857E-02
  13  Prefactor      .0000        1.2111        .80750E-08** at limit **
  14  Prefactor     .15266E-07    6.1254        .26305E-07** at limit **
  15  norm          41.375        6.3186       -.47280E-08   -.65556E-02
  16  Prefactor     11.822        2.3449       -.22981E-07    .98271E-02
  17  Prefactor     .66613E-09    30.343        .90931E-07** at limit **
  18  norm          .78803        1.9878       -.11871E-07   -.11828E-02
  19  Prefactor     .11102E-09    14.367        .26036E-06** at limit **
  20  Prefactor     2.2838        4.7013       -.32063E-07    .18805E-01
  21  Prefactor     7.5443        3.6491        .44381E-07    .41488E-03
  22  Prefactor     .33307E-09    4.4436       -.98778E-07** at limit **
  23  Normalizat    .94466        .17268       -.55876E-06    .42931E-04
  24  Prefactor     1.1561        .17270        .22419E-05    .53070E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.00969322
  norm       = 12.8493
  Prefactor  = 10.9966
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 11.7804
  Prefactor  = 9.04832e-09
  norm       = 1.00108
  norm       = 38.645
  norm       = 6.22244
  norm       = 13.418
  Prefactor  = 0
  Prefactor  = 1.52656e-08
  norm       = 41.3746
  Prefactor  = 11.8223
  Prefactor  = 6.66134e-10
  norm       = 0.788031
  Prefactor  = 1.11022e-10
  Prefactor  = 2.28377
  Prefactor  = 7.54434
  Prefactor  = 3.33067e-10
  Normalizat = 0.944664
  Prefactor  = 1.15613
 **********
 **   18 **HESSE 
 **********

 FCN=   9968.872     FROM HESSE     STATUS=OK           457 CALLS     2080 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .96932E-02    .10225        .17054E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.849        5.4332        .27912E-03   -1.5636    
   4  Prefactor     10.997        7.7494        .30184E-03   -1.5642    
   5  Prefactor     .16653E-09    3.8047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.5907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.780        11.097        .29157E-03   -1.5639    
   8  Prefactor     .90483E-08    6.0635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0011        2.2764        .45513E-02   -1.5688    
  10  norm          38.645        7.0956        .16093E-03   -1.5584    
  11  norm          6.2224        8.9316        .40298E-03   -1.5658    
  12  norm          13.418        14.103        .27289E-03   -1.5635    
  13  Prefactor      .0000        1.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15266E-07    6.5251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          41.375        8.6152        .15549E-03   -1.5579    
  16  Prefactor     11.822        18.687        .29758E-03   -1.5639    
  17  Prefactor     .66613E-09    30.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .78803        6.7020        .53532E-03   -1.5690    
  19  Prefactor     .11102E-09    14.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2838        26.649        .64980E-03   -1.5678    
  21  Prefactor     7.5443        3.6509        .36491E-03   -1.5653    
  22  Prefactor     .33307E-09    4.4514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94466        .15158        .45464E-01   -.94908    
  24  Prefactor     1.1561        .14854        .58847E-01   -.87692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03504e-07
Minuit parameter uncertainties:
  1  8.26504e-06
  2  0.0629654
  3  5.43315
  4  7.74945
  5  4.8099e-05
  6  1.95234e-06
  7  11.0966
  8  0.000469126
  9  2.27639
  10  7.09557
  11  8.93162
  12  14.1033
  13  1.40424e-06
  14  0.000631733
  15  8.61522
  16  18.6874
  17  0.000287838
  18  4.59625
  19  7.9457e-05
  20  15.6028
  21  3.6509
  22  7.53486e-05
  23  0.151645
  24  0.148598
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.342e+01  1.410e+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.156e+00  1.486e-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:  9.447e-01  1.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.28e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 9.95e-06 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/591001/likelihoodResults_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.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) = 9968.57371047
delta logL = 0.298297456135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9968.55811409
delta logL = 0.313893835024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.338       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6111       1.0000          .0000       5.0000    
     3 'Normalizat'    .92442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1665       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=   9968.558     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.353        195.46        .29727E-03    .46688E-03
   2  alpha         2.6093        3.8027        .41203        .56255E-04
   3  Normalizat    .92449        .58699E-01    .45213E-01    .25657E-04
   4  Prefactor     1.1664        .45911E-01    .58593E-01    .82069E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.353
  alpha      = 2.6093
  Normalizat = 0.924489
  Prefactor  = 1.16638
 **********
 **   18 **HESSE 
 **********

 FCN=   9968.558     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.353        13.650        .11891E-04   -1.5641    
   2  alpha         2.6093        .92731        .16200E-01    .43734E-01
   3  Normalizat    .92449        .17058        .27891E-03   -.95605    
   4  Prefactor     1.1664        .17321        .25910E-03   -.87372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15092e-11
Minuit parameter uncertainties:
  1  13.6505
  2  0.950054
  3  0.170677
  4  0.17329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591001': 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) = 9968.55811149
delta logL = 0.313896435488

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.135e+01  1.365e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  2.609e+00  9.501e-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.166e+00  1.733e-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:  9.245e-01  1.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 198.688 23.812
Photon Index (Free Index): 2.61 +/- 0.95
Photon Flux (Free Index): 3.29e-08 +/- 3.88e-08
Energy Flux (Free Index): 9.55e-06 +/- 8.05e-06

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/591001/cmap_HighResolution_698025601_698630401_4FGL_J1314.7+2348_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-05', comment='SUCCESS', photon_flux='1.28e-08', energy_flux2='9.55e-06', photon_flux_error='1.34e-08', dlogl='3.14e-01', energy_flux='9.95e-06', photon_flux2='3.29e-08', job_status='DONE', time_completed='2023-02-21 03:49:01.895903', photon_index_error2='0.95', photon_index2='2.61', ts='1.83', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='4.86e-08', energy_flux_error2='8.05e-06', EG='0.94', time_epoch_completed='1676980141.9', return_code='0', job_id='591001', GAL2='1.17', EG2='0.92', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='3.88e-08', ts2='2.46', photon_index='1.90' WHERE bin_id='759' AND source_name='4FGL J1314.7+2348' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:49:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 591001: <4FGL_J1314.7+2348_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1314.7+2348_weekly_bin759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 03:35:22 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:35:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:35:22 2023
Terminated at Tue Feb 21 03:49:02 2023
Results reported at Tue Feb 21 03:49:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_weekly_bin759 198.688 23.8124 698025601 698630401 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 :                                   765.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             318.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            820 sec.

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

