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


Performing analysis on: 4FGL_J1503.5+4759_daily_bin1712
RA = 225.895, Dec = 47.9959
tmin = 683078401, tmax = 683337601
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='155305', job_status='RUN', time_executed='2022-09-16 18:49:05.012214', time_epoch_executed='1663379345.01' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155305

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155305/ft1_4FGL_J1503.5+4759_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155305/ft1_4FGL_J1503.5+4759_daily_bin1712.fits outfile=/scratch/kocevski/155305/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin1712.fits ra=225.895 dec=47.9959 rad=12.0 tmin=683078401.0 tmax=683337601.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.75
user 4.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.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/155305/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.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.33
sys 0.14

Number of photons that the gtmktime cut: 588

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/155305/ltcube_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.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/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits
.....................!
real 12.24
user 11.91
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/155305/ltcube_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.fits outfile=/scratch/kocevski/155305/expmap_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.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/155305/ltcube_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.fits
.....................!
real 190.59
user 186.06
sys 4.17

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

Setting source of interest to:
4FGL J1503.5+4759 @ 225.895 47.9959

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits scfile=/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits outfile=/scratch/kocevski/155305/cmap_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.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=225.895 yref=47.9959 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits scfile=/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits outfile=/scratch/kocevski/155305/cmap_HighResolution_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.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=225.895 yref=47.9959 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/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155305/Model_4FGL_J1503.5+4759_daily_bin1712.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/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits.....................!
real 49.85
user 48.63
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits', '/scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits', expMap='/scratch/kocevski/155305/expmap_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.fits', expCube='/scratch/kocevski/155305/ltcube_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155305/Model_4FGL_J1503.5+4759_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/155305/ft1_filtered_4FGL_J1503.5+4759_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/155305/ft2_4FGL_J1503.5+4759_daily_bin1712.fits
Exposure map: /scratch/kocevski/155305/expmap_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.fits
Exposure cube: /scratch/kocevski/155305/ltcube_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155305/Model_4FGL_J1503.5+4759_daily_bin1712.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) = 6410.89057733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20302E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    74.493       1.0000          .0000       .10000E+07
     3 'Prefactor '    .36301E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84921E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.1822       1.0000          .0000       .10000E+07
     6 'Prefactor '    32.215       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15338E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .63091E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15824E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .55292E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .99425E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.8365       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12970E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .94884       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0745       1.0000          .0000       .10000E+07
    16 'norm      '    2.9216       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.3613       1.0000          .0000       .10000E+07
    18 'norm      '    .22216E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.3580       1.0000          .0000       .10000E+07
    20 'Prefactor '    .66456       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.706       1.0000          .0000       .10000E+07
    22 'Prefactor '    .24236E-03   1.0000          .0000       .10000E+07
    23 'norm      '    11.175       1.0000          .0000       .10000E+07
    24 'Prefactor '    .58168E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    3.9754       1.0000          .0000       .10000E+07
    26 'Prefactor '    .89507       1.0000          .0000       .10000E+07
    27 'Normalizat'    .76481       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0265       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6410.889     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2618 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    17.747       -.15951E-06** at limit **
   2  Prefactor     74.752        18.568       -.46722E-06    .25147    
   3  Prefactor     .11718E-06    4.7977       -.86876E-07** at limit **
   4  Prefactor     .19479E-06    3.6118       -.12139E-06** at limit **
   5  Prefactor     4.1805        2.3398        .33272E-08   -.11038E-02
   6  Prefactor     32.225        2.8706       -.10113E-06    .52831E-01
   7  Prefactor     .15493E-06    3.4207       -.14138E-06** at limit **
   8  Prefactor      .0000        22.905        .20088E-07** at limit **
   9  Prefactor     .63782E-07    3.9214        .22845E-06** at limit **
  10  norm          .44409E-09    4.6932        .67282E-07** at limit **
  11  Prefactor     .62061E-07    7.8224       -.82249E-06** at limit **
  12  norm          3.8374        1.6743        .14943E-08   -.15181E-03
  13  Prefactor     .21205E-07    3.2322        .23430E-06** at limit **
  14  Prefactor     .89346        27.535       -.37004E-06   -.90979E-02
  15  Prefactor     1.0691        2.9816       -.66601E-07   -.67889E-03
  16  norm          2.9236        1.6425       -.41598E-07   -.34482E-02
  17  Prefactor     7.3147        7.7155        .23614E-07    .17647E-02
  18  norm          .55511E-10    1.7304       -.61241E-07** at limit **
  19  Prefactor     5.3558        4.6486       -.87479E-07   -.63717E-03
  20  Prefactor     .28171E-05    154.89        .27867E-06** at limit **
  21  Prefactor     12.703        9.8107        .33682E-06   -.41430E-02
  22  Prefactor     .55511E-10    3.0563        .13356E-06** at limit **
  23  norm          11.182        6.2932       -.26352E-06   -.54033E-01
  24  Prefactor     .37748E-08    10.099        .39278E-06** at limit **
  25  Prefactor     3.9676        9.1639       -.79216E-07   -.89488E-03
  26  Prefactor     .64382        359.90        .72805E-05    .14578E-01
  27  Normalizat    .76515        .18352       -.26507E-05   -.54637E-04
  28  Prefactor     1.0265        .20188        .37384E-05    .32678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 74.752
  Prefactor  = 1.17184e-07
  Prefactor  = 1.94789e-07
  Prefactor  = 4.1805
  Prefactor  = 32.225
  Prefactor  = 1.54932e-07
  Prefactor  = 0
  Prefactor  = 6.37823e-08
  norm       = 4.44089e-10
  Prefactor  = 6.20615e-08
  norm       = 3.83743
  Prefactor  = 2.12053e-08
  Prefactor  = 0.893458
  Prefactor  = 1.06914
  norm       = 2.92364
  Prefactor  = 7.31473
  norm       = 5.55112e-11
  Prefactor  = 5.35582
  Prefactor  = 2.81708e-06
  Prefactor  = 12.7032
  Prefactor  = 5.55112e-11
  norm       = 11.1818
  Prefactor  = 3.77476e-09
  Prefactor  = 3.96759
  Prefactor  = 0.64382
  Normalizat = 0.765149
  Prefactor  = 1.02653
 **********
 **   18 **HESSE 
 **********

 FCN=   6410.889     FROM HESSE     STATUS=OK           571 CALLS     3189 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    17.705        .17017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     74.752        43.550        .11587E-03   -1.5535    
   3  Prefactor     .11718E-06    7.7533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19479E-06    7.4607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1805        2.3476        .49258E-03   -1.5667    
   6  Prefactor     32.225        26.157        .17621E-03   -1.5594    
   7  Prefactor     .15493E-06    8.9039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        22.849        .15053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .63782E-07    8.6469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .44409E-09    4.6972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .62061E-07    9.9559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8374        1.6779        .51502E-03   -1.5669    
  13  Prefactor     .21205E-07    8.8786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .89346        30.507        .42441E-03   -1.5689    
  15  Prefactor     1.0691        3.0630        .11674E-02   -1.5687    
  16  norm          2.9236        1.6493        .59408E-03   -1.5674    
  17  Prefactor     7.3147        8.0359        .36943E-03   -1.5654    
  18  norm          .55511E-10    1.7172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.3558        4.6693        .43393E-03   -1.5662    
  20  Prefactor     .28171E-05    155.29        .63633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.703        11.873        .28076E-03   -1.5637    
  22  Prefactor     .55511E-10    3.0519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.182        11.398        .29944E-03   -1.5641    
  24  Prefactor     .37748E-08    10.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.9676        9.1972        .50563E-03   -1.5668    
  26  Prefactor     .64382        444.38        .46102E-03   -1.5692    
  27  Normalizat    .76515        .16048        .43149E-01   -1.0137    
  28  Prefactor     1.0265        .17192        .41543E-01   -.91850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30762e-06
Minuit parameter uncertainties:
  1  6.18946e-05
  2  43.5497
  3  0.00190634
  4  0.00241106
  5  2.34763
  6  26.1572
  7  0.0023492
  8  9.84629e-06
  9  0.00148526
  10  9.27652e-05
  11  0.00157214
  12  1.67793
  13  0.000867394
  14  10.4416
  15  3.06304
  16  1.64927
  17  8.03591
  18  1.72065e-05
  19  4.66934
  20  0.0418327
  21  11.8729
  22  2.45771e-05
  23  11.3983
  24  0.000397893
  25  9.19728
  26  33.8316
  27  0.160576
  28  0.172009
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.069e+00  3.063e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.027e+00  1.720e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  7.651e-01  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/155305/likelihoodResults_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.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) = 6410.88136902
delta logL = 0.00734727779491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6410.87788499
delta logL = 0.0108313064311

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6410.878     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      224 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3904        164.86        .92192E-03    .73450E-02
   2  Index         2.0350        5.7240        .25600        .44134E-04
   3  Normalizat    .76607        .33058E-01    .43166E-01    .18854E-04
   4  Prefactor     1.0257        .36324E-01    .41618E-01    .36668E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39044
  Index      = 2.03497
  Normalizat = 0.766073
  Prefactor  = 1.02569
 **********
 **   18 **HESSE 
 **********

 FCN=   6410.878     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3904        4.2656        .24630E-04   -1.5684    
   2  Index         2.0350        1.2578        .13666E-01   -.63479    
   3  Normalizat    .76607        .17575        .23915E-03   -1.0134    
   4  Prefactor     1.0257        .19994        .23650E-03   -.91878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2788e-09
Minuit parameter uncertainties:
  1  4.26564
  2  1.27921
  3  0.175884
  4  0.200087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155305': 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) = 6410.8778837
delta logL = 0.0108325988995

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.390e+00  4.266e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.035e+00  1.279e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.026e+00  2.001e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  7.661e-01  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 225.895 47.996

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/155305/cmap_HighResolution_683078401_683337601_4FGL_J1503.5+4759_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.03e-08', time_completed='2022-09-16 19:01:43.287712', job_id='155305', GAL2='1.03', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1663380103.29', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.08e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1712' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:01:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 155305: <4FGL_J1503.5+4759_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1503.5+4759_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:20 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:45:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:45:55 2022
Terminated at Fri Sep 16 19:01:44 2022
Results reported at Fri Sep 16 19:01:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1503.5+4759_daily_bin1712 225.895 47.9959 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1503.5+4759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   760.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            984 sec.

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

