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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin450
RA = 204.424, Dec = -12.9517
tmin = 355968001, tmax = 356227201
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='799234', job_status='RUN', time_executed='2021-09-08 04:44:36.085542', time_epoch_executed='1631101476.09' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/799234

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/799234/ft1_4FGL_J1337.6-1257_daily_bin450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/799234/ft1_4FGL_J1337.6-1257_daily_bin450.fits outfile=/scratch/kocevski/799234/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin450.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=355968001.0 tmax=356227201.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.41
user 3.17
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/799234/ft1_filtered_4FGL_J1337.6-1257_daily_bin450.fits" evtable="EVENTS" scfile=/scratch/kocevski/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits sctable="SC_DATA" outfile=/scratch/kocevski/799234/ltcube_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.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/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits
.....................!
real 15.45
user 15.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/799234/ft1_filtered_4FGL_J1337.6-1257_daily_bin450.fits evtable="EVENTS" scfile=/scratch/kocevski/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits sctable="SC_DATA" expcube=/scratch/kocevski/799234/ltcube_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.fits outfile=/scratch/kocevski/799234/expmap_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.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/799234/ltcube_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.fits
.....................!
real 192.95
user 187.20
sys 5.03

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/799234/ft1_filtered_4FGL_J1337.6-1257_daily_bin450.fits scfile=/scratch/kocevski/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits outfile=/scratch/kocevski/799234/cmap_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/799234/ft1_filtered_4FGL_J1337.6-1257_daily_bin450.fits scfile=/scratch/kocevski/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits outfile=/scratch/kocevski/799234/cmap_HighResolution_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/799234/ft1_filtered_4FGL_J1337.6-1257_daily_bin450.fits evtable="EVENTS" scfile=/scratch/kocevski/799234/ft2_4FGL_J1337.6-1257_daily_bin450.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799234/Model_4FGL_J1337.6-1257_daily_bin450.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/799234/ft1_filtered_4FGL_J1337.6-1257_daily_bin450.fits.....................!
real 57.30
user 55.88
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3980       1.0000         .10000E-03   10000.    
     2 'norm      '    .60433       1.0000         .10000E-03   10000.    
     3 'norm      '    10.945       1.0000         .10000E-03   10000.    
     4 'norm      '    .23134E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2561       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .76361       1.0000         .10000E-03   10000.    
     9 'norm      '    .11776E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .79005       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5734       1.0000         .10000E-03   10000.    
    13 'norm      '    .10270E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.5191       1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.186       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10573E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.0454       1.0000         .10000E-03   10000.    
    20 'norm      '    3.3932       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98360       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0678       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=   6727.966     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2226 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3739        11.472       -.36959E-06   -.21388E-04
   2  norm          .60423        2.1148       -.54116E-06    .17041E-03
   3  norm          10.928        11.753       -.38417E-06   -.30450E-04
   4  norm          .10189E-03    22.176       -.88754E-05** at limit **
   5  Prefactor     .10000E-03    6.6763        .25356E-06** at limit **
   6  Prefactor     1.2509        14.489       -.17178E-05    .13629E-03
   7  Prefactor     .10000E-03    7.3293        .11894E-06** at limit **
   8  norm          .76408        1.1212        .10950E-06    .80226E-03
   9  norm          .10001E-03    2.7401        .32348E-06** at limit **
  10  norm          .77326        16.058        .92140E-05    .19869E-03
  11  Prefactor     .10000E-03    16.407        .26436E-07** at limit **
  12  Prefactor     1.5107        72.230       -.12342E-04   -.16863E-03
  13  norm          .10000E-03    15.573        .27198E-06** at limit **
  14  Prefactor     .10000E-03    15.806        .22229E-06** at limit **
  15  norm          1.5153        5.4355       -.52048E-07    .47281E-03
  16  Prefactor     35.200        8.8473       -.30322E-06   -.64475E-04
  17  Prefactor     .10000E-03    21.227        .91027E-06** at limit **
  18  norm          .10000E-03    4.8327        .45573E-08** at limit **
  19  norm          3.0453        2.2720       -.32320E-07    .73550E-04
  20  norm          3.3922        4.9951        .62546E-07    .15805E-03
  21  Prefactor     .10000E-03    17.045       -.51138E-06** at limit **
  22  Normalizat    .98344        .25550        .10238E-05    .36455E-03
  23  Prefactor     1.0679        .13029        .50999E-07    .69817E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.3739
  norm       = 0.604231
  norm       = 10.9283
  norm       = 0.000101895
  Prefactor  = 0.0001
  Prefactor  = 1.25094
  Prefactor  = 0.0001
  norm       = 0.764082
  norm       = 0.000100007
  norm       = 0.773265
  Prefactor  = 0.0001
  Prefactor  = 1.51067
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.51533
  Prefactor  = 35.2001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.04531
  norm       = 3.39225
  Prefactor  = 0.0001
  Normalizat = 0.983439
  Prefactor  = 1.0679
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.966     FROM HESSE     STATUS=OK           386 CALLS     2612 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3739        11.468        .14746E-03   -1.5165    
   2  norm          .60423        2.0987        .21820E-03   -1.5553    
   3  norm          10.928        11.765        .12110E-03   -1.5047    
   4  norm          .10189E-03    9.7832        .79173E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.7292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2509        14.834        .39844E-03   -1.5484    
   7  Prefactor     .10000E-03    7.3380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .76408        .95415        .10062E-02   -1.5533    
   9  norm          .10001E-03    4.9490        .23668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .77326        17.934        .30659E-02   -1.5532    
  11  Prefactor     .10000E-03    16.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5107        77.475        .33881E-03   -1.5462    
  13  norm          .10000E-03    15.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5153        5.5199        .34632E-03   -1.5462    
  16  Prefactor     35.200        8.8064        .67560E-04   -1.4521    
  17  Prefactor     .10000E-03    21.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.8638        .17588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0453        2.2692        .10286E-03   -1.5359    
  20  norm          3.3922        4.9843        .21592E-03   -1.5340    
  21  Prefactor     .10000E-03    17.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98344        .29434        .37087E-03   -.93587    
  23  Prefactor     1.0679        .15188        .18852E-03   -.90499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32175e-09
Minuit parameter uncertainties:
  1  11.4717
  2  2.09897
  3  11.7672
  4  0.00861247
  5  2.06424e-05
  6  8.61776
  7  6.86228e-06
  8  0.954165
  9  0.000361433
  10  7.44999
  11  5.30916e-05
  12  21.6659
  13  5.03542e-05
  14  0.000267959
  15  5.52176
  16  8.80673
  17  0.000201901
  18  7.23843e-06
  19  2.2693
  20  4.98492
  21  0.000147222
  22  0.294827
  23  0.15194
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  7.733e-01  7.450e+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:  1.068e+00  1.519e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.834e-01  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/799234/likelihoodResults_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.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): 102
logL (Free Index) = 6727.64380805
delta logL = 0.322005665947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6727.61164363
delta logL = 0.354170085046

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3546       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6877       1.0000          .0000       5.0000    
     3 'Normalizat'    .93121       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0811       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=   6727.612     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3549        38.515        .93908E-02    .16831E-03
   2  alpha         3.6883        4.1714        .49522        .59052E-04
   3  Normalizat    .93115        .58452E-01    .85751E-01    .18451E-04
   4  Prefactor     1.0811        .30803E-01    .38354E-01   -.79457E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35492
  alpha      = 3.68834
  Normalizat = 0.931149
  Prefactor  = 1.0811
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.612     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3549        28.383        .11554E-03   -1.5475    
   2  alpha         3.6883        4.1778        .24161E-01    .49535    
   3  Normalizat    .93115        .28813        .37969E-03   -.95374    
   4  Prefactor     1.0811        .15259        .18738E-03   -.90073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41962e-08
Minuit parameter uncertainties:
  1  12.409
  2  5.69228
  3  0.288608
  4  0.152653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/799234': 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) = 6727.61164314
delta logL = 0.354170578285

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  1.355e+00  1.241e+01  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  3.688e+00  5.692e+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.081e+00  1.527e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.311e-01  2.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/799234/cmap_HighResolution_355968001_356227201_4FGL_J1337.6-1257_daily_bin450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-05', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-08 04:55:20.031015', job_id='799234', GAL2='1.08', fit_tolerance='1e-08', EG2='0.93', EG='0.98', time_epoch_completed='1631102120.03', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.54e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='450' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 04:55:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 799234: <4FGL_J1337.6-1257_daily_bin450> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin450> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 04:40:33 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 04:40:41 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:40:41 2021
Terminated at Wed Sep  8 04:55:20 2021
Results reported at Wed Sep  8 04:55:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin450 204.424 -12.9517 355968001 356227201 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 :                                   640.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            887 sec.

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

