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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1779
RA = 204.424, Dec = -12.9517
tmin = 700444801, tmax = 700704001
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='27928', job_status='RUN', time_executed='2023-03-17 01:47:11.866918', time_epoch_executed='1679042831.87' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27928

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27928/ft1_4FGL_J1337.6-1257_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27928/ft1_4FGL_J1337.6-1257_daily_bin1779.fits outfile=/scratch/kocevski/27928/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1779.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.34
user 5.06
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27928/ft1_filtered_4FGL_J1337.6-1257_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/27928/ltcube_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.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/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits
.....................!
real 11.90
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27928/ft1_filtered_4FGL_J1337.6-1257_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/27928/ltcube_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.fits outfile=/scratch/kocevski/27928/expmap_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.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/27928/ltcube_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.fits
.....................!
real 190.77
user 185.59
sys 4.83

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/27928/ft1_filtered_4FGL_J1337.6-1257_daily_bin1779.fits scfile=/scratch/kocevski/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits outfile=/scratch/kocevski/27928/cmap_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27928/ft1_filtered_4FGL_J1337.6-1257_daily_bin1779.fits scfile=/scratch/kocevski/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits outfile=/scratch/kocevski/27928/cmap_HighResolution_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/27928/ft1_filtered_4FGL_J1337.6-1257_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/27928/ft2_4FGL_J1337.6-1257_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27928/Model_4FGL_J1337.6-1257_daily_bin1779.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/27928/ft1_filtered_4FGL_J1337.6-1257_daily_bin1779.fits.....................!
real 86.29
user 84.83
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5283       1.0000          .0000       .10000E+07
     2 'norm      '    2.1789       1.0000          .0000       .10000E+07
     3 'norm      '    37.403       1.0000          .0000       .10000E+07
     4 'norm      '    .17079E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23912E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16010E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.782       1.0000          .0000       .10000E+07
     8 'norm      '    5.6938       1.0000          .0000       .10000E+07
     9 'norm      '    1.0474       1.0000          .0000       .10000E+07
    10 'norm      '    .67214       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29886E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.7865       1.0000          .0000       .10000E+07
    13 'norm      '    27.303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48059E-05   1.0000          .0000       .10000E+07
    15 'norm      '    1.6864       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82428E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .12733E-03   1.0000          .0000       .10000E+07
    18 'norm      '    33.328       1.0000          .0000       .10000E+07
    19 'norm      '    .35800E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .55471E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0506       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=   11706.83     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1761 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5245        3.0944        .23685E-07    .25967E-03
   2  norm          2.1784        1.6797        .16769E-07    .13657E-02
   3  norm          37.420        3.3154        .42623E-08   -.71305E-01
   4  norm          .55511E-10    2.7242       -.26637E-07** at limit **
   5  Prefactor     .64948E-08    7.3987       -.32943E-07** at limit **
   6  Prefactor     .55511E-10    2.5194       -.46560E-07** at limit **
   7  Prefactor     15.729        1.0872        .18116E-08    .30732E-02
   8  norm          5.6922        1.6765       -.64810E-08   -.17181E-02
   9  norm          1.0558        2.3234        .65009E-07    .19521E-02
  10  norm          .65918        4.2117        .14656E-06    .16298E-02
  11  Prefactor     .10381E-07    8.1828       -.27942E-08** at limit **
  12  Prefactor     1.7718        1.6445       -.43478E-08    .20911E-02
  13  norm          27.355        1.0120        .12760E-09   -.43001E-02
  14  Prefactor     .21649E-08    11.650       -.11458E-07** at limit **
  15  norm          1.6868        2.9017        .26414E-07    .55261E-03
  16  Prefactor      .0000        1.3984       -.92965E-09** at limit **
  17  norm           .0000        1.3676        .11538E-07** at limit **
  18  norm          33.326        4.0522       -.14876E-07   -.46476E-02
  19  norm          .94369E-09    22.442        .19287E-08** at limit **
  20  Prefactor     .65903E-06    .93670        .29663E-07** at limit **
  21  Normalizat    1.1079        .21988        .60871E-06   -.30993E-04
  22  Prefactor     1.0507        .11762       -.73230E-06   -.89640E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.52447
  norm       = 2.17837
  norm       = 37.4196
  norm       = 5.55112e-11
  Prefactor  = 6.4948e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 15.7287
  norm       = 5.69218
  norm       = 1.05584
  norm       = 0.65918
  Prefactor  = 1.03806e-08
  Prefactor  = 1.77183
  norm       = 27.3554
  Prefactor  = 2.16493e-09
  norm       = 1.68677
  Prefactor  = 0
  norm       = 0
  norm       = 33.3258
  norm       = 9.4369e-10
  Prefactor  = 6.59028e-07
  Normalizat = 1.1079
  Prefactor  = 1.05067
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.83     FROM HESSE     STATUS=OK           392 CALLS     2153 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5245        3.1470        .86323E-03   -1.5683    
   2  norm          2.1784        1.6851        .69718E-03   -1.5678    
   3  norm          37.420        12.312        .16353E-03   -1.5586    
   4  norm          .55511E-10    2.7288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .64948E-08    7.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    2.5309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.729        17.196        .25185E-03   -1.5629    
   8  norm          5.6922        1.6729        .42072E-03   -1.5660    
   9  norm          1.0558        3.5422        .12132E-02   -1.5687    
  10  norm          .65918        4.5442        .62999E-03   -1.5692    
  11  Prefactor     .10381E-07    8.4993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7718        62.426        .78244E-03   -1.5681    
  13  norm          27.355        30.917        .19141E-03   -1.5603    
  14  Prefactor     .21649E-08    11.644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6868        2.9284        .81052E-03   -1.5682    
  16  Prefactor      .0000        1.4008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.3719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          33.326        4.0670        .17324E-03   -1.5593    
  19  norm          .94369E-09    22.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .65903E-06    6.8803        .15329E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1079        .19235        .81264E-01   -.89499    
  22  Prefactor     1.0507        .10122        .39875E-01   -.91059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47089e-08
Minuit parameter uncertainties:
  1  3.14705
  2  1.68507
  3  12.312
  4  1.87586e-05
  5  0.000443138
  6  2.03261e-05
  7  17.1965
  8  1.67286
  9  3.54218
  10  3.46146
  11  0.000594603
  12  21.0343
  13  30.9167
  14  0.000318037
  15  2.92845
  16  8.19687e-07
  17  1.70106e-06
  18  4.06701
  19  0.000286983
  20  0.00425877
  21  0.192474
  22  0.101239
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  6.592e-01  3.461e+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:  1.051e+00  1.012e-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.108e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/27928/likelihoodResults_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.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) = 11706.8252987
delta logL = 1.88494286704e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11706.8252948
delta logL = 2.27374021051e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66268       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2914       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0506       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=   11706.83     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      267 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66191        4.6068        .25516E-04    .19871E-03
   2  alpha         2.2908        1.9112        .75060E-01    .46338E-05
   3  Normalizat    1.1080        .21223        .35976E-03    .14562E-03
   4  Prefactor     1.0507        .11558        .19911E-03    .23551E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.66191
  alpha      = 2.29082
  Normalizat = 1.10795
  Prefactor  = 1.05066
 **********
 **   18 **HESSE 
 **********

 FCN=   11706.83     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66191        4.0243        .10207E-05   -1.5692    
   2  alpha         2.2908        1.8226        .30024E-02   -.83771E-01
   3  Normalizat    1.1080        .21237        .14390E-04   -.89497    
   4  Prefactor     1.0507        .11561        .39823E-04   -.91059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50333e-11
Minuit parameter uncertainties:
  1  3.26419
  2  2.04447
  3  0.212529
  4  0.115642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27928': 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) = 11706.8252944
delta logL = 2.31398225878e-05

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  6.619e-01  3.264e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.291e+00  2.044e+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:  1.051e+00  1.156e-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.108e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/27928/cmap_HighResolution_700444801_700704001_4FGL_J1337.6-1257_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='6.15e-08', time_completed='2023-03-17 02:00:31.568290', job_id='27928', GAL2='1.05', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1679043631.57', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.31e-05', ts2='0.05', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1779' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:00:31 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 27928: <4FGL_J1337.6-1257_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:45:25 2023
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:45:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:45:26 2023
Terminated at Fri Mar 17 02:00:32 2023
Results reported at Fri Mar 17 02:00:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1779 204.424 -12.9517 700444801 700704001 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 :                                   801.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            907 sec.

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

