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


Performing analysis on: 4FGL_J1159.0+0939_daily_bin1754
RA = 179.751, Dec = 9.6603
tmin = 693964801, tmax = 694224001
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='641949', job_status='RUN', time_executed='2023-01-01 01:07:16.250564', time_epoch_executed='1672564036.25' WHERE source_name='4FGL J1159.0+0939' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641949

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641949/ft1_4FGL_J1159.0+0939_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641949/ft1_4FGL_J1159.0+0939_daily_bin1754.fits outfile=/scratch/kocevski/641949/ft1_filteredMKT_4FGL_J1159.0+0939_daily_bin1754.fits ra=179.751 dec=9.6603 rad=12.0 tmin=693964801.0 tmax=694224001.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.67
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.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/641949/ft1_filteredMKT_4FGL_J1159.0+0939_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 485

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/641949/ltcube_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.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/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits
.....................!
real 16.43
user 14.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/641949/ltcube_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.fits outfile=/scratch/kocevski/641949/expmap_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.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/641949/ltcube_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.fits
.....................!
real 192.44
user 185.83
sys 5.18

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

Setting source of interest to:
4FGL J1159.0+0939 @ 179.751 9.6603

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits scfile=/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits outfile=/scratch/kocevski/641949/cmap_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.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=179.751 yref=9.6603 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits scfile=/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits outfile=/scratch/kocevski/641949/cmap_HighResolution_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.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=179.751 yref=9.6603 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641949/Model_4FGL_J1159.0+0939_daily_bin1754.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/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits.....................!
real 50.68
user 49.13
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits', '/scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits', expMap='/scratch/kocevski/641949/expmap_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.fits', expCube='/scratch/kocevski/641949/ltcube_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641949/Model_4FGL_J1159.0+0939_daily_bin1754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.0+0939'

4FGL J1159.0+0939
   Spectrum: PowerLaw
301    Prefactor:  2.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641949/ft1_filtered_4FGL_J1159.0+0939_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/641949/ft2_4FGL_J1159.0+0939_daily_bin1754.fits
Exposure map: /scratch/kocevski/641949/expmap_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.fits
Exposure cube: /scratch/kocevski/641949/ltcube_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641949/Model_4FGL_J1159.0+0939_daily_bin1754.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) = 5237.51230601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76922E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0441       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.3065       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.784       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2411       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5717       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.9313       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.6109       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10347E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .57259E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34267E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16320E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9511       1.0000          .0000       .10000E+07
    14 'Prefactor '    44.766       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14752E-03   1.0000          .0000       .10000E+07
    16 'norm      '    2.0541       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.7124       1.0000          .0000       .10000E+07
    18 'norm      '    .65569E-02   1.0000          .0000       .10000E+07
    19 'norm      '    2.4125       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.9348       1.0000          .0000       .10000E+07
    21 'norm      '    .23315E-08   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93036       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5237.504     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1883 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49960E-09    4.1647        .95524E-07** at limit **
   2  Prefactor     4.0444        2.5472        .21550E-07    .89549E-03
   3  Prefactor     9.3160        1.1824        .11159E-07   -.12494E-01
   4  Prefactor     16.725        2.5029       -.30541E-07    .10465    
   5  Prefactor     3.2575        7.6225       -.15160E-06   -.20693E-02
   6  Prefactor     2.5811        4.9874        .21536E-06    .67498E-03
   7  Prefactor     5.9403        3.5619       -.13350E-06    .58058E-01
   8  Prefactor     1.6106        4.0602       -.20215E-06    .39721E-03
   9  Prefactor     .78826E-08    46.330        .98225E-06** at limit **
  10  Prefactor     .13772E-06    13.105        .55814E-06** at limit **
  11  Prefactor     .94369E-09    8.5216       -.53549E-07** at limit **
  12  Prefactor      .0000        .90278        .73210E-07** at limit **
  13  Prefactor     2.9517        2.8475        .13791E-06    .99314E-03
  14  Prefactor     44.854        1.0607       -.41913E-08    .77213E-02
  15  Prefactor     .49960E-09    5.0027       -.24818E-07** at limit **
  16  norm          2.0534        4.0858        .65610E-07    .12700E-02
  17  Prefactor     8.7926        1.1061       -.65960E-08   -.30153E-02
  18  norm          .99920E-09    22.669        .90170E-07** at limit **
  19  norm          2.4127        .74238       -.48531E-09    .40970E-02
  20  Prefactor     7.9399        7.4340        .20340E-06    .41116E-01
  21  norm          .16653E-09    4.7670        .39210E-07** at limit **
  22  Normalizat    1.1320        .23457        .10843E-04    .13006E-03
  23  Prefactor     .93027        .20595       -.35339E-05    .10357E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.996e-10
  Prefactor  = 4.04445
  Prefactor  = 9.31604
  Prefactor  = 16.7254
  Prefactor  = 3.2575
  Prefactor  = 2.58114
  Prefactor  = 5.9403
  Prefactor  = 1.61058
  Prefactor  = 7.88258e-09
  Prefactor  = 1.37723e-07
  Prefactor  = 9.4369e-10
  Prefactor  = 0
  Prefactor  = 2.95169
  Prefactor  = 44.8538
  Prefactor  = 4.996e-10
  norm       = 2.05335
  Prefactor  = 8.79259
  norm       = 9.99201e-10
  norm       = 2.41265
  Prefactor  = 7.93994
  norm       = 1.66533e-10
  Normalizat = 1.132
  Prefactor  = 0.930266
 **********
 **   18 **HESSE 
 **********

 FCN=   5237.504     FROM HESSE     STATUS=OK           426 CALLS     2309 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49960E-09    4.1860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0444        2.5556        .50117E-03   -1.5668    
   3  Prefactor     9.3160        12.126        .32828E-03   -1.5647    
   4  Prefactor     16.725        106.33        .24420E-03   -1.5626    
   5  Prefactor     3.2575        7.6656        .56237E-03   -1.5672    
   6  Prefactor     2.5811        5.0019        .63622E-03   -1.5676    
   7  Prefactor     5.9403        15.158        .41209E-03   -1.5659    
   8  Prefactor     1.6106        4.1338        .83424E-03   -1.5683    
   9  Prefactor     .78826E-08    46.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13772E-06    47.906        .15262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94369E-09    8.5391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .90380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9517        2.8645        .59092E-03   -1.5674    
  14  Prefactor     44.854        35.491        .14947E-03   -1.5574    
  15  Prefactor     .49960E-09    5.0180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0534        4.3666        .72091E-03   -1.5679    
  17  Prefactor     8.7926        35.083        .33935E-03   -1.5649    
  18  norm          .99920E-09    22.726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.4127        .75204        .65881E-03   -1.5677    
  20  Prefactor     7.9399        8.9560        .35571E-03   -1.5652    
  21  norm          .16653E-09    1.2496        .27953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1320        .20710        .57786E-01   -.88731    
  23  Prefactor     .93027        .17894        .45391E-01   -.95091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82752e-06
Minuit parameter uncertainties:
  1  8.92109e-05
  2  2.55562
  3  12.1257
  4  84.3443
  5  7.66565
  6  5.0019
  7  15.1577
  8  4.13378
  9  0.00120894
  10  0.00513676
  11  0.000177678
  12  5.6899e-07
  13  2.8645
  14  35.4911
  15  0.000100664
  16  4.36664
  17  35.0837
  18  0.000302785
  19  0.752042
  20  8.95606
  21  2.7035e-05
  22  0.207245
  23  0.179049
Done.

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

Extracting fit parameters...

4FGL J1159.0+0939
   Spectrum: PowerLaw
301    Prefactor:  3.258e+00  7.666e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  9.303e-01  1.790e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.132e+00  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 179.751 9.660
Photon Flux Upper Limit: 7.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641949/likelihoodResults_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.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) = 5237.36029128
delta logL = 0.143971804164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5237.34834392
delta logL = 0.155919161461

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5237.348     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      266 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6600        39.984        .46709E-03    .71071E-03
   2  Index         1.4979        2.3533        .29862       -.29535E-04
   3  Normalizat    1.1400        .20758        .57600E-01    .78551E-05
   4  Prefactor     .92459        .18309        .45317E-01    .88210E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.65996
  Index      = 1.49794
  Normalizat = 1.14001
  Prefactor  = 0.924589
 **********
 **   18 **HESSE 
 **********

 FCN=   5237.348     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6600        8.2477        .18684E-04   -1.5665    
   2  Index         1.4979        .92599        .14933E-01   -.77597    
   3  Normalizat    1.1400        .22498        .25472E-03   -.88477    
   4  Prefactor     .92459        .20532        .25379E-03   -.95287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60862e-12
Minuit parameter uncertainties:
  1  8.24772
  2  0.936714
  3  0.225174
  4  0.205495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641949': 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) = 5237.34833762
delta logL = 0.155925464148

Extracting fit parameters...

4FGL J1159.0+0939
   Spectrum: PowerLaw
301    Prefactor:  4.660e+00  8.248e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.498e+00  9.367e-01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  9.246e-01  2.055e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.140e+00  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 179.751 9.660

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/641949/cmap_HighResolution_693964801_694224001_4FGL_J1159.0+0939_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2023-01-01 01:17:12.986150', job_id='641949', GAL2='0.92', fit_tolerance='1e-08', EG2='1.14', EG='1.13', time_epoch_completed='1672564632.99', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.56e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1754' AND source_name='4FGL J1159.0+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:17:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 641949: <4FGL_J1159.0+0939_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1159.0+0939_daily_bin1754> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan  1 01:05:14 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:05:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:05:43 2023
Terminated at Sun Jan  1 01:17:13 2023
Results reported at Sun Jan  1 01:17:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1159.0+0939_daily_bin1754 179.751 9.6603 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1159.0+0939 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   594.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            719 sec.

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

