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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin400
RA = 204.424, Dec = -12.9517
tmin = 343008001, tmax = 343267201
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='799152', job_status='RUN', time_executed='2021-09-08 04:40:47.862624', time_epoch_executed='1631101247.86' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/799152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/799152/ft1_4FGL_J1337.6-1257_daily_bin400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/799152/ft1_4FGL_J1337.6-1257_daily_bin400.fits outfile=/scratch/kocevski/799152/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin400.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=343008001.0 tmax=343267201.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.00
user 3.59
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/799152/ft1_filtered_4FGL_J1337.6-1257_daily_bin400.fits" evtable="EVENTS" scfile=/scratch/kocevski/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits sctable="SC_DATA" outfile=/scratch/kocevski/799152/ltcube_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.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/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits
.....................!
real 14.30
user 13.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/799152/ft1_filtered_4FGL_J1337.6-1257_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits sctable="SC_DATA" expcube=/scratch/kocevski/799152/ltcube_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.fits outfile=/scratch/kocevski/799152/expmap_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.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/799152/ltcube_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.fits
.....................!
real 192.09
user 187.35
sys 3.93

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/799152/ft1_filtered_4FGL_J1337.6-1257_daily_bin400.fits scfile=/scratch/kocevski/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits outfile=/scratch/kocevski/799152/cmap_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.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.56
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/799152/ft1_filtered_4FGL_J1337.6-1257_daily_bin400.fits scfile=/scratch/kocevski/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits outfile=/scratch/kocevski/799152/cmap_HighResolution_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/799152/ft1_filtered_4FGL_J1337.6-1257_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/799152/ft2_4FGL_J1337.6-1257_daily_bin400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799152/Model_4FGL_J1337.6-1257_daily_bin400.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/799152/ft1_filtered_4FGL_J1337.6-1257_daily_bin400.fits.....................!
real 76.21
user 74.85
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.086       1.0000         .10000E-03   10000.    
     2 'norm      '    4.3638       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3250       1.0000         .10000E-03   10000.    
     4 'norm      '    .10422E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1576       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11445E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.9806       1.0000         .10000E-03   10000.    
     9 'norm      '    .10191E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.1849       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12317E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8533       1.0000         .10000E-03   10000.    
    13 'norm      '    .10699E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.099       1.0000         .10000E-03   10000.    
    15 'norm      '    7.8929       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.613       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10875E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    23.702       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9393       1.0000         .10000E-03   10000.    
    20 'norm      '    .11420E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2999       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84043       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=   10235.39     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2138 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.089        7.5758       -.22726E-09   -.38671E-04
   2  norm          4.3598        2.2945        .24162E-07   -.33917E-04
   3  norm          1.3201        8.1090        .15479E-05   -.19741E-03
   4  norm          .10000E-03    2.8228        .62601E-09** at limit **
   5  Prefactor     .10000E-03    3.0338        .74808E-08** at limit **
   6  Prefactor     3.1650        6.9378        .28808E-06   -.10437E-03
   7  Prefactor     .10000E-03    12.123       -.11594E-05** at limit **
   8  norm          3.9816        1.6226        .18413E-07   -.15198E-03
   9  norm          .10000E-03    1.7029        .71281E-08** at limit **
  10  norm          8.2124        5.5877       -.39496E-07    .62518E-04
  11  Prefactor     .10000E-03    10.387       -.96834E-07** at limit **
  12  Prefactor     9.7758        14.268       -.12057E-05   -.21518E-03
  13  norm          .10000E-03    9.5058        .18420E-05** at limit **
  14  Prefactor     10.124        8.0172       -.12149E-06   -.50759E-04
  15  norm          7.8861        4.7619        .13882E-05   -.16940E-02
  16  Prefactor     36.592        7.3717        .54479E-06    .73911E-03
  17  Prefactor     .10000E-03    11.692       -.14168E-05** at limit **
  18  norm          23.753        8.8008       -.13428E-05   -.11246E-02
  19  norm          2.9379        2.3928        .15129E-06   -.65337E-04
  20  norm          .10000E-03    6.4368       -.53776E-06** at limit **
  21  Prefactor     .10000E-03    5.8153        .25333E-06** at limit **
  22  Normalizat    1.2997        .20400       -.54145E-06    .22132E-04
  23  Prefactor     .84045        .10239       -.86323E-07    .34860E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 20.0889
  norm       = 4.35976
  norm       = 1.32011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.16498
  Prefactor  = 0.0001
  norm       = 3.98163
  norm       = 0.0001
  norm       = 8.21243
  Prefactor  = 0.0001
  Prefactor  = 9.77576
  norm       = 0.000100001
  Prefactor  = 10.1237
  norm       = 7.88615
  Prefactor  = 36.5917
  Prefactor  = 0.000100001
  norm       = 23.7528
  norm       = 2.93791
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.29975
  Prefactor  = 0.840449
 **********
 **   18 **HESSE 
 **********

 FCN=   10235.39     FROM HESSE     STATUS=OK           370 CALLS     2508 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.089        7.5795        .89368E-04   -1.4811    
   2  norm          4.3598        2.2961        .10777E-03   -1.5290    
   3  norm          1.3201        8.3677        .38193E-03   -1.5478    
   4  norm          .10000E-03    2.8252        .16600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0436        .17206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1650        6.9778        .22810E-03   -1.5352    
   7  Prefactor     .10000E-03    12.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9816        1.6301        .77779E-04   -1.5309    
   9  norm          .10000E-03    1.7341        .12850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.2124        5.5678        .14014E-03   -1.5135    
  11  Prefactor     .10000E-03    10.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.7758        14.412        .12766E-03   -1.5083    
  13  norm          .10000E-03    9.6676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.124        8.0067        .12609E-03   -1.5072    
  15  norm          7.8861        5.3049        .71361E-03   -1.5146    
  16  Prefactor     36.592        7.5238        .66234E-04   -1.4497    
  17  Prefactor     .10000E-03    11.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          23.753        9.3211        .82278E-04   -1.4733    
  19  norm          2.9379        2.3897        .13448E-03   -1.5365    
  20  norm          .10000E-03    6.7180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.8275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2997        .23854        .33355E-03   -.83574    
  23  Prefactor     .84045        .11959        .21371E-03   -.98254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20341e-09
Minuit parameter uncertainties:
  1  7.57991
  2  2.29619
  3  6.6483
  4  6.30421e-08
  5  1.33924e-08
  6  6.97956
  7  0.000141143
  8  1.63015
  9  1.08544e-06
  10  5.56815
  11  9.14259e-06
  12  14.4173
  13  0.00019027
  14  8.00751
  15  5.30519
  16  7.52401
  17  0.000165529
  18  9.32162
  19  2.38974
  20  3.74832e-05
  21  2.05141e-05
  22  0.238738
  23  0.119625
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  8.212e+00  5.568e+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.404e-01  1.196e-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.300e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.46
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.00e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.22e-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) = 10235.3886662
delta logL = 0.00170037930366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10235.3885478
delta logL = 0.00181879805677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2663       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2640       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84004       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=   10235.39     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      270 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2922        5.8078        .69719E-03   -.16525E-03
   2  alpha         2.2676        .61274        .18388E-01    .14161E-03
   3  Normalizat    1.3014        .22151        .33338E-03    .27827E-04
   4  Prefactor     .83999        .11683        .21377E-03    .49566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.29223
  alpha      = 2.26759
  Normalizat = 1.30142
  Prefactor  = 0.839993
 **********
 **   18 **HESSE 
 **********

 FCN=   10235.39     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2922        5.7429        .27888E-04   -1.5132    
   2  alpha         2.2676        .60594        .36775E-02   -.93097E-01
   3  Normalizat    1.3014        .22164        .13335E-04   -.83524    
   4  Prefactor     .83999        .11691        .85506E-05   -.98271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79477e-11
Minuit parameter uncertainties:
  1  5.74325
  2  0.612092
  3  0.221803
  4  0.11694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/799152': 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) = 10235.3885133
delta logL = 0.00185331620014

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  8.292e+00  5.743e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.268e+00  6.121e-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:  8.400e-01  1.169e-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.301e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.46
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 2.27 +/- 0.61
Photon Flux (Free Index): 4.84e-08 +/- 4.23e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.24e-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/799152/cmap_HighResolution_343008001_343267201_4FGL_J1337.6-1257_daily_bin400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.00e-08', energy_flux2='1.81e-05', photon_flux_error='3.39e-08', dlogl='1.85e-03', energy_flux='1.80e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2021-09-08 04:52:46.221242', photon_index_error2='0.61', photon_index2='2.27', ts='4.46', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='1.30', time_epoch_completed='1631101966.22', return_code='0', job_id='799152', GAL2='0.84', EG2='1.30', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='4.23e-08', ts2='4.46', photon_index='2.30' WHERE bin_id='400' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 04:52:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 799152: <4FGL_J1337.6-1257_daily_bin400> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin400> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 04:40:27 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:40:33 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:40:33 2021
Terminated at Wed Sep  8 04:52:47 2021
Results reported at Wed Sep  8 04:52:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin400 204.424 -12.9517 343008001 343267201 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 :                                   713.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            740 sec.

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

