aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 146 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1769
RA = 204.424, Dec = -12.9517
tmin = 697852801, tmax = 698112001
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='435860', job_status='RUN', time_executed='2023-02-15 00:53:06.155655', time_epoch_executed='1676451186.16' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435860/ft1_4FGL_J1337.6-1257_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435860/ft1_4FGL_J1337.6-1257_daily_bin1769.fits outfile=/scratch/kocevski/435860/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1769.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=697852801.0 tmax=698112001.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.34
user 4.11
sys 0.22

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

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

Number of photons that the gtmktime cut: 676

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/435860/ltcube_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.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/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits
.....................!
real 11.87
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/435860/ltcube_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.fits outfile=/scratch/kocevski/435860/expmap_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.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/435860/ltcube_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.fits
.....................!
real 190.64
user 185.52
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/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits scfile=/scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits outfile=/scratch/kocevski/435860/cmap_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.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.53
user 0.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435860/Model_4FGL_J1337.6-1257_daily_bin1769.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/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits.....................!
real 59.27
user 58.07
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits', '/scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits', expMap='/scratch/kocevski/435860/expmap_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.fits', expCube='/scratch/kocevski/435860/ltcube_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/435860/Model_4FGL_J1337.6-1257_daily_bin1769.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  0.000e+00  1.000e+06 ( 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 -5.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/435860/ft1_filtered_4FGL_J1337.6-1257_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/435860/ft2_4FGL_J1337.6-1257_daily_bin1769.fits
Exposure map: /scratch/kocevski/435860/expmap_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.fits
Exposure cube: /scratch/kocevski/435860/ltcube_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/435860/Model_4FGL_J1337.6-1257_daily_bin1769.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) = 7336.94918104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2548       1.0000          .0000       .10000E+07
     2 'norm      '    .40079E-06   1.0000          .0000       .10000E+07
     3 'norm      '    1.5515       1.0000          .0000       .10000E+07
     4 'norm      '    .86060E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.4356       1.0000          .0000       .10000E+07
     6 'Prefactor '    .24290E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32494E-03   1.0000          .0000       .10000E+07
     8 'norm      '    3.2161       1.0000          .0000       .10000E+07
     9 'norm      '    10.733       1.0000          .0000       .10000E+07
    10 'norm      '    .12240E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.405       1.0000          .0000       .10000E+07
    12 'Prefactor '    45.666       1.0000          .0000       .10000E+07
    13 'norm      '    .51114E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13083E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .73049E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .89051E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .57483E-03   1.0000          .0000       .10000E+07
    18 'norm      '    27.196       1.0000          .0000       .10000E+07
    19 'norm      '    .11005E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .36896E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4182       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86807       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7336.820     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1449 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2447        7.8825        .90617E-08    .17903E-03
   2  norm           .0000        1.6225       -.17046E-07** at limit **
   3  norm          1.6843        5.4066        .94544E-09   -.55777E-04
   4  norm          .11102E-09    10.641       -.18895E-07** at limit **
   5  Prefactor     3.4394        5.1330       -.11463E-08    .65091E-04
   6  Prefactor      .0000        2.9414        .40286E-07** at limit **
   7  Prefactor     .77716E-09    26.263        .15862E-06** at limit **
   8  norm          3.2131        1.6684       -.10442E-07   -.94117E-03
   9  norm          10.742        4.5546        .78842E-07    .16984E-02
  10  norm          .58131E-06    606.64        .23771E-06** at limit **
  11  Prefactor     32.093        19.003        .78263E-07   -.35586E-02
  12  Prefactor     44.188        11.696        .18892E-07    .95529E-01
  13  norm          .55511E-10    8.9286        .11704E-07** at limit **
  14  Prefactor     .14772E-05    41.193        .14886E-06** at limit **
  15  norm           .0000        2.1339       -.28566E-07** at limit **
  16  Prefactor      .0000        3.7362       -.34539E-07** at limit **
  17  norm           .0000        4.0131        .24369E-07** at limit **
  18  norm          27.214        4.9846        .11771E-08    .49328E-03
  19  norm           .0000        6.7315        .13777E-07** at limit **
  20  Prefactor     .88818E-09    52.045       -.18562E-06** at limit **
  21  Normalizat    1.4183        .27844        .87293E-07    .82645E-05
  22  Prefactor     .86874        .14073       -.40289E-07    .19997E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24472
  norm       = 0
  norm       = 1.68432
  norm       = 1.11022e-10
  Prefactor  = 3.43938
  Prefactor  = 0
  Prefactor  = 7.77156e-10
  norm       = 3.21306
  norm       = 10.7425
  norm       = 5.81313e-07
  Prefactor  = 32.0929
  Prefactor  = 44.1879
  norm       = 5.55112e-11
  Prefactor  = 1.47721e-06
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 27.2138
  norm       = 0
  Prefactor  = 8.88178e-10
  Normalizat = 1.41825
  Prefactor  = 0.868741
 **********
 **   18 **HESSE 
 **********

 FCN=   7336.820     FROM HESSE     STATUS=OK           394 CALLS     1843 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2447        7.8928        .56112E-03   -1.5672    
   2  norm           .0000        1.6254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6843        5.4571        .85471E-03   -1.5682    
   4  norm          .11102E-09    10.659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4394        5.1458        .54545E-03   -1.5671    
   6  Prefactor      .0000        2.9469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .77716E-09    26.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.2131        1.6693        .56466E-03   -1.5672    
   9  norm          10.742        5.0484        .30557E-03   -1.5642    
  10  norm          .58131E-06    8.2387        .59998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.093        19.353        .17569E-03   -1.5595    
  12  Prefactor     44.188        31.255        .14799E-03   -1.5575    
  13  norm          .55511E-10    8.9299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14772E-05    47.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.1413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.7223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        4.0131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          27.214        4.9831        .19179E-03   -1.5604    
  19  norm           .0000        6.7112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88818E-09    11.600        .16107E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4183        .24077        .76074E-01   -.80102    
  22  Prefactor     .86874        .12222        .44597E-01   -.97242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.58147e-07
Minuit parameter uncertainties:
  1  7.89278
  2  2.15671e-06
  3  5.45707
  4  6.62718e-05
  5  5.1458
  6  6.20951e-06
  7  0.000290285
  8  1.66929
  9  5.04839
  10  0.00437697
  11  19.3534
  12  31.2547
  13  5.35135e-05
  14  0.0167015
  15  3.98554e-06
  16  7.02257e-06
  17  3.24163e-06
  18  4.98308
  19  1.00607e-05
  20  0.000199984
  21  0.240962
  22  0.122254
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  5.813e-07  4.377e-03  0.000e+00  1.000e+06 ( 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 -5.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:  8.687e-01  1.223e-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.418e+00  2.410e-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: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435860/likelihoodResults_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.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) = 7336.06808821
delta logL = 0.751852813785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7336.02635439
delta logL = 0.793586639392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27632       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90147       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=   7336.026     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      358 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27627        7.6407        .82241E-03   -.17200E-01
   2  alpha         5.0000        3.3971        .46267    ** at limit **
   3  Normalizat    1.3070        .11655        .78581E-01   -.12968E-03
   4  Prefactor     .90138        .55313E-01    .45024E-01   -.16982E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.276268
  alpha      = 5
  Normalizat = 1.30697
  Prefactor  = 0.901382
 **********
 **   18 **HESSE 
 **********

 FCN=   7336.026     FROM HESSE     STATUS=OK            35 CALLS      393 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27627        .29090        .37325E-04   -1.5697    
   2  alpha         5.0000        3.2040        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3070        .28211        .34782E-03   -.83359    
   4  Prefactor     .90138        .14242        .21374E-03   -.96093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93009e-10
Minuit parameter uncertainties:
  1  0.290904
  2  4.24906e-07
  3  0.282441
  4  0.142481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435860': 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) = 7336.02635302
delta logL = 0.793588005607

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.763e-01  2.909e-01  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  5.000e+00  4.249e-07  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  1.384e-01  0.000e+00 -5.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:  9.014e-01  1.425e-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.307e+00  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 204.424 -12.952
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.09e-07 +/- 1.15e-07
Energy Flux (Free Index): 1.51e-05 +/- 1.58e-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/435860/cmap_HighResolution_697852801_698112001_4FGL_J1337.6-1257_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', comment='SUCCESS', energy_flux2='1.51e-05', dlogl='7.94e-01', photon_flux2='1.09e-07', job_status='DONE', time_completed='2023-02-15 01:02:44.612422', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.58e-05', EG='1.42', time_epoch_completed='1676451764.61', return_code='0', job_id='435860', GAL2='0.90', EG2='1.31', return_code2='0', photon_flux_error2='1.15e-07', ts2='1.82', photon_index='2.30' WHERE bin_id='1769' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:02:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 435860: <4FGL_J1337.6-1257_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:50:22 2023
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:50:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:50:23 2023
Terminated at Wed Feb 15 01:02:45 2023
Results reported at Wed Feb 15 01:02:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1769 204.424 -12.9517 697852801 698112001 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 :                                   581.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

