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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1767
RA = 204.424, Dec = -12.9517
tmin = 697334401, tmax = 697593601
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='78879', job_status='RUN', time_executed='2023-02-09 01:19:08.043622', time_epoch_executed='1675934348.04' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78879/ft1_4FGL_J1337.6-1257_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78879/ft1_4FGL_J1337.6-1257_daily_bin1767.fits outfile=/scratch/kocevski/78879/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1767.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=697334401.0 tmax=697593601.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.58
user 3.33
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.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/78879/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/78879/ltcube_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.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/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits
.....................!
real 16.00
user 15.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/78879/ltcube_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.fits outfile=/scratch/kocevski/78879/expmap_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.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/78879/ltcube_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.fits
.....................!
real 195.93
user 189.47
sys 5.99

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

Setting source of interest to:
4FGL J1337.6-1257 @ 204.424 -12.9517

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits scfile=/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits outfile=/scratch/kocevski/78879/cmap_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.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=204.424 yref=-12.9517 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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits scfile=/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits outfile=/scratch/kocevski/78879/cmap_HighResolution_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.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=204.424 yref=-12.9517 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78879/Model_4FGL_J1337.6-1257_daily_bin1767.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/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits.....................!
real 69.07
user 67.58
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits', '/scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits', expMap='/scratch/kocevski/78879/expmap_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.fits', expCube='/scratch/kocevski/78879/ltcube_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/78879/Model_4FGL_J1337.6-1257_daily_bin1767.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.6-1257'

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  5.146e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.305e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  1.384e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  7.541e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/78879/ft1_filtered_4FGL_J1337.6-1257_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/78879/ft2_4FGL_J1337.6-1257_daily_bin1767.fits
Exposure map: /scratch/kocevski/78879/expmap_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.fits
Exposure cube: /scratch/kocevski/78879/ltcube_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/78879/Model_4FGL_J1337.6-1257_daily_bin1767.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) = 8738.80815398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6594       1.0000          .0000       .10000E+07
     2 'norm      '    .46629E-08   1.0000          .0000       .10000E+07
     3 'norm      '    5.7871       1.0000          .0000       .10000E+07
     4 'norm      '    9.2509       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45951E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.454       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9836       1.0000          .0000       .10000E+07
     8 'norm      '    1.4982       1.0000          .0000       .10000E+07
     9 'norm      '    8.8285       1.0000          .0000       .10000E+07
    10 'norm      '    4.2478       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10830E-01   1.0000          .0000       .10000E+07
    13 'norm      '    20.650       1.0000          .0000       .10000E+07
    14 'Prefactor '    .34871E-04   1.0000          .0000       .10000E+07
    15 'norm      '    7.9924       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12904E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .34162E-06   1.0000          .0000       .10000E+07
    18 'norm      '    26.073       1.0000          .0000       .10000E+07
    19 'norm      '    10.660       1.0000          .0000       .10000E+07
    20 'Prefactor '    23.056       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2081       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94425       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8738.788     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1738 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6332        6.8589        .37070E-06    .40536E-01
   2  norm           .0000        3.3743       -.59285E-06** at limit **
   3  norm          5.7904        6.2200       -.29794E-06   -.25829E-01
   4  norm          9.2532        1.9821       -.36513E-07    .25700E-01
   5  Prefactor     .55511E-10    12.927        .69247E-06** at limit **
   6  Prefactor     15.432        2.7056        .12804E-06   -.55724E-01
   7  Prefactor     4.9976        1.2756        .66764E-08    .81751E-02
   8  norm          1.4987        1.5098       -.49601E-07    .47121E-05
   9  norm          8.8384        4.3189        .10778E-06    .18453E-01
  10  norm          4.2199        6.2431       -.55520E-06   -.26679E-01
  11  Prefactor     2.3554        3.3153       -.24961E-06   -.29576E-02
  12  Prefactor     .11657E-08    19.364        .26648E-06** at limit **
  13  norm          20.686        1.0138       -.83033E-08    .71169E-02
  14  Prefactor     .14072E-06    3.0978       -.26436E-06** at limit **
  15  norm          8.0386        4.6780        .32497E-06   -.42042E-04
  16  Prefactor      .0000        3.3063       -.16304E-06** at limit **
  17  norm          .17220E-06    3.1160       -.90272E-06** at limit **
  18  norm          26.069        4.4440        .43404E-07    .39544E-03
  19  norm          10.661        1.2408        .34506E-07   -.11439E-01
  20  Prefactor     23.033        1.9063       -.71571E-07    .79152E-01
  21  Normalizat    1.2081        .26531        .17311E-04    .16268E-04
  22  Prefactor     .94425        .13626       -.83390E-05    .45617E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6332
  norm       = 0
  norm       = 5.7904
  norm       = 9.25319
  Prefactor  = 5.55112e-11
  Prefactor  = 15.4324
  Prefactor  = 4.99761
  norm       = 1.49873
  norm       = 8.83843
  norm       = 4.21994
  Prefactor  = 2.35536
  Prefactor  = 1.16573e-09
  norm       = 20.6859
  Prefactor  = 1.40721e-07
  norm       = 8.0386
  Prefactor  = 0
  norm       = 1.72196e-07
  norm       = 26.0693
  norm       = 10.6612
  Prefactor  = 23.0328
  Normalizat = 1.20814
  Prefactor  = 0.944254
 **********
 **   18 **HESSE 
 **********

 FCN=   8738.788     FROM HESSE     STATUS=OK           396 CALLS     2134 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6332        8.4662        .52780E-03   -1.5670    
   2  norm           .0000        .81441        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.7904        6.3049        .41726E-03   -1.5660    
   4  norm          9.2532        7.7017        .32927E-03   -1.5647    
   5  Prefactor     .55511E-10    12.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.432        11.245        .25451E-03   -1.5629    
   7  Prefactor     4.9976        17.987        .45025E-03   -1.5663    
   8  norm          1.4987        1.5262        .87473E-03   -1.5683    
   9  norm          8.8384        5.3134        .33710E-03   -1.5649    
  10  norm          4.2199        6.4449        .48864E-03   -1.5667    
  11  Prefactor     2.3554        9.8224        .66745E-03   -1.5677    
  12  Prefactor     .11657E-08    19.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          20.686        23.981        .22013E-03   -1.5617    
  14  Prefactor     .14072E-06    4.9488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.0386        4.6884        .35442E-03   -1.5651    
  16  Prefactor      .0000        3.3041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .17220E-06    5.2064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          26.069        4.5546        .19588E-03   -1.5606    
  19  norm          10.661        9.2493        .30662E-03   -1.5643    
  20  Prefactor     23.033        24.709        .20831E-03   -1.5612    
  21  Normalizat    1.2081        .23145        .80554E-01   -.86352    
  22  Prefactor     .94425        .11671        .45566E-01   -.94611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76447e-07
Minuit parameter uncertainties:
  1  8.46628
  2  2.48293e-06
  3  6.30489
  4  7.70175
  5  5.54182e-05
  6  11.2445
  7  17.9876
  8  1.52617
  9  5.31343
  10  6.44487
  11  9.61987
  12  0.000297241
  13  23.981
  14  0.00166904
  15  4.68836
  16  1.25412e-05
  17  0.00189374
  18  4.55459
  19  9.24931
  20  24.7095
  21  0.231651
  22  0.116738
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  4.220e+00  6.445e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.305e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  1.384e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  7.541e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.443e-01  1.167e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.208e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.71
Ra Dec: 204.424 -12.952
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/78879/likelihoodResults_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.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) = 8738.73677165
delta logL = 0.0509876151173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8738.73382541
delta logL = 0.0539338527524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8208       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5852       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+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.

 FCN=   8738.734     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      249 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8194        5.7939        .10322E-03   -.48593E-03
   2  alpha         2.5853        .89212        .23271E-01    .18265E-03
   3  Normalizat    1.2017        .25664        .35739E-03    .63620E-07
   4  Prefactor     .94587        .13489        .20844E-03   -.26180E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.81936
  alpha      = 2.58532
  Normalizat = 1.20169
  Prefactor  = 0.945867
 **********
 **   18 **HESSE 
 **********

 FCN=   8738.734     FROM HESSE     STATUS=OK            27 CALLS      276 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8194        5.4891        .41289E-05   -1.5669    
   2  alpha         2.5853        .84741        .46542E-02    .34135E-01
   3  Normalizat    1.2017        .25687        .14296E-04   -.86550    
   4  Prefactor     .94587        .13498        .83377E-05   -.94556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13535e-12
Minuit parameter uncertainties:
  1  5.48915
  2  0.864555
  3  0.257136
  4  0.13503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78879': 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) = 8738.73382536
delta logL = 0.053933899957

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  3.819e+00  5.489e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.585e+00  8.646e-01  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  1.384e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  7.541e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.459e-01  1.350e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.202e+00  2.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.71
Ra Dec: 204.424 -12.952

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/78879/cmap_HighResolution_697334401_697593601_4FGL_J1337.6-1257_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-05', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2023-02-09 01:30:12.850891', job_id='78879', GAL2='0.95', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1675935012.85', return_code2='0', ts='0.71', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.39e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1767' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:30:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 78879: <4FGL_J1337.6-1257_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1767> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Feb  9 01:15:30 2023
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:16:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:16:15 2023
Terminated at Thu Feb  9 01:30:13 2023
Results reported at Thu Feb  9 01:30:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1767 204.424 -12.9517 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1337.6-1257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   666.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            883 sec.

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

