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


Performing analysis on: 4FGL_J1314.7+2348_weekly_bin761
RA = 198.688, Dec = 23.8124
tmin = 699235201, tmax = 699840001
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='488298', job_status='RUN', time_executed='2023-03-07 01:11:00.027799', time_epoch_executed='1678180260.03' WHERE source_name='4FGL J1314.7+2348' and cadence='weekly' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488298

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488298/ft1_4FGL_J1314.7+2348_weekly_bin761.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488298/ft1_4FGL_J1314.7+2348_weekly_bin761.fits outfile=/scratch/kocevski/488298/ft1_filteredMKT_4FGL_J1314.7+2348_weekly_bin761.fits ra=198.688 dec=23.8124 rad=12.0 tmin=699235201.0 tmax=699840001.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.55
user 8.23
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.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/488298/ft1_filteredMKT_4FGL_J1314.7+2348_weekly_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1053

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/488298/ltcube_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.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/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits
.....................!
real 29.27
user 28.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/488298/ltcube_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.fits outfile=/scratch/kocevski/488298/expmap_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.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/488298/ltcube_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.fits
.....................!
real 191.30
user 185.52
sys 5.43

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/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.fits scfile=/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits outfile=/scratch/kocevski/488298/cmap_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.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/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.fits scfile=/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits outfile=/scratch/kocevski/488298/cmap_HighResolution_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/488298/ft2_4FGL_J1314.7+2348_weekly_bin761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/488298/Model_4FGL_J1314.7+2348_weekly_bin761.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/488298/ft1_filtered_4FGL_J1314.7+2348_weekly_bin761.fits.....................!
real 85.63
user 84.19
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9648       1.0000          .0000       .10000E+07
     2 'norm      '    .53283       1.0000          .0000       .10000E+07
     3 'norm      '    .25361E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9738       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4260       1.0000          .0000       .10000E+07
     6 'norm      '    .87593       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59698E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    16.252       1.0000          .0000       .10000E+07
     9 'norm      '    1.3447       1.0000          .0000       .10000E+07
    10 'norm      '    16.429       1.0000          .0000       .10000E+07
    11 'norm      '    7.4146       1.0000          .0000       .10000E+07
    12 'norm      '    .91893E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .44172E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.5175       1.0000          .0000       .10000E+07
    15 'norm      '    23.687       1.0000          .0000       .10000E+07
    16 'Prefactor '    .74133E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44724E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .39379E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .75793E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10722E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .88406       1.0000          .0000       .10000E+07
    22 'Prefactor '    10.465       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1352       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0150       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=   11714.21     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1572 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9942        4.8818       -.34630E-07   -.17558E-02
   2  norm          .53293        .26265       -.50074E-08   -.34293E-02
   3  norm           .0000        1.5752        .50519E-07** at limit **
   4  Prefactor     4.9711        5.5913        .16787E-08   -.28706E-03
   5  Prefactor     5.4261        5.0420        .17245E-07   -.56788E-03
   6  norm          .87924        2.0816       -.18110E-07   -.44462E-01
   7  Prefactor     .14322E-07    13.992        .18540E-06** at limit **
   8  Prefactor     16.132        3.1924       -.30757E-08   -.20336E-01
   9  norm          1.3437        1.7463        .50708E-08    .43440E-03
  10  norm          16.414        5.8199        .15033E-07   -.12763E-01
  11  norm          7.4602        8.6608       -.27664E-07    .23606E-01
  12  norm          .49960E-09    9.2528        .52325E-07** at limit **
  13  Prefactor      .0000        .91043        .46050E-07** at limit **
  14  Prefactor     8.4564        8.8505       -.42836E-07    .60844E-02
  15  norm          23.697        6.3884       -.15768E-07   -.10652E-01
  16  Prefactor      .0000        46.465       -.49045E-06** at limit **
  17  Prefactor     .22427E-07    13.828        .85339E-07** at limit **
  18  norm           .0000        1.9106       -.73840E-08** at limit **
  19  Prefactor     .36249E-07    13.782        .58004E-07** at limit **
  20  Prefactor     .19207E-07    16.626        .37267E-07** at limit **
  21  Prefactor     .87940        2.1340       -.30066E-07   -.19786E-02
  22  Prefactor     10.483        8.6584       -.61184E-08    .23237E-02
  23  Normalizat    1.1355        .15812       -.93763E-06    .87335E-04
  24  Prefactor     1.0149        .15776        .19761E-05    .14941E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99424
  norm       = 0.532934
  norm       = 0
  Prefactor  = 4.97113
  Prefactor  = 5.42609
  norm       = 0.879244
  Prefactor  = 1.43219e-08
  Prefactor  = 16.1319
  norm       = 1.34373
  norm       = 16.4142
  norm       = 7.46022
  norm       = 4.996e-10
  Prefactor  = 0
  Prefactor  = 8.4564
  norm       = 23.6967
  Prefactor  = 0
  Prefactor  = 2.24265e-08
  norm       = 0
  Prefactor  = 3.62488e-08
  Prefactor  = 1.92069e-08
  Prefactor  = 0.879396
  Prefactor  = 10.4827
  Normalizat = 1.13549
  Prefactor  = 1.01489
 **********
 **   18 **HESSE 
 **********

 FCN=   11714.21     FROM HESSE     STATUS=OK           449 CALLS     2021 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9942        4.8894        .37990E-03   -1.5655    
   2  norm          .53293        .26850        .75473E-03   -1.5693    
   3  norm           .0000        1.5665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9711        5.5920        .45070E-03   -1.5663    
   5  Prefactor     5.4261        5.0518        .43115E-03   -1.5661    
   6  norm          .87924        3.7457        .47439E-03   -1.5689    
   7  Prefactor     .14322E-07    14.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.132        16.992        .24817E-03   -1.5628    
   9  norm          1.3437        1.7719        .94413E-03   -1.5685    
  10  norm          16.414        6.2204        .24683E-03   -1.5627    
  11  norm          7.4602        9.7350        .36809E-03   -1.5653    
  12  norm          .49960E-09    9.2537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .90752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.4564        8.9144        .34324E-03   -1.5650    
  15  norm          23.697        6.4161        .20552E-03   -1.5611    
  16  Prefactor      .0000        46.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22427E-07    14.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.9123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .36249E-07    30.765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .19207E-07    29.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .87940        2.1483        .46868E-03   -1.5689    
  22  Prefactor     10.483        8.6570        .30948E-03   -1.5643    
  23  Normalizat    1.1355        .13580        .56803E-01   -.88620    
  24  Prefactor     1.0149        .13473        .42681E-01   -.92235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30552e-07
Minuit parameter uncertainties:
  1  4.88942
  2  0.268498
  3  6.13409e-06
  4  5.59198
  5  5.05185
  6  3.62953
  7  0.000911015
  8  16.9919
  9  1.77186
  10  6.22039
  11  9.73504
  12  0.000134431
  13  4.09499e-06
  14  8.91439
  15  6.41611
  16  2.25519e-05
  17  0.00114295
  18  6.655e-06
  19  0.00211261
  20  0.00150903
  21  2.1483
  22  8.657
  23  0.135839
  24  0.134771
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  4.996e-10  1.344e-04  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.015e+00  1.348e-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:  1.135e+00  1.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/488298/likelihoodResults_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.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) = 11714.260836
delta logL = -0.0525804425797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11714.0459815
delta logL = 0.162274104241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14461       1.0000          .0000       .10000E+07
     2 'alpha     '    4.5541       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0306       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11714.05     FROM MIGRAD    STATUS=FAILED        99 CALLS      289 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14351        22.533        .65367E-04** at limit **
   2  alpha         4.5604        4.2798        .11336E-01   -.16564E-04
   3  Normalizat    1.1107        .10262        .25352E-03   -.19453E-03
   4  Prefactor     1.0302        .10220        .26727E-03    .14879E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11714.05     FROM SIMPLEX   STATUS=UNCHANGED     98 CALLS      387 TOTAL
                     EDM=   .69E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14351        22.533        .71333E-05** at limit **
   2  alpha         4.5604        4.2798        .44770E-02   -.16564E-04
   3  Normalizat    1.1107        .10262        .53977E-04   -.19453E-03
   4  Prefactor     1.0302        .10220        .28399E-04    .14879E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11714.05     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      416 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14350        37.703        .13073E-04** at limit **
   2  alpha         4.5604        3.7624        .45343E-03   -.12235E-04
   3  Normalizat    1.1107        .15970        .10141E-04   -.18072E-03
   4  Prefactor     1.0302        .15835        .10691E-04    .15228E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.143499
  alpha      = 4.56043
  Normalizat = 1.11074
  Prefactor  = 1.03023
 **********
 **   18 **HESSE 
 **********

 FCN=   11714.05     FROM HESSE     STATUS=OK            23 CALLS      439 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14350        1.4760        .52294E-06   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.5604        4.6158        .90686E-04    .96874    
   3  Normalizat    1.1107        .15839        .20282E-05   -.89408    
   4  Prefactor     1.0302        .15850        .21382E-05   -.91728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70474e-10
Minuit parameter uncertainties:
  1  0.920453
  2  2.86114
  3  0.158459
  4  0.158571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488298': 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) = 11714.045968
delta logL = 0.162287591193

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.435e-01  9.205e-01  0.000e+00  1.000e+06 ( 1.000e-13)
309        alpha:  4.560e+00  2.861e+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.030e+00  1.586e-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:  1.111e+00  1.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.688 23.812

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/488298/cmap_HighResolution_699235201_699840001_4FGL_J1314.7+2348_weekly_bin761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.33e-05', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2023-03-07 01:25:11.691009', job_id='488298', GAL2='1.03', fit_tolerance='1e-08', EG2='1.11', EG='1.14', time_epoch_completed='1678181111.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.62e-01', ts2='0.34', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='761' AND source_name='4FGL J1314.7+2348' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar  7 01:25:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 488298: <4FGL_J1314.7+2348_weekly_bin761> in cluster <slac> Done

Job <4FGL_J1314.7+2348_weekly_bin761> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar  7 01:10:22 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar  7 01:10:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar  7 01:10:24 2023
Terminated at Tue Mar  7 01:25:12 2023
Results reported at Tue Mar  7 01:25:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_weekly_bin761 198.688 23.8124 699235201 699840001 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 :                                   851.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            890 sec.

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

