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


Performing analysis on: 4FGL_J1337.4+5502_daily_bin1752
RA = 204.367, Dec = 55.0418
tmin = 693446401, tmax = 693705601
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='264924', job_status='RUN', time_executed='2022-12-26 01:00:56.034778', time_epoch_executed='1672045256.03' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264924/ft1_4FGL_J1337.4+5502_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264924/ft1_4FGL_J1337.4+5502_daily_bin1752.fits outfile=/scratch/kocevski/264924/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin1752.fits ra=204.367 dec=55.0418 rad=12.0 tmin=693446401.0 tmax=693705601.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.46
user 3.23
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.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/264924/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.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.33
sys 0.15

Number of photons that the gtmktime cut: 447

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/264924/ltcube_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.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/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits
.....................!
real 13.75
user 13.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/264924/ltcube_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.fits outfile=/scratch/kocevski/264924/expmap_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.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/264924/ltcube_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.fits
.....................!
real 190.87
user 186.15
sys 4.26

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 208 point sources and 0 extended sources

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits scfile=/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits outfile=/scratch/kocevski/264924/cmap_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.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.367 yref=55.0418 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits scfile=/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits outfile=/scratch/kocevski/264924/cmap_HighResolution_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.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.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264924/Model_4FGL_J1337.4+5502_daily_bin1752.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/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits.....................!
real 44.54
user 42.57
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits', '/scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits', expMap='/scratch/kocevski/264924/expmap_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.fits', expCube='/scratch/kocevski/264924/ltcube_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/264924/Model_4FGL_J1337.4+5502_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/264924/ft1_filtered_4FGL_J1337.4+5502_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/264924/ft2_4FGL_J1337.4+5502_daily_bin1752.fits
Exposure map: /scratch/kocevski/264924/expmap_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.fits
Exposure cube: /scratch/kocevski/264924/ltcube_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/264924/Model_4FGL_J1337.4+5502_daily_bin1752.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) = 4965.47997845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73015E-03   1.0000          .0000       .10000E+07
     2 'norm      '    7.3270       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.7759       1.0000          .0000       .10000E+07
     4 'norm      '    6.3911       1.0000          .0000       .10000E+07
     5 'Prefactor '    .57095E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11885E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .39296E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13042E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .81795E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4176       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .38342E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .68843       1.0000          .0000       .10000E+07
    14 'norm      '    2.9123       1.0000          .0000       .10000E+07
    15 'Prefactor '    25.410       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14900       1.0000          .0000       .10000E+07
    17 'Prefactor '    63.530       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26686E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.8582       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.8821       1.0000          .0000       .10000E+07
    21 'Prefactor '    8.2058       1.0000          .0000       .10000E+07
    22 'Prefactor '    .14038E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    22.973       1.0000          .0000       .10000E+07
    24 'Prefactor '    10.225       1.0000          .0000       .10000E+07
    25 'Normalizat'    .57346       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4965.477     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2337 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    3.9936        .56041E-08** at limit **
   2  norm          7.3256        2.8700        .15283E-08   -.10305E-02
   3  Prefactor     7.7951        1.5359       -.12823E-08    .36160E-01
   4  norm          6.3900        2.6128       -.11358E-07   -.48686E-02
   5  Prefactor     .66613E-09    18.011        .12865E-06** at limit **
   6  Prefactor     .60507E-08    7.3815        .16371E-06** at limit **
   7  norm          .34583E-07    6.0936        .30257E-07** at limit **
   8  Prefactor     .88818E-09    14.719       -.11808E-06** at limit **
   9  Prefactor     .10307E-05    392.56        .27031E-06** at limit **
  10  norm          1.4176        2.0818        .56156E-07    .56939E-02
  11  Prefactor      .0000        47.795        .14838E-06** at limit **
  12  Prefactor     .22204E-09    11.900        .74663E-07** at limit **
  13  norm          .68803        .68026        .10932E-07    .51286E-02
  14  norm          2.8916        4.5123       -.71968E-07   -.50401E-02
  15  Prefactor     25.467        11.535       -.64239E-08   -.58315E-01
  16  Prefactor     .37672E-05    25.696        .78450E-07** at limit **
  17  Prefactor     63.839        39.196       -.21273E-07    .55218E-01
  18  Prefactor     .11102E-09    2.5093        .46806E-07** at limit **
  19  Prefactor     8.8333        1.5376        .81171E-08   -.55177E-01
  20  Prefactor     3.8880        2.8831       -.45259E-07   -.95640E-02
  21  Prefactor     8.1549        5.5107        .73677E-08    .29448E-01
  22  Prefactor      .0000        29.076        .39531E-06** at limit **
  23  Prefactor     23.090        6.3731       -.52608E-08   -.13304E-01
  24  Prefactor     10.195        8.1622        .12008E-07   -.80174E-01
  25  Normalizat    .57367        .18786        .29543E-05   -.20108E-03
  26  Prefactor     1.2122        .23966       -.35270E-05   -.42101E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  norm       = 7.32556
  Prefactor  = 7.79509
  norm       = 6.38996
  Prefactor  = 6.66134e-10
  Prefactor  = 6.05072e-09
  norm       = 3.45834e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.03073e-06
  norm       = 1.41761
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  norm       = 0.68803
  norm       = 2.89156
  Prefactor  = 25.467
  Prefactor  = 3.76715e-06
  Prefactor  = 63.8391
  Prefactor  = 1.11022e-10
  Prefactor  = 8.83335
  Prefactor  = 3.88797
  Prefactor  = 8.15492
  Prefactor  = 0
  Prefactor  = 23.09
  Prefactor  = 10.1951
  Normalizat = 0.573667
  Prefactor  = 1.21224
 **********
 **   18 **HESSE 
 **********

 FCN=   4965.477     FROM HESSE     STATUS=OK           520 CALLS     2857 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    4.0050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.3256        2.8771        .37030E-03   -1.5654    
   3  Prefactor     7.7951        18.521        .35936E-03   -1.5652    
   4  norm          6.3900        2.6166        .39679E-03   -1.5657    
   5  Prefactor     .66613E-09    18.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .60507E-08    7.4153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .34583E-07    6.2112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .88818E-09    14.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10307E-05    21.160        .88421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4176        2.1167        .90862E-03   -1.5684    
  11  Prefactor      .0000        47.751        .13313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22204E-09    11.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68803        .67287        .61652E-03   -1.5691    
  14  norm          2.8916        4.5562        .59509E-03   -1.5674    
  15  Prefactor     25.467        32.604        .19842E-03   -1.5607    
  16  Prefactor     .37672E-05    51.588        .12765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     63.839        43.898        .12547E-03   -1.5548    
  18  Prefactor     .11102E-09    2.5116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.8333        15.448        .33653E-03   -1.5649    
  20  Prefactor     3.8880        3.0967        .51188E-03   -1.5669    
  21  Prefactor     8.1549        25.270        .34975E-03   -1.5651    
  22  Prefactor      .0000        29.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     23.090        33.880        .20869E-03   -1.5612    
  24  Prefactor     10.195        10.805        .31310E-03   -1.5644    
  25  Normalizat    .57367        .16177        .40575E-01   -1.0911    
  26  Prefactor     1.2122        .20250        .52047E-01   -.85956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01939e-07
Minuit parameter uncertainties:
  1  0.000180064
  2  2.87713
  3  18.5207
  4  2.61662
  5  0.000215763
  6  0.000423875
  7  0.000926623
  8  0.000232873
  9  0.00934037
  10  2.11668
  11  1.77301e-05
  12  0.000105278
  13  0.672871
  14  4.55617
  15  32.6039
  16  0.0278815
  17  43.898
  18  3.45425e-05
  19  15.4483
  20  3.09672
  21  25.2705
  22  4.10315e-05
  23  33.8798
  24  10.8053
  25  0.161904
  26  0.202626
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.773e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  1.212e+00  2.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  5.737e-01  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/264924/likelihoodResults_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.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) = 4965.48687922
delta logL = -0.0100491096773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4965.47683045
delta logL = -3.35759978043e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12599E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.4239       1.0000          .0000       10.000    
     3 'Normalizat'    .57369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2122       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4965.477     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      206 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        45.437       -.30323E-07** at limit **
   2  Index         2.8083        5.8236        .18159E-05     .0000    
   3  Normalizat    .57366        .18696        .18971E-05    .33665E-04
   4  Prefactor     1.2122        .24018       -.49950E-05    .67082E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.80831
  Normalizat = 0.573665
  Prefactor  = 1.21224
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4965.477     FROM HESSE     STATUS=FAILED        11 CALLS      217 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        45.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89332        2.0177        .18159E-05   -.45375    
   3  Normalizat    .57366        .90989        .18971E-05   -1.0911    
   4  Prefactor     1.2122        1.0992       -.49950E-05   -.85955    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.41693e-12
Minuit parameter uncertainties:
  1  4.12795e-05
  2  1.38144
  3  0.935348
  4  1.12107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264924': 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): 101
logL (Free Index) = 4965.47683011
delta logL = 1.5916157281e-10

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.128e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.808e+00  1.381e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  1.212e+00  1.121e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  5.737e-01  9.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/264924/cmap_HighResolution_693446401_693705601_4FGL_J1337.4+5502_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.02e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2022-12-26 01:11:28.894277', job_id='264924', GAL2='1.21', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1672045888.89', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.59e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1752' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:11:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 264924: <4FGL_J1337.4+5502_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1337.4+5502_daily_bin1752> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Dec 26 01:00:19 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:00:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:00:38 2022
Terminated at Mon Dec 26 01:11:29 2022
Results reported at Mon Dec 26 01:11:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.4+5502_daily_bin1752 204.367 55.0418 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1337.4+5502 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            670 sec.

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

