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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1708
RA = 204.424, Dec = -12.9517
tmin = 682041601, tmax = 682300801
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='135187', job_status='RUN', time_executed='2022-09-16 17:44:39.912492', time_epoch_executed='1663375479.91' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135187/ft1_4FGL_J1337.6-1257_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135187/ft1_4FGL_J1337.6-1257_daily_bin1708.fits outfile=/scratch/kocevski/135187/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1708.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=682041601.0 tmax=682300801.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.97
user 3.75
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.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/135187/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 975

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/135187/ltcube_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.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/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits
.....................!
real 12.95
user 12.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/135187/ltcube_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.fits outfile=/scratch/kocevski/135187/expmap_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.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/135187/ltcube_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.fits
.....................!
real 192.06
user 186.30
sys 5.41

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/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits scfile=/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits outfile=/scratch/kocevski/135187/cmap_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits scfile=/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits outfile=/scratch/kocevski/135187/cmap_HighResolution_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135187/Model_4FGL_J1337.6-1257_daily_bin1708.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/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits.....................!
real 77.09
user 75.70
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits', '/scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits', expMap='/scratch/kocevski/135187/expmap_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.fits', expCube='/scratch/kocevski/135187/ltcube_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135187/Model_4FGL_J1337.6-1257_daily_bin1708.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/135187/ft1_filtered_4FGL_J1337.6-1257_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/135187/ft2_4FGL_J1337.6-1257_daily_bin1708.fits
Exposure map: /scratch/kocevski/135187/expmap_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.fits
Exposure cube: /scratch/kocevski/135187/ltcube_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135187/Model_4FGL_J1337.6-1257_daily_bin1708.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) = 10219.9473412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.062       1.0000          .0000       .10000E+07
     2 'norm      '    1.7820       1.0000          .0000       .10000E+07
     3 'norm      '    5.7575       1.0000          .0000       .10000E+07
     4 'norm      '    .14059E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30151E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46787E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29942       1.0000          .0000       .10000E+07
     8 'norm      '    .86653E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .56730E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.9656       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45117E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    26.336       1.0000          .0000       .10000E+07
    13 'norm      '    .47810E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11596E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.1757       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18805E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .93139E-05   1.0000          .0000       .10000E+07
    18 'norm      '    7.1414       1.0000          .0000       .10000E+07
    19 'norm      '    .19236E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    16.708       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5883       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .73805       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=   10219.92     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1336 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.048        2.8666        .11720E-06    .50470E-01
   2  norm          1.7822        1.3951        .19558E-07    .95932E-03
   3  norm          5.7508        1.3370        .13432E-06    .14950E-01
   4  norm          .39968E-07    3.0115        .21585E-06** at limit **
   5  Prefactor     .18319E-08    1.8940       -.38753E-06** at limit **
   6  Prefactor     .21094E-08    1.8058        .38571E-06** at limit **
   7  Prefactor     .94841E-06    10.510       -.39711E-05** at limit **
   8  norm           .0000        .47389        .20053E-09** at limit **
   9  norm           .0000        1.7306       -.88009E-07** at limit **
  10  norm          6.0272        4.2917        .55424E-07    .23403E-02
  11  Prefactor     .27478E-07    4.2940       -.12887E-05** at limit **
  12  Prefactor     26.436        17.344        .27034E-05   -.26819E-01
  13  norm           .0000        7.2631        .90984E-06** at limit **
  14  Prefactor     .22204E-09    4.9016        .33249E-06** at limit **
  15  norm          3.1721        3.2314        .24120E-07   -.16612E-03
  16  Prefactor      .0000        1.2747        .11773E-06** at limit **
  17  norm           .0000        1.1716        .87185E-08** at limit **
  18  norm          7.1396        2.4741        .33349E-07    .76906E-03
  19  norm           .0000        1.1224        .85032E-07** at limit **
  20  Prefactor     16.839        1.2173       -.99140E-07   -.86497E-02
  21  Normalizat    1.5890        .20346        .78795E-06   -.14107E-03
  22  Prefactor     .73781        .10786       -.33625E-05   -.12599E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0482
  norm       = 1.78224
  norm       = 5.75077
  norm       = 3.9968e-08
  Prefactor  = 1.83187e-09
  Prefactor  = 2.10942e-09
  Prefactor  = 9.48408e-07
  norm       = 0
  norm       = 0
  norm       = 6.02722
  Prefactor  = 2.7478e-08
  Prefactor  = 26.4356
  norm       = 0
  Prefactor  = 2.22045e-10
  norm       = 3.17208
  Prefactor  = 0
  norm       = 0
  norm       = 7.13961
  norm       = 0
  Prefactor  = 16.8392
  Normalizat = 1.58897
  Prefactor  = 0.737809
 **********
 **   18 **HESSE 
 **********

 FCN=   10219.92     FROM HESSE     STATUS=OK           386 CALLS     1722 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.048        6.9375        .26684E-03   -1.5633    
   2  norm          1.7822        1.3912        .78361E-03   -1.5681    
   3  norm          5.7508        6.9555        .41835E-03   -1.5660    
   4  norm          .39968E-07    6.9176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18319E-08    2.0373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21094E-08    1.9291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94841E-06    6.0311        .10221E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .47164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0272        4.4325        .41088E-03   -1.5659    
  11  Prefactor     .27478E-07    6.6129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.436        19.516        .19490E-03   -1.5605    
  13  norm           .0000        7.8477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    4.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1721        3.2440        .56842E-03   -1.5672    
  16  Prefactor      .0000        1.2719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.1713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.1396        2.4769        .37513E-03   -1.5655    
  19  norm           .0000        1.1227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.839        15.705        .24476E-03   -1.5626    
  21  Normalizat    1.5890        .17731        .63576E-01   -.75308    
  22  Prefactor     .73781        .92877E-01    .42905E-01   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61029e-08
Minuit parameter uncertainties:
  1  6.93749
  2  1.39124
  3  6.95552
  4  0.00105197
  5  0.00012294
  6  0.000126935
  7  0.00478328
  8  9.42115e-08
  9  1.14069e-05
  10  4.43251
  11  0.000852865
  12  19.516
  13  1.3368e-05
  14  6.85111e-05
  15  3.24398
  16  4.74329e-06
  17  6.17751e-08
  18  2.47692
  19  5.3676e-06
  20  15.7053
  21  0.177377
  22  0.0928966
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  6.027e+00  4.433e+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:  7.378e-01  9.290e-02  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.589e+00  1.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.63
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 3.67e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 9.73e-06

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) = 10219.4751629
delta logL = 0.449523606645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10219.4742505
delta logL = 0.450436010906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1147       1.0000          .0000       .10000E+07
     2 'alpha     '    3.1138       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75370       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10219.47     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      272 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1142        5.2961        .10869E-04   -.94138E-02
   2  alpha         3.1142        1.0391        .14095E-01   -.75047E-04
   3  Normalizat    1.5372        .21223        .28490E-03   -.20266E-03
   4  Prefactor     .75370        .10950        .20624E-03   -.47483E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.11425
  alpha      = 3.11421
  Normalizat = 1.53719
  Prefactor  = 0.753698
 **********
 **   18 **HESSE 
 **********

 FCN=   10219.47     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1142        4.2475        .43476E-06   -1.5667    
   2  alpha         3.1142        .84211        .56381E-03    .24823    
   3  Normalizat    1.5372        .21020        .56980E-04   -.76739    
   4  Prefactor     .75370        .10886        .41249E-04   -1.0146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66801e-10
Minuit parameter uncertainties:
  1  4.24749
  2  0.860051
  3  0.21032
  4  0.108889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135187': 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) = 10219.4742503
delta logL = 0.450436224366

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  4.114e+00  4.247e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.114e+00  8.601e-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:  7.537e-01  1.089e-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.537e+00  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.75
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 3.11 +/- 0.86
Photon Flux (Free Index): 7.41e-08 +/- 5.10e-08
Energy Flux (Free Index): 1.53e-05 +/- 8.56e-06

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/135187/cmap_HighResolution_682041601_682300801_4FGL_J1337.6-1257_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.67e-08', energy_flux2='1.53e-05', photon_flux_error='2.70e-08', dlogl='4.50e-01', energy_flux='1.32e-05', photon_flux2='7.41e-08', job_status='DONE', time_completed='2022-09-16 17:55:02.528919', photon_index_error2='0.86', photon_index2='3.11', ts='4.63', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='8.56e-06', EG='1.59', time_epoch_completed='1663376102.53', return_code='0', job_id='135187', GAL2='0.75', EG2='1.54', return_code2='0', energy_flux_error='9.73e-06', photon_flux_error2='5.10e-08', ts2='5.75', photon_index='2.30' WHERE bin_id='1708' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:55:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 135187: <4FGL_J1337.6-1257_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1708> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:40:24 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:42:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:42:51 2022
Terminated at Fri Sep 16 17:55:03 2022
Results reported at Fri Sep 16 17:55:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1708 204.424 -12.9517 682041601 682300801 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 :                                   625.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            879 sec.

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

