/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 17 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1379
RA = 204.424, Dec = -12.9517
tmin = 596764801, tmax = 597024001
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='805206', job_status='RUN', time_executed='2021-09-08 04:57:50.654427', time_epoch_executed='1631102270.65' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1379'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805206

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805206/ft1_4FGL_J1337.6-1257_daily_bin1379.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805206/ft1_4FGL_J1337.6-1257_daily_bin1379.fits outfile=/scratch/kocevski/805206/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1379.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=596764801.0 tmax=597024001.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.54
user 3.30
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits" evtable="EVENTS" scfile=/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits sctable="SC_DATA" outfile=/scratch/kocevski/805206/ltcube_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.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/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits
.....................!
real 14.53
user 14.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits evtable="EVENTS" scfile=/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits sctable="SC_DATA" expcube=/scratch/kocevski/805206/ltcube_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.fits outfile=/scratch/kocevski/805206/expmap_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.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/805206/ltcube_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.fits
.....................!
real 190.73
user 185.60
sys 4.65

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/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits scfile=/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits outfile=/scratch/kocevski/805206/cmap_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.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/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits scfile=/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits outfile=/scratch/kocevski/805206/cmap_HighResolution_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits evtable="EVENTS" scfile=/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805206/Model_4FGL_J1337.6-1257_daily_bin1379.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/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits.....................!
real 66.18
user 64.73
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits', '/scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits', expMap='/scratch/kocevski/805206/expmap_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.fits', expCube='/scratch/kocevski/805206/ltcube_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/805206/Model_4FGL_J1337.6-1257_daily_bin1379.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  1.000e-04  1.000e+04 ( 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  0.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/805206/ft1_filtered_4FGL_J1337.6-1257_daily_bin1379.fits
Spacecraft file(s): /scratch/kocevski/805206/ft2_4FGL_J1337.6-1257_daily_bin1379.fits
Exposure map: /scratch/kocevski/805206/expmap_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.fits
Exposure cube: /scratch/kocevski/805206/ltcube_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/805206/Model_4FGL_J1337.6-1257_daily_bin1379.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) = 8583.59981628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16143E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.7102       1.0000         .10000E-03   10000.    
     4 'norm      '    .17678E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5937       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7415       1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.066       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6870       1.0000         .10000E-03   10000.    
     9 'norm      '    .10470E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.340       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.162       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0758       1.0000         .10000E-03   10000.    
    13 'norm      '    .17176E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .32136E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    8.4409       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12921E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.9122       1.0000         .10000E-03   10000.    
    19 'norm      '    7.9555       1.0000         .10000E-03   10000.    
    20 'norm      '    33.330       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.025       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97379       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0042       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.

 FCN=   8583.469     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     1894 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6067       -.40343E-07** at limit **
   2  norm          .10000E-03    .91452       -.61026E-08** at limit **
   3  norm          6.7192        9.7277       -.73551E-06   -.24677E-03
   4  norm          .10000E-03    3.6522       -.20683E-07** at limit **
   5  Prefactor     5.6241        5.9942        .11983E-06    .65458E-04
   6  Prefactor     7.7827        7.4327        .18595E-05   -.67621E-03
   7  Prefactor     34.208        20.478       -.64980E-06   -.94486E-04
   8  norm          1.6892        1.3525        .64186E-07   -.20852E-03
   9  norm          .10000E-03    2.0438        .11319E-06** at limit **
  10  norm          12.348        6.9235        .51760E-06    .39088E-03
  11  Prefactor     16.458        15.229        .41253E-06    .39158E-03
  12  Prefactor     8.2783        23.516       -.89865E-06   -.22143E-04
  13  norm          .10000E-03    30.824        .38302E-05** at limit **
  14  Prefactor     .10002E-03    8.8356        .37809E-07** at limit **
  15  norm          8.4480        5.0074       -.67373E-07   -.25149E-04
  16  Prefactor     .10000E-03    1.8880        .34873E-07** at limit **
  17  Prefactor     .10000E-03    10.605       -.91565E-08** at limit **
  18  norm          1.9169        4.4527        .68213E-06   -.16890E-03
  19  norm          7.9453        3.0267       -.51485E-07   -.19995E-03
  20  norm          33.553        11.583        .30067E-06    .24214E-03
  21  Prefactor     17.801        18.532        .13904E-05    .22482E-03
  22  Normalizat    .97255        .22092       -.12461E-05   -.15935E-04
  23  Prefactor     1.0041        .11132       -.17730E-06   -.37720E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.71915
  norm       = 0.0001
  Prefactor  = 5.62406
  Prefactor  = 7.78271
  Prefactor  = 34.2076
  norm       = 1.68924
  norm       = 0.0001
  norm       = 12.3479
  Prefactor  = 16.4585
  Prefactor  = 8.27833
  norm       = 0.000100004
  Prefactor  = 0.000100023
  norm       = 8.44798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.91685
  norm       = 7.94532
  norm       = 33.5525
  Prefactor  = 17.801
  Normalizat = 0.972548
  Prefactor  = 1.00409
 **********
 **   18 **HESSE 
 **********

 FCN=   8583.469     FROM HESSE     STATUS=OK           384 CALLS     2278 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .92685        .86501E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.7192        9.8376        .15490E-03   -1.5189    
   4  norm          .10000E-03    3.6561        .17292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.6241        5.9997        .16986E-03   -1.5234    
   6  Prefactor     7.7827        7.8329        .72061E-03   -1.5150    
   7  Prefactor     34.208        18.620        .68657E-04   -1.4538    
   8  norm          1.6892        1.3424        .90860E-04   -1.5448    
   9  norm          .10000E-03    7.7195        .21856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.348        6.8721        .11403E-03   -1.5005    
  11  Prefactor     16.458        15.934        .99627E-04   -1.4896    
  12  Prefactor     8.2783        23.542        .14109E-03   -1.5132    
  13  norm          .10000E-03    32.259        .18217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    14.114        .69199E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.4480        5.0098        .13798E-03   -1.5127    
  16  Prefactor     .10000E-03    1.9085        .12421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9169        4.4497        .28932E-03   -1.5431    
  19  norm          7.9453        3.0314        .94854E-04   -1.5144    
  20  norm          33.553        11.606        .69409E-04   -1.4549    
  21  Prefactor     17.801        18.782        .94337E-04   -1.4864    
  22  Normalizat    .97255        .25334        .37354E-03   -.93956    
  23  Prefactor     1.0041        .12853        .19657E-03   -.92593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01841e-09
Minuit parameter uncertainties:
  1  1.83908e-06
  2  6.30452e-07
  3  9.83998
  4  3.04651e-07
  5  6.00031
  6  7.83397
  7  18.6231
  8  1.34239
  9  0.000100478
  10  6.87257
  11  15.9385
  12  23.5689
  13  0.000712122
  14  0.00113805
  15  5.01002
  16  3.1732e-07
  17  5.50514e-07
  18  4.45046
  19  3.03148
  20  11.6072
  21  18.7881
  22  0.253652
  23  0.128566
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  1.235e+01  6.873e+00  1.000e-04  1.000e+04 ( 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  0.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.004e+00  1.286e-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:  9.725e-01  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.96
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 7.52e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.51e-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) = 8582.72654541
delta logL = 0.742211043736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8582.71726484
delta logL = 0.751491607945

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.804       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7016       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99614       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.

 FCN=   8582.717     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      216 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.807        7.5985        .27986E-02    .62495E-03
   2  alpha         1.7008        .42931        .38871       -.25705E-04
   3  Normalizat    1.0020        .20527        .83316E-01    .26735E-04
   4  Prefactor     .99635        .10979        .46219E-01    .26324E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8066
  alpha      = 1.70076
  Normalizat = 1.00198
  Prefactor  = 0.996351
 **********
 **   18 **HESSE 
 **********

 FCN=   8582.717     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.807        7.5240        .55971E-03   -1.4992    
   2  alpha         1.7008        .47969        .15132E-01   -.32541    
   3  Normalizat    1.0020        .23492        .36883E-03   -.92964    
   4  Prefactor     .99635        .12618        .19728E-03   -.92851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32585e-10
Minuit parameter uncertainties:
  1  7.52457
  2  0.483031
  3  0.235166
  4  0.126217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805206': 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) = 8582.71726127
delta logL = 0.751495186298

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  1.281e+01  7.525e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.701e+00  4.830e-01  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  1.384e-01  0.000e+00  0.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.964e-01  1.262e-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.002e+00  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.45
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 1.70 +/- 0.48
Photon Flux (Free Index): 4.40e-08 +/- 3.37e-08
Energy Flux (Free Index): 3.78e-05 +/- 2.49e-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/805206/cmap_HighResolution_596764801_597024001_4FGL_J1337.6-1257_daily_bin1379.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.52e-08', energy_flux2='3.78e-05', photon_flux_error='4.18e-08', dlogl='7.51e-01', energy_flux='2.71e-05', photon_flux2='4.40e-08', job_status='DONE', time_completed='2021-09-08 05:08:31.623847', photon_index_error2='0.48', photon_index2='1.70', ts='9.96', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.49e-05', EG='0.97', time_epoch_completed='1631102911.62', return_code='0', job_id='805206', GAL2='1.00', EG2='1.00', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='3.37e-08', ts2='11.45', photon_index='2.30' WHERE bin_id='1379' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 05:08:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 805206: <4FGL_J1337.6-1257_daily_bin1379> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1379> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 04:55:42 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:57:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 04:57:15 2021
Terminated at Wed Sep  8 05:08:32 2021
Results reported at Wed Sep  8 05:08:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1379 204.424 -12.9517 596764801 597024001 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 :                                   612.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             366.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            770 sec.

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

