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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1771
RA = 198.688, Dec = 23.8124
tmin = 698371201, 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='548827', job_status='RUN', time_executed='2023-02-21 00:59:08.995051', time_epoch_executed='1676969949.0' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548827

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698371201.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>=698371201.0 && nMetStart<698630401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548827/ft1_4FGL_J1314.7+2348_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548827/ft2_4FGL_J1314.7+2348_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548827/ft1_4FGL_J1314.7+2348_daily_bin1771.fits outfile=/scratch/kocevski/548827/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1771.fits ra=198.688 dec=23.8124 rad=12.0 tmin=698371201.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 3.17
user 2.88
sys 0.21

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

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

Number of photons that the gtmktime cut: 259

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/548827/ft1_filtered_4FGL_J1314.7+2348_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/548827/ft2_4FGL_J1314.7+2348_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/548827/ltcube_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.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/548827/ft2_4FGL_J1314.7+2348_daily_bin1771.fits
.....................!
real 12.65
user 12.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548827/ft1_filtered_4FGL_J1314.7+2348_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/548827/ft2_4FGL_J1314.7+2348_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/548827/ltcube_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.fits outfile=/scratch/kocevski/548827/expmap_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.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/548827/ltcube_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.fits
.....................!
real 192.78
user 187.09
sys 5.22

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/548827/ft1_filtered_4FGL_J1314.7+2348_daily_bin1771.fits scfile=/scratch/kocevski/548827/ft2_4FGL_J1314.7+2348_daily_bin1771.fits outfile=/scratch/kocevski/548827/cmap_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548827/ft1_filtered_4FGL_J1314.7+2348_daily_bin1771.fits scfile=/scratch/kocevski/548827/ft2_4FGL_J1314.7+2348_daily_bin1771.fits outfile=/scratch/kocevski/548827/cmap_HighResolution_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15860E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .41578E-07   1.0000          .0000       .10000E+07
     3 'norm      '    32.240       1.0000          .0000       .10000E+07
     4 'Prefactor '    .84629E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    25.230       1.0000          .0000       .10000E+07
     6 'norm      '    4.8092       1.0000          .0000       .10000E+07
     7 'Prefactor '    .39584E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19474E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .26780E-02   1.0000          .0000       .10000E+07
    10 'norm      '    45.566       1.0000          .0000       .10000E+07
    11 'norm      '    .26083E-04   1.0000          .0000       .10000E+07
    12 'norm      '    17.932       1.0000          .0000       .10000E+07
    13 'Prefactor '    .53988E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    13.077       1.0000          .0000       .10000E+07
    15 'norm      '    22.252       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.998       1.0000          .0000       .10000E+07
    17 'Prefactor '    54.243       1.0000          .0000       .10000E+07
    18 'norm      '    3.6832       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.436       1.0000          .0000       .10000E+07
    20 'Prefactor '    .42205E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.7325       1.0000          .0000       .10000E+07
    22 'Prefactor '    .40722       1.0000          .0000       .10000E+07
    23 'Normalizat'    .66910       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3507       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=   2950.924     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     2103 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30681E-06    20.402        .42484E-06** at limit **
   2  norm           .0000        .88459       -.30159E-07** at limit **
   3  norm          32.320        5.0675        .10183E-06    .16833E-01
   4  Prefactor     .16481E-05    16.998        .44258E-07** at limit **
   5  Prefactor     25.240        5.2916       -.30513E-07   -.22169E-01
   6  norm          4.8822        10.178        .73472E-07   -.86281E-03
   7  Prefactor     .52736E-08    11.864        .22345E-06** at limit **
   8  Prefactor      .0000        33.562       -.35706E-06** at limit **
   9  norm          .22204E-09    9.7334       -.86023E-07** at limit **
  10  norm          45.423        13.329        .13977E-07    .29687E-02
  11  norm          .48270E-05    14.701        .80787E-06** at limit **
  12  norm          18.066        13.314        .25492E-06    .30083E-02
  13  Prefactor     .59863E-06    5.7938       -.12662E-06** at limit **
  14  Prefactor     13.199        27.976        .17830E-05   -.27743E-01
  15  norm          22.314        12.186       -.54455E-07   -.18638E-04
  16  Prefactor     12.277        23.284        .10784E-06    .60104E-01
  17  Prefactor     57.078        102.51       -.65868E-06   -.76094E-02
  18  norm          3.7212        7.2607        .50787E-07   -.20237E-04
  19  Prefactor     15.427        2.0347       -.77444E-07    .16873E-01
  20  Prefactor     .11102E-09    10.474        .38923E-06** at limit **
  21  Prefactor     5.7826        5.9358        .10298E-06   -.73876E-03
  22  Prefactor     .35584        14.714        .21343E-07   -.31669E-02
  23  Normalizat    .66787        .32076        .26596E-05   -.35170E-04
  24  Prefactor     1.3508        .31909        .12383E-05   -.41736E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.0681e-07
  norm       = 0
  norm       = 32.3199
  Prefactor  = 1.64807e-06
  Prefactor  = 25.2399
  norm       = 4.88218
  Prefactor  = 5.27356e-09
  Prefactor  = 0
  norm       = 2.22045e-10
  norm       = 45.4228
  norm       = 4.82697e-06
  norm       = 18.0657
  Prefactor  = 5.98632e-07
  Prefactor  = 13.1994
  norm       = 22.3139
  Prefactor  = 12.2771
  Prefactor  = 57.0784
  norm       = 3.7212
  Prefactor  = 15.427
  Prefactor  = 1.11022e-10
  Prefactor  = 5.78261
  Prefactor  = 0.355841
  Normalizat = 0.667873
  Prefactor  = 1.35079
 **********
 **   18 **HESSE 
 **********

 FCN=   2950.924     FROM HESSE     STATUS=OK           455 CALLS     2558 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30681E-06    21.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .87870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          32.320        24.367        .17614E-03   -1.5594    
   4  Prefactor     .16481E-05    26.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.240        23.755        .19913E-03   -1.5607    
   6  norm          4.8822        10.198        .45851E-03   -1.5664    
   7  Prefactor     .52736E-08    11.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        33.508        .17072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .22204E-09    9.7713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          45.423        13.581        .14816E-03   -1.5573    
  11  norm          .48270E-05    23.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.066        31.814        .23624E-03   -1.5623    
  13  Prefactor     .59863E-06    28.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.199        29.687        .27673E-03   -1.5635    
  15  norm          22.314        12.341        .21204E-03   -1.5613    
  16  Prefactor     12.277        37.261        .28895E-03   -1.5638    
  17  Prefactor     57.078        102.36        .13579E-03   -1.5557    
  18  norm          3.7212        7.2868        .52603E-03   -1.5669    
  19  Prefactor     15.427        22.750        .25466E-03   -1.5629    
  20  Prefactor     .11102E-09    10.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.7826        5.9856        .41928E-03   -1.5660    
  22  Prefactor     .35584        13.559        .88655E-02   -1.5696    
  23  Normalizat    .66787        .28969        .74008E-01   -1.0518    
  24  Prefactor     1.3508        .27371        .54719E-01   -.81809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07044e-07
Minuit parameter uncertainties:
  1  0.00513689
  2  5.53862e-07
  3  24.367
  4  0.013127
  5  23.7547
  6  10.1982
  7  0.00050184
  8  1.21187e-05
  9  8.94078e-05
  10  13.5811
  11  0.0212729
  12  31.8148
  13  0.00829475
  14  29.6876
  15  12.3411
  16  37.2616
  17  102.361
  18  7.28681
  19  22.7499
  20  6.9716e-05
  21  5.98565
  22  4.39318
  23  0.290358
  24  0.274007
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.807e+01  3.181e+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.351e+00  2.740e-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:  6.679e-01  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 198.688 23.812
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/548827/likelihoodResults_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.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) = 2950.44815567
delta logL = 0.475738870684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2950.41480433
delta logL = 0.509090216972

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0064       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4970       1.0000          .0000       5.0000    
     3 'Normalizat'    .58208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4026       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=   2950.415     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      259 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0215        161.15        .40946E-03    .15339E-02
   2  alpha         3.4963        4.2208        .28320        .35170E-04
   3  Normalizat    .58202        .10381        .78728E-01    .56745E-05
   4  Prefactor     1.4027        .92152E-01    .53788E-01   -.20566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.02153
  alpha      = 3.49628
  Normalizat = 0.582018
  Prefactor  = 1.40267
 **********
 **   18 **HESSE 
 **********

 FCN=   2950.415     FROM HESSE     STATUS=OK            31 CALLS      290 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0215        28.339        .12410E-04   -1.5659    
   2  alpha         3.4963        3.7999        .10666E-01    .40989    
   3  Normalizat    .58202        .34043        .34864E-03   -1.0875    
   4  Prefactor     1.4027        .33204        .23779E-03   -.80303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01346e-11
Minuit parameter uncertainties:
  1  26.1262
  2  2.53658
  3  0.341664
  4  0.332549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548827': 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) = 2950.4148033
delta logL = 0.509091247575

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  6.022e+00  2.613e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  3.496e+00  2.537e+00  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.403e+00  3.325e-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.820e-01  3.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 198.688 23.812
Photon Index (Free Index): 3.50 +/- 2.54
Photon Flux (Free Index): 9.60e-08 +/- 1.32e-07
Energy Flux (Free Index): 1.73e-05 +/- 1.75e-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/548827/cmap_HighResolution_698371201_698630401_4FGL_J1314.7+2348_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.85e-05', comment='SUCCESS', energy_flux2='1.73e-05', dlogl='5.09e-01', photon_flux2='9.60e-08', job_status='DONE', time_completed='2023-02-21 01:06:45.640443', photon_index_error2='2.54', photon_index2='3.50', ts='0.52', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.75e-05', EG='0.67', time_epoch_completed='1676970405.64', return_code='0', job_id='548827', GAL2='1.40', EG2='0.58', return_code2='0', photon_flux_error2='1.32e-07', ts2='1.61', photon_index='1.90' WHERE bin_id='1771' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:06:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 548827: <4FGL_J1314.7+2348_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:55:16 2023
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:55:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:55:17 2023
Terminated at Tue Feb 21 01:06:46 2023
Results reported at Tue Feb 21 01:06:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1771 198.688 23.8124 698371201 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 :                                   458.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            690 sec.

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

