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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1568
RA = 204.424, Dec = -12.9517
tmin = 645753601, tmax = 646012801
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='806598', job_status='RUN', time_executed='2021-09-08 05:01:11.659287', time_epoch_executed='1631102471.66' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806598

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806598/ft1_4FGL_J1337.6-1257_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806598/ft2_4FGL_J1337.6-1257_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806598/ft1_4FGL_J1337.6-1257_daily_bin1568.fits outfile=/scratch/kocevski/806598/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1568.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=645753601.0 tmax=646012801.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 2.36
user 2.13
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806598/ft1_filtered_4FGL_J1337.6-1257_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/806598/ft2_4FGL_J1337.6-1257_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/806598/ltcube_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.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/806598/ft2_4FGL_J1337.6-1257_daily_bin1568.fits
.....................!
real 19.61
user 19.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806598/ft1_filtered_4FGL_J1337.6-1257_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/806598/ft2_4FGL_J1337.6-1257_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/806598/ltcube_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.fits outfile=/scratch/kocevski/806598/expmap_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.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/806598/ltcube_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.fits
.....................!
real 190.79
user 185.49
sys 4.81

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/806598/ft1_filtered_4FGL_J1337.6-1257_daily_bin1568.fits scfile=/scratch/kocevski/806598/ft2_4FGL_J1337.6-1257_daily_bin1568.fits outfile=/scratch/kocevski/806598/cmap_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806598/ft1_filtered_4FGL_J1337.6-1257_daily_bin1568.fits scfile=/scratch/kocevski/806598/ft2_4FGL_J1337.6-1257_daily_bin1568.fits outfile=/scratch/kocevski/806598/cmap_HighResolution_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.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.57
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    154.12       1.0000         .10000E-03   10000.    
     4 'norm      '    .10227E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0189       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2785       1.0000         .10000E-03   10000.    
     9 'norm      '    3.6406       1.0000         .10000E-03   10000.    
    10 'norm      '    35.678       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.897       1.0000         .10000E-03   10000.    
    13 'norm      '    12.648       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7120       1.0000         .10000E-03   10000.    
    15 'norm      '    4.8230       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    17.141       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3636       1.0000         .10000E-03   10000.    
    21 'Prefactor '    108.48       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6562       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .65937       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=   10172.34     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2181 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.0334        .12002E-07** at limit **
   2  norm          .10000E-03    .96485        .45581E-08** at limit **
   3  norm          154.11        20.467       -.18034E-05   -.99888E-03
   4  norm          .10000E-03    16.158       -.20678E-05** at limit **
   5  Prefactor     .10000E-03    2.1141       -.78032E-07** at limit **
   6  Prefactor     4.0163        4.4460        .18054E-05   -.24722E-02
   7  Prefactor     .10000E-03    14.834        .31788E-05** at limit **
   8  norm          2.2781        1.4228        .31055E-07   -.11956E-03
   9  norm          3.6382        3.9965        .48848E-06   -.12370E-03
  10  norm          35.676        10.116       -.13088E-06   -.27662E-05
  11  Prefactor     .10000E-03    4.4713        .21705E-09** at limit **
  12  Prefactor     11.893        26.694       -.43891E-05   -.12036E-03
  13  norm          12.642        21.423       -.52000E-05   -.23358E-03
  14  Prefactor     8.7079        10.170       -.40125E-07   -.43774E-04
  15  norm          4.8225        3.7240        .14768E-06   -.78714E-03
  16  Prefactor     .10000E-03    2.0667        .44228E-07** at limit **
  17  Prefactor     .10000E-03    12.018       -.13941E-05** at limit **
  18  norm          .10000E-03    6.8356        .12734E-06** at limit **
  19  norm          17.141        4.3594       -.62923E-07   -.12388E-03
  20  norm          2.3596        6.2414        .29387E-06   -.13856E-03
  21  Prefactor     108.47        36.343       -.23472E-05   -.30267E-03
  22  Normalizat    1.6566        .21280        .75310E-06   -.44037E-04
  23  Prefactor     .65922        .10375        .16432E-06    .46246E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 154.114
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.01634
  Prefactor  = 0.0001
  norm       = 2.27813
  norm       = 3.6382
  norm       = 35.6757
  Prefactor  = 0.0001
  Prefactor  = 11.8926
  norm       = 12.6423
  Prefactor  = 8.70792
  norm       = 4.8225
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 17.1413
  norm       = 2.35956
  Prefactor  = 108.472
  Normalizat = 1.6566
  Prefactor  = 0.65922
 **********
 **   18 **HESSE 
 **********

 FCN=   10172.34     FROM HESSE     STATUS=OK           368 CALLS     2549 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0592        .17151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.0001        .19336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          154.11        20.720        .16236E-03   -1.3219    
   4  norm          .10000E-03    16.759        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.1272        .14321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0163        6.6509        .10058E-02   -1.5307    
   7  Prefactor     .10000E-03    14.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2781        1.4216        .90073E-04   -1.5406    
   9  norm          3.6382        3.9498        .17550E-03   -1.5326    
  10  norm          35.676        10.063        .67094E-04   -1.4513    
  11  Prefactor     .10000E-03    4.4767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.893        26.866        .11614E-03   -1.5018    
  13  norm          12.642        21.653        .11263E-03   -1.4997    
  14  Prefactor     8.7079        10.175        .13580E-03   -1.5118    
  15  norm          4.8225        3.7597        .83280E-03   -1.5269    
  16  Prefactor     .10000E-03    2.0806        .14152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.0178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.141        4.3714        .96738E-04   -1.4880    
  20  norm          2.3596        6.2191        .26655E-03   -1.5401    
  21  Prefactor     108.47        36.596        .38616E-04   -1.3621    
  22  Normalizat    1.6566        .24911        .32255E-03   -.73468    
  23  Prefactor     .65922        .11936        .24603E-03   -1.0515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65044e-09
Minuit parameter uncertainties:
  1  5.5839e-06
  2  1.79876e-06
  3  20.7209
  4  7.25816e-05
  5  4.88377e-06
  6  6.65216
  7  0.000104632
  8  1.42158
  9  3.95008
  10  10.0639
  11  8.08236e-07
  12  26.8937
  13  21.6665
  14  10.177
  15  3.75985
  16  2.91676e-06
  17  8.53383e-05
  18  8.36985e-06
  19  4.37149
  20  6.22078
  21  36.6037
  22  0.249301
  23  0.11941
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  3.568e+01  1.006e+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:  6.592e-01  1.194e-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.657e+00  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 42.50
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 2.17e-07 +/- 6.12e-08
Energy Flux (Fixed Index): 7.83e-05 +/- 2.21e-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) = 10171.5939476
delta logL = 0.745072194391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10171.5681429
delta logL = 0.770876825542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.056       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6533       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67943       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=   10171.57     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      236 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.056        89.684        .18581E-02    .43263E-03
   2  alpha         2.6533        3.6137        .17317        .79885E-04
   3  Normalizat    1.5912        .19883        .73999E-01   -.43278E-05
   4  Prefactor     .67943        .73468E-01    .42127E-01    .31386E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.0564
  alpha      = 2.65327
  Normalizat = 1.59118
  Prefactor  = 0.679429
 **********
 **   18 **HESSE 
 **********

 FCN=   10171.57     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.056        9.6730        .74325E-04   -1.4629    
   2  alpha         2.6533        .29329        .73426E-02    .61347E-01
   3  Normalizat    1.5912        .23802        .32742E-03   -.75248    
   4  Prefactor     .67943        .11864        .24263E-03   -1.0434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58579e-09
Minuit parameter uncertainties:
  1  9.67349
  2  0.293972
  3  0.238189
  4  0.118679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806598': 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) = 10171.5681429
delta logL = 0.770876826347

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.906e+01  9.673e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.653e+00  2.940e-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:  6.794e-01  1.187e-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.591e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 44.13
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 2.65 +/- 0.29
Photon Flux (Free Index): 2.74e-07 +/- 7.59e-08
Energy Flux (Free Index): 7.30e-05 +/- 1.74e-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/806598/cmap_HighResolution_645753601_646012801_4FGL_J1337.6-1257_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.17e-07', energy_flux2='7.30e-05', photon_flux_error='6.12e-08', dlogl='7.71e-01', energy_flux='7.83e-05', photon_flux2='2.74e-07', job_status='DONE', time_completed='2021-09-08 05:13:20.762332', photon_index_error2='0.29', photon_index2='2.65', ts='42.50', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.66', time_epoch_completed='1631103200.76', return_code='0', job_id='806598', GAL2='0.68', EG2='1.59', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='7.59e-08', ts2='44.13', photon_index='2.30' WHERE bin_id='1568' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 05:13:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 806598: <4FGL_J1337.6-1257_daily_bin1568> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1568> 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) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 05:00:26 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:26 2021
Terminated at Wed Sep  8 05:13:21 2021
Results reported at Wed Sep  8 05:13:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1568 204.424 -12.9517 645753601 646012801 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 :                                   725.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

