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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1711
RA = 204.424, Dec = -12.9517
tmin = 682819201, tmax = 683078401
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='135192', job_status='RUN', time_executed='2022-09-16 17:45:33.079732', time_epoch_executed='1663375533.08' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135192/ft1_4FGL_J1337.6-1257_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135192/ft1_4FGL_J1337.6-1257_daily_bin1711.fits outfile=/scratch/kocevski/135192/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1711.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.60
user 4.34
sys 0.21

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

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

Number of photons that the gtmktime cut: 800

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135192/ft1_filtered_4FGL_J1337.6-1257_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/135192/ltcube_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.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/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits
.....................!
real 13.84
user 13.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135192/ft1_filtered_4FGL_J1337.6-1257_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/135192/ltcube_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.fits outfile=/scratch/kocevski/135192/expmap_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.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/135192/ltcube_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.fits
.....................!
real 191.07
user 185.73
sys 4.95

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/135192/ft1_filtered_4FGL_J1337.6-1257_daily_bin1711.fits scfile=/scratch/kocevski/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits outfile=/scratch/kocevski/135192/cmap_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.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/135192/ft1_filtered_4FGL_J1337.6-1257_daily_bin1711.fits scfile=/scratch/kocevski/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits outfile=/scratch/kocevski/135192/cmap_HighResolution_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=204.424 yref=-12.9517 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135192/ft1_filtered_4FGL_J1337.6-1257_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/135192/ft2_4FGL_J1337.6-1257_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135192/Model_4FGL_J1337.6-1257_daily_bin1711.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/135192/ft1_filtered_4FGL_J1337.6-1257_daily_bin1711.fits....................!
real 64.82
user 63.44
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1378       1.0000          .0000       .10000E+07
     2 'norm      '    .15173E-05   1.0000          .0000       .10000E+07
     3 'norm      '    4.4521       1.0000          .0000       .10000E+07
     4 'norm      '    .26673       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.7260       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23371E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31312E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .42155E-06   1.0000          .0000       .10000E+07
     9 'norm      '    2.3886       1.0000          .0000       .10000E+07
    10 'norm      '    10.053       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5978       1.0000          .0000       .10000E+07
    12 'Prefactor '    28.015       1.0000          .0000       .10000E+07
    13 'norm      '    .13875E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.602       1.0000          .0000       .10000E+07
    15 'norm      '    .18366E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11409E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .13118E-03   1.0000          .0000       .10000E+07
    18 'norm      '    13.200       1.0000          .0000       .10000E+07
    19 'norm      '    .21818E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .56461       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0534       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92849       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.

 FCN=   8536.439     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     1850 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1341        7.2258         .0000        .12415    
   2  norm           .0000        1.2210         .0000    ** at limit **
   3  norm          4.4531        8.6455         .0000       -.32989E-02
   4  norm          .27405        4.2735         .0000       -.82446E-02
   5  Prefactor     2.7311        6.3119         .0000        .47885E-02
   6  Prefactor     .14988E-08    4.0502         .0000    ** at limit **
   7  Prefactor     .11102E-08    79.962         .0000    ** at limit **
   8  norm          .55511E-10    2.4256         .0000    ** at limit **
   9  norm          2.3935        3.9129         .0000        .95503E-02
  10  norm          10.067        7.2437         .0000        .59200E-02
  11  Prefactor     4.5923        6.8713         .0000        .31771E-02
  12  Prefactor     29.079        24.257         .0000       -.12454E-03
  13  norm          .16653E-09    8.4689         .0000    ** at limit **
  14  Prefactor     14.542        9.5472         .0000       -.90337E-02
  15  norm           .0000        1.6342         .0000    ** at limit **
  16  Prefactor     .16653E-09    6.8888         .0000    ** at limit **
  17  norm          .14988E-08    4.2828         .0000    ** at limit **
  18  norm          13.206        3.4082         .0000        .34310E-02
  19  norm           .0000        1.9328         .0000    ** at limit **
  20  Prefactor     .27663        12.910         .0000        .21117E-02
  21  Normalizat    1.0530        .19039         .0000        .17279E-03
  22  Prefactor     .92845        .99647E-01     .0000        .92758E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.13413
  norm       = 0
  norm       = 4.45305
  norm       = 0.274051
  Prefactor  = 2.73111
  Prefactor  = 1.4988e-09
  Prefactor  = 1.11022e-09
  norm       = 5.55112e-11
  norm       = 2.39348
  norm       = 10.067
  Prefactor  = 4.59232
  Prefactor  = 29.0793
  norm       = 1.66533e-10
  Prefactor  = 14.5421
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 1.4988e-09
  norm       = 13.2062
  norm       = 0
  Prefactor  = 0.276633
  Normalizat = 1.05298
  Prefactor  = 0.928454
 **********
 **   18 **HESSE 
 **********

 FCN=   8536.439     FROM HESSE     STATUS=OK           354 CALLS     2204 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1341        7.2196        .14094E-03   -1.5679    
   2  norm           .0000        1.2332        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4531        8.6362        .19080E-04   -1.5666    
   4  norm          .27405        34.388        .37090E-03   -1.5697    
   5  Prefactor     2.7311        6.2896        .24661E-04   -1.5675    
   6  Prefactor     .14988E-08    4.0623        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-08    80.188        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    2.5247        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3935        3.8144        .18906E-04   -1.5677    
  10  norm          10.067        7.1234        .12632E-04   -1.5645    
  11  Prefactor     4.5923        6.8425        .18767E-04   -1.5665    
  12  Prefactor     29.079        24.251        .75586E-05   -1.5600    
  13  norm          .16653E-09    8.4690        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.542        9.5186        .10474E-04   -1.5632    
  15  norm           .0000        1.6375        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    7.0211        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .14988E-08    4.3012        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.206        3.4108        .83124E-05   -1.5635    
  19  norm           .0000        1.9338        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .27663        13.732        .97960E-02   -1.5697    
  21  Normalizat    1.0530        .21931        .32303E-03   -.91276    
  22  Prefactor     .92845        .11578        .18511E-03   -.95154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21381e-08
Minuit parameter uncertainties:
  1  7.21967
  2  7.20375e-06
  3  8.6362
  4  6.13973
  5  6.28964
  6  0.000154776
  7  0.000602438
  8  1.85864e-05
  9  3.81437
  10  7.12343
  11  6.84253
  12  24.2512
  13  7.75102e-05
  14  9.51861
  15  3.34705e-06
  16  6.58208e-05
  17  0.00016054
  18  3.41085
  19  2.19456e-06
  20  3.89803
  21  0.219494
  22  0.11581
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.285e-01  1.158e-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.053e+00  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.69
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 6.13e-08 +/- 4.33e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 1.56e-05

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) = 8536.08420499
delta logL = 0.355225916564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8536.0815298
delta logL = 0.357901107413

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1189       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9413       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94542       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=   8536.082     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      278 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1191        7.1421        .12165E-04   -.48353E-02
   2  alpha         2.9413        .84881        .12543E-01   -.45106E-04
   3  Normalizat    1.0009        .22384        .33020E-03    .56465E-05
   4  Prefactor     .94543        .11778        .18358E-03    .62486E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.11912
  alpha      = 2.94127
  Normalizat = 1.00094
  Prefactor  = 0.945427
 **********
 **   18 **HESSE 
 **********

 FCN=   8536.082     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1191        6.2262        .48661E-06   -1.5655    
   2  alpha         2.9413        .74220        .50173E-03    .17744    
   3  Normalizat    1.0009        .22225        .13208E-04   -.92999    
   4  Prefactor     .94543        .11727        .36717E-04   -.94571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32409e-10
Minuit parameter uncertainties:
  1  6.2262
  2  0.753945
  3  0.222459
  4  0.117305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135192': 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) = 8536.08152979
delta logL = 0.357901109694

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  7.119e+00  6.226e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.941e+00  7.539e-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.454e-01  1.173e-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.001e+00  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.66
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 2.94 +/- 0.75
Photon Flux (Free Index): 9.97e-08 +/- 6.44e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.17e-05

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/135192/cmap_HighResolution_682819201_683078401_4FGL_J1337.6-1257_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.13e-08', energy_flux2='2.24e-05', photon_flux_error='4.33e-08', dlogl='3.58e-01', energy_flux='2.21e-05', photon_flux2='9.97e-08', job_status='DONE', time_completed='2022-09-16 17:55:51.734844', photon_index_error2='0.75', photon_index2='2.94', ts='5.69', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='1.05', time_epoch_completed='1663376151.73', return_code='0', job_id='135192', GAL2='0.95', EG2='1.00', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='6.44e-08', ts2='6.66', photon_index='2.30' WHERE bin_id='1711' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:55:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 135192: <4FGL_J1337.6-1257_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1711> 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) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:42:53 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:53 2022
Terminated at Fri Sep 16 17:55:52 2022
Results reported at Fri Sep 16 17:55:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1711 204.424 -12.9517 682819201 683078401 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 :                                   620.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            928 sec.

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

