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


Performing analysis on: 4FGL_J1503.5+4759_daily_bin1749
RA = 225.895, Dec = 47.9959
tmin = 692668801, tmax = 692928001
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='955560', job_status='RUN', time_executed='2022-12-17 00:56:23.845046', time_epoch_executed='1671267383.85' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955560

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955560/ft1_4FGL_J1503.5+4759_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955560/ft2_4FGL_J1503.5+4759_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955560/ft1_4FGL_J1503.5+4759_daily_bin1749.fits outfile=/scratch/kocevski/955560/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin1749.fits ra=225.895 dec=47.9959 rad=12.0 tmin=692668801.0 tmax=692928001.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.68
user 3.45
sys 0.21

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

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

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955560/ft1_filtered_4FGL_J1503.5+4759_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/955560/ft2_4FGL_J1503.5+4759_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/955560/ltcube_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.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/955560/ft2_4FGL_J1503.5+4759_daily_bin1749.fits
.....................!
real 12.11
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955560/ft1_filtered_4FGL_J1503.5+4759_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955560/ft2_4FGL_J1503.5+4759_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/955560/ltcube_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.fits outfile=/scratch/kocevski/955560/expmap_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.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/955560/ltcube_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.fits
.....................!
real 192.75
user 186.44
sys 5.81

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/955560/ft1_filtered_4FGL_J1503.5+4759_daily_bin1749.fits scfile=/scratch/kocevski/955560/ft2_4FGL_J1503.5+4759_daily_bin1749.fits outfile=/scratch/kocevski/955560/cmap_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955560/ft1_filtered_4FGL_J1503.5+4759_daily_bin1749.fits scfile=/scratch/kocevski/955560/ft2_4FGL_J1503.5+4759_daily_bin1749.fits outfile=/scratch/kocevski/955560/cmap_HighResolution_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17447E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30309E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20128E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84755       1.0000          .0000       .10000E+07
     6 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     7 'Prefactor '    21.054       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.191       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.664       1.0000          .0000       .10000E+07
    10 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.360       1.0000          .0000       .10000E+07
    12 'norm      '    2.0572       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34972E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .69944E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8990       1.0000          .0000       .10000E+07
    16 'norm      '    9.1992       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5467       1.0000          .0000       .10000E+07
    18 'norm      '    .23381E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .86064E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    26.297       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22020E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.3392       1.0000          .0000       .10000E+07
    23 'norm      '    .72164E-09   1.0000          .0000       .10000E+07
    24 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'Prefactor '    .18874E-08   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0445       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91281       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=   6648.893     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2994 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33140E-07    120.61       -.15774E-05** at limit **
   2  Prefactor     .11102E-09    14.172        .26884E-05** at limit **
   3  Prefactor     .11491E-07    1.6067        .93447E-06** at limit **
   4  Prefactor     .20373E-07    8.7186        .65994E-06** at limit **
   5  Prefactor     .84331        1.7581        .10999E-06   -.11603E-01
   6  Prefactor     .14272E-06    6.9763       -.16648E-05** at limit **
   7  Prefactor     21.057        2.9573       -.56313E-06    .67343E-01
   8  Prefactor     29.175        1.1615       -.13945E-07    .48481E-02
   9  Prefactor     23.664        1.0472        .57954E-07   -.92294E-02
  10  norm           .0000        4.2732       -.35046E-06** at limit **
  11  Prefactor     14.359        1.2406        .61246E-07   -.43664E-02
  12  norm          2.0573        1.3238       -.20605E-07   -.79506E-04
  13  Prefactor     .26162E-06    4.4994        .56971E-06** at limit **
  14  Prefactor     .73275E-08    5.7107       -.43379E-05** at limit **
  15  Prefactor     2.9019        7.4180        .56465E-06   -.41434E-03
  16  norm          9.2002        2.3060        .94257E-07    .44356E-02
  17  Prefactor     4.5495        6.4844        .30198E-06    .76624E-03
  18  norm          .16653E-09    2.4975       -.30268E-06** at limit **
  19  Prefactor     .88818E-09    1.5226        .28755E-06** at limit **
  20  Prefactor     26.305        1.1138       -.32277E-07    .34975E-02
  21  Prefactor     .28866E-08    18.592        .82897E-06** at limit **
  22  Prefactor     2.3405        11.744        .72524E-06    .82607E-03
  23  norm          .10714E-07    2.3661       -.87800E-06** at limit **
  24  Prefactor     .72720E-08    5.6274        .42927E-05** at limit **
  25  Prefactor      .0000        2.9807        .31021E-06** at limit **
  26  Prefactor     .16598E-07    66.760        .29317E-05** at limit **
  27  Normalizat    1.0444        .19036        .42880E-05   -.14934E-03
  28  Prefactor     .91280        .20595       -.22557E-05   -.16705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.31402e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 1.14908e-08
  Prefactor  = 2.03726e-08
  Prefactor  = 0.84331
  Prefactor  = 1.42719e-07
  Prefactor  = 21.0568
  Prefactor  = 29.1746
  Prefactor  = 23.6644
  norm       = 0
  Prefactor  = 14.3594
  norm       = 2.0573
  Prefactor  = 2.61624e-07
  Prefactor  = 7.32747e-09
  Prefactor  = 2.90194
  norm       = 9.20024
  Prefactor  = 4.54955
  norm       = 1.66533e-10
  Prefactor  = 8.88178e-10
  Prefactor  = 26.3046
  Prefactor  = 2.88658e-09
  Prefactor  = 2.34052
  norm       = 1.07137e-08
  Prefactor  = 7.27196e-09
  Prefactor  = 0
  Prefactor  = 1.65978e-08
  Normalizat = 1.04436
  Prefactor  = 0.912805
 **********
 **   18 **HESSE 
 **********

 FCN=   6648.893     FROM HESSE     STATUS=OK           569 CALLS     3563 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33140E-07    120.68        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    14.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11491E-07    5.0679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20373E-07    9.0384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .84331        1.9800        .49456E-03   -1.5690    
   6  Prefactor     .14272E-06    10.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.057        25.451        .21800E-03   -1.5616    
   8  Prefactor     29.175        43.410        .18512E-03   -1.5600    
   9  Prefactor     23.664        20.249        .20562E-03   -1.5611    
  10  norm           .0000        4.3319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.359        15.594        .26405E-03   -1.5632    
  12  norm          2.0573        1.3311        .72029E-03   -1.5679    
  13  Prefactor     .26162E-06    10.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .73275E-08    6.0093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9019        7.4648        .59654E-03   -1.5674    
  16  norm          9.2002        2.3263        .33020E-03   -1.5647    
  17  Prefactor     4.5495        6.4875        .47188E-03   -1.5665    
  18  norm          .16653E-09    2.4896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .88818E-09    4.8932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     26.305        55.944        .19504E-03   -1.5605    
  21  Prefactor     .28866E-08    18.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.3405        12.234        .67010E-03   -1.5677    
  23  norm          .10714E-07    4.8156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .72720E-08    5.8309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        2.9802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .16598E-07    66.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0444        .16443        .40941E-01   -.91559    
  28  Prefactor     .91280        .17674        .45168E-01   -.95695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40611e-07
Minuit parameter uncertainties:
  1  0.00399944
  2  7.80802e-05
  3  0.00048294
  4  0.000857856
  5  1.97998
  6  0.00248158
  7  25.4508
  8  43.4104
  9  20.2491
  10  8.56864e-06
  11  15.5943
  12  1.33109
  13  0.00328511
  14  0.000420368
  15  7.46481
  16  2.32628
  17  6.48754
  18  4.10534e-05
  19  0.000132561
  20  55.9446
  21  0.000464917
  22  10.7023
  23  0.000454589
  24  0.00041198
  25  1.28507e-05
  26  0.00210826
  27  0.164508
  28  0.176851
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.902e+00  7.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:  9.128e-01  1.769e-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:  1.044e+00  1.645e-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: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/955560/likelihoodResults_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.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) = 6648.80733678
delta logL = 0.0855297340213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6648.78789918
delta logL = 0.104967335023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7896       1.0000          .0000       .10000E+07
     2 'Index     '    2.7252       1.0000          .0000       10.000    
     3 'Normalizat'    1.0320       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91916       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=   6648.788     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      232 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7818        87.307        .78162E-03    .92855E-02
   2  Index         2.7266        3.4894        .12970        .13159E-03
   3  Normalizat    1.0321        .36882E-01    .41968E-01   -.40507E-05
   4  Prefactor     .91906        .41194E-01    .45249E-01    .95884E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.78182
  Index      = 2.72659
  Normalizat = 1.03209
  Prefactor  = 0.919063
 **********
 **   18 **HESSE 
 **********

 FCN=   6648.788     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7818        11.165        .17246E-04   -1.5681    
   2  Index         2.7266        1.9471        .83072E-02   -.47202    
   3  Normalizat    1.0321        .18510        .22588E-03   -.91963    
   4  Prefactor     .91906        .20636        .26602E-03   -.95478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52411e-08
Minuit parameter uncertainties:
  1  8.92056
  2  2.01516
  3  0.185211
  4  0.206536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955560': 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) = 6648.78789781
delta logL = 0.104968701333

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.782e+00  8.921e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.727e+00  2.015e+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:  9.191e-01  2.065e-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:  1.032e+00  1.852e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/955560/cmap_HighResolution_692668801_692928001_4FGL_J1503.5+4759_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2022-12-17 01:10:34.197576', job_id='955560', GAL2='0.92', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1671268234.2', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.05e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1749' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:10:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 955560: <4FGL_J1503.5+4759_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1503.5+4759_daily_bin1749> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Dec 17 00:55:17 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:55:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:55:19 2022
Terminated at Sat Dec 17 01:10:35 2022
Results reported at Sat Dec 17 01:10:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1503.5+4759_daily_bin1749 225.895 47.9959 692668801 692928001 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 :                                   852.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            918 sec.

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

