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


Performing analysis on: 4FGL_J1345.8+0706_weekly_bin749
RA = 206.465, Dec = 7.1072
tmin = 691977601, tmax = 692582401
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='528314', job_status='RUN', time_executed='2022-12-13 01:00:43.604674', time_epoch_executed='1670922043.6' WHERE source_name='4FGL J1345.8+0706' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/528314

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/528314/ft1_4FGL_J1345.8+0706_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/528314/ft1_4FGL_J1345.8+0706_weekly_bin749.fits outfile=/scratch/kocevski/528314/ft1_filteredMKT_4FGL_J1345.8+0706_weekly_bin749.fits ra=206.465 dec=7.1072 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.13
user 8.82
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.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/528314/ft1_filteredMKT_4FGL_J1345.8+0706_weekly_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.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.37
sys 0.16

Number of photons that the gtmktime cut: 1626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/528314/ltcube_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.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/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits
.....................!
real 26.02
user 25.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/528314/ltcube_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.fits outfile=/scratch/kocevski/528314/expmap_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.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/528314/ltcube_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.fits
.....................!
real 190.21
user 185.22
sys 4.62

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1345.8+0706 @ 206.465 7.1072

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits scfile=/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits outfile=/scratch/kocevski/528314/cmap_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.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=206.465 yref=7.1072 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits scfile=/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits outfile=/scratch/kocevski/528314/cmap_HighResolution_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.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=206.465 yref=7.1072 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/528314/Model_4FGL_J1345.8+0706_weekly_bin749.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/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits.....................!
real 115.06
user 113.59
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits', '/scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits', expMap='/scratch/kocevski/528314/expmap_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.fits', expCube='/scratch/kocevski/528314/ltcube_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/528314/Model_4FGL_J1345.8+0706_weekly_bin749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1345.8+0706'

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.852e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/528314/ft1_filtered_4FGL_J1345.8+0706_weekly_bin749.fits
Spacecraft file(s): /scratch/kocevski/528314/ft2_4FGL_J1345.8+0706_weekly_bin749.fits
Exposure map: /scratch/kocevski/528314/expmap_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.fits
Exposure cube: /scratch/kocevski/528314/ltcube_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/528314/Model_4FGL_J1345.8+0706_weekly_bin749.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) = 18038.9281356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19265E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.4154       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.7132       1.0000          .0000       .10000E+07
     4 'Prefactor '    34.179       1.0000          .0000       .10000E+07
     5 'norm      '    30.113       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7239       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.797       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.9134       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.3653       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4322       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0750       1.0000          .0000       .10000E+07
    12 'Prefactor '    63.135       1.0000          .0000       .10000E+07
    13 'norm      '    .33116E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3246       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .94400       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18038.85     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      782 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.8702        .17176E-06** at limit **
   2  Prefactor     7.4707        6.5879       -.34725E-06    .11955E-03
   3  Prefactor     5.7117        2.5175       -.57110E-06    .10972    
   4  Prefactor     34.647        22.113        .17695E-05   -.37679E-01
   5  norm          30.133        1.2876       -.88114E-08   -.39736E-01
   6  Prefactor     1.7238        1.5791        .39257E-06   -.21920E-02
   7  Prefactor     24.864        2.5190        .91662E-07   -.13889    
   8  Prefactor     2.9142        2.0084        .60448E-06    .58828E-02
   9  Prefactor     5.3228        6.9965       -.37640E-05   -.35935E-01
  10  Prefactor     1.4306        5.8181        .29110E-05    .13516E-02
  11  Prefactor     6.0444        5.9647       -.27100E-06    .58404E-02
  12  Prefactor     63.145        1.3545       -.36962E-07   -.40323E-01
  13  norm          .48295E-08    12.306        .12553E-06** at limit **
  14  Normalizat    1.3243        .15092        .46021E-05    .10104E-04
  15  Prefactor     .94404        .11156       -.17685E-05    .35641E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.47071
  Prefactor  = 5.71173
  Prefactor  = 34.6466
  norm       = 30.1326
  Prefactor  = 1.72381
  Prefactor  = 24.8643
  Prefactor  = 2.91421
  Prefactor  = 5.32283
  Prefactor  = 1.43063
  Prefactor  = 6.04441
  Prefactor  = 63.1454
  norm       = 4.82947e-09
  Normalizat = 1.32426
  Prefactor  = 0.944039
 **********
 **   18 **HESSE 
 **********

 FCN=   18038.85     FROM HESSE     STATUS=OK           218 CALLS     1000 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.8865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4707        6.5877        .36807E-03   -1.5653    
   3  Prefactor     5.7117        11.772        .41999E-03   -1.5660    
   4  Prefactor     34.647        22.666        .17107E-03   -1.5590    
   5  norm          30.133        17.796        .18226E-03   -1.5598    
   6  Prefactor     1.7238        1.5864        .79960E-03   -1.5682    
   7  Prefactor     24.864        15.811        .20086E-03   -1.5608    
   8  Prefactor     2.9142        2.0138        .59498E-03   -1.5674    
   9  Prefactor     5.3228        7.1038        .43363E-03   -1.5662    
  10  Prefactor     1.4306        6.1478        .90212E-03   -1.5684    
  11  Prefactor     6.0444        5.9678        .40711E-03   -1.5659    
  12  Prefactor     63.145        19.178        .12586E-03   -1.5549    
  13  norm          .48295E-08    12.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.3243        .12631        .60983E-01   -.82845    
  15  Prefactor     .94404        .92877E-01    .45563E-01   -.94619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55152e-07
Minuit parameter uncertainties:
  1  5.70203e-06
  2  6.58774
  3  11.7717
  4  22.6656
  5  17.7956
  6  1.58639
  7  15.8107
  8  2.01376
  9  7.1038
  10  5.93135
  11  5.96776
  12  19.1775
  13  0.000486755
  14  0.126339
  15  0.0928926
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.724e+00  1.586e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.440e-01  9.289e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.324e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 5.27e-06 +/- 4.85e-06

TS (Fixed Index): 2.74
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 5.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/528314/likelihoodResults_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.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) = 18038.445126
delta logL = 0.40702637775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18038.4230895
delta logL = 0.429062825668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3590       1.0000          .0000       .10000E+07
     2 'Index     '    1.7244       1.0000          .0000       10.000    
     3 'Normalizat'    1.3363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18038.42     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      206 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3587        1.3352        .93675E-03   -.37155E-02
   2  Index         1.7243        .45345        .27664       -.12559E-03
   3  Normalizat    1.3363        .12329        .60746E-01    .17275E-03
   4  Prefactor     .93979        .92285E-01    .45510E-01   -.50509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.35872
  Index      = 1.7243
  Normalizat = 1.3363
  Prefactor  = 0.939785
 **********
 **   18 **HESSE 
 **********

 FCN=   18038.42     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3587        1.6507        .14893E-04   -1.5685    
   2  Index         1.7243        .70223        .15634E-01   -.71437    
   3  Normalizat    1.3363        .14837        .26867E-03   -.82489    
   4  Prefactor     .93979        .11114        .23387E-03   -.94764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18181e-08
Minuit parameter uncertainties:
  1  1.65066
  2  0.706339
  3  0.148412
  4  0.111166
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/528314': 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) = 18038.4230895
delta logL = 0.429062837546

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.359e+00  1.651e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  1.724e+00  7.063e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.398e-01  1.112e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.336e+00  1.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.59
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.72 +/- 0.71
Photon Flux (Free Index): 6.16e-09 +/- 9.59e-09
Energy Flux (Free Index): 9.32e-06 +/- 1.32e-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/528314/cmap_HighResolution_691977601_692582401_4FGL_J1345.8+0706_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='9.32e-06', photon_flux_error='1.56e-08', dlogl='4.29e-01', energy_flux='5.27e-06', photon_flux2='6.16e-09', job_status='DONE', time_completed='2022-12-13 01:13:30.739045', photon_index_error2='0.71', photon_index2='1.72', ts='2.74', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='5.65e-08', energy_flux_error2='1.32e-05', EG='1.32', time_epoch_completed='1670922810.74', return_code='0', job_id='528314', GAL2='0.94', EG2='1.34', return_code2='0', energy_flux_error='4.85e-06', photon_flux_error2='9.59e-09', ts2='3.59', photon_index='2.44' WHERE bin_id='749' AND source_name='4FGL J1345.8+0706' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 01:13:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 528314: <4FGL_J1345.8+0706_weekly_bin749> in cluster <slac> Done

Job <4FGL_J1345.8+0706_weekly_bin749> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 13 01:00:29 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 01:00:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 01:00:29 2022
Terminated at Tue Dec 13 01:13:31 2022
Results reported at Tue Dec 13 01:13:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_weekly_bin749 206.465 7.1072 691977601 692582401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1345.8+0706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            782 sec.

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

