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


Performing analysis on: 4FGL_J1259.1-2311_daily_bin1755
RA = 194.78, Dec = -23.1925
tmin = 694224001, tmax = 694483201
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='823661', job_status='RUN', time_executed='2023-01-04 01:02:52.453857', time_epoch_executed='1672822972.45' WHERE source_name='4FGL J1259.1-2311' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823661

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823661/ft1_4FGL_J1259.1-2311_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823661/ft1_4FGL_J1259.1-2311_daily_bin1755.fits outfile=/scratch/kocevski/823661/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin1755.fits ra=194.78 dec=-23.1925 rad=12.0 tmin=694224001.0 tmax=694483201.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.79
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.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/823661/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.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: 827

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/823661/ltcube_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.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/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits
.....................!
real 15.64
user 15.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/823661/ltcube_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.fits outfile=/scratch/kocevski/823661/expmap_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.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/823661/ltcube_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.fits
.....................!
real 192.23
user 186.64
sys 5.23

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 187 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1259.1-2311 @ 194.78 -23.1925

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits scfile=/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits outfile=/scratch/kocevski/823661/cmap_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.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=194.78 yref=-23.1925 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/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits scfile=/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits outfile=/scratch/kocevski/823661/cmap_HighResolution_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.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=194.78 yref=-23.1925 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/823661/Model_4FGL_J1259.1-2311_daily_bin1755.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits.....................!
real 143.23
user 141.69
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits', '/scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits', expMap='/scratch/kocevski/823661/expmap_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.fits', expCube='/scratch/kocevski/823661/ltcube_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823661/Model_4FGL_J1259.1-2311_daily_bin1755.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1259.1-2311'

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.169e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/823661/ft1_filtered_4FGL_J1259.1-2311_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/823661/ft2_4FGL_J1259.1-2311_daily_bin1755.fits
Exposure map: /scratch/kocevski/823661/expmap_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.fits
Exposure cube: /scratch/kocevski/823661/ltcube_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823661/Model_4FGL_J1259.1-2311_daily_bin1755.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) = 8937.61323219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.760       1.0000          .0000       .10000E+07
     2 'Prefactor '    .67304E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .68001E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8046       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3973       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2106       1.0000          .0000       .10000E+07
     7 'norm      '    .35361E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    64.100       1.0000          .0000       .10000E+07
     9 'norm      '    7.9037       1.0000          .0000       .10000E+07
    10 'norm      '    15.324       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10764E-01   1.0000          .0000       .10000E+07
    12 'norm      '    5.6355       1.0000          .0000       .10000E+07
    13 'norm      '    .37225E-02   1.0000          .0000       .10000E+07
    14 'norm      '    7.0347       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23524E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.818       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.556       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10209E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.0667       1.0000          .0000       .10000E+07
    20 'norm      '    46.357       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0289       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8937.610     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1873 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.725        7.3530       -.38226E-08   -.15847E-01
   2  Prefactor     .54956E-08    7.3060        .16814E-07** at limit **
   3  Prefactor     .55511E-10    16.059        .66714E-07** at limit **
   4  Prefactor     3.7794        18.191       -.68207E-07   -.35096E-01
   5  Prefactor     5.3961        2.2010       -.26290E-06   -.56289E-03
   6  Prefactor     7.2301        9.8780        .55014E-07    .16411E-01
   7  norm           .0000        .78113        .27592E-07** at limit **
   8  Prefactor     63.922        34.393       -.20793E-07    .15490    
   9  norm          7.9199        7.5782       -.53723E-07   -.33769E-02
  10  norm          15.404        6.9367       -.10096E-06   -.11891E-01
  11  Prefactor     .10764E-04    196.30       -.10243E-05** at limit **
  12  norm          5.6200        4.4692       -.15292E-07   -.11521E-02
  13  norm          .14322E-07    9.4063       -.14162E-07** at limit **
  14  norm          6.9930        5.0013       -.21382E-07   -.86043E-03
  15  Prefactor     .55511E-10    2.9796       -.17527E-07** at limit **
  16  Prefactor     11.825        4.7842       -.39702E-07    .12919E-01
  17  Prefactor     16.546        5.3826       -.26906E-07    .34570E-01
  18  Prefactor     .38858E-09    1.9038        .11991E-06** at limit **
  19  Prefactor     3.0707        7.3726       -.10021E-06   -.10828E-01
  20  norm          46.077        22.846       -.60690E-07    .17514    
  21  Normalizat    1.0283        .24892        .17025E-05   -.12510E-03
  22  Prefactor     .91034        .11412       -.87756E-06   -.33950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.7252
  Prefactor  = 5.4956e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 3.7794
  Prefactor  = 5.39611
  Prefactor  = 7.23009
  norm       = 0
  Prefactor  = 63.9218
  norm       = 7.91985
  norm       = 15.4045
  Prefactor  = 1.07636e-05
  norm       = 5.62004
  norm       = 1.43219e-08
  norm       = 6.99299
  Prefactor  = 5.55112e-11
  Prefactor  = 11.8246
  Prefactor  = 16.5456
  Prefactor  = 3.88578e-10
  Prefactor  = 3.07073
  norm       = 46.0771
  Normalizat = 1.02831
  Prefactor  = 0.910345
 **********
 **   18 **HESSE 
 **********

 FCN=   8937.610     FROM HESSE     STATUS=OK           402 CALLS     2275 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.725        38.733        .15665E-03   -1.5580    
   2  Prefactor     .54956E-08    7.3157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    16.146        .14885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7794        20.082        .51725E-03   -1.5669    
   5  Prefactor     5.3961        2.2038        .43243E-02   -1.5243    
   6  Prefactor     7.2301        9.9209        .37331E-03   -1.5654    
   7  norm           .0000        .75460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     63.922        58.232        .12491E-03   -1.5548    
   9  norm          7.9199        7.5946        .35642E-03   -1.5652    
  10  norm          15.404        8.0505        .25559E-03   -1.5629    
  11  Prefactor     .10764E-04    4.9057        .57706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.6200        4.4795        .42293E-03   -1.5661    
  13  norm          .14322E-07    1.8307        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.9930        5.0045        .37799E-03   -1.5655    
  15  Prefactor     .55511E-10    2.9858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.825        10.841        .29115E-03   -1.5639    
  17  Prefactor     16.546        21.787        .24588E-03   -1.5627    
  18  Prefactor     .38858E-09    1.9091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0707        9.9738        .57901E-03   -1.5673    
  20  norm          46.077        28.120        .14688E-03   -1.5572    
  21  Normalizat    1.0283        .21306        .81450E-01   -.92088    
  22  Prefactor     .91034        .96987E-01    .45135E-01   -.95781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99048e-06
Minuit parameter uncertainties:
  1  38.7336
  2  0.000401916
  3  7.20281e-05
  4  17.4241
  5  2.20384
  6  9.92091
  7  5.13437e-06
  8  58.2327
  9  7.59459
  10  8.05047
  11  0.0145331
  12  4.47948
  13  0.000323989
  14  5.00454
  15  2.27212e-05
  16  10.8415
  17  21.7872
  18  5.42896e-05
  19  9.97384
  20  28.12
  21  0.213233
  22  0.0970058
Done.

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

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.076e-05  1.453e-02  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  9.103e-01  9.701e-02  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.028e+00  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 194.780 -23.192
Photon Flux Upper Limit: 9.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823661/likelihoodResults_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.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) = 8937.63310856
delta logL = -0.0232625328008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8934.24478069
delta logL = 3.36506533451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45890E-03   1.0000          .0000       .10000E+07
     2 'Index     '    5.9586       1.0000          .0000       10.000    
     3 'Normalizat'    .81701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96958       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8937.610     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      341 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3471        .42118E-03** at limit **
   2  Index         .92788        .59173       -.16136E-04     .0000    
   3  Normalizat    1.0283        1.2828        .52600E-05   -.19591E-04
   4  Prefactor     .91035        1.2741        .17419E-05    .33973E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.927877
  Normalizat = 1.02831
  Prefactor  = 0.910345
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8937.610     FROM HESSE     STATUS=FAILED         9 CALLS      350 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29705E-01    .98376       -.16136E-04   -692.10    
   3  Normalizat    1.0283        1.2828        .52600E-05    175.01    
   4  Prefactor     .91035        1.2741        .17419E-05    255.43    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.9129e-12
Minuit parameter uncertainties:
  1  5.71573e-06
  2  0.595908
  3  1.32485
  4  1.31994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823661': 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): 101
logL (Free Index) = 8937.609846
delta logL = 2.67064024229e-08

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  5.716e-06  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  9.279e-01  5.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  9.103e-01  1.320e+00  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.028e+00  1.325e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 194.780 -23.192

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/823661/cmap_HighResolution_694224001_694483201_4FGL_J1259.1-2311_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', job_status='DONE', photon_flux_upper_limit='9.46e-08', time_completed='2023-01-04 01:16:32.402216', job_id='823661', GAL2='0.91', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1672823792.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.67e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1755' AND source_name='4FGL J1259.1-2311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:16:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 823661: <4FGL_J1259.1-2311_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1259.1-2311_daily_bin1755> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan  4 01:00:19 2023
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:00:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:00:39 2023
Terminated at Wed Jan  4 01:16:33 2023
Results reported at Wed Jan  4 01:16:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1259.1-2311_daily_bin1755 194.78 -23.1925 694224001 694483201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1259.1-2311 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   822.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            974 sec.

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

