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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1544
RA = 204.424, Dec = -12.9517
tmin = 639532801, tmax = 639792001
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='805413', job_status='RUN', time_executed='2021-09-08 04:58:48.697946', time_epoch_executed='1631102328.7' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805413

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805413/ft1_4FGL_J1337.6-1257_daily_bin1544.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805413/ft1_4FGL_J1337.6-1257_daily_bin1544.fits outfile=/scratch/kocevski/805413/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1544.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=639532801.0 tmax=639792001.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.66
user 3.36
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805413/ft1_filtered_4FGL_J1337.6-1257_daily_bin1544.fits" evtable="EVENTS" scfile=/scratch/kocevski/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits sctable="SC_DATA" outfile=/scratch/kocevski/805413/ltcube_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.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/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits
.....................!
real 15.04
user 14.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805413/ft1_filtered_4FGL_J1337.6-1257_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits sctable="SC_DATA" expcube=/scratch/kocevski/805413/ltcube_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.fits outfile=/scratch/kocevski/805413/expmap_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.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/805413/ltcube_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.fits
.....................!
real 193.01
user 186.28
sys 6.04

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/805413/ft1_filtered_4FGL_J1337.6-1257_daily_bin1544.fits scfile=/scratch/kocevski/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits outfile=/scratch/kocevski/805413/cmap_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805413/ft1_filtered_4FGL_J1337.6-1257_daily_bin1544.fits scfile=/scratch/kocevski/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits outfile=/scratch/kocevski/805413/cmap_HighResolution_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=204.424 yref=-12.9517 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805413/ft1_filtered_4FGL_J1337.6-1257_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/805413/ft2_4FGL_J1337.6-1257_daily_bin1544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805413/Model_4FGL_J1337.6-1257_daily_bin1544.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/805413/ft1_filtered_4FGL_J1337.6-1257_daily_bin1544.fits.....................!
real 60.68
user 59.17
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2009       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.904       1.0000         .10000E-03   10000.    
     4 'norm      '    12.724       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0866       1.0000         .10000E-03   10000.    
     9 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    62.881       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   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 '    .10040E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    23.783       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2191       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .51061       1.0000         .10000E-03   10000.    
    18 'norm      '    11.010       1.0000         .10000E-03   10000.    
    19 'norm      '    20.605       1.0000         .10000E-03   10000.    
    20 'norm      '    .11841E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.004       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99239       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0625       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7107.477     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1814 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1999        5.9593        .22686E-04   -.21444E-04
   2  norm          .10000E-03    .86854       -.17879E-06** at limit **
   3  norm          12.904        1.3592        .19160E-05    .98412E-03
   4  norm          12.724        1.1115        .11468E-05    .23658E-02
   5  Prefactor     .10000E-03    5.7277       -.17594E-05** at limit **
   6  Prefactor     .10000E-03    4.9046        .34520E-05** at limit **
   7  Prefactor     .10000E-03    32.387        .23313E-04** at limit **
   8  norm          2.0858        2.2586        .13610E-05   -.13359E-02
   9  norm          .10000E-03    3.2957        .48499E-06** at limit **
  10  norm          62.888        1.1631        .43046E-06   -.11582E-02
  11  Prefactor     .10000E-03    4.2859       -.15835E-05** at limit **
  12  Prefactor     .10000E-03    52.395       -.16488E-04** at limit **
  13  norm          .10000E-03    11.500       -.17487E-05** at limit **
  14  Prefactor     .10000E-03    10.595        .76305E-06** at limit **
  15  norm          23.789        1.3752       -.85464E-06   -.75004E-02
  16  Prefactor     3.2205        4.4420       -.12230E-06    .75619E-03
  17  Prefactor     .10022E-03    6703.1       -.70674E-03** at limit **
  18  norm          11.008        1.4500       -.26601E-05   -.36038E-02
  19  norm          20.596        5.0330        .89326E-06    .20497E-02
  20  norm          .10000E-03    29.808       -.26424E-04** at limit **
  21  Prefactor     29.949        26.178        .45895E-04   -.61287E-03
  22  Normalizat    .99232        .30869       -.14274E-04   -.13372E-04
  23  Prefactor     1.0627        .15366        .33598E-05    .10760E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19987
  norm       = 0.0001
  norm       = 12.9035
  norm       = 12.7239
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.08584
  norm       = 0.0001
  norm       = 62.888
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 23.7886
  Prefactor  = 3.2205
  Prefactor  = 0.000100216
  norm       = 11.0083
  norm       = 20.5957
  norm       = 0.000100001
  Prefactor  = 29.9487
  Normalizat = 0.992324
  Prefactor  = 1.06267
 **********
 **   18 **HESSE 
 **********

 FCN=   7107.477     FROM HESSE     STATUS=OK           426 CALLS     2240 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1999        5.9927        .69334E-02   -1.5411    
   2  norm          .10000E-03    .86563        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.904        13.967        .27877E-02   -1.4989    
   4  norm          12.724        9.0130        .28074E-02   -1.4994    
   5  Prefactor     .10000E-03    5.7194        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9078        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.245        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0858        2.2742        .71457E-02   -1.5419    
   9  norm          .10000E-03    3.2630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          62.888        13.712        .12651E-02   -1.4120    
  11  Prefactor     .10000E-03    4.2857        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.568        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.591        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.537        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.789        8.2810        .20534E-02   -1.4732    
  16  Prefactor     3.2205        4.6138        .56448E-02   -1.5349    
  17  Prefactor     .10022E-03    28.356        .16253       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.008        9.7340        .30186E-02   -1.5044    
  19  norm          20.596        5.1700        .22059E-02   -1.4800    
  20  norm          .10000E-03    6.3697        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.949        26.727        .18286E-02   -1.4613    
  22  Normalizat    .99232        .28000        .94538E-01   -.93288    
  23  Prefactor     1.0627        .13721        .39226E-01   -.90669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5362e-07
Minuit parameter uncertainties:
  1  5.99433
  2  1.34769e-06
  3  13.9706
  4  9.01393
  5  8.136e-05
  6  0.000116978
  7  6.17292e-05
  8  2.27428
  9  8.18299e-06
  10  13.7122
  11  5.18617e-05
  12  0.000330155
  13  0.000240917
  14  9.71008e-05
  15  8.28144
  16  4.61426
  17  0.00495242
  18  9.73545
  19  5.17014
  20  0.00012292
  21  26.7373
  22  0.28042
  23  0.137255
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  6.289e+01  1.371e+01  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.063e+00  1.373e-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.923e-01  2.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 65.16
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 3.83e-07 +/- 8.34e-08
Energy Flux (Fixed Index): 1.38e-04 +/- 3.01e-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) = 7107.30472529
delta logL = 0.172659012213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7107.26426104
delta logL = 0.213123267735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    67.108       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1488       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0490       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=   7107.264     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 17.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          67.110        15.182        .22114E-05   -.20450E-02
   2  alpha         2.1485        .21740       -.85273E-05   -.53865E-03
   3  Normalizat    1.0350        .26398        .97830E-06    .37639E-04
   4  Prefactor     1.0489        .13555       -.48866E-06    .76826E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 67.1103
  alpha      = 2.14847
  Normalizat = 1.03499
  Prefactor  = 1.04894
 **********
 **   18 **HESSE 
 **********

 FCN=   7107.264     FROM HESSE     STATUS=OK            29 CALLS      239 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          67.110        15.678        .24497E-03   -1.4068    
   2  alpha         2.1485        .23842        .69001E-02   -.14108    
   3  Normalizat    1.0350        .29646        .41135E-03   -.91867    
   4  Prefactor     1.0489        .15244        .21303E-03   -.91115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8702e-09
Minuit parameter uncertainties:
  1  15.6793
  2  0.238786
  3  0.296932
  4  0.152505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805413': 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) = 7107.26426022
delta logL = 0.213124083687

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  6.711e+01  1.568e+01  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.148e+00  2.388e-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:  1.049e+00  1.525e-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.035e+00  2.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 65.17
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 2.15 +/- 0.24
Photon Flux (Free Index): 3.43e-07 +/- 9.64e-08
Energy Flux (Free Index): 1.48e-04 +/- 3.68e-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/805413/cmap_HighResolution_639532801_639792001_4FGL_J1337.6-1257_daily_bin1544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.83e-07', energy_flux2='1.48e-04', photon_flux_error='8.34e-08', dlogl='2.13e-01', energy_flux='1.38e-04', photon_flux2='3.43e-07', job_status='DONE', time_completed='2021-09-08 05:09:10.853352', photon_index_error2='0.24', photon_index2='2.15', ts='65.16', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.68e-05', EG='0.99', time_epoch_completed='1631102950.85', return_code='0', job_id='805413', GAL2='1.05', EG2='1.03', return_code2='0', energy_flux_error='3.01e-05', photon_flux_error2='9.64e-08', ts2='65.17', photon_index='2.30' WHERE bin_id='1544' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 05:09:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 805413: <4FGL_J1337.6-1257_daily_bin1544> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1544> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 04:55:56 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:57:40 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:40 2021
Terminated at Wed Sep  8 05:09:11 2021
Results reported at Wed Sep  8 05:09:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1544 204.424 -12.9517 639532801 639792001 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 :                                   568.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            795 sec.

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

