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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1745
RA = 198.688, Dec = 23.8124
tmin = 691632001, tmax = 691891201
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='646593', job_status='RUN', time_executed='2022-12-05 00:44:07.449709', time_epoch_executed='1670229847.45' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/646593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/646593/ft1_4FGL_J1314.7+2348_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/646593/ft1_4FGL_J1314.7+2348_daily_bin1745.fits outfile=/scratch/kocevski/646593/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1745.fits ra=198.688 dec=23.8124 rad=12.0 tmin=691632001.0 tmax=691891201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.37
user 2.18
sys 0.18

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

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

Number of photons that the gtmktime cut: 890

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/646593/ft1_filtered_4FGL_J1314.7+2348_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/646593/ltcube_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.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/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits
.....................!
real 12.47
user 12.08
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/646593/ft1_filtered_4FGL_J1314.7+2348_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/646593/ltcube_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.fits outfile=/scratch/kocevski/646593/expmap_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.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/646593/ltcube_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.fits
.....................!
real 193.10
user 186.87
sys 5.87

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/646593/ft1_filtered_4FGL_J1314.7+2348_daily_bin1745.fits scfile=/scratch/kocevski/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits outfile=/scratch/kocevski/646593/cmap_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/646593/ft1_filtered_4FGL_J1314.7+2348_daily_bin1745.fits scfile=/scratch/kocevski/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits outfile=/scratch/kocevski/646593/cmap_HighResolution_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.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/646593/ft1_filtered_4FGL_J1314.7+2348_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/646593/ft2_4FGL_J1314.7+2348_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/646593/Model_4FGL_J1314.7+2348_daily_bin1745.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/646593/ft1_filtered_4FGL_J1314.7+2348_daily_bin1745.fits.....................!
real 74.96
user 73.40
sys 1.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8113       1.0000          .0000       .10000E+07
     2 'norm      '    .25759       1.0000          .0000       .10000E+07
     3 'norm      '    25.388       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23107E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .33389E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .21270E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.814       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26681E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .20861E-06   1.0000          .0000       .10000E+07
    10 'norm      '    35.594       1.0000          .0000       .10000E+07
    11 'norm      '    .63853E-02   1.0000          .0000       .10000E+07
    12 'norm      '    19.408       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29524E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19962E-02   1.0000          .0000       .10000E+07
    15 'norm      '    7.0559       1.0000          .0000       .10000E+07
    16 'Prefactor '    50.219       1.0000          .0000       .10000E+07
    17 'Prefactor '    .92505E-05   1.0000          .0000       .10000E+07
    18 'norm      '    10.050       1.0000          .0000       .10000E+07
    19 'Prefactor '    .86122E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    3.3901       1.0000          .0000       .10000E+07
    21 'Prefactor '    .92978       1.0000          .0000       .10000E+07
    22 'Prefactor '    .15932E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .86090       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3767       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=   9663.696     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1582 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7964        5.3230       -.10292E-06    .97922E-03
   2  norm          .25776        .19705       -.40150E-07   -.22499E-02
   3  norm          25.367        6.0652        .25044E-07   -.87801E-02
   4  Prefactor     .11102E-09    5.6507       -.13462E-06** at limit **
   5  Prefactor     .27756E-09    2.7982       -.37732E-06** at limit **
   6  norm          .96362E-06    3.7311       -.79999E-07** at limit **
   7  Prefactor     16.845        1.9688        .21993E-07    .15728E-01
   8  Prefactor     .22093E-07    5.2999        .34798E-06** at limit **
   9  norm           .0000        .87247        .35730E-06** at limit **
  10  norm          35.542        5.5968        .29997E-07    .10514E-02
  11  norm          .37370E-06    6.0493        .98184E-07** at limit **
  12  norm          19.402        1.0608       -.10172E-07    .87975E-03
  13  Prefactor      .0000        1.3970       -.23238E-06** at limit **
  14  Prefactor     .11990E-07    6.9660        .25386E-06** at limit **
  15  norm          7.0445        5.3545       -.40179E-06   -.30224E-01
  16  Prefactor     49.316        26.474        .46079E-08    .20561E-01
  17  Prefactor     .72331E-07    11.737        .65069E-06** at limit **
  18  norm          10.040        6.3844       -.11630E-07    .62281E-01
  19  Prefactor     .77438E-07    3.5401        .31955E-06** at limit **
  20  Prefactor     3.3595        5.3950        .26234E-06   -.50823E-01
  21  Prefactor     .93124        3.0745       -.38740E-06   -.20763E-01
  22  Prefactor     .10214E-07    3.5394        .16805E-06** at limit **
  23  Normalizat    .86133        .19029        .11132E-04    .13256E-04
  24  Prefactor     1.3768        .19833       -.96941E-05   -.31839E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.79638
  norm       = 0.257764
  norm       = 25.367
  Prefactor  = 1.11022e-10
  Prefactor  = 2.77556e-10
  norm       = 9.63618e-07
  Prefactor  = 16.8445
  Prefactor  = 2.20934e-08
  norm       = 0
  norm       = 35.5415
  norm       = 3.73701e-07
  norm       = 19.4016
  Prefactor  = 0
  Prefactor  = 1.19904e-08
  norm       = 7.04449
  Prefactor  = 49.3157
  Prefactor  = 7.2331e-08
  norm       = 10.04
  Prefactor  = 7.74381e-08
  Prefactor  = 3.35949
  Prefactor  = 0.931236
  Prefactor  = 1.02141e-08
  Normalizat = 0.861331
  Prefactor  = 1.37683
 **********
 **   18 **HESSE 
 **********

 FCN=   9663.696     FROM HESSE     STATUS=OK           451 CALLS     2033 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7964        5.3282        .38421E-03   -1.5656    
   2  norm          .25776        .20861        .83443E-03   -1.5698    
   3  norm          25.367        6.0786        .19851E-03   -1.5607    
   4  Prefactor     .11102E-09    5.7243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    2.7959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .96362E-06    16.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.845        11.860        .24399E-03   -1.5626    
   8  Prefactor     .22093E-07    9.8672        .16631E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .87127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          35.542        5.7806        .16763E-03   -1.5589    
  11  norm          .37370E-06    12.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          19.402        13.764        .22707E-03   -1.5620    
  13  Prefactor      .0000        1.3898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11990E-07    7.0639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.0445        5.7842        .37742E-03   -1.5655    
  16  Prefactor     49.316        26.809        .14112E-03   -1.5568    
  17  Prefactor     .72331E-07    14.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.040        7.4667        .31583E-03   -1.5645    
  19  Prefactor     .77438E-07    13.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3595        10.379        .54926E-03   -1.5671    
  21  Prefactor     .93124        3.1219        .43723E-03   -1.5689    
  22  Prefactor     .10214E-07    13.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .86133        .15885        .66531E-01   -.97833    
  24  Prefactor     1.3768        .16306        .57805E-01   -.81050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18896e-07
Minuit parameter uncertainties:
  1  5.32817
  2  0.208613
  3  6.07862
  4  4.94984e-05
  5  5.5366e-05
  6  0.00787341
  7  11.8598
  8  0.000933607
  9  2.2648e-06
  10  5.78065
  11  0.00429184
  12  13.7637
  13  7.93484e-06
  14  0.000581578
  15  5.7842
  16  26.8089
  17  0.00207019
  18  7.46672
  19  0.00207814
  20  10.3795
  21  3.12191
  22  0.000737807
  23  0.158931
  24  0.163125
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.940e+01  1.376e+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.377e+00  1.631e-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.613e-01  1.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.99
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.85e-08 +/- 1.31e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.02e-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) = 9663.66241972
delta logL = 0.0335901847939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9663.66228076
delta logL = 0.0337291469259

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.454       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7208       1.0000          .0000       5.0000    
     3 'Normalizat'    .86616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3737       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=   9663.662     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      234 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.495        527.98        .22680E-03   -.68773E-04
   2  alpha         1.7232        3.2321        .44016       -.12126E-04
   3  Normalizat    .86564        .19102        .66383E-01    .43306E-04
   4  Prefactor     1.3744        .12174        .57850E-01    .12476E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.4955
  alpha      = 1.72324
  Normalizat = 0.865637
  Prefactor  = 1.37439
 **********
 **   18 **HESSE 
 **********

 FCN=   9663.662     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.495        13.984        .90721E-05   -1.5620    
   2  alpha         1.7232        .64210        .20232E-01   -.31593    
   3  Normalizat    .86564        .18381        .29367E-03   -.97678    
   4  Prefactor     1.3744        .19693        .25580E-03   -.81121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30078e-10
Minuit parameter uncertainties:
  1  13.984
  2  0.650184
  3  0.183943
  4  0.197033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/646593': 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) = 9663.66226502
delta logL = 0.0337448859536

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.950e+01  1.398e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  1.723e+00  6.502e-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.374e+00  1.970e-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.656e-01  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.05
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.72 +/- 0.65
Photon Flux (Free Index): 1.52e-08 +/- 1.56e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.78e-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/646593/cmap_HighResolution_691632001_691891201_4FGL_J1314.7+2348_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.85e-08', energy_flux2='1.71e-05', photon_flux_error='1.31e-08', dlogl='3.37e-02', energy_flux='1.44e-05', photon_flux2='1.52e-08', job_status='DONE', time_completed='2022-12-05 00:54:43.218211', photon_index_error2='0.65', photon_index2='1.72', ts='7.99', fit_tolerance='1e-08', GAL='1.38', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.86', time_epoch_completed='1670230483.22', return_code='0', job_id='646593', GAL2='1.37', EG2='0.87', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='1.56e-08', ts2='8.05', photon_index='1.90' WHERE bin_id='1745' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:54:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 646593: <4FGL_J1314.7+2348_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:40:16 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:40:17 2022
Terminated at Mon Dec  5 00:54:44 2022
Results reported at Mon Dec  5 00:54:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1745 198.688 23.8124 691632001 691891201 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 :                                   638.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            868 sec.

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

