/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 160 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1337.6-1257_daily_bin214
RA = 204.424, Dec = -12.9517
tmin = 294796801, tmax = 295056001
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='796342', job_status='RUN', time_executed='2021-09-08 04:35:08.459123', time_epoch_executed='1631100908.46' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/796342

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/796342/ft1_4FGL_J1337.6-1257_daily_bin214.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/796342/ft1_4FGL_J1337.6-1257_daily_bin214.fits outfile=/scratch/kocevski/796342/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin214.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=294796801.0 tmax=295056001.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.39
user 2.15
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/796342/ft1_filtered_4FGL_J1337.6-1257_daily_bin214.fits" evtable="EVENTS" scfile=/scratch/kocevski/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits sctable="SC_DATA" outfile=/scratch/kocevski/796342/ltcube_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.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/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits
.....................!
real 13.74
user 13.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/796342/ft1_filtered_4FGL_J1337.6-1257_daily_bin214.fits evtable="EVENTS" scfile=/scratch/kocevski/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits sctable="SC_DATA" expcube=/scratch/kocevski/796342/ltcube_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.fits outfile=/scratch/kocevski/796342/expmap_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.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/796342/ltcube_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.fits
.....................!
real 193.68
user 187.87
sys 5.28

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/796342/ft1_filtered_4FGL_J1337.6-1257_daily_bin214.fits scfile=/scratch/kocevski/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits outfile=/scratch/kocevski/796342/cmap_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.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/796342/ft1_filtered_4FGL_J1337.6-1257_daily_bin214.fits scfile=/scratch/kocevski/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits outfile=/scratch/kocevski/796342/cmap_HighResolution_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/796342/ft1_filtered_4FGL_J1337.6-1257_daily_bin214.fits evtable="EVENTS" scfile=/scratch/kocevski/796342/ft2_4FGL_J1337.6-1257_daily_bin214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/796342/Model_4FGL_J1337.6-1257_daily_bin214.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/796342/ft1_filtered_4FGL_J1337.6-1257_daily_bin214.fits.....................!
real 58.56
user 56.95
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.8443       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3903       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6338       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.368       1.0000         .10000E-03   10000.    
     8 'norm      '    4.8724       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0377       1.0000         .10000E-03   10000.    
    10 'norm      '    5.7475       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.899       1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.243       1.0000         .10000E-03   10000.    
    13 'norm      '    4.7714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.8523       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10485E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4037       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88431       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=   7036.572     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2539 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7803       -.27446E-06** at limit **
   2  norm          3.8444        2.7907        .56609E-07    .11917E-03
   3  norm          2.3891        9.2403        .64833E-06   -.16477E-04
   4  norm          .10000E-03    3.0138       -.17937E-08** at limit **
   5  Prefactor     .10000E-03    2.8099        .17662E-05** at limit **
   6  Prefactor     9.6348        8.1173        .91158E-06    .95644E-04
   7  Prefactor     18.312        27.745       -.66887E-05   -.81935E-04
   8  norm          4.8728        1.8136        .31392E-06    .13846E-03
   9  norm          2.0499        5.5962        .58713E-05   -.30186E-03
  10  norm          5.7441        6.4384        .78880E-06    .50214E-03
  11  Prefactor     28.899        17.028        .81555E-06    .11444E-04
  12  Prefactor     41.244        33.133        .55483E-06    .17797E-04
  13  norm          4.7587        22.252        .15360E-06    .42365E-05
  14  Prefactor     .10000E-03    6.3700       -.30298E-06** at limit **
  15  norm          .10000E-03    3.6879        .29820E-06** at limit **
  16  Prefactor     .10000E-03    7.5767        .28307E-05** at limit **
  17  Prefactor     .10000E-03    52.342        .18553E-05** at limit **
  18  norm          .10000E-03    6.9710       -.71052E-06** at limit **
  19  norm          .10000E-03    1.3658       -.37441E-07** at limit **
  20  norm          5.8504        8.7157       -.17376E-05   -.42112E-03
  21  Prefactor     .10001E-03    63.772       -.71358E-05** at limit **
  22  Normalizat    1.4035        .27810       -.87900E-05   -.21130E-03
  23  Prefactor     .88432        .13675        .33940E-05   -.11786E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.84443
  norm       = 2.38907
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.63479
  Prefactor  = 18.3122
  norm       = 4.87276
  norm       = 2.04989
  norm       = 5.74414
  Prefactor  = 28.899
  Prefactor  = 41.2436
  norm       = 4.75866
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.85037
  Prefactor  = 0.000100006
  Normalizat = 1.40355
  Prefactor  = 0.884323
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.572     FROM HESSE     STATUS=OK           368 CALLS     2907 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7933        .13659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8444        2.7904        .11568E-03   -1.5316    
   3  norm          2.3891        9.2471        .26490E-03   -1.5399    
   4  norm          .10000E-03    3.0151        .14222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8497        .13819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.6348        8.1122        .12911E-03   -1.5087    
   7  Prefactor     18.312        27.995        .93452E-04   -1.4852    
   8  norm          4.8728        1.8132        .65426E-04   -1.5266    
   9  norm          2.0499        5.6786        .11332E-02   -1.5422    
  10  norm          5.7441        6.4891        .16754E-03   -1.5229    
  11  Prefactor     28.899        17.032        .74527E-04   -1.4632    
  12  Prefactor     41.244        33.155        .62418E-04   -1.4423    
  13  norm          4.7587        22.234        .18419E-03   -1.5272    
  14  Prefactor     .10000E-03    6.3845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.8363        .31449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.0090        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    52.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.0697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.3817        .95571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.8504        8.7512        .16601E-03   -1.5224    
  21  Prefactor     .10001E-03    64.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4035        .28967        .32752E-03   -.80526    
  23  Prefactor     .88432        .14479        .20824E-03   -.96691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3003e-09
Minuit parameter uncertainties:
  1  9.15764e-06
  2  2.79052
  3  9.25262
  4  3.64256e-07
  5  8.24836e-05
  6  8.11314
  7  28.0148
  8  1.81317
  9  5.68009
  10  6.48993
  11  17.0349
  12  33.1697
  13  20.5846
  14  8.46198e-06
  15  8.55036e-06
  16  0.000252744
  17  0.000588491
  18  2.45673e-05
  19  2.0389e-05
  20  8.75313
  21  0.00128623
  22  0.290009
  23  0.144857
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  5.744e+00  6.490e+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:  8.843e-01  1.449e-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.404e+00  2.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.42e-05

TS (Fixed Index): 2.06
Ra Dec: 204.424 -12.952
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/796342/likelihoodResults_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.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) = 7036.43229802
delta logL = 0.139678379937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7036.41858521
delta logL = 0.153391191145

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0795       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1113       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90241       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=   7036.419     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      255 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0793        7.1686        .14043E-03   -.21721E-03
   2  alpha         3.1114        1.3429        .16742E-01   -.99232E-05
   3  Normalizat    1.3402        .29919        .33367E-03   -.54617E-04
   4  Prefactor     .90236        .14743        .20631E-03   -.12988E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.07925
  alpha      = 3.11142
  Normalizat = 1.34024
  Prefactor  = 0.902355
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.419     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0793        6.0353        .56172E-05   -1.5257    
   2  alpha         3.1114        1.1458        .66966E-03    .24707    
   3  Normalizat    1.3402        .29451        .13347E-04   -.82373    
   4  Prefactor     .90236        .14622        .82523E-05   -.96059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87455e-11
Minuit parameter uncertainties:
  1  6.03598
  2  1.19346
  3  0.294884
  4  0.146287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/796342': 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) = 7036.41858513
delta logL = 0.153391273064

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  5.079e+00  6.036e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  3.111e+00  1.193e+00  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.024e-01  1.463e-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.340e+00  2.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.52
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 3.11 +/- 1.19
Photon Flux (Free Index): 9.11e-08 +/- 1.08e-07
Energy Flux (Free Index): 1.88e-05 +/- 1.64e-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/796342/cmap_HighResolution_294796801_295056001_4FGL_J1337.6-1257_daily_bin214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-05', comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.88e-05', photon_flux_error='3.95e-08', dlogl='1.53e-01', energy_flux='1.26e-05', photon_flux2='9.11e-08', job_status='DONE', time_completed='2021-09-08 04:46:17.959732', photon_index_error2='1.19', photon_index2='3.11', ts='2.06', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.64e-05', EG='1.40', time_epoch_completed='1631101577.96', return_code='0', job_id='796342', GAL2='0.90', EG2='1.34', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='1.08e-07', ts2='2.52', photon_index='2.30' WHERE bin_id='214' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 04:46:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 796342: <4FGL_J1337.6-1257_daily_bin214> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin214> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 04:30:46 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:32:18 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:32:18 2021
Terminated at Wed Sep  8 04:46:18 2021
Results reported at Wed Sep  8 04:46:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin214 204.424 -12.9517 294796801 295056001 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            932 sec.

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

