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 85 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1959.1-4247_daily_bin1703
RA = 299.796, Dec = -42.7852
tmin = 680745601, tmax = 681004801
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='322795', job_status='RUN', time_executed='2022-08-01 01:17:35.144124', time_epoch_executed='1659341855.14' WHERE source_name='4FGL J1959.1-4247' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/322795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/322795/ft1_4FGL_J1959.1-4247_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/322795/ft1_4FGL_J1959.1-4247_daily_bin1703.fits outfile=/scratch/kocevski/322795/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1703.fits ra=299.796 dec=-42.7852 rad=12.0 tmin=680745601.0 tmax=681004801.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 2.48
user 2.26
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.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/322795/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 33

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/322795/ltcube_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.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/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits
.....................!
real 12.13
user 11.74
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/322795/ltcube_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.fits outfile=/scratch/kocevski/322795/expmap_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.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/322795/ltcube_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.fits
.....................!
real 156.28
user 152.14
sys 3.76

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

Setting source of interest to:
4FGL J1959.1-4247 @ 299.796 -42.7852

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits scfile=/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits outfile=/scratch/kocevski/322795/cmap_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.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=299.796 yref=-42.7852 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.48
user 0.34
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits scfile=/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits outfile=/scratch/kocevski/322795/cmap_HighResolution_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.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=299.796 yref=-42.7852 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.49
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/322795/Model_4FGL_J1959.1-4247_daily_bin1703.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/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits.................................!
real 13.86
user 12.78
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits', '/scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits', expMap='/scratch/kocevski/322795/expmap_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.fits', expCube='/scratch/kocevski/322795/ltcube_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/322795/Model_4FGL_J1959.1-4247_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1959.1-4247'

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/322795/ft1_filtered_4FGL_J1959.1-4247_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/322795/ft2_4FGL_J1959.1-4247_daily_bin1703.fits
Exposure map: /scratch/kocevski/322795/expmap_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.fits
Exposure cube: /scratch/kocevski/322795/ltcube_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/322795/Model_4FGL_J1959.1-4247_daily_bin1703.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 395.503462203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 394.56568685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21658E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8106       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.262       1.0000         .10000E-03   10000.    
     4 'Prefactor '    60.314       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11399       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .65174       1.0000         .10000E-03   10000.    
     7 'norm      '    .99314E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1639       1.0000         .10000E-03   10000.    
     9 'norm      '    .10263E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .35268       1.0000         .10000E-03   10000.    
    11 'norm      '    6.8117       1.0000         .10000E-03   10000.    
    12 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4036       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0187       1.0000         .10000E-03   10000.    
    15 'norm      '    4.7694       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6817       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8479       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5961       1.0000         .10000E-03   10000.    
    19 'norm      '    6.1410       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94008       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   392.1083     FROM MIGRAD    STATUS=CONVERGED    409 CALLS      729 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.102        .25253E-06** at limit **
   2  norm          2.9981        16.893        .18385E-05    .17984E-04
   3  Prefactor     99.160        912.38        .29038E-05    .88348E-05
   4  Prefactor     50.127        55.855       -.53635E-06   -.22840E-04
   5  Prefactor     .10000E-03    69.466       -.48487E-06** at limit **
   6  Prefactor     .10000E-03    143.65        .54834E-06** at limit **
   7  norm          .10000E-03    184.97        .82574E-06** at limit **
   8  Prefactor    10000.0        8783.7       -.22006E-05** at limit **
   9  norm          .10000E-03    32.942       -.14743E-07** at limit **
  10  norm          .10000E-03    194.58       -.29196E-05** at limit **
  11  norm          .10001E-03    724.01       -.25994E-05** at limit **
  12  norm          .10000E-03    12.854       -.11103E-05** at limit **
  13  Prefactor     9999.1        5264.1       -.11823E-03   -.48550E-03
  14  norm          .10000E-03    6271.6       -.36150E-06** at limit **
  15  norm          4.7694        1.0056         .0000         .0000    
  16  norm          9993.2        9740.9       -.17734E-03    .11377E-02
  17  Prefactor     9999.3        6508.4       -.22595E-03   -.56768E-03
  18  Prefactor     144.86        344.96       -.72341E-05   -.21893E-02
  19  norm         10000.0        6319.5        .25609E-04** at limit **
  20  Normalizat    .10000E-01    .47069       -.43903E-06** at limit **
  21  Prefactor     .87596        .22385       -.45162E-06   -.75569E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.99813
  Prefactor  = 99.1597
  Prefactor  = 50.1273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10000
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.000100013
  norm       = 0.0001
  Prefactor  = 9999.12
  norm       = 0.000100004
  norm       = 4.76943
  norm       = 9993.19
  Prefactor  = 9999.32
  Prefactor  = 144.863
  norm       = 10000
  Normalizat = 0.01
  Prefactor  = 0.875962
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   392.1083     FROM HESSE     STATUS=FAILED        67 CALLS      796 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.532        .10078E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9981        13.291        .77625E-02   -1.5362    
   3  Prefactor     99.160        897.29        .31270E-02   -1.3713    
   4  Prefactor     50.127        53.412        .12916E-02   -1.4291    
   5  Prefactor     .10000E-03    69.115        .95777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    142.23        .11875E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    186.72        .95080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        8679.1        .10664E-01    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    32.376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    194.52        .10654E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    729.72        .38433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    12.736        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9999.1        5003.1        .66025E-02    1.5521    
  14  norm          .10000E-03    6264.9        .12844E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          533.85        529.03         .0000       -1.5271    
  16  norm          9993.2        2.1190       -.17734E-03    1.6230    
  17  Prefactor     9999.3        .49535       -.22595E-03    1.5543    
  18  Prefactor     144.86        5.0728       -.72341E-05   -1.3295    
  19  norm         10000.0        .41009E-01    .25609E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .25505       -.43903E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .87596        1.2427       -.45162E-06   -.96986    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.48729e-10
Minuit parameter uncertainties:
  1  5.36934e-05
  2  12.6297
  3  609.131
  4  53.463
  5  8.79499e-06
  6  0.000221278
  7  0.000112621
  8  2.11306
  9  5.43352e-07
  10  0.000627946
  11  0.00613305
  12  3.07148e-05
  13  581.581
  14  0.0063093
  15  1.0056
  16  2.119
  17  0.49535
  18  5.0728
  19  0.000440691
  20  4.30728e-07
  21  1.28671
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 392.108323229

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.000e-04  6.279e-04  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
667    Prefactor:  8.760e-01  1.287e+00  0.000e+00  1.000e+01 ( 1.000e+00)
668        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
669        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
666   Normalization:  1.000e-02  4.307e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 299.796 -42.785
Photon Flux Upper Limit: 3.56e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/322795/likelihoodResults_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.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) = 392.108348244
delta logL = -2.50154108699e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 392.108323633
delta logL = -4.03792512316e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10674E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2299       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6700E+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=   392.1083     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      282 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6949.7        .18142E-01** at limit **
   2  alpha         2.2442        2.8782        .17449        .40151E-07
   3  Normalizat    .10000E-01    .23034E-01    .81522E-02** at limit **
   4  Prefactor     .87596        .42840E-01    .13307E-03   -.29926E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 2.24417
  Normalizat = 0.01
  Prefactor  = 0.875961
 **********
 **   18 **HESSE 
 **********

 FCN=   392.1083     FROM HESSE     STATUS=OK            23 CALLS      305 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    324.67        .27099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2442        3.2828        .69797E-02   -.10251    
   3  Normalizat    .10000E-01    .46728        .16304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87596        .19425        .26613E-04   -.96986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14296e-09
Minuit parameter uncertainties:
  1  0.00202897
  2  2279.7
  3  1.43293e-07
  4  0.194406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/322795': 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) = 392.108323229
delta logL = 5.08293851453e-10

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.000e-04  2.029e-03  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  2.244e+00  2.280e+03  0.000e+00  5.000e+00 ( 1.000e+00)
377         beta:  1.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
667    Prefactor:  8.760e-01  1.944e-01  0.000e+00  1.000e+01 ( 1.000e+00)
668        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
669        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
666   Normalization:  1.000e-02  1.433e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 299.796 -42.785

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/322795/cmap_HighResolution_680745601_681004801_4FGL_J1959.1-4247_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-03', job_status='DONE', photon_flux_upper_limit='3.56e-06', time_completed='2022-08-01 01:22:08.087923', job_id='322795', GAL2='0.88', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1659342128.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.88', dlogl='5.08e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1703' AND source_name='4FGL J1959.1-4247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:22:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 322795: <4FGL_J1959.1-4247_daily_bin1703> in cluster <slac> Done

Job <4FGL_J1959.1-4247_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:15:17 2022
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:16:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:16:03 2022
Terminated at Mon Aug  1 01:22:09 2022
Results reported at Mon Aug  1 01:22:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.1-4247_daily_bin1703 299.796 -42.7852 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1959.1-4247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   274.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   365 sec.
    Turnaround time :                            412 sec.

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

