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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1601
RA = 204.424, Dec = -12.9517
tmin = 654307201, tmax = 654566401
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='542520', job_status='RUN', time_executed='2021-09-29 00:19:13.132997', time_epoch_executed='1632899953.13' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542520

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542520/ft1_4FGL_J1337.6-1257_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542520/ft1_4FGL_J1337.6-1257_daily_bin1601.fits outfile=/scratch/kocevski/542520/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1601.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=654307201.0 tmax=654566401.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.28
user 4.04
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542520/ft1_filtered_4FGL_J1337.6-1257_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/542520/ltcube_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.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/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits
.....................!
real 11.75
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542520/ft1_filtered_4FGL_J1337.6-1257_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/542520/ltcube_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.fits outfile=/scratch/kocevski/542520/expmap_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.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/542520/ltcube_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.fits
.....................!
real 190.45
user 185.02
sys 5.10

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/542520/ft1_filtered_4FGL_J1337.6-1257_daily_bin1601.fits scfile=/scratch/kocevski/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits outfile=/scratch/kocevski/542520/cmap_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.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.51
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542520/ft1_filtered_4FGL_J1337.6-1257_daily_bin1601.fits scfile=/scratch/kocevski/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits outfile=/scratch/kocevski/542520/cmap_HighResolution_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542520/ft1_filtered_4FGL_J1337.6-1257_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/542520/ft2_4FGL_J1337.6-1257_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542520/Model_4FGL_J1337.6-1257_daily_bin1601.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/542520/ft1_filtered_4FGL_J1337.6-1257_daily_bin1601.fits.....................!
real 76.22
user 74.88
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1348       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    57.668       1.0000         .10000E-03   10000.    
     4 'norm      '    15.263       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.924       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13784E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.2195       1.0000         .10000E-03   10000.    
     9 'norm      '    .86703       1.0000         .10000E-03   10000.    
    10 'norm      '    29.025       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .41516E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.7769       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.6818       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0789       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=   9999.167     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2192 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1349        6.9318        .40522E-02    .21012E-02
   2  norm          .10000E-03    1.0777        .90712E-02** at limit **
   3  norm          57.666        16.965        .13207E-02   -.35360E-03
   4  norm          15.263        10.780        .25630E-02   -.22551E-04
   5  Prefactor     .10000E-03    2.5351        .90712E-02** at limit **
   6  Prefactor     21.925        8.5310        .21386E-02   -.22129E-03
   7  Prefactor     .10002E-03    38.377        .90712E-02** at limit **
   8  norm          4.2192        1.6790        .49043E-02    .28581E-03
   9  norm          .85684        3.4001        .47191E-01    .11044E-02
  10  norm          29.046        10.976        .18591E-02   -.83124E-03
  11  Prefactor     .10041E-03    3.8716        .10623    ** at limit **
  12  Prefactor     .10000E-03    14.185        .90712E-02** at limit **
  13  norm          .10003E-03    20.527        .90712E-02** at limit **
  14  Prefactor     .10000E-03    6.6631        .90712E-02** at limit **
  15  norm          5.7777        4.4197        .41776E-02    .35705E-03
  16  Prefactor     .10000E-03    2.1157        .90712E-02** at limit **
  17  Prefactor     .10000E-03    93.942        .90712E-02** at limit **
  18  norm          .10000E-03    1.9177        .90712E-02** at limit **
  19  norm          3.6812        2.4024        .52623E-02    .58101E-03
  20  norm          .10000E-03    1.7416        .90712E-02** at limit **
  21  Prefactor     .10002E-03    20.100        .90712E-02** at limit **
  22  Normalizat    1.1732        .21797        .82642E-01    .62296E-04
  23  Prefactor     1.0789        .11250        .38447E-01    .18278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.1349
  norm       = 0.0001
  norm       = 57.6662
  norm       = 15.2625
  Prefactor  = 0.0001
  Prefactor  = 21.9246
  Prefactor  = 0.000100021
  norm       = 4.21921
  norm       = 0.856842
  norm       = 29.0463
  Prefactor  = 0.000100406
  Prefactor  = 0.000100002
  norm       = 0.000100029
  Prefactor  = 0.0001
  norm       = 5.7777
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.68124
  norm       = 0.0001
  Prefactor  = 0.000100018
  Normalizat = 1.17321
  Prefactor  = 1.07887
 **********
 **   18 **HESSE 
 **********

 FCN=   9999.167     FROM HESSE     STATUS=OK           366 CALLS     2558 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1349        6.9268        .16209E-03   -1.5213    
   2  norm          .10000E-03    1.0940        .10134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          57.666        16.976        .52828E-04   -1.4188    
   4  norm          15.263        10.779        .10252E-03   -1.4926    
   5  Prefactor     .10000E-03    2.5399        .15547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.925        8.5297        .85545E-04   -1.4771    
   7  Prefactor     .10002E-03    38.594        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.2192        1.6810        .77988E-04   -1.5297    
   9  norm          .85684        4.8754        .26506E-02   -1.5523    
  10  norm          29.046        10.131        .74365E-04   -1.4630    
  11  Prefactor     .10041E-03    21.873        .37693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10003E-03    20.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.7777        4.4024        .16710E-03   -1.5227    
  16  Prefactor     .10000E-03    2.1458        .14193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    95.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.9251        .13522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.6812        2.4004        .11969E-03   -1.5324    
  20  norm          .10000E-03    1.7461        .12886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    20.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1732        .25170        .36588E-03   -.87435    
  23  Prefactor     1.0789        .13076        .20296E-03   -.90145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73745e-08
Minuit parameter uncertainties:
  1  6.92769
  2  6.67746e-06
  3  16.9774
  4  10.7801
  5  1.59589e-06
  6  8.53021
  7  0.0018103
  8  1.68101
  9  4.08802
  10  10.1314
  11  0.00596553
  12  0.000358462
  13  0.00153752
  14  5.30742e-06
  15  4.40266
  16  6.02864e-06
  17  4.41105e-06
  18  6.85073e-06
  19  2.40046
  20  7.01888e-06
  21  0.00121793
  22  0.251955
  23  0.130803
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.905e+01  1.013e+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:  1.079e+00  1.308e-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.173e+00  2.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.65
Ra Dec: 204.424 -12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.77e-07 +/- 6.17e-08
Energy Flux (Fixed Index): 6.37e-05 +/- 2.22e-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) = 9999.15165972
delta logL = 0.0148770016949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9999.14494504
delta logL = 0.0215916737397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.045       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3700       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0824       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=   9999.145     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      211 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.048        106.83        .18913E-02    .52430E-04
   2  alpha         2.3701        3.6528        .22527        .86547E-04
   3  Normalizat    1.1629        .19062        .82947E-01    .53595E-04
   4  Prefactor     1.0824        .75131E-01    .38297E-01    .10178E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.0476
  alpha      = 2.37014
  Normalizat = 1.16287
  Prefactor  = 1.08235
 **********
 **   18 **HESSE 
 **********

 FCN=   9999.145     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.048        9.8312        .75650E-04   -1.4648    
   2  alpha         2.3701        .32263        .91611E-02   -.51969E-01
   3  Normalizat    1.1629        .24683        .36724E-03   -.87758    
   4  Prefactor     1.0824        .13036        .20267E-03   -.90033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83942e-12
Minuit parameter uncertainties:
  1  9.83178
  2  0.32354
  3  0.24708
  4  0.130394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542520': 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) = 9999.14494357
delta logL = 0.021593149133

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.805e+01  9.832e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.370e+00  3.235e-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:  1.082e+00  1.304e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.163e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.68
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 2.37 +/- 0.32
Photon Flux (Free Index): 1.84e-07 +/- 6.38e-08
Energy Flux (Free Index): 6.23e-05 +/- 1.96e-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/542520/cmap_HighResolution_654307201_654566401_4FGL_J1337.6-1257_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.77e-07', energy_flux2='6.23e-05', photon_flux_error='6.17e-08', dlogl='2.16e-02', energy_flux='6.37e-05', photon_flux2='1.84e-07', job_status='DONE', time_completed='2021-09-29 00:31:01.692878', photon_index_error2='0.32', photon_index2='2.37', ts='25.65', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='1.17', time_epoch_completed='1632900661.69', return_code='0', job_id='542520', GAL2='1.08', EG2='1.16', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='6.38e-08', ts2='25.68', photon_index='2.30' WHERE bin_id='1601' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:31:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 542520: <4FGL_J1337.6-1257_daily_bin1601> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1601> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 00:15:30 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:15:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:15:32 2021
Terminated at Wed Sep 29 00:31:02 2021
Results reported at Wed Sep 29 00:31:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1601 204.424 -12.9517 654307201 654566401 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 :                                   711.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

