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 206 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 = 7579
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0159.5+1046_daily_bin1740
RA = 29.8858, Dec = 10.7737
tmin = 690336001, tmax = 690595201
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='822758', job_status='RUN', time_executed='2022-11-20 00:12:04.970092', time_epoch_executed='1668931924.97' WHERE source_name='4FGL J0159.5+1046' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822758

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822758/ft1_4FGL_J0159.5+1046_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822758/ft1_4FGL_J0159.5+1046_daily_bin1740.fits outfile=/scratch/kocevski/822758/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin1740.fits ra=29.8858 dec=10.7737 rad=12.0 tmin=690336001.0 tmax=690595201.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.01
user 2.76
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.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/822758/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.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.79
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 240

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822758/ltcube_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.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/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits
.....................!
real 15.89
user 15.46
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822758/ltcube_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.fits outfile=/scratch/kocevski/822758/expmap_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.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/822758/ltcube_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.fits
.....................!
real 193.49
user 187.04
sys 5.74

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

Setting source of interest to:
4FGL J0159.5+1046 @ 29.8858 10.7737

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits scfile=/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits outfile=/scratch/kocevski/822758/cmap_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.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=29.8858 yref=10.7737 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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits scfile=/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits outfile=/scratch/kocevski/822758/cmap_HighResolution_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.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=29.8858 yref=10.7737 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822758/Model_4FGL_J0159.5+1046_daily_bin1740.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/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits....................!
real 42.10
user 40.72
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits', '/scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits', expMap='/scratch/kocevski/822758/expmap_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.fits', expCube='/scratch/kocevski/822758/ltcube_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822758/Model_4FGL_J0159.5+1046_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0159.5+1046'

4FGL J0159.5+1046
   Spectrum: PowerLaw
219    Prefactor:  2.134e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
220        Index:  1.995e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
221        Scale:  2.167e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/822758/ft1_filtered_4FGL_J0159.5+1046_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/822758/ft2_4FGL_J0159.5+1046_daily_bin1740.fits
Exposure map: /scratch/kocevski/822758/expmap_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.fits
Exposure cube: /scratch/kocevski/822758/ltcube_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822758/Model_4FGL_J0159.5+1046_daily_bin1740.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) = 2924.38723352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.126       1.0000          .0000       .10000E+07
     2 'Prefactor '    35.531       1.0000          .0000       .10000E+07
     3 'Prefactor '    82.135       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2249       1.0000          .0000       .10000E+07
     5 'norm      '    .34881E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.7375       1.0000          .0000       .10000E+07
     7 'Prefactor '    .44810E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .24885E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.9981       1.0000          .0000       .10000E+07
    10 'norm      '    .36976E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .44308       1.0000          .0000       .10000E+07
    12 'Prefactor '    164.90       1.0000          .0000       .10000E+07
    13 'Prefactor '    156.53       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43148E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15306E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .63011       1.0000          .0000       .10000E+07
    17 'norm      '    1.3368       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17646E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .95624E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .74336E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3650       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97397       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93886       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2924.300     FROM MIGRAD    STATUS=CONVERGED    247 CALLS     1953 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.181        15.363       -.85085E-06    .75538E-03
   2  Prefactor     34.864        21.048        .88357E-06    .11132    
   3  Prefactor     83.773        44.120        .52174E-05    .79928E-01
   4  Prefactor     3.2798        6.6287        .11468E-04   -.18433E-02
   5  norm           .0000        23.377       -.19183E-05** at limit **
   6  Prefactor     6.7476        12.992        .11850E-05    .99014E-03
   7  Prefactor      .0000        3.8901        .77741E-06** at limit **
   8  norm           .0000        3.4367        .10522E-05** at limit **
   9  Prefactor     7.9461        5.4807        .34202E-05    .34036E-02
  10  norm           .0000        1.2123        .48540E-07** at limit **
  11  Prefactor     .87708E-08    102.90        .30056E-04** at limit **
  12  Prefactor     153.50        194.37       -.61318E-04    .68437E-02
  13  Prefactor     171.81        178.32       -.20255E-04    .30218E-02
  14  Prefactor     .55511E-10    19.456        .27717E-05** at limit **
  15  Prefactor     .72164E-09    23.952        .11957E-04** at limit **
  16  Prefactor     .38303E-08    182.91        .78132E-06** at limit **
  17  norm          1.3970        3.2531        .28585E-06   -.15534E-02
  18  Prefactor     .84543E-07    191.97       -.24515E-04** at limit **
  19  Prefactor     .44409E-09    20.852       -.87985E-05** at limit **
  20  norm          .55511E-10    21.022       -.52053E-05** at limit **
  21  Prefactor     .46990E-05    707.02        .11170E-05** at limit **
  22  Normalizat    .97504        .32115        .74084E-04    .13226E-03
  23  Prefactor     .93720        .22404        .20951E-04    .17151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1814
  Prefactor  = 34.8641
  Prefactor  = 83.773
  Prefactor  = 3.27978
  norm       = 0
  Prefactor  = 6.74756
  Prefactor  = 0
  norm       = 0
  Prefactor  = 7.94605
  norm       = 0
  Prefactor  = 8.77076e-09
  Prefactor  = 153.498
  Prefactor  = 171.808
  Prefactor  = 5.55112e-11
  Prefactor  = 7.21645e-10
  Prefactor  = 3.83027e-09
  norm       = 1.39704
  Prefactor  = 8.45435e-08
  Prefactor  = 4.44089e-10
  norm       = 5.55112e-11
  Prefactor  = 4.69902e-06
  Normalizat = 0.975045
  Prefactor  = 0.937197
 **********
 **   18 **HESSE 
 **********

 FCN=   2924.300     FROM HESSE     STATUS=OK           406 CALLS     2359 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.181        15.366        .28741E-03   -1.5638    
   2  Prefactor     34.864        49.053        .16778E-03   -1.5590    
   3  Prefactor     83.773        48.649        .11035E-03   -1.5525    
   4  Prefactor     3.2798        6.6515        .56384E-03   -1.5672    
   5  norm           .0000        23.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.7476        12.980        .38633E-03   -1.5656    
   7  Prefactor      .0000        3.8985        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.9461        5.4863        .35429E-03   -1.5652    
  10  norm           .0000        1.1763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .87708E-08    102.54        .84656E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     153.50        196.00        .77881E-04   -1.5460    
  13  Prefactor     171.81        178.41        .79934E-04   -1.5446    
  14  Prefactor     .55511E-10    19.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .72164E-09    23.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38303E-08    182.75        .66573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3970        3.2918        .94834E-03   -1.5684    
  18  Prefactor     .84543E-07    192.17        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    20.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    21.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .46990E-05    711.04        .93373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97504        .28105        .68773E-01   -.93871    
  23  Prefactor     .93720        .19391        .45498E-01   -.94853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14729e-06
Minuit parameter uncertainties:
  1  15.3662
  2  49.0536
  3  48.6492
  4  6.65151
  5  4.29051e-05
  6  12.9805
  7  7.09984e-06
  8  9.09626e-06
  9  5.48635
  10  6.18358e-07
  11  0.00189602
  12  196.005
  13  178.411
  14  7.75183e-05
  15  0.000259219
  16  0.00167564
  17  3.29179
  18  0.00806261
  19  0.000198277
  20  4.90203e-05
  21  0.11562
  22  0.28148
  23  0.194057
Done.

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

Extracting fit parameters...

4FGL J0159.5+1046
   Spectrum: PowerLaw
219    Prefactor:  6.748e+00  1.298e+01  0.000e+00  1.000e+06 ( 1.000e-13)
220        Index:  1.995e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
221        Scale:  2.167e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.372e-01  1.941e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  9.750e-01  2.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 29.886 10.774
Photon Flux Upper Limit: 1.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.38e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822758/likelihoodResults_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.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) = 2924.29302886
delta logL = 0.00673395002832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2924.29105663
delta logL = 0.00870617346754

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6243       1.0000          .0000       .10000E+07
     2 'Index     '    1.8488       1.0000          .0000       10.000    
     3 'Normalizat'    .97915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93565       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   2924.291     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      244 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6250        15.424        .14518E-04   -.38230E-02
   2  Index         1.8487        1.0678        .10803E-01   -.95797E-04
   3  Normalizat    .97921        .31686        .30366E-03    .68287E-04
   4  Prefactor     .93563        .21782        .20981E-03    .16602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.62496
  Index      = 1.8487
  Normalizat = 0.979208
  Prefactor  = 0.935628
 **********
 **   18 **HESSE 
 **********

 FCN=   2924.291     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6250        15.084        .58071E-06   -1.5653    
   2  Index         1.8487        1.0445        .43213E-03   -.68189    
   3  Normalizat    .97921        .31683        .12147E-04   -.93730    
   4  Prefactor     .93563        .21790        .41962E-04   -.94907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63839e-10
Minuit parameter uncertainties:
  1  15.0838
  2  1.05754
  3  0.317439
  4  0.218104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822758': 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) = 2924.29105661
delta logL = 0.00870619833859

Extracting fit parameters...

4FGL J0159.5+1046
   Spectrum: PowerLaw
219    Prefactor:  7.625e+00  1.508e+01  0.000e+00  1.000e+06 ( 1.000e-13)
220        Index:  1.849e+00  1.058e+00  0.000e+00  1.000e+01 (-1.000e+00)
221        Scale:  2.167e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.356e-01  2.181e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  9.792e-01  3.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
Ra Dec: 29.886 10.774

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/822758/cmap_HighResolution_690336001_690595201_4FGL_J0159.5+1046_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-02', job_status='DONE', photon_flux_upper_limit='1.84e-07', time_completed='2022-11-20 00:19:44.130763', job_id='822758', GAL2='0.94', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1668932384.13', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.71e-03', ts2='0.35', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1740' AND source_name='4FGL J0159.5+1046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:19:44 PST 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 822839: <4FGL_J0159.5+1046_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0159.5+1046_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:16 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:09:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:09:12 2022
Terminated at Sun Nov 20 00:18:34 2022
Results reported at Sun Nov 20 00:18:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0159.5+1046_daily_bin1740 29.8858 10.7737 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0159.5+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   460.55 sec.
    Max Memory :                                 617 MB
    Average Memory :                             252.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   565 sec.
    Turnaround time :                            798 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 822758: <4FGL_J0159.5+1046_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0159.5+1046_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:10 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:08:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:08:30 2022
Terminated at Sun Nov 20 00:19:44 2022
Results reported at Sun Nov 20 00:19:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0159.5+1046_daily_bin1740 29.8858 10.7737 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0159.5+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   461.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            874 sec.

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

