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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin253
RA = 204.424, Dec = -12.9517
tmin = 304905601, tmax = 305164801
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='797649', job_status='RUN', time_executed='2021-09-08 04:37:44.718768', time_epoch_executed='1631101064.72' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/797649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/797649/ft1_4FGL_J1337.6-1257_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/797649/ft1_4FGL_J1337.6-1257_daily_bin253.fits outfile=/scratch/kocevski/797649/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin253.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=304905601.0 tmax=305164801.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.57
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.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/797649/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin253.fits evtable="EVENTS" outfile="/scratch/kocevski/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.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.52
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.fits" evtable="EVENTS" scfile=/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits sctable="SC_DATA" outfile=/scratch/kocevski/797649/ltcube_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.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/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits
.....................!
real 16.70
user 16.25
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/797649/ltcube_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.fits outfile=/scratch/kocevski/797649/expmap_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.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/797649/ltcube_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.fits
.....................!
real 193.76
user 188.02
sys 5.21

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/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.fits scfile=/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits outfile=/scratch/kocevski/797649/cmap_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.fits scfile=/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits outfile=/scratch/kocevski/797649/cmap_HighResolution_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/797649/ft2_4FGL_J1337.6-1257_daily_bin253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/797649/Model_4FGL_J1337.6-1257_daily_bin253.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/797649/ft1_filtered_4FGL_J1337.6-1257_daily_bin253.fits.....................!
real 54.55
user 53.07
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2717       1.0000         .10000E-03   10000.    
     2 'norm      '    .68997       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    26.643       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2079       1.0000         .10000E-03   10000.    
     6 'Prefactor '    61.757       1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.738       1.0000         .10000E-03   10000.    
     8 'norm      '    8.7699       1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .11289E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.284       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11734E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.4344       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12451E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.574       1.0000         .10000E-03   10000.    
    18 'norm      '    7.2164       1.0000         .10000E-03   10000.    
    19 'norm      '    3.9250       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .64266       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .48421       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0636       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=   6647.106     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2581 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2725        8.2139       -.24241E-06    .10810E-04
   2  norm          .69077        1.8626        .31076E-06    .49723E-03
   3  norm          .10000E-03    2.9523       -.26310E-08** at limit **
   4  norm          26.644        15.031        .26961E-07   -.10473E-05
   5  Prefactor     2.2069        8.4998       -.45831E-05    .93698E-04
   6  Prefactor     61.757        16.018        .11207E-06   -.26412E-03
   7  Prefactor     34.716        20.601       -.22727E-06   -.38970E-03
   8  norm          8.7700        2.4621       -.24879E-07   -.34175E-03
   9  norm          .10000E-03    1.7663        .22549E-06** at limit **
  10  norm          .10000E-03    6.3617        .64697E-06** at limit **
  11  Prefactor     17.334        18.160        .10210E-05    .18198E-03
  12  Prefactor     16.280        25.353        .35541E-06    .33926E-04
  13  norm          .10000E-03    9.1470       -.48182E-07** at limit **
  14  Prefactor     .10000E-03    24.196       -.91653E-06** at limit **
  15  norm          7.4353        5.3701        .24381E-06    .55665E-04
  16  Prefactor     .10000E-03    4.2975        .10199E-05** at limit **
  17  Prefactor     19.500        34.411       -.39108E-05    .19553E-04
  18  norm          7.2066        7.2587       -.12006E-05   -.94954E-03
  19  norm          3.9258        3.1854       -.85156E-07   -.28547E-03
  20  norm          .10000E-03    3.5455        .64919E-07** at limit **
  21  Prefactor     .58068        77.394        .39796E-04   -.48294E-04
  22  Normalizat    .48418        .28339        .33156E-05   -.25580E-03
  23  Prefactor     1.0635        .13761       -.18273E-05   -.88937E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.27246
  norm       = 0.690771
  norm       = 0.0001
  norm       = 26.6441
  Prefactor  = 2.20686
  Prefactor  = 61.7568
  Prefactor  = 34.7155
  norm       = 8.77
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.334
  Prefactor  = 16.2803
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.4353
  Prefactor  = 0.0001
  Prefactor  = 19.4997
  norm       = 7.20663
  norm       = 3.92578
  norm       = 0.0001
  Prefactor  = 0.58068
  Normalizat = 0.484181
  Prefactor  = 1.06354
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.106     FROM HESSE     STATUS=OK           378 CALLS     2959 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2725        8.1982        .74372E-03   -1.5169    
   2  norm          .69077        1.7118        .17750E-02   -1.5542    
   3  norm          .10000E-03    2.9552        .13681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          26.644        15.028        .77611E-04   -1.4675    
   5  Prefactor     2.2069        8.4646        .13842E-02   -1.5411    
   6  Prefactor     61.757        15.949        .51060E-04   -1.4135    
   7  Prefactor     34.716        20.396        .67992E-04   -1.4529    
   8  norm          8.7700        2.4468        .62003E-04   -1.5116    
   9  norm          .10000E-03    1.7733        .10548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.6122        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.334        18.045        .96118E-04   -1.4875    
  12  Prefactor     16.280        25.381        .99252E-04   -1.4901    
  13  norm          .10000E-03    9.1471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.550        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.4353        5.3661        .14709E-03   -1.5163    
  16  Prefactor     .10000E-03    11.960        .31010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.500        34.351        .90528E-04   -1.4825    
  18  norm          7.2066        7.0884        .74658E-03   -1.5171    
  19  norm          3.9258        3.1612        .12176E-03   -1.5312    
  20  norm          .10000E-03    3.5661        .14986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .58068        75.999        .52200E-02   -1.5556    
  22  Normalizat    .48418        .28473        .49352E-03   -1.1315    
  23  Prefactor     1.0635        .14479        .18201E-03   -.90640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.892e-08
Minuit parameter uncertainties:
  1  8.19944
  2  1.71194
  3  2.51051e-07
  4  15.0302
  5  8.46922
  6  15.9504
  7  20.3999
  8  2.44679
  9  2.12224e-05
  10  9.50065e-05
  11  18.0504
  12  25.3976
  13  1.154e-06
  14  0.000208883
  15  5.36646
  16  4.60402e-05
  17  34.3862
  18  7.08921
  19  3.16132
  20  1.65074e-07
  21  13.3024
  22  0.285594
  23  0.144842
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  1.000e-04  9.501e-05  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.064e+00  1.448e-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:  4.842e-01  2.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/797649/likelihoodResults_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.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) = 6647.10696745
delta logL = -0.000722048714124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6647.10624958
delta logL = -4.17151568399e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11058E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3653       1.0000          .0000       5.0000    
     3 'Normalizat'    .48340       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6647.106     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      255 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10006E-03    10.266        .29511E-02** at limit **
   2  alpha         2.4355        3.5585        .16491       -.47598E-04
   3  Normalizat    .48418        .25630        .49352E-03    .98894E-04
   4  Prefactor     1.0635        .13816        .18201E-03    .22906E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100061
  alpha      = 2.43555
  Normalizat = 0.484181
  Prefactor  = 1.06354
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.106     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10006E-03    9.6879        .59022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4355        3.5373        .65964E-02   -.25783E-01
   3  Normalizat    .48418        .25631        .19741E-04   -1.1315    
   4  Prefactor     1.0635        .13817        .36402E-04   -.90640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91991e-09
Minuit parameter uncertainties:
  1  0.00154013
  2  2.5015
  3  0.256937
  4  0.138213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/797649': 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) = 6647.106243
delta logL = 2.40953886532e-06

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  1.001e-04  1.540e-03  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.436e+00  2.501e+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:  1.064e+00  1.382e-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:  4.842e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/797649/cmap_HighResolution_304905601_305164801_4FGL_J1337.6-1257_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-05', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-09-08 04:48:56.590969', job_id='797649', GAL2='1.06', fit_tolerance='1e-08', EG2='0.48', EG='0.48', time_epoch_completed='1631101736.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='253' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 04:48:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 797649: <4FGL_J1337.6-1257_daily_bin253> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin253> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  8 04:35:21 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:35:36 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:35:36 2021
Terminated at Wed Sep  8 04:48:57 2021
Results reported at Wed Sep  8 04:48:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin253 204.424 -12.9517 304905601 305164801 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            816 sec.

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

