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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1747
RA = 204.424, Dec = -12.9517
tmin = 692150401, tmax = 692409601
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='802256', job_status='RUN', time_executed='2022-12-11 00:57:31.017031', time_epoch_executed='1670749051.02' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/802256

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/802256/ft1_4FGL_J1337.6-1257_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/802256/ft2_4FGL_J1337.6-1257_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/802256/ft1_4FGL_J1337.6-1257_daily_bin1747.fits outfile=/scratch/kocevski/802256/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1747.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.76
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 923

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/802256/ft1_filtered_4FGL_J1337.6-1257_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/802256/ft2_4FGL_J1337.6-1257_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/802256/ltcube_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.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/802256/ft2_4FGL_J1337.6-1257_daily_bin1747.fits
.....................!
real 11.71
user 11.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/802256/ft1_filtered_4FGL_J1337.6-1257_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/802256/ft2_4FGL_J1337.6-1257_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/802256/ltcube_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.fits outfile=/scratch/kocevski/802256/expmap_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.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/802256/ltcube_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.fits
.....................!
real 191.50
user 186.38
sys 4.77

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/802256/ft1_filtered_4FGL_J1337.6-1257_daily_bin1747.fits scfile=/scratch/kocevski/802256/ft2_4FGL_J1337.6-1257_daily_bin1747.fits outfile=/scratch/kocevski/802256/cmap_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.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.54
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/802256/ft1_filtered_4FGL_J1337.6-1257_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/802256/ft2_4FGL_J1337.6-1257_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/802256/Model_4FGL_J1337.6-1257_daily_bin1747.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/802256/ft1_filtered_4FGL_J1337.6-1257_daily_bin1747.fits.....................!
real 74.37
user 72.92
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'norm      '    .97094       1.0000          .0000       .10000E+07
     3 'norm      '    .16176E-06   1.0000          .0000       .10000E+07
     4 'norm      '    1.2941       1.0000          .0000       .10000E+07
     5 'Prefactor '    .74385E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.068       1.0000          .0000       .10000E+07
     7 'Prefactor '    .19322E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.5532       1.0000          .0000       .10000E+07
     9 'norm      '    2.0741       1.0000          .0000       .10000E+07
    10 'norm      '    2.2999       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20393E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10755E-03   1.0000          .0000       .10000E+07
    13 'norm      '    22.973       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.2313       1.0000          .0000       .10000E+07
    15 'norm      '    .73472       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    17 'norm      '    6.0335       1.0000          .0000       .10000E+07
    18 'norm      '    29.755       1.0000          .0000       .10000E+07
    19 'norm      '    .67929E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.1455       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2838       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82752       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=   9784.372     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1717 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.356        1.2254       -.57772E-07    .14466E-01
   2  norm          .97047        1.8355       -.21769E-07   -.43204E-03
   3  norm          .24980E-08    3.2300       -.70968E-07** at limit **
   4  norm          1.3443        4.3229       -.21765E-06    .11789E-03
   5  Prefactor      .0000        1.8887        .74929E-07** at limit **
   6  Prefactor     11.051        3.1226        .63381E-06    .38266E-01
   7  Prefactor     .22093E-07    7.1374       -.11014E-05** at limit **
   8  norm          2.5530        1.4427        .10965E-07    .14226E-01
   9  norm          2.0732        2.5161       -.30132E-07    .73628E-03
  10  norm          2.2970        5.1932        .70646E-07    .27407E-02
  11  Prefactor     .13323E-08    10.150        .72575E-06** at limit **
  12  Prefactor     .49405E-08    6.2558        .79734E-06** at limit **
  13  norm          22.108        22.511       -.54451E-06    .26474E-02
  14  Prefactor     8.0959        5.5296       -.98976E-06    .56355E-01
  15  norm          .74124        2.4333       -.19757E-05   -.24649E-01
  16  Prefactor      .0000        1.4810        .18305E-07** at limit **
  17  norm          6.0152        5.5461       -.33278E-07    .56821E-02
  18  norm          29.780        4.3450       -.89017E-08    .24404E-02
  19  norm          .11102E-09    2.5131        .16920E-06** at limit **
  20  Prefactor     5.1424        1.0604        .20999E-07   -.88223E-03
  21  Normalizat    1.2844        .22620       -.65863E-06   -.22512E-04
  22  Prefactor     .82758        .11842        .28956E-05   -.12721E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3559
  norm       = 0.970466
  norm       = 2.498e-09
  norm       = 1.34425
  Prefactor  = 0
  Prefactor  = 11.0512
  Prefactor  = 2.20934e-08
  norm       = 2.55296
  norm       = 2.07318
  norm       = 2.29699
  Prefactor  = 1.33227e-09
  Prefactor  = 4.94049e-09
  norm       = 22.1076
  Prefactor  = 8.09589
  norm       = 0.741239
  Prefactor  = 0
  norm       = 6.01522
  norm       = 29.7802
  norm       = 1.11022e-10
  Prefactor  = 5.14239
  Normalizat = 1.28435
  Prefactor  = 0.82758
 **********
 **   18 **HESSE 
 **********

 FCN=   9784.372     FROM HESSE     STATUS=OK           392 CALLS     2109 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.356        7.9782        .23345E-03   -1.5622    
   2  norm          .97047        1.8355        .42734E-03   -1.5688    
   3  norm          .24980E-08    3.2604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3443        4.3878        .97231E-03   -1.5685    
   5  Prefactor      .0000        1.8894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.051        6.9693        .30089E-03   -1.5641    
   7  Prefactor     .22093E-07    7.4959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5530        1.4441        .63872E-03   -1.5676    
   9  norm          2.0732        2.5735        .71693E-03   -1.5679    
  10  norm          2.2970        5.3035        .67644E-03   -1.5678    
  11  Prefactor     .13323E-08    10.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .49405E-08    6.3174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          22.108        22.551        .20869E-03   -1.5614    
  14  Prefactor     8.0959        9.3269        .34920E-03   -1.5651    
  15  norm          .74124        4.2096        .57933E-03   -1.5691    
  16  Prefactor      .0000        1.4793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.0152        5.5669        .40853E-03   -1.5659    
  18  norm          29.780        4.3554        .18335E-03   -1.5599    
  19  norm          .11102E-09    2.5134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.1424        16.547        .44296E-03   -1.5663    
  21  Normalizat    1.2844        .19732        .72440E-01   -.84035    
  22  Prefactor     .82758        .10106        .44074E-01   -.98720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92335e-07
Minuit parameter uncertainties:
  1  7.97817
  2  1.83553
  3  0.000181369
  4  4.38776
  5  4.76638e-06
  6  6.9693
  7  0.000814265
  8  1.44414
  9  2.57355
  10  5.30356
  11  0.000234347
  12  0.000353212
  13  22.5514
  14  9.32694
  15  3.53291
  16  7.91067e-06
  17  5.56691
  18  4.35545
  19  3.11736e-05
  20  16.547
  21  0.197434
  22  0.101086
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.297e+00  5.304e+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:  8.276e-01  1.011e-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.284e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 204.424 -12.952
Photon Flux Upper Limit: 8.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/802256/likelihoodResults_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.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) = 9784.3658524
delta logL = 0.00569195340358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9784.36534967
delta logL = 0.00619467951401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1802       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5868       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82946       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=   9784.365     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      283 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1757        7.1673        .13939E-03    .11662E-01
   2  alpha         2.5676        3.7750        .51622E-01    .92667E-04
   3  Normalizat    1.2784        .23563        .32121E-03   -.14936E-04
   4  Prefactor     .82940        .12021        .20520E-03   -.23158E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.17571
  alpha      = 2.56763
  Normalizat = 1.27838
  Prefactor  = 0.829402
 **********
 **   18 **HESSE 
 **********

 FCN=   9784.365     FROM HESSE     STATUS=OK            27 CALLS      310 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1757        5.2714        .27877E-04   -1.5678    
   2  alpha         2.5676        3.6244        .10324E-01    .27055E-01
   3  Normalizat    1.2784        .22861        .12848E-04   -.84214    
   4  Prefactor     .82940        .11779        .82082E-05   -.98653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90507e-13
Minuit parameter uncertainties:
  1  5.27143
  2  2.71723
  3  0.228793
  4  0.117825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/802256': 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) = 9784.36530783
delta logL = 0.0062365175545

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.176e+00  5.271e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.568e+00  2.717e+00  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:  8.294e-01  1.178e-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.278e+00  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
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/802256/cmap_HighResolution_692150401_692409601_4FGL_J1337.6-1257_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-05', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2022-12-11 01:08:54.395581', job_id='802256', GAL2='0.83', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1670749734.4', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.24e-03', ts2='0.30', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1747' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:08:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 802256: <4FGL_J1337.6-1257_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1747> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Dec 11 00:55:23 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:55:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:55:23 2022
Terminated at Sun Dec 11 01:08:55 2022
Results reported at Sun Dec 11 01:08:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1747 204.424 -12.9517 692150401 692409601 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 :                                   685.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            812 sec.

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

