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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin184
RA = 204.424, Dec = -12.9517
tmin = 287020801, tmax = 287280001
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='796293', job_status='RUN', time_executed='2021-09-08 04:34:31.176095', time_epoch_executed='1631100871.18' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/796293

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/796293/ft1_4FGL_J1337.6-1257_daily_bin184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/796293/ft2_4FGL_J1337.6-1257_daily_bin184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/796293/ft1_4FGL_J1337.6-1257_daily_bin184.fits outfile=/scratch/kocevski/796293/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin184.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=287020801.0 tmax=287280001.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.66
user 4.35
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/796293/ft1_filtered_4FGL_J1337.6-1257_daily_bin184.fits" evtable="EVENTS" scfile=/scratch/kocevski/796293/ft2_4FGL_J1337.6-1257_daily_bin184.fits sctable="SC_DATA" outfile=/scratch/kocevski/796293/ltcube_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.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/796293/ft2_4FGL_J1337.6-1257_daily_bin184.fits
.....................!
real 14.76
user 14.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/796293/ft1_filtered_4FGL_J1337.6-1257_daily_bin184.fits evtable="EVENTS" scfile=/scratch/kocevski/796293/ft2_4FGL_J1337.6-1257_daily_bin184.fits sctable="SC_DATA" expcube=/scratch/kocevski/796293/ltcube_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.fits outfile=/scratch/kocevski/796293/expmap_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.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/796293/ltcube_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.fits
.....................!
real 192.51
user 185.90
sys 4.51

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/796293/ft1_filtered_4FGL_J1337.6-1257_daily_bin184.fits scfile=/scratch/kocevski/796293/ft2_4FGL_J1337.6-1257_daily_bin184.fits outfile=/scratch/kocevski/796293/cmap_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.266       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1110       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1387       1.0000         .10000E-03   10000.    
     4 'norm      '    .48573E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4213       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .95223       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12039E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.035       1.0000         .10000E-03   10000.    
     9 'norm      '    8.2586       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0955       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.388       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19472E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6723       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13763E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.7396       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .27971E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.559       1.0000         .10000E-03   10000.    
    18 'norm      '    .10463E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.3492       1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.7090       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5368       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79830       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=   7215.950     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2575 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.231        10.081       -.59716E-07   -.22345E-03
   2  norm          7.1003        3.6403        .12768E-07   -.14121E-03
   3  norm          2.1525        8.7316        .30818E-05   -.26731E-03
   4  norm          .10001E-03    8.4700       -.63931E-05** at limit **
   5  Prefactor     8.4447        9.3178       -.68273E-07   -.26056E-03
   6  Prefactor     .86043        11.970       -.44449E-05   -.73465E-04
   7  Prefactor     .10000E-03    10.018        .16396E-06** at limit **
   8  norm          11.029        2.6978       -.83850E-07   -.12461E-02
   9  norm          8.2809        4.9551       -.80681E-06   -.40892E-03
  10  norm          2.1050        5.4896        .39794E-05   -.70402E-03
  11  Prefactor     26.367        14.697       -.19706E-06   -.41381E-03
  12  Prefactor     .10000E-03    18.985        .39061E-06** at limit **
  13  norm          4.6592        23.603        .59223E-06    .83183E-04
  14  Prefactor     .10000E-03    9.4664       -.58906E-06** at limit **
  15  norm          3.7393        3.4805       -.25927E-07   -.18883E-03
  16  Prefactor     .10000E-03    2.2973        .33216E-06** at limit **
  17  Prefactor     23.360        33.382       -.40276E-06   -.13333E-03
  18  norm          .10000E-03    4.2386        .18983E-06** at limit **
  19  norm          1.3476        2.6921       -.13789E-06   -.50311E-03
  20  norm          .10000E-03    5.7953       -.83737E-06** at limit **
  21  Prefactor     7.7411        25.281       -.94082E-06   -.25748E-03
  22  Normalizat    1.5372        .25482       -.20417E-07   -.47095E-03
  23  Prefactor     .79827        .12362       -.58053E-06   -.66296E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2311
  norm       = 7.10029
  norm       = 2.15252
  norm       = 0.000100006
  Prefactor  = 8.44468
  Prefactor  = 0.860434
  Prefactor  = 0.0001
  norm       = 11.0288
  norm       = 8.28093
  norm       = 2.10503
  Prefactor  = 26.367
  Prefactor  = 0.0001
  norm       = 4.65924
  Prefactor  = 0.000100001
  norm       = 3.73935
  Prefactor  = 0.0001
  Prefactor  = 23.3603
  norm       = 0.0001
  norm       = 1.34757
  norm       = 0.000100001
  Prefactor  = 7.74115
  Normalizat = 1.53718
  Prefactor  = 0.798274
 **********
 **   18 **HESSE 
 **********

 FCN=   7215.950     FROM HESSE     STATUS=OK           376 CALLS     2951 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.231        10.092        .12505E-03   -1.5068    
   2  norm          7.1003        3.6433        .11212E-03   -1.5175    
   3  norm          2.1525        9.4761        .14093E-02   -1.5415    
   4  norm          .10001E-03    16.021        .36760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4447        9.2993        .13814E-03   -1.5127    
   6  Prefactor     .86043        36.932        .47204E-02   -1.5522    
   7  Prefactor     .10000E-03    10.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.029        2.7151        .64800E-04   -1.5044    
   9  norm          8.2809        5.1321        .12342E-03   -1.5132    
  10  norm          2.1050        6.3801        .14257E-02   -1.5418    
  11  Prefactor     26.367        14.719        .77984E-04   -1.4681    
  12  Prefactor     .10000E-03    19.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6592        23.671        .18618E-03   -1.5276    
  14  Prefactor     .10000E-03    9.6663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.7393        3.4765        .14806E-03   -1.5321    
  16  Prefactor     .10000E-03    5.2126        .24915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.360        33.438        .82526E-04   -1.4741    
  18  norm          .10000E-03    4.2916        .17074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3476        2.6822        .18628E-03   -1.5476    
  20  norm          .10000E-03    5.9550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.7411        25.627        .14443E-03   -1.5151    
  22  Normalizat    1.5372        .29804        .32673E-03   -.76739    
  23  Prefactor     .79827        .14427        .22105E-03   -.99792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96893e-08
Minuit parameter uncertainties:
  1  10.0938
  2  3.64343
  3  9.03492
  4  0.00063535
  5  9.3009
  6  11.2811
  7  7.62025e-05
  8  2.71516
  9  5.1324
  10  6.38214
  11  14.7208
  12  0.000167105
  13  21.0165
  14  0.000156637
  15  3.4767
  16  4.68489e-05
  17  33.4652
  18  3.06421e-05
  19  2.68246
  20  0.000154741
  21  25.6634
  22  0.298384
  23  0.144342
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.105e+00  6.382e+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:  7.983e-01  1.443e-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.537e+00  2.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/796293/likelihoodResults_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.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) = 7215.93440192
delta logL = 0.0153318417533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7215.93395014
delta logL = 0.015783615936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2522       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0158       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79753       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7215.934     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      278 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2536        5.5428        .13689E-02   -.35827E-04
   2  alpha         2.0162        1.4504        .44962E-01   -.28301E-05
   3  Normalizat    1.5406        .27369        .32645E-03   -.14244E-03
   4  Prefactor     .79715        .13963        .22119E-03    .21659E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.25361
  alpha      = 2.01625
  Normalizat = 1.54056
  Prefactor  = 0.797149
 **********
 **   18 **HESSE 
 **********

 FCN=   7215.934     FROM HESSE     STATUS=OK            27 CALLS      305 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2536        5.5788        .54756E-04   -1.5408    
   2  alpha         2.0162        1.4606        .17985E-02   -.19473    
   3  Normalizat    1.5406        .27389        .13058E-04   -.76645    
   4  Prefactor     .79715        .13973        .88475E-05   -.99833    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55229e-10
Minuit parameter uncertainties:
  1  5.58007
  2  1.56454
  3  0.274152
  4  0.139795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/796293': 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) = 7215.93394534
delta logL = 0.0157884220398

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.254e+00  5.580e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.016e+00  1.565e+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:  7.971e-01  1.398e-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.541e+00  2.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
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/796293/cmap_HighResolution_287020801_287280001_4FGL_J1337.6-1257_daily_bin184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-05', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-08 04:46:13.899334', job_id='796293', GAL2='0.80', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1631101573.9', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.58e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='184' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 04:46:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 796293: <4FGL_J1337.6-1257_daily_bin184> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin184> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 04:30:42 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:32:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 04:32:07 2021
Terminated at Wed Sep  8 04:46:14 2021
Results reported at Wed Sep  8 04:46:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin184 204.424 -12.9517 287020801 287280001 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 :                                   699.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            932 sec.

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

