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


Performing analysis on: 4FGL_J1503.5+4759_daily_bin1753
RA = 225.895, Dec = 47.9959
tmin = 693705601, tmax = 693964801
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='457609', job_status='RUN', time_executed='2022-12-29 01:10:29.214611', time_epoch_executed='1672305029.21' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/457609

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/457609/ft1_4FGL_J1503.5+4759_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/457609/ft1_4FGL_J1503.5+4759_daily_bin1753.fits outfile=/scratch/kocevski/457609/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin1753.fits ra=225.895 dec=47.9959 rad=12.0 tmin=693705601.0 tmax=693964801.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.93
user 3.65
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.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/457609/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.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.44
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 537

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/457609/ltcube_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.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/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits
.....................!
real 12.98
user 12.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/457609/ltcube_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.fits outfile=/scratch/kocevski/457609/expmap_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.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/457609/ltcube_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.fits
.....................!
real 157.53
user 152.38
sys 4.71

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/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits scfile=/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits outfile=/scratch/kocevski/457609/cmap_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits scfile=/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits outfile=/scratch/kocevski/457609/cmap_HighResolution_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.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.49
user 0.32
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/457609/Model_4FGL_J1503.5+4759_daily_bin1753.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/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits.....................!
real 38.67
user 37.51
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits', '/scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits', expMap='/scratch/kocevski/457609/expmap_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.fits', expCube='/scratch/kocevski/457609/ltcube_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/457609/Model_4FGL_J1503.5+4759_daily_bin1753.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/457609/ft1_filtered_4FGL_J1503.5+4759_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/457609/ft2_4FGL_J1503.5+4759_daily_bin1753.fits
Exposure map: /scratch/kocevski/457609/expmap_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.fits
Exposure cube: /scratch/kocevski/457609/ltcube_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/457609/Model_4FGL_J1503.5+4759_daily_bin1753.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) = 5883.20953195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.201       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10966E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12185E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .96229E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78742       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    25.524       1.0000          .0000       .10000E+07
     9 'Prefactor '    46.073       1.0000          .0000       .10000E+07
    10 'norm      '    4.6757       1.0000          .0000       .10000E+07
    11 'Prefactor '    .47695E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.4428       1.0000          .0000       .10000E+07
    13 'Prefactor '    .93168E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20746E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8062       1.0000          .0000       .10000E+07
    16 'norm      '    .91710E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .38583E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .17100E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    7.6241       1.0000          .0000       .10000E+07
    20 'Prefactor '    9.3925       1.0000          .0000       .10000E+07
    21 'Prefactor '    .15047E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.3701       1.0000          .0000       .10000E+07
    23 'norm      '    .54581E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    2.2732       1.0000          .0000       .10000E+07
    25 'Prefactor '    .83774E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    21.252       1.0000          .0000       .10000E+07
    27 'Normalizat'    .80184       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2432       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=   5883.205     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2524 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.838        19.899       -.18486E-05    .33259E-01
   2  Prefactor     .36304E-07    63.669        .24871E-05** at limit **
   3  Prefactor      .0000        1.3734        .16393E-10** at limit **
   4  Prefactor     .14433E-08    29.699       -.36917E-05** at limit **
   5  Prefactor     1.5688        2.4820        .13055E-06   -.37814E-02
   6  Prefactor     .83722        1.2188       -.69457E-06    .81447E-03
   7  Prefactor     .74385E-08    27.521        .24636E-05** at limit **
   8  Prefactor     25.736        6.6519        .22414E-06   -.37783E-01
   9  Prefactor     45.998        1.3054       -.49049E-07    .19970E-02
  10  norm          4.6728        9.0150       -.21710E-06   -.16552E-02
  11  Prefactor     .54401E-08    5.7036       -.17314E-05** at limit **
  12  norm          1.4423        1.1842        .11366E-07   -.52576E-02
  13  Prefactor      .0000        4.4828       -.24632E-07** at limit **
  14  Prefactor     .55511E-10    2.5649       -.58782E-07** at limit **
  15  Prefactor     2.7938        4.9570        .84882E-07   -.32495E-02
  16  norm           .0000        .97860        .30686E-08** at limit **
  17  Prefactor     .27756E-09    2.0164        .17031E-06** at limit **
  18  norm          .16653E-09    2.2867       -.14735E-06** at limit **
  19  Prefactor     7.5466        6.2892        .28180E-07    .15053E-01
  20  Prefactor     9.7854        22.285        .34318E-05    .98981E-02
  21  Prefactor     .16653E-09    6.1262        .72545E-06** at limit **
  22  Prefactor     3.4324        5.3446       -.32430E-06   -.11434E-01
  23  norm          .26090E-08    5.5028        .11452E-05** at limit **
  24  Prefactor     2.2693        20.070       -.64630E-05   -.36312E-02
  25  Prefactor     .55511E-10    2.6659        .65331E-07** at limit **
  26  Prefactor     20.616        42.018       -.48136E-05    .21221E-02
  27  Normalizat    .80190        .19346       -.15457E-05    .98429E-04
  28  Prefactor     1.2432        .21962        .63960E-05    .40952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.8381
  Prefactor  = 3.63043e-08
  Prefactor  = 0
  Prefactor  = 1.44329e-09
  Prefactor  = 1.56884
  Prefactor  = 0.83722
  Prefactor  = 7.43849e-09
  Prefactor  = 25.7362
  Prefactor  = 45.998
  norm       = 4.67281
  Prefactor  = 5.44009e-09
  norm       = 1.44232
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.79375
  norm       = 0
  Prefactor  = 2.77556e-10
  norm       = 1.66533e-10
  Prefactor  = 7.5466
  Prefactor  = 9.78537
  Prefactor  = 1.66533e-10
  Prefactor  = 3.4324
  norm       = 2.60902e-09
  Prefactor  = 2.26932
  Prefactor  = 5.55112e-11
  Prefactor  = 20.616
  Normalizat = 0.801904
  Prefactor  = 1.24324
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.205     FROM HESSE     STATUS=OK           575 CALLS     3099 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.838        59.123        .16181E-03   -1.5585    
   2  Prefactor     .36304E-07    63.868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.3766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14433E-08    30.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5688        2.5945        .84661E-03   -1.5683    
   6  Prefactor     .83722        129.88        .53877E-03   -1.5690    
   7  Prefactor     .74385E-08    28.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.736        30.073        .19798E-03   -1.5607    
   9  Prefactor     45.998        37.341        .14734E-03   -1.5572    
  10  norm          4.6728        9.1475        .46516E-03   -1.5665    
  11  Prefactor     .54401E-08    5.7057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4423        1.1869        .89751E-03   -1.5684    
  13  Prefactor      .0000        4.4732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.5625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.7938        4.9830        .60700E-03   -1.5675    
  16  norm           .0000        .96155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .27756E-09    2.0153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16653E-09    2.2799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.5466        14.437        .36295E-03   -1.5653    
  20  Prefactor     9.7854        66.124        .32676E-03   -1.5645    
  21  Prefactor     .16653E-09    6.1235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.4324        24.598        .55097E-03   -1.5671    
  23  norm          .26090E-08    5.5044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.2693        20.150        .68084E-03   -1.5678    
  25  Prefactor     .55511E-10    2.6638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     20.616        51.350        .21698E-03   -1.5617    
  27  Normalizat    .80190        .16630        .43634E-01   -.99998    
  28  Prefactor     1.2432        .18594        .52925E-01   -.85011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76545e-07
Minuit parameter uncertainties:
  1  59.1243
  2  0.00304562
  3  1.6203e-06
  4  0.000415575
  5  2.59446
  6  20.8559
  7  0.000911481
  8  30.0736
  9  37.3411
  10  9.14751
  11  0.000351786
  12  1.1869
  13  1.31755e-05
  14  1.75648e-05
  15  4.98298
  16  1.09201e-06
  17  4.6192e-05
  18  3.93844e-05
  19  14.4367
  20  50.875
  21  6.5592e-05
  22  18.3772
  23  0.000238513
  24  13.5244
  25  2.48147e-05
  26  51.3512
  27  0.166408
  28  0.186042
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.794e+00  4.983e+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.243e+00  1.860e-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:  8.019e-01  1.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/457609/likelihoodResults_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.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) = 5883.12018219
delta logL = 0.0852766948419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5883.11827997
delta logL = 0.0871789163593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6611       1.0000          .0000       .10000E+07
     2 'Index     '    2.7303       1.0000          .0000       10.000    
     3 'Normalizat'    .79087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2490       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5883.118     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      293 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6614        6.5209        .13655E-04    .40930E-02
   2  Index         2.7305        1.8944        .82886E-02    .95564E-04
   3  Normalizat    .79083        .19225        .24770E-03    .11924E-03
   4  Prefactor     1.2491        .21983        .23349E-03    .15235E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.6614
  Index      = 2.73048
  Normalizat = 0.790832
  Prefactor  = 1.24908
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.118     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6614        4.2479        .54618E-06   -1.5682    
   2  Index         2.7305        1.2557        .33154E-03   -.47114    
   3  Normalizat    .79083        .19038        .99078E-05   -1.0041    
   4  Prefactor     1.2491        .21857        .46699E-04   -.84834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79579e-10
Minuit parameter uncertainties:
  1  4.2479
  2  1.27299
  3  0.190538
  4  0.218733
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/457609': 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) = 5883.11827978
delta logL = 0.0871791066293

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.661e+00  4.248e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.730e+00  1.273e+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.249e+00  2.187e-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.908e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.42
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/457609/cmap_HighResolution_693705601_693964801_4FGL_J1503.5+4759_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2022-12-29 01:20:27.279806', job_id='457609', GAL2='1.25', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1672305627.28', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='8.72e-02', ts2='0.59', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1753' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:20:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 457609: <4FGL_J1503.5+4759_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1503.5+4759_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:05:17 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:07:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:07:01 2022
Terminated at Thu Dec 29 01:20:28 2022
Results reported at Thu Dec 29 01:20:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1503.5+4759_daily_bin1753 225.895 47.9959 693705601 693964801 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 :                                   599.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             222.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            911 sec.

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

