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


Performing analysis on: 4FGL_J1706.1+1000_daily_bin1709
RA = 256.539, Dec = 10.0079
tmin = 682300801, tmax = 682560001
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='176902', job_status='RUN', time_executed='2022-09-16 20:02:37.021940', time_epoch_executed='1663383757.02' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176902

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176902/ft1_4FGL_J1706.1+1000_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176902/ft1_4FGL_J1706.1+1000_daily_bin1709.fits outfile=/scratch/kocevski/176902/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1709.fits ra=256.539 dec=10.0079 rad=12.0 tmin=682300801.0 tmax=682560001.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.81
user 3.56
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.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/176902/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 1128

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/176902/ltcube_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.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/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits
.....................!
real 15.79
user 15.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/176902/ltcube_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.fits outfile=/scratch/kocevski/176902/expmap_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.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/176902/ltcube_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.fits
.....................!
real 192.18
user 186.37
sys 5.31

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 175 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 J1706.1+1000 @ 256.539 10.0079

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits scfile=/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits outfile=/scratch/kocevski/176902/cmap_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.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=256.539 yref=10.0079 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits scfile=/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits outfile=/scratch/kocevski/176902/cmap_HighResolution_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.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=256.539 yref=10.0079 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.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176902/Model_4FGL_J1706.1+1000_daily_bin1709.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits.....................!
real 98.46
user 97.03
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits', '/scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits', expMap='/scratch/kocevski/176902/expmap_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.fits', expCube='/scratch/kocevski/176902/ltcube_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/176902/Model_4FGL_J1706.1+1000_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.1+1000'

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  1.311e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/176902/ft1_filtered_4FGL_J1706.1+1000_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/176902/ft2_4FGL_J1706.1+1000_daily_bin1709.fits
Exposure map: /scratch/kocevski/176902/expmap_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.fits
Exposure cube: /scratch/kocevski/176902/ltcube_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/176902/Model_4FGL_J1706.1+1000_daily_bin1709.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) = 12159.680477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87924E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .77444E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .85602       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6907       1.0000          .0000       .10000E+07
     5 'Prefactor '    .44464E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16829E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    36.324       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15090E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12825E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9840       1.0000          .0000       .10000E+07
    12 'norm      '    .28949E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .83007E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .81876E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14492       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17249       1.0000          .0000       .10000E+07
    17 'norm      '    20.963       1.0000          .0000       .10000E+07
    18 'norm      '    3.8004       1.0000          .0000       .10000E+07
    19 'norm      '    1.9021       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5386       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96974       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12159.56     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     1805 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        69.196       -.63751E-06** at limit **
   2  Prefactor      .0000        17.683       -.55796E-08** at limit **
   3  Prefactor     .86656        8.4037       -.62395E-07   -.24350E-02
   4  Prefactor     1.6922        3.0488       -.28477E-07   -.65778E-02
   5  Prefactor      .0000        3.6110        .93129E-08** at limit **
   6  Prefactor     1.6983        5.1154       -.20314E-06   -.10964E-01
   7  Prefactor      .0000        47.397        .30662E-07** at limit **
   8  Prefactor     35.960        40.269        .31924E-05   -.30990E-04
   9  Prefactor     .55511E-10    5.7919       -.31239E-07** at limit **
  10  Prefactor      .0000        3.1419       -.97723E-09** at limit **
  11  Prefactor     .71276E-07    11660.       -.69984E-05** at limit **
  12  norm           .0000        1.0607        .17280E-08** at limit **
  13  Prefactor      .0000        35.700       -.49422E-07** at limit **
  14  norm           .0000        3.2851       -.13676E-07** at limit **
  15  Prefactor      .0000        155.04       -.35991E-07** at limit **
  16  Prefactor     .17565        .95376        .17929E-07** at limit **
  17  norm          21.126        13.464        .19730E-07   -.25208E-03
  18  norm          3.8004        3.2671       -.42292E-08   -.19455E-02
  19  norm          1.9007        .90636        .22808E-08   -.24287E-02
  20  Normalizat    1.5384        .24534       -.17514E-05    .21250E-04
  21  Prefactor     .96974        .73028E-01    .62182E-07   -.68506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.866557
  Prefactor  = 1.69217
  Prefactor  = 0
  Prefactor  = 1.69831
  Prefactor  = 0
  Prefactor  = 35.9602
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 7.12763e-08
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.175649
  norm       = 21.1262
  norm       = 3.80038
  norm       = 1.90073
  Normalizat = 1.53842
  Prefactor  = 0.969744
 **********
 **   18 **HESSE 
 **********

 FCN=   12159.56     FROM HESSE     STATUS=OK           317 CALLS     2122 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        69.201        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        17.689        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .86656        8.4145        .19540E-04   -1.5689    
   4  Prefactor     1.6922        3.0166        .25201E-04   -1.5682    
   5  Prefactor      .0000        3.6675        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6983        5.1677        .32201E-04   -1.5682    
   7  Prefactor      .0000        47.548        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.960        39.916        .33188E-04   -1.5588    
   9  Prefactor     .55511E-10    5.8063        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.1424        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .71276E-07    12144.        .23498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.0635        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        35.943        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        3.2858        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        156.21        .25704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17565        8.7826        .20745E-03   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.126        13.518        .87390E-05   -1.5616    
  18  norm          3.8004        3.2751        .17874E-04   -1.5669    
  19  norm          1.9007        .90636        .70145E-05   -1.5680    
  20  Normalizat    1.5384        .28870        .44387E-03   -.76705    
  21  Prefactor     .96974        .86928E-01    .15959E-03   -.93745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97375e-08
Minuit parameter uncertainties:
  1  1.55455e-05
  2  8.13738e-06
  3  5.40062
  4  3.01656
  5  4.56405e-06
  6  5.1677
  7  8.73064e-06
  8  39.9168
  9  3.06047e-05
  10  2.16615e-06
  11  0.0589597
  12  6.44373e-08
  13  5.32717e-05
  14  9.46395e-07
  15  4.57251e-05
  16  2.48407
  17  13.5183
  18  3.2751
  19  0.906364
  20  0.28901
  21  0.0869409
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  5.551e-11  3.060e-05  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.697e-01  8.694e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.538e+00  2.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176902/likelihoodResults_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.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) = 12159.5663088
delta logL = -0.0016166464502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12159.564693
delta logL = -8.57860868564e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12159.50     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      345 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36216E-04    .26692E-02    .26761E-04** at limit **
   2  Index        10.0000        9.7405        .50000    ** at limit **
   3  Normalizat    1.5059        .56983E-01    .10108       -.51308E-03
   4  Prefactor     .97561        .16632E-01    .45888E-01   -.39521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62156e-05
  Index      = 10
  Normalizat = 1.50587
  Prefactor  = 0.975612
 **********
 **   18 **HESSE 
 **********

 FCN=   12159.50     FROM HESSE     STATUS=OK            33 CALLS      378 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36216E-04    .11497E-03    .14171E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        9.1926        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5059        .30231        .44786E-03   -.77614    
   4  Prefactor     .97561        .86445E-01    .15916E-03   -.93547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25209e-07
Minuit parameter uncertainties:
  1  0.000114969
  2  0.000701812
  3  0.302671
  4  0.0864575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176902': 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) = 12159.4964097
delta logL = 0.0682824382493

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  3.622e-05  1.150e-04  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  1.000e+01  7.018e-04  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.756e-01  8.646e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.506e+00  3.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.539 10.008

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/176902/cmap_HighResolution_682300801_682560001_4FGL_J1706.1+1000_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.71e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2022-09-16 20:16:49.929726', job_id='176902', GAL2='0.98', fit_tolerance='1e-08', EG2='1.51', EG='1.54', time_epoch_completed='1663384609.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='6.83e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1709' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:16:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 176902: <4FGL_J1706.1+1000_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1706.1+1000_daily_bin1709> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 20:00:15 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:00:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:00:42 2022
Terminated at Fri Sep 16 20:16:50 2022
Results reported at Fri Sep 16 20:16:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1706.1+1000_daily_bin1709 256.539 10.0079 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1706.1+1000 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   854.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            995 sec.

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

