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


Performing analysis on: 4FGL_J1503.5+4759_daily_bin1751
RA = 225.895, Dec = 47.9959
tmin = 693187201, tmax = 693446401
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='80362', job_status='RUN', time_executed='2022-12-23 00:50:40.590464', time_epoch_executed='1671785440.59' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80362

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80362/ft1_4FGL_J1503.5+4759_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80362/ft2_4FGL_J1503.5+4759_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80362/ft1_4FGL_J1503.5+4759_daily_bin1751.fits outfile=/scratch/kocevski/80362/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin1751.fits ra=225.895 dec=47.9959 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.42
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80362/ft1_filtered_4FGL_J1503.5+4759_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80362/ft2_4FGL_J1503.5+4759_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/80362/ltcube_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.fits outfile=/scratch/kocevski/80362/expmap_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.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/80362/ltcube_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.fits
.....................!
real 190.06
user 185.28
sys 4.44

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/80362/ft1_filtered_4FGL_J1503.5+4759_daily_bin1751.fits scfile=/scratch/kocevski/80362/ft2_4FGL_J1503.5+4759_daily_bin1751.fits outfile=/scratch/kocevski/80362/cmap_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80362/ft1_filtered_4FGL_J1503.5+4759_daily_bin1751.fits scfile=/scratch/kocevski/80362/ft2_4FGL_J1503.5+4759_daily_bin1751.fits outfile=/scratch/kocevski/80362/cmap_HighResolution_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    83.912       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.415       1.0000          .0000       .10000E+07
     3 'Prefactor '    .54312E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5659       1.0000          .0000       .10000E+07
     5 'Prefactor '    .51385       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78554E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58314E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10395E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24081E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .43603E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.3504       1.0000          .0000       .10000E+07
    12 'norm      '    2.0029       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.8019       1.0000          .0000       .10000E+07
    14 'Prefactor '    .84459E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6922       1.0000          .0000       .10000E+07
    16 'norm      '    .34009E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0892       1.0000          .0000       .10000E+07
    18 'norm      '    1.3065       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19420E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .63549       1.0000          .0000       .10000E+07
    21 'Prefactor '    .19682E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .12388E-03   1.0000          .0000       .10000E+07
    23 'norm      '    14.259       1.0000          .0000       .10000E+07
    24 'Prefactor '    .75890E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    14.302       1.0000          .0000       .10000E+07
    26 'Prefactor '    .30395E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .82531       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2081       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=   5575.816     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     3984 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     83.856        5.6895       -.13760E-08    .95984E-01
   2  Prefactor     13.579        10.983       -.30289E-07    .48748E-01
   3  Prefactor      .0000        6.3672       -.38837E-07** at limit **
   4  Prefactor     8.5365        1.3682        .39037E-08   -.31898E-02
   5  Prefactor     .51302        1.4427       -.19126E-07   -.74733E-03
   6  Prefactor     .38192E-07    4.5647        .61202E-08** at limit **
   7  Prefactor     .49960E-09    5.9187       -.17917E-06** at limit **
   8  Prefactor     .19224E-06    19.944        .16007E-06** at limit **
   9  Prefactor     .11602E-07    7.1954        .22507E-07** at limit **
  10  norm          .55511E-10    11.682       -.10832E-06** at limit **
  11  Prefactor     6.3544        1.1659       -.26586E-09   -.16582E-02
  12  norm          2.0032        1.3580        .68846E-08    .64189E-03
  13  Prefactor     7.6574        7.7784       -.42009E-07    .18293E-03
  14  Prefactor     .55511E-10    4.1198        .50511E-07** at limit **
  15  Prefactor     1.6862        3.4032       -.53987E-07   -.45226E-03
  16  norm          .34532E-01    7.3675        .20994E-06** at limit **
  17  Prefactor     4.0697        7.2151       -.42231E-07   -.34621E-03
  18  norm          1.3005        3.2168        .45751E-07    .47669E-03
  19  Prefactor     .40512E-06    5.9934       -.90508E-07** at limit **
  20  Prefactor     .78271E-08    210.65        .24791E-06** at limit **
  21  Prefactor     .17530E-06    9.7030       -.67592E-07** at limit **
  22  Prefactor     .17897E-06    5.7427       -.52287E-07** at limit **
  23  norm          14.265        1.0281       -.56229E-09    .16422E-02
  24  Prefactor     .38247E-07    4.8482        .20096E-08** at limit **
  25  Prefactor     14.296        2.3335       -.49591E-08    .13992E-01
  26  Prefactor      .0000        7.1361        .37345E-07** at limit **
  27  Normalizat    .82578        .20499       -.21916E-05   -.61742E-04
  28  Prefactor     1.2080        .23716        .15347E-05   -.33904E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 83.8562
  Prefactor  = 13.5792
  Prefactor  = 0
  Prefactor  = 8.53648
  Prefactor  = 0.513025
  Prefactor  = 3.81917e-08
  Prefactor  = 4.996e-10
  Prefactor  = 1.92235e-07
  Prefactor  = 1.16018e-08
  norm       = 5.55112e-11
  Prefactor  = 6.35438
  norm       = 2.0032
  Prefactor  = 7.6574
  Prefactor  = 5.55112e-11
  Prefactor  = 1.68622
  norm       = 0.0345317
  Prefactor  = 4.06971
  norm       = 1.30052
  Prefactor  = 4.0512e-07
  Prefactor  = 7.82707e-09
  Prefactor  = 1.75304e-07
  Prefactor  = 1.78968e-07
  norm       = 14.265
  Prefactor  = 3.82472e-08
  Prefactor  = 14.2959
  Prefactor  = 0
  Normalizat = 0.825778
  Prefactor  = 1.20804
 **********
 **   18 **HESSE 
 **********

 FCN=   5575.816     FROM HESSE     STATUS=OK           577 CALLS     4561 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     83.856        57.572        .10917E-03   -1.5525    
   2  Prefactor     13.579        31.068        .27322E-03   -1.5634    
   3  Prefactor      .0000        6.3438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.5365        17.927        .34226E-03   -1.5650    
   5  Prefactor     .51302        1.5191        .77328E-03   -1.5694    
   6  Prefactor     .38192E-07    9.2360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49960E-09    5.9161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19224E-06    23.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11602E-07    20.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    16.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3544        15.760        .39807E-03   -1.5658    
  12  norm          2.0032        1.3661        .73143E-03   -1.5680    
  13  Prefactor     7.6574        7.8910        .35876E-03   -1.5653    
  14  Prefactor     .55511E-10    4.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6862        3.4646        .80880E-03   -1.5682    
  16  norm          .34532E-01    1.1166        .24891E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0697        7.2479        .49832E-03   -1.5668    
  18  norm          1.3005        3.2484        .96506E-03   -1.5731    
  19  Prefactor     .40512E-06    13.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .78271E-08    210.65        .66107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .17530E-06    12.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .17897E-06    19.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          14.265        15.161        .26498E-03   -1.5632    
  24  Prefactor     .38247E-07    9.1857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     14.296        16.513        .26459E-03   -1.5632    
  26  Prefactor      .0000        20.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .82578        .17461        .43940E-01   -.99120    
  28  Prefactor     1.2080        .19650        .53863E-01   -.86084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26255e-07
Minuit parameter uncertainties:
  1  57.5724
  2  31.0687
  3  1.20926e-05
  4  17.9269
  5  1.51908
  6  0.00118816
  7  0.000108779
  8  0.0042204
  9  0.000964772
  10  6.79348e-05
  11  15.7602
  12  1.36613
  13  7.89104
  14  2.66283e-05
  15  3.46459
  16  0.39272
  17  7.24792
  18  3.24845
  19  0.00463731
  20  0.00256456
  21  0.00291268
  22  0.00370042
  23  15.1614
  24  0.00118577
  25  16.5132
  26  3.80596e-05
  27  0.174729
  28  0.19662
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.686e+00  3.465e+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.208e+00  1.966e-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.258e-01  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/80362/likelihoodResults_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.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) = 5575.81490962
delta logL = 0.000967933498032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5575.81438581
delta logL = 0.00149173830232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8236       1.0000          .0000       .10000E+07
     2 'Index     '    2.1443       1.0000          .0000       10.000    
     3 'Normalizat'    .82653       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2075       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=   5575.814     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8244        144.05        .77283E-03    .29461E-02
   2  Index         2.1440        5.6207        .25020        .35487E-04
   3  Normalizat    .82654        .49157E-01    .43956E-01    .14610E-04
   4  Prefactor     1.2075        .48482E-01    .53872E-01    .31692E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82437
  Index      = 2.14403
  Normalizat = 0.826537
  Prefactor  = 1.20753
 **********
 **   18 **HESSE 
 **********

 FCN=   5575.814     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8244        4.7048        .20053E-04   -1.5681    
   2  Index         2.1440        1.4471        .13118E-01   -.60796    
   3  Normalizat    .82654        .20362        .24459E-03   -.99092    
   4  Prefactor     1.2075        .23576        .23820E-03   -.86100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42371e-11
Minuit parameter uncertainties:
  1  4.70485
  2  1.47889
  3  0.203811
  4  0.235962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80362': 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) = 5575.81438579
delta logL = 0.00149176013656

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.824e+00  4.705e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.144e+00  1.479e+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.208e+00  2.360e-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.265e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/80362/cmap_HighResolution_693187201_693446401_4FGL_J1503.5+4759_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2022-12-23 01:03:58.470575', job_id='80362', GAL2='1.21', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1671786238.47', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.49e-03', ts2='0.36', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1751' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:03:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 80362: <4FGL_J1503.5+4759_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1503.5+4759_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:50:19 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:50:20 2022
Terminated at Fri Dec 23 01:03:59 2022
Results reported at Fri Dec 23 01:03:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1503.5+4759_daily_bin1751 225.895 47.9959 693187201 693446401 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 :                                   800.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

