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


Performing analysis on: 4FGL_J1337.6-1257_daily_bin1772
RA = 204.424, Dec = -12.9517
tmin = 698630401, tmax = 698889601
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='634502', job_status='RUN', time_executed='2023-02-24 01:46:22.494668', time_epoch_executed='1677231982.49' WHERE source_name='4FGL J1337.6-1257' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/634502

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/634502/ft1_4FGL_J1337.6-1257_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/634502/ft1_4FGL_J1337.6-1257_daily_bin1772.fits outfile=/scratch/kocevski/634502/ft1_filteredMKT_4FGL_J1337.6-1257_daily_bin1772.fits ra=204.424 dec=-12.9517 rad=12.0 tmin=698630401.0 tmax=698889601.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.00
user 2.80
sys 0.19

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

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

Number of photons that the gtmktime cut: 688

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/634502/ft1_filtered_4FGL_J1337.6-1257_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/634502/ltcube_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.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/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits
.....................!
real 12.48
user 12.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/634502/ft1_filtered_4FGL_J1337.6-1257_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/634502/ltcube_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.fits outfile=/scratch/kocevski/634502/expmap_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.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/634502/ltcube_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.fits
.....................!
real 189.95
user 185.55
sys 4.09

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/634502/ft1_filtered_4FGL_J1337.6-1257_daily_bin1772.fits scfile=/scratch/kocevski/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits outfile=/scratch/kocevski/634502/cmap_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.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.40
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/634502/ft1_filtered_4FGL_J1337.6-1257_daily_bin1772.fits scfile=/scratch/kocevski/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits outfile=/scratch/kocevski/634502/cmap_HighResolution_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/634502/ft1_filtered_4FGL_J1337.6-1257_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/634502/ft2_4FGL_J1337.6-1257_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/634502/Model_4FGL_J1337.6-1257_daily_bin1772.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/634502/ft1_filtered_4FGL_J1337.6-1257_daily_bin1772.fits.....................!
real 59.73
user 58.44
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57176E-08   1.0000          .0000       .10000E+07
     2 'norm      '    5.7355       1.0000          .0000       .10000E+07
     3 'norm      '    43.119       1.0000          .0000       .10000E+07
     4 'norm      '    10.557       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28467E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .55632E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.0146       1.0000          .0000       .10000E+07
     8 'norm      '    3.0163       1.0000          .0000       .10000E+07
     9 'norm      '    21.542       1.0000          .0000       .10000E+07
    10 'norm      '    2.3437       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34583E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .35459       1.0000          .0000       .10000E+07
    13 'norm      '    .67078E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12130E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .82191       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4377       1.0000          .0000       .10000E+07
    17 'norm      '    .17310E-04   1.0000          .0000       .10000E+07
    18 'norm      '    28.173       1.0000          .0000       .10000E+07
    19 'norm      '    6.3576       1.0000          .0000       .10000E+07
    20 'Prefactor '    15.228       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2179       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94212       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=   7527.909     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     1473 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.9057       -.55334E-07** at limit **
   2  norm          5.7353        3.2860       -.54652E-08   -.34860E-03
   3  norm          43.265        6.0392       -.49780E-08   -.97162E-01
   4  norm          10.551        11.975       -.24103E-07   -.10874E-02
   5  Prefactor      .0000        4.2630        .95155E-07** at limit **
   6  Prefactor     .68279E-07    40.588       -.28369E-06** at limit **
   7  Prefactor     .59119E-07    803.02       -.11712E-05** at limit **
   8  norm          3.0136        1.7390       -.17423E-07   -.22088E-03
   9  norm          21.915        8.2207        .20134E-06   -.46505E-02
  10  norm          2.3444        18.685        .78535E-07    .23839E-02
  11  Prefactor     .55511E-10    10.280        .66268E-07** at limit **
  12  Prefactor     .89906E-06    333.63       -.33413E-06** at limit **
  13  norm          .29421E-07    26.980        .18283E-06** at limit **
  14  Prefactor      .0000        3.9285        .11579E-06** at limit **
  15  norm          .83336        10.349       -.11259E-06   -.45716E-02
  16  Prefactor     5.4529        5.8535       -.15150E-06   -.16277E-03
  17  norm           .0000        4.8038        .55725E-07** at limit **
  18  norm          28.154        4.9980       -.63887E-08   -.11826E-02
  19  norm          6.3220        7.8681        .23764E-07   -.75028E-03
  20  Prefactor     15.665        17.711        .73977E-07    .81375E-02
  21  Normalizat    1.2197        .29556        .20818E-05   -.30880E-04
  22  Prefactor     .94168        .14603       -.39730E-06   -.62887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.73534
  norm       = 43.2646
  norm       = 10.5506
  Prefactor  = 0
  Prefactor  = 6.82787e-08
  Prefactor  = 5.91194e-08
  norm       = 3.0136
  norm       = 21.915
  norm       = 2.3444
  Prefactor  = 5.55112e-11
  Prefactor  = 8.99059e-07
  norm       = 2.94209e-08
  Prefactor  = 0
  norm       = 0.833355
  Prefactor  = 5.45293
  norm       = 0
  norm       = 28.1541
  norm       = 6.32195
  Prefactor  = 15.6646
  Normalizat = 1.21974
  Prefactor  = 0.941678
 **********
 **   18 **HESSE 
 **********

 FCN=   7527.909     FROM HESSE     STATUS=OK           404 CALLS     1877 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.9205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.7353        3.2881        .41916E-03   -1.5660    
   3  norm          43.265        22.263        .15230E-03   -1.5576    
   4  norm          10.551        11.983        .30812E-03   -1.5643    
   5  Prefactor      .0000        4.2777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .68279E-07    40.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .59119E-07    52.688        .96751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0136        1.7408        .58411E-03   -1.5673    
   9  norm          21.915        10.732        .21552E-03   -1.5614    
  10  norm          2.3444        21.684        .66940E-03   -1.5677    
  11  Prefactor     .55511E-10    10.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .89906E-06    19.785        .12258E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .29421E-07    27.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.9325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .83336        10.563        .51316E-03   -1.5690    
  16  Prefactor     5.4529        5.9053        .43068E-03   -1.5661    
  17  norm           .0000        4.8095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          28.154        5.0111        .18843E-03   -1.5602    
  19  norm          6.3220        7.8858        .39784E-03   -1.5658    
  20  Prefactor     15.665        17.804        .25640E-03   -1.5629    
  21  Normalizat    1.2197        .25692        .84258E-01   -.85995    
  22  Prefactor     .94168        .12511        .45540E-01   -.94700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21616e-07
Minuit parameter uncertainties:
  1  1.42479e-06
  2  3.28808
  3  22.2627
  4  11.9833
  5  5.06819e-06
  6  0.00332918
  7  0.00353047
  8  1.74079
  9  10.7322
  10  14.2598
  11  3.56741e-05
  12  0.008435
  13  0.00179289
  14  1.86102e-06
  15  5.93401
  16  5.90534
  17  9.56504e-07
  18  5.01105
  19  7.88577
  20  17.8043
  21  0.257187
  22  0.125151
Done.

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

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.344e+00  1.426e+01  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:  9.417e-01  1.252e-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.220e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/634502/likelihoodResults_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.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) = 7527.85845597
delta logL = 0.0502221545585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7527.85654718
delta logL = 0.0521309421911

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7527.857     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      268 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7238        9.1645        .24666E-04    .64885E-02
   2  alpha         2.7863        1.5594        .33936E-01    .76842E-04
   3  Normalizat    1.2060        .28844        .37476E-03   -.39320E-03
   4  Prefactor     .94464        .14352        .20937E-03   -.67529E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.72379
  alpha      = 2.78628
  Normalizat = 1.20596
  Prefactor  = 0.94464
 **********
 **   18 **HESSE 
 **********

 FCN=   7527.857     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7238        8.0369        .98665E-06   -1.5675    
   2  alpha         2.7863        1.3921        .13574E-02    .11476    
   3  Normalizat    1.2060        .28886        .74953E-04   -.86419    
   4  Prefactor     .94464        .14351        .41875E-04   -.94598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09401e-09
Minuit parameter uncertainties:
  1  8.03697
  2  1.47772
  3  0.289246
  4  0.143568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/634502': 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) = 7527.85654691
delta logL = 0.052131221948

Extracting fit parameters...

4FGL J1337.6-1257
   Spectrum: LogParabola
263         norm:  2.724e+00  8.037e+00  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  2.786e+00  1.478e+00  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.446e-01  1.436e-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.206e+00  2.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/634502/cmap_HighResolution_698630401_698889601_4FGL_J1337.6-1257_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.37e-05', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2023-02-24 01:56:19.930257', job_id='634502', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1677232579.93', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.21e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1772' AND source_name='4FGL J1337.6-1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:56:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 634502: <4FGL_J1337.6-1257_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1337.6-1257_daily_bin1772> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Feb 24 01:45:17 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:45:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:45:18 2023
Terminated at Fri Feb 24 01:56:20 2023
Results reported at Fri Feb 24 01:56:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.6-1257_daily_bin1772 204.424 -12.9517 698630401 698889601 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 :                                   600.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            663 sec.

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

