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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1571
RA = 204.424, Dec = -12.9517
tmin = 646531201, tmax = 646790401
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='806602', job_status='RUN', time_executed='2021-09-08 05:04:29.928353', time_epoch_executed='1631102669.93' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1571'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806602

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806602/ft1_4FGL_J1337.6-1257_daily_bin1571.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806602/ft1_4FGL_J1337.6-1257_daily_bin1571.fits outfile=/scratch/kocevski/806602/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1571.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=646531201.0 tmax=646790401.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.68
user 3.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.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/806602/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1571.fits evtable="EVENTS" outfile="/scratch/kocevski/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.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/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.fits" evtable="EVENTS" scfile=/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits sctable="SC_DATA" outfile=/scratch/kocevski/806602/ltcube_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.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/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits
.....................!
real 13.63
user 13.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits sctable="SC_DATA" expcube=/scratch/kocevski/806602/ltcube_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.fits outfile=/scratch/kocevski/806602/expmap_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.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/806602/ltcube_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.fits
.....................!
real 191.23
user 185.94
sys 4.75

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/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.fits scfile=/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits outfile=/scratch/kocevski/806602/cmap_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.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/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.fits scfile=/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits outfile=/scratch/kocevski/806602/cmap_HighResolution_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.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/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/806602/ft2_4FGL_J1337.6-1257_daily_bin1571.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/806602/Model_4FGL_J1337.6-1257_daily_bin1571.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/806602/ft1_filtered_4FGL_J1337.6-1257_daily_bin1571.fits.....................!
real 76.98
user 75.47
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    28.984       1.0000         .10000E-03   10000.    
     4 'norm      '    4.2589       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7525       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.573       1.0000         .10000E-03   10000.    
     8 'norm      '    30.580       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4421       1.0000         .10000E-03   10000.    
    10 'norm      '    24.360       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    34.235       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.8721       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.543       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.6644       1.0000         .10000E-03   10000.    
    20 'norm      '    6.7137       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2420       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92985       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=   9847.457     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2515 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5924        .10281E-06** at limit **
   2  norm          .10000E-03    .60112        .52363E-07** at limit **
   3  norm          28.983        13.259        .16585E-07   -.12435E-04
   4  norm          4.2593        6.9847        .23629E-07   -.88913E-05
   5  Prefactor     .10000E-03    3.4283        .37494E-07** at limit **
   6  Prefactor     8.7512        8.5027        .18736E-05   -.88817E-04
   7  Prefactor     15.571        19.585       -.24661E-05   -.15958E-03
   8  norm          30.579        3.3641       -.78446E-08   -.24469E-04
   9  norm          1.4425        4.5893        .26096E-05    .21082E-03
  10  norm          24.359        8.7623       -.41253E-06   -.13394E-03
  11  Prefactor     .10000E-03    7.5681        .73469E-07** at limit **
  12  Prefactor     .10000E-03    21.262        .37491E-06** at limit **
  13  norm          34.230        30.796       -.42775E-07   -.23258E-04
  14  Prefactor     .10000E-03    6.3369        .18121E-06** at limit **
  15  norm          3.8729        3.3246       -.24338E-07    .77878E-05
  16  Prefactor     .10000E-03    1.8043       -.79600E-06** at limit **
  17  Prefactor     14.491        28.503       -.92781E-06   -.15480E-03
  18  norm          .10000E-03    2.3455        .10939E-07** at limit **
  19  norm          9.6641        3.2767       -.87293E-07    .37030E-04
  20  norm          6.7138        7.1875        .22006E-05   -.64810E-04
  21  Prefactor     .10000E-03    6.3221        .14313E-07** at limit **
  22  Normalizat    1.2422        .22519       -.19925E-05    .76580E-04
  23  Prefactor     .92975        .11157        .70227E-06   -.83988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 28.9828
  norm       = 4.25927
  Prefactor  = 0.0001
  Prefactor  = 8.75119
  Prefactor  = 15.5711
  norm       = 30.579
  norm       = 1.44253
  norm       = 24.3594
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.2298
  Prefactor  = 0.0001
  norm       = 3.87286
  Prefactor  = 0.000100003
  Prefactor  = 14.4909
  norm       = 0.0001
  norm       = 9.66409
  norm       = 6.71378
  Prefactor  = 0.0001
  Normalizat = 1.24221
  Prefactor  = 0.929755
 **********
 **   18 **HESSE 
 **********

 FCN=   9847.457     FROM HESSE     STATUS=OK           372 CALLS     2887 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6092        .15603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .60417        .75128E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          28.983        13.263        .74418E-04   -1.4631    
   4  norm          4.2593        6.9734        .19524E-03   -1.5295    
   5  Prefactor     .10000E-03    3.4469        .17940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.7512        8.4119        .67744E-03   -1.5116    
   7  Prefactor     15.571        18.948        .10149E-03   -1.4919    
   8  norm          30.579        3.3773        .57164E-04   -1.4601    
   9  norm          1.4425        4.3998        .25077E-03   -1.5468    
  10  norm          24.359        8.6672        .81160E-04   -1.4720    
  11  Prefactor     .10000E-03    7.6381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          34.230        30.798        .68488E-04   -1.4537    
  14  Prefactor     .10000E-03    6.4057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.8729        3.3272        .16231E-03   -1.5314    
  16  Prefactor     .10000E-03    3.7461        .25230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.491        28.667        .10503E-03   -1.4946    
  18  norm          .10000E-03    2.3583        .14839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.6641        3.2837        .99328E-04   -1.5086    
  20  norm          6.7138        7.1115        .77431E-03   -1.5190    
  21  Prefactor     .10000E-03    6.3262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2422        .26155        .37069E-03   -.85308    
  23  Prefactor     .92975        .13037        .21744E-03   -.95109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24404e-09
Minuit parameter uncertainties:
  1  6.27729e-07
  2  1.88224e-08
  3  13.264
  4  6.97469
  5  7.39168e-07
  6  8.413
  7  18.9556
  8  3.37732
  9  4.40082
  10  8.66769
  11  5.12422e-06
  12  3.71349e-05
  13  30.8125
  14  1.47454e-05
  15  3.32741
  16  0.000210692
  17  28.6945
  18  4.00592e-06
  19  3.28375
  20  7.11237
  21  1.72609e-06
  22  0.261827
  23  0.130411
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.436e+01  8.668e+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.298e-01  1.304e-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.242e+00  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.37
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 5.27e-08
Energy Flux (Fixed Index): 5.34e-05 +/- 1.90e-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) = 9847.45363844
delta logL = 0.00352297617246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9847.45254952
delta logL = 0.00461190192618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.736       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2732       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92864       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=   9847.453     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.736        125.68        .20136E-02    .46357E-03
   2  alpha         2.2732        3.6357        .25486        .52793E-04
   3  Normalizat    1.2456        .20862        .83632E-01    .45863E-04
   4  Prefactor     .92866        .84527E-01    .45369E-01   -.22630E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.7359
  alpha      = 2.27321
  Normalizat = 1.24565
  Prefactor  = 0.928663
 **********
 **   18 **HESSE 
 **********

 FCN=   9847.453     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.736        9.0104        .80542E-04   -1.4713    
   2  alpha         2.2732        .33138        .10329E-01   -.90840E-01
   3  Normalizat    1.2456        .24941        .37028E-03   -.85204    
   4  Prefactor     .92866        .12824        .21755E-03   -.95147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15163e-10
Minuit parameter uncertainties:
  1  9.01088
  2  0.332368
  3  0.249651
  4  0.128285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806602': 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) = 9847.4525495
delta logL = 0.00461192251714

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.474e+01  9.011e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.273e+00  3.324e-01  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  1.384e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  7.541e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.287e-01  1.283e-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.246e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.37
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 2.27 +/- 0.33
Photon Flux (Free Index): 1.45e-07 +/- 5.67e-08
Energy Flux (Free Index): 5.41e-05 +/- 1.92e-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/806602/cmap_HighResolution_646531201_646790401_4FGL_J1337.6-1257_daily_bin1571.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='5.41e-05', photon_flux_error='5.27e-08', dlogl='4.61e-03', energy_flux='5.34e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-09-08 05:16:53.716004', photon_index_error2='0.33', photon_index2='2.27', ts='21.37', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.92e-05', EG='1.24', time_epoch_completed='1631103413.72', return_code='0', job_id='806602', GAL2='0.93', EG2='1.25', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='5.67e-08', ts2='21.37', photon_index='2.30' WHERE bin_id='1571' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 05:16:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 806602: <4FGL_J1337.6-1257_daily_bin1571> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1571> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  8 05:00:24 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 05:00:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 05:00:27 2021
Terminated at Wed Sep  8 05:16:54 2021
Results reported at Wed Sep  8 05:16:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1571 204.424 -12.9517 646531201 646790401 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 :                                   739.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            990 sec.

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

