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


Performing analysis on: 4FGL_J1959.1-4247_daily_bin1701
RA = 299.796, Dec = -42.7852
tmin = 680227201, tmax = 680486401
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='190658', job_status='RUN', time_executed='2022-07-26 02:06:41.847024', time_epoch_executed='1658826401.85' WHERE source_name='4FGL J1959.1-4247' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/190658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/190658/ft1_4FGL_J1959.1-4247_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/190658/ft1_4FGL_J1959.1-4247_daily_bin1701.fits outfile=/scratch/kocevski/190658/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1701.fits ra=299.796 dec=-42.7852 rad=12.0 tmin=680227201.0 tmax=680486401.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.93
user 2.69
sys 0.20

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

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

Number of photons that the gtmktime cut: 34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/190658/ltcube_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.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/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits
.....................!
real 15.84
user 15.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/190658/ltcube_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.fits outfile=/scratch/kocevski/190658/expmap_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.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/190658/ltcube_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.fits
.....................!
real 192.09
user 187.16
sys 4.52

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/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits scfile=/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits outfile=/scratch/kocevski/190658/cmap_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits scfile=/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits outfile=/scratch/kocevski/190658/cmap_HighResolution_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.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.57
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190658/Model_4FGL_J1959.1-4247_daily_bin1701.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/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits..................................!
real 17.47
user 16.23
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits', '/scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits', expMap='/scratch/kocevski/190658/expmap_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.fits', expCube='/scratch/kocevski/190658/ltcube_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/190658/Model_4FGL_J1959.1-4247_daily_bin1701.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/190658/ft1_filtered_4FGL_J1959.1-4247_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/190658/ft2_4FGL_J1959.1-4247_daily_bin1701.fits
Exposure map: /scratch/kocevski/190658/expmap_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.fits
Exposure cube: /scratch/kocevski/190658/ltcube_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/190658/Model_4FGL_J1959.1-4247_daily_bin1701.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) = 408.33850497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21227E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10357E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.291       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .52379E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    123.20       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .84620E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    307.57       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .80709E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .44898       1.0000         .10000E-03   10000.    
    11 'norm      '    6.5948       1.0000         .10000E-03   10000.    
    12 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0323       1.0000         .10000E-03   10000.    
    14 'norm      '    .37088E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.7694       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6933       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8641       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5887       1.0000         .10000E-03   10000.    
    19 'norm      '    4.9964       1.0000         .10000E-03   10000.    
    20 'Normalizat'    2.9432       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .29641       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   404.1550     FROM MIGRAD    STATUS=CONVERGED    527 CALLS      822 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.303        .91287E-02** at limit **
   2  norm          .10000E-03    7.3221        .90712E-02** at limit **
   3  Prefactor     852.32        978.94        .25606E-02    .46178E-05
   4  Prefactor     .10000E-03    38.274        .95688E-02** at limit **
   5  Prefactor     126.05        153.45        .90653E-03    .57372E-05
   6  Prefactor     .10000E-03    59.578        .91896E-02** at limit **
   7  norm          315.61        283.36        .57917E-03   -.53945E-05
   8  Prefactor     .10000E-03    383.18        .92309E-02** at limit **
   9  norm          .10000E-03    9.7536        .90712E-02** at limit **
  10  norm          .10000E-03    132.98        .11061E-01** at limit **
  11  norm          .10000E-03    474.48        .39066E-02** at limit **
  12  norm          .10000E-03    8.7681        .90712E-02** at limit **
  13  Prefactor     .10000E-03    6382.1        .72541E-02** at limit **
  14  norm          .10000E-03    56.169        .10649E-01** at limit **
  15  norm          4.7694        1.0056         .0000         .0000    
  16  norm         10000.0        .16345        .38161E-03** at limit **
  17  Prefactor    10000.0        .90150E-01    .76203E-04** at limit **
  18  Prefactor     6.0732        1.0466        .14057E-06   -.14824E-04
  19  norm          .10000E-03    .50574E-01   -.32432E-04** at limit **
  20  Normalizat    3.3518        1.0415       -.49149E-05    .27777E-04
  21  Prefactor     .11933        .38998        .11835E-04   -.29410E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 852.323
  Prefactor  = 0.0001
  Prefactor  = 126.055
  Prefactor  = 0.0001
  norm       = 315.613
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 4.76943
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 6.07324
  norm       = 0.000100003
  Normalizat = 3.35177
  Prefactor  = 0.119331
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   404.1550     FROM HESSE     STATUS=FAILED        39 CALLS      861 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.303        .91287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.3221        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     852.32        978.94        .25606E-02   -.97828    
   4  Prefactor     .10000E-03    38.274        .95688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     126.05        153.45        .90653E-03   -1.3458    
   6  Prefactor     .10000E-03    59.578        .91896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          315.61        283.36        .57917E-03   -1.2136    
   8  Prefactor     .10000E-03    383.18        .92309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.7536        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    132.98        .11061E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    474.48        .39066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    8.7681        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6382.1        .72541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    56.169        .10649E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          533.85        529.03         .0000       -1.5271    
  16  norm         10000.0        .16345        .38161E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor    10000.0        .90150E-01    .76203E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0732        1.0466        .14057E-06   -1.5215    
  19  norm          .10000E-03    .50574E-01   -.32432E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    3.3518        1.0415       -.49149E-05   -.33734    
  21  Prefactor     .11933        .38998        .11835E-04   -1.7897    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.8887e-11
Minuit parameter uncertainties:
  1  1.15598e-05
  2  4.06007e-06
  3  1000.19
  4  3.89042e-05
  5  153.938
  6  2.71879e-05
  7  284.62
  8  0.000110087
  9  2.5063e-06
  10  0.000177134
  11  0.00157264
  12  4.03931e-06
  13  0.00709498
  14  9.54367e-06
  15  1.0056
  16  0.000118697
  17  0.000358166
  18  1.04665
  19  2.54173e-05
  20  1.05019
  21  0.39889
Done.

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

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.000e-04  1.771e-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:  1.193e-01  3.989e-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:  3.352e+00  1.050e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/190658/likelihoodResults_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.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): 102
logL (Free Index) = 404.15505834
delta logL = -3.46378176346e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 404.155057342
delta logL = -3.36393720204e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91021E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2705       1.0000          .0000       5.0000    
     3 'Normalizat'    3.3517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .11935       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.

 FCN=   404.1550     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      204 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    130.42        .91241E-02** at limit **
   2  alpha         2.2957        3.5028        .41373       -.10159E-05
   3  Normalizat    3.3518        1.5789        .71581E-01   -.11109E-04
   4  Prefactor     .11933        .41552        .82690E-01   -.20796E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.29571
  Normalizat = 3.35179
  Prefactor  = 0.119325
 **********
 **   18 **HESSE 
 **********

 FCN=   404.1550     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    129.86        .18248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2957        3.5014        .16549       -.81806E-01
   3  Normalizat    3.3518        1.5059        .31638E-03   -.33734    
   4  Prefactor     .11933        .39681        .36526E-03   -1.3519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28052e-11
Minuit parameter uncertainties:
  1  0.000985569
  2  2.4918
  3  1.53277
  4  0.406218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/190658': 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) = 404.155023692
delta logL = 1.05673620965e-08

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.000e-04  9.856e-04  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  2.296e+00  2.492e+00  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:  1.193e-01  4.062e-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:  3.352e+00  1.533e+00  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/190658/cmap_HighResolution_680227201_680486401_4FGL_J1959.1-4247_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-04', job_status='DONE', photon_flux_upper_limit='1.78e-06', time_completed='2022-07-26 02:12:17.870636', job_id='190658', GAL2='0.12', fit_tolerance='1e-08', EG2='3.35', EG='3.35', time_epoch_completed='1658826737.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.12', dlogl='1.06e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1701' AND source_name='4FGL J1959.1-4247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:12:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 190658: <4FGL_J1959.1-4247_daily_bin1701> in cluster <slac> Done

Job <4FGL_J1959.1-4247_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:05:23 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:06:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:06:02 2022
Terminated at Tue Jul 26 02:12:18 2022
Results reported at Tue Jul 26 02:12:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.1-4247_daily_bin1701 299.796 -42.7852 680227201 680486401 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 :                                   338.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   376 sec.
    Turnaround time :                            415 sec.

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

