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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin404
RA = 204.424, Dec = -12.9517
tmin = 344044801, tmax = 344304001
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='799159', job_status='RUN', time_executed='2021-09-08 04:43:08.237625', time_epoch_executed='1631101388.24' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/799159

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/799159/ft1_4FGL_J1337.6-1257_daily_bin404.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/799159/ft1_4FGL_J1337.6-1257_daily_bin404.fits outfile=/scratch/kocevski/799159/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin404.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=344044801.0 tmax=344304001.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.48
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/799159/ft1_filtered_4FGL_J1337.6-1257_daily_bin404.fits" evtable="EVENTS" scfile=/scratch/kocevski/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits sctable="SC_DATA" outfile=/scratch/kocevski/799159/ltcube_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.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/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits
.....................!
real 14.83
user 14.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/799159/ft1_filtered_4FGL_J1337.6-1257_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits sctable="SC_DATA" expcube=/scratch/kocevski/799159/ltcube_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.fits outfile=/scratch/kocevski/799159/expmap_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.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/799159/ltcube_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.fits
.....................!
real 191.72
user 186.42
sys 4.90

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/799159/ft1_filtered_4FGL_J1337.6-1257_daily_bin404.fits scfile=/scratch/kocevski/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits outfile=/scratch/kocevski/799159/cmap_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/799159/ft1_filtered_4FGL_J1337.6-1257_daily_bin404.fits scfile=/scratch/kocevski/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits outfile=/scratch/kocevski/799159/cmap_HighResolution_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.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/799159/ft1_filtered_4FGL_J1337.6-1257_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/799159/ft2_4FGL_J1337.6-1257_daily_bin404.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799159/Model_4FGL_J1337.6-1257_daily_bin404.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/799159/ft1_filtered_4FGL_J1337.6-1257_daily_bin404.fits.....................!
real 75.11
user 73.73
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.583       1.0000         .10000E-03   10000.    
     2 'norm      '    .71669       1.0000         .10000E-03   10000.    
     3 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6096       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.829       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11758       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0426       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7877       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5804       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0818       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.650       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.282       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3016       1.0000         .10000E-03   10000.    
    19 'norm      '    .49848       1.0000         .10000E-03   10000.    
    20 'norm      '    7.0833       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.9666       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1913       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96131       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=   10325.01     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2266 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.583        8.9688       -.33421E-07   -.27401E-04
   2  norm          .71606        1.2971        .17845E-07    .53866E-06
   3  norm          .10000E-03    10.088       -.91117E-05** at limit **
   4  norm          .10000E-03    2.8527        .35517E-09** at limit **
   5  Prefactor     2.6097        8.0199        .12083E-07   -.39508E-03
   6  Prefactor     10.827        8.7250       -.83365E-08   -.12199E-04
   7  Prefactor     .10000E-03    6.9044       -.35372E-08** at limit **
   8  norm          .11766        .47151       -.43944E-06    .17942E-02
   9  norm          1.0420        1.8725        .28542E-07    .40527E-04
  10  norm          2.2350        3.0746       -.25844E-06   -.40355E-04
  11  Prefactor     1.7913        7.6811        .34164E-06   -.63438E-03
  12  Prefactor     .10000E-03    11.375        .11353E-04** at limit **
  13  norm          .10000E-03    19.614       -.29045E-05** at limit **
  14  Prefactor     2.5759        9.3095       -.38614E-06   -.53286E-03
  15  norm          2.0817        2.7742        .13326E-05    .38317E-05
  16  Prefactor     29.651        6.2609        .94013E-08    .52525E-04
  17  Prefactor     11.282        18.059        .56131E-07   -.69769E-05
  18  norm          2.3014        3.3804        .86472E-07   -.11254E-02
  19  norm          .49915        1.5519        .94659E-07   -.21235E-03
  20  norm          7.0833        6.0158        .64310E-07   -.18954E-03
  21  Prefactor     5.9661        14.611       -.85734E-06   -.65327E-05
  22  Normalizat    1.1913        .20086        .81675E-06    .15149E-03
  23  Prefactor     .96131        .10307       -.26096E-06    .23544E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.5832
  norm       = 0.716056
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.60975
  Prefactor  = 10.8267
  Prefactor  = 0.0001
  norm       = 0.117659
  norm       = 1.04201
  norm       = 2.23496
  Prefactor  = 1.79134
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.5759
  norm       = 2.08172
  Prefactor  = 29.6507
  Prefactor  = 11.2819
  norm       = 2.30144
  norm       = 0.499153
  norm       = 7.08332
  Prefactor  = 5.9661
  Normalizat = 1.1913
  Prefactor  = 0.96131
 **********
 **   18 **HESSE 
 **********

 FCN=   10325.01     FROM HESSE     STATUS=OK           388 CALLS     2654 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.583        8.9810        .39600E-03   -1.4696    
   2  norm          .71606        .96885        .15140E-02   -1.5539    
   3  norm          .10000E-03    10.264        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.8570        .16760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6097        8.8038        .12626E-02   -1.5385    
   6  Prefactor     10.827        8.7350        .60875E-03   -1.5050    
   7  Prefactor     .10000E-03    6.9391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11766        1.8811        .13016E-02   -1.5639    
   9  norm          1.0420        1.3906        .17481E-02   -1.5504    
  10  norm          2.2350        3.0254        .19956E-03   -1.5409    
  11  Prefactor     1.7913        9.3253        .15644E-02   -1.5440    
  12  Prefactor     .10000E-03    11.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    19.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5759        9.1632        .12703E-02   -1.5387    
  15  norm          2.0817        2.7622        .18872E-03   -1.5419    
  16  Prefactor     29.651        6.2738        .73579E-04   -1.4618    
  17  Prefactor     11.282        18.056        .11927E-03   -1.5036    
  18  norm          2.3014        4.1301        .13246E-02   -1.5405    
  19  norm          .49915        2.1032        .20735E-02   -1.5567    
  20  norm          7.0833        5.9993        .75363E-03   -1.5176    
  21  Prefactor     5.9661        14.605        .16439E-03   -1.5219    
  22  Normalizat    1.1913        .24115        .33311E-03   -.86872    
  23  Prefactor     .96131        .12288        .19874E-03   -.94030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41323e-08
Minuit parameter uncertainties:
  1  8.98148
  2  0.968868
  3  0.000100965
  4  5.78153e-07
  5  8.80813
  6  8.736
  7  4.90631e-06
  8  0.940536
  9  1.39061
  10  3.02565
  11  8.17608
  12  1.49847e-05
  13  4.05707e-07
  14  9.16818
  15  2.76238
  16  6.27391
  17  18.0646
  18  4.13059
  19  2.04911
  20  5.99983
  21  14.6138
  22  0.241374
  23  0.122917
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.235e+00  3.026e+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:  9.613e-01  1.229e-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.191e+00  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/799159/likelihoodResults_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.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) = 10325.0033366
delta logL = 0.00578176744057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10325.0029926
delta logL = 0.00612574617662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3088       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1911       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96093       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=   10325.00     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      190 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3088        3.2824        .67507E-02    .28086E-02
   2  alpha         2.1910        1.0315        .41555E-01   -.16514E-04
   3  Normalizat    1.1926        .18661        .75232E-01    .71501E-04
   4  Prefactor     .96093        .10168        .45777E-01    .65291E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3088
  alpha      = 2.19102
  Normalizat = 1.19261
  Prefactor  = 0.960934
 **********
 **   18 **HESSE 
 **********

 FCN=   10325.00     FROM HESSE     STATUS=OK            31 CALLS      221 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3088        3.1427        .20338E-03   -1.5404    
   2  alpha         2.1910        .99574        .16622E-02   -.12391    
   3  Normalizat    1.1926        .22049        .33296E-03   -.86832    
   4  Prefactor     .96093        .12031        .19878E-03   -.94043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55367e-09
Minuit parameter uncertainties:
  1  3.14291
  2  1.02463
  3  0.220662
  4  0.12034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/799159': 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) = 10325.0029926
delta logL = 0.00612575686682

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.309e+00  3.143e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.191e+00  1.025e+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.609e-01  1.203e-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.193e+00  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.94
Ra Dec: 204.424 -12.952

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/799159/cmap_HighResolution_344044801_344304001_4FGL_J1337.6-1257_daily_bin404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2021-09-08 04:56:58.579834', job_id='799159', GAL2='0.96', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631102218.58', return_code2='0', ts='0.94', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.13e-03', ts2='0.95', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='404' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 04:56:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 799159: <4FGL_J1337.6-1257_daily_bin404> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin404> 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) <bullet0190>, 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:56:59 2021
Results reported at Wed Sep  8 04:56:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin404 204.424 -12.9517 344044801 344304001 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 :                                   827.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            992 sec.

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

