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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1727
RA = 204.424, Dec = -12.9517
tmin = 686966401, tmax = 687225601
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='207424', job_status='RUN', time_executed='2022-10-12 00:15:35.870563', time_epoch_executed='1665558935.87' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207424

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207424/ft1_4FGL_J1337.6-1257_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207424/ft1_4FGL_J1337.6-1257_daily_bin1727.fits outfile=/scratch/kocevski/207424/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1727.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.93
user 2.71
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.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/207424/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.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.33
sys 0.15

Number of photons that the gtmktime cut: 54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/207424/ltcube_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.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/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits
.....................!
real 12.66
user 12.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/207424/ltcube_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.fits outfile=/scratch/kocevski/207424/expmap_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.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/207424/ltcube_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.fits
.....................!
real 193.33
user 188.00
sys 4.97

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/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.fits scfile=/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits outfile=/scratch/kocevski/207424/cmap_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.fits scfile=/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits outfile=/scratch/kocevski/207424/cmap_HighResolution_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.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/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/207424/ft2_4FGL_J1337.6-1257_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207424/Model_4FGL_J1337.6-1257_daily_bin1727.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/207424/ft1_filtered_4FGL_J1337.6-1257_daily_bin1727.fits...........................!
real 19.53
user 18.22
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     2 'norm      '    .10000E+07   1.0000          .0000       .10000E+07
     3 'norm      '    81.539       1.0000          .0000       .10000E+07
     4 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26090E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     8 'norm      '    .31586E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
    10 'norm      '    .23870E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .97700E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11047E-07   1.0000          .0000       .10000E+07
    13 'norm      '    94.226       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    15 'norm      '    .72164E-09   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.1556       1.0000          .0000       .10000E+07
    17 'norm      '     .0000       1.0000          .0000       .10000E+07
    18 'norm      '    15.429       1.0000          .0000       .10000E+07
    19 'norm      '    .96791E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    21 'Normalizat'    .15273       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90923       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=   625.9409     FROM MIGRAD    STATUS=CONVERGED    202 CALLS     3015 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E+07    .46697        .39006E-08   -.10271E-02
   2  norm          .10000E+07    1.7141        .30070E-07   -.77313E-02
   3  norm          81.484        2.3947       -.67355E-08   -.20093E-01
   4  norm          .75540E-04    43.991       -.55427E-06** at limit **
   5  Prefactor     .10000E+07    1.1341        .18840E-07   -.48938E-02
   6  Prefactor     .55202        65.294       -.31190E-06    .61887E-01
   7  Prefactor     .30043E-02    682.26       -.16126E-05** at limit **
   8  norm          .22204E-09    14.658        .11805E-05** at limit **
   9  norm          .19264E-03    202.92        .85222E-06** at limit **
  10  norm          .11292E-04    61.278       -.25472E-05** at limit **
  11  Prefactor     .83722E-04    56.286       -.14711E-05** at limit **
  12  Prefactor     .10084E-04    45.692       -.82929E-06** at limit **
  13  norm          94.200        2.1697       -.69494E-08   -.76699E-02
  14  Prefactor     .72396E-05    57.686        .98896E-06** at limit **
  15  norm          .14655E-06    44.465       -.55151E-06** at limit **
  16  Prefactor     4.1556        41.752        .30608E-06    .36057E-02
  17  norm           .0000        25.104       -.12523E-05** at limit **
  18  norm          15.420        12.026       -.21229E-06    .10114E-01
  19  norm          .10140E-01    219.10       -.13312E-05** at limit **
  20  Prefactor     .38858E-09    29.085       -.23974E-08** at limit **
  21  Normalizat    .15466        .92495        .12257E-04   -.24982E-05
  22  Prefactor     .90831        .41653        .79497E-05    .18641E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 999999
  norm       = 999999
  norm       = 81.4838
  norm       = 7.55395e-05
  Prefactor  = 999999
  Prefactor  = 0.552019
  Prefactor  = 0.0030043
  norm       = 2.22045e-10
  norm       = 0.00019264
  norm       = 1.12917e-05
  Prefactor  = 8.37219e-05
  Prefactor  = 1.00843e-05
  norm       = 94.2004
  Prefactor  = 7.2396e-06
  norm       = 1.46549e-07
  Prefactor  = 4.1556
  norm       = 0
  norm       = 15.4201
  norm       = 0.0101401
  Prefactor  = 3.88578e-10
  Normalizat = 0.15466
  Prefactor  = 0.908307
 **********
 **   18 **HESSE 
 **********

 FCN=   625.9409     FROM HESSE     STATUS=OK           378 CALLS     3393 TOTAL
                     EDM=   .13E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E+07    .70226E+06    .42118E-03    1.5688    
   2  norm          .10000E+07    60319.        .42118E-03    1.5689    
   3  norm          81.484        87.000        .11075E-03   -1.5527    
   4  norm          .75540E-04    144.47        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E+07    95029.        .42118E-03    1.5689    
   6  Prefactor     .55202        5990.7        .42118E-03   -1.5693    
   7  Prefactor     .30043E-02    1025.5        .42118E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .22204E-09    14.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .19264E-03    215.88        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .11292E-04    61.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .83722E-04    136.22        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10084E-04    141.72        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          94.200        109.82        .10302E-03   -1.5514    
  14  Prefactor     .72396E-05    58.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .14655E-06    44.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.1556        42.149        .49419E-03   -1.5667    
  17  norm           .0000        25.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.420        12.843        .25472E-03   -1.5629    
  19  norm          .10140E-01    75.668        .50577E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .38858E-09    29.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .15466        .43719        .17738       -1.8121    
  22  Prefactor     .90831        .27878        .45123E-01   -.95851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000125465
Minuit parameter uncertainties:
  1  1340.03
  2  472.489
  3  87.001
  4  0.208937
  5  602.4
  6  115.128
  7  3.51109
  8  0.000115547
  9  0.407876
  10  0.0528673
  11  0.213587
  12  0.07561
  13  109.825
  14  0.0410354
  15  0.00511271
  16  26.4693
  17  2.55014e-05
  18  12.8433
  19  1.75192
  20  0.000206152
  21  0.447609
  22  0.279221
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  1.129e-05  5.287e-02  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.083e-01  2.792e-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.547e-01  4.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.424 -12.952
Photon Flux Upper Limit: 2.26e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.13e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/207424/likelihoodResults_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.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): 102
logL (Free Index) = 625.941050315
delta logL = -0.000107739678697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 625.940953745
delta logL = -1.11694308771e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15525E-02   1.0000          .0000       .10000E+07
     2 'alpha     '    2.0551       1.0000          .0000       5.0000    
     3 'Normalizat'    .15482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90823       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   625.9409     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      247 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.931        .42118E-03** at limit **
   2  alpha         .21759E-01    .21546        .23703E-03     .0000    
   3  Normalizat    .15466        .40290        .13185E-04   -.22544E-05
   4  Prefactor     .90831        1.2528       -.44881E-05   -.46794E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.0217594
  Normalizat = 0.15466
  Prefactor  = 0.908307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   625.9409     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .17646        .13422        .23703E-03   -1.4388    
   3  Normalizat    .15466        .40290        .13185E-04   -1.3295    
   4  Prefactor     .90831        1.2528       -.44881E-05   -.95851    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.16662e-11
Minuit parameter uncertainties:
  1  7.32287e-06
  2  0.138255
  3  0.410972
  4  1.29631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207424': 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): 101
logL (Free Index) = 625.940942484
delta logL = 9.1239712674e-08

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  0.000e+00  7.323e-06  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.176e-02  1.383e-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.083e-01  1.296e+00  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.547e-01  4.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/207424/cmap_HighResolution_686966401_687225601_4FGL_J1337.6-1257_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.13e-04', job_status='DONE', photon_flux_upper_limit='2.26e-06', time_completed='2022-10-12 00:21:26.959770', job_id='207424', GAL2='0.91', fit_tolerance='1e-08', EG2='0.15', EG='0.15', time_epoch_completed='1665559286.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='9.12e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1727' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:21:26 PDT 2022

'SUCCESS', return_code='0', GAL='0.91', dlogl='9.12e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1727' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:20:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 206733: <4FGL_J1337.6-1257_daily_bin1727> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:07:37 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:08:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:08:22 2022
Terminated at Wed Oct 12 00:20:10 2022
Results reported at Wed Oct 12 00:20:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1727 204.424 -12.9517 686966401 687225601 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 :                                   362.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             216.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            753 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 207424: <4FGL_J1337.6-1257_daily_bin1727> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1727> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Oct 12 00:08:22 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:12:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:12:51 2022
Terminated at Wed Oct 12 00:21:27 2022
Results reported at Wed Oct 12 00:21:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1727 204.424 -12.9517 686966401 687225601 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 :                                   353.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            785 sec.

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

