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


Performing analysis on: 4FGL_J1706.1+1000_daily_bin1766
RA = 256.539, Dec = 10.0079
tmin = 697075201, tmax = 697334401
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='853878', job_status='RUN', time_executed='2023-02-06 01:07:11.611416', time_epoch_executed='1675674431.61' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853878

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853878/ft1_4FGL_J1706.1+1000_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853878/ft1_4FGL_J1706.1+1000_daily_bin1766.fits outfile=/scratch/kocevski/853878/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1766.fits ra=256.539 dec=10.0079 rad=12.0 tmin=697075201.0 tmax=697334401.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.72
user 3.49
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.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/853878/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.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.34
sys 0.17

Number of photons that the gtmktime cut: 1060

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/853878/ltcube_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.fits outfile=/scratch/kocevski/853878/expmap_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.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/853878/ltcube_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.fits
.....................!
real 193.15
user 187.96
sys 4.79

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/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits scfile=/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits outfile=/scratch/kocevski/853878/cmap_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits scfile=/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits outfile=/scratch/kocevski/853878/cmap_HighResolution_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853878/Model_4FGL_J1706.1+1000_daily_bin1766.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/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits....................!
real 88.00
user 86.60
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits', '/scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits', expMap='/scratch/kocevski/853878/expmap_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.fits', expCube='/scratch/kocevski/853878/ltcube_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/853878/Model_4FGL_J1706.1+1000_daily_bin1766.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/853878/ft1_filtered_4FGL_J1706.1+1000_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/853878/ft2_4FGL_J1706.1+1000_daily_bin1766.fits
Exposure map: /scratch/kocevski/853878/expmap_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.fits
Exposure cube: /scratch/kocevski/853878/ltcube_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/853878/Model_4FGL_J1706.1+1000_daily_bin1766.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) = 11029.6170794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11492E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19873E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .92392E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.6121       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55441E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.1058       1.0000          .0000       .10000E+07
     7 'Prefactor '    .69623E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45298E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56621E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27409E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .82857E-01   1.0000          .0000       .10000E+07
    12 'norm      '    2.1955       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.762       1.0000          .0000       .10000E+07
    14 'norm      '    .31691E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    48.263       1.0000          .0000       .10000E+07
    16 'Prefactor '    .90769       1.0000          .0000       .10000E+07
    17 'norm      '    .50199E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    19 'norm      '    .82167       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0478       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11029.61     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1673 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-08    36.813        .50517E-05** at limit **
   2  Prefactor     .27756E-09    17.181       -.49453E-05** at limit **
   3  Prefactor     .72164E-09    5.4500       -.25328E-05** at limit **
   4  Prefactor     5.5058        8.8549       -.13614E-05    .16491E-02
   5  Prefactor     .22204E-09    23.056        .12277E-06** at limit **
   6  Prefactor     6.1115        5.8604        .88845E-06    .91912E-03
   7  Prefactor     .55511E-10    5.9949       -.27172E-05** at limit **
   8  Prefactor     .31641E-08    56.654        .25982E-05** at limit **
   9  Prefactor      .0000        1.9384        .13289E-05** at limit **
  10  Prefactor     .16098E-08    9.7340       -.27371E-05** at limit **
  11  Prefactor     .40037E-05    1.0245       -.25984E-06** at limit **
  12  norm          2.1956        1.7950        .16793E-06   -.55087E-03
  13  Prefactor     22.740        1.6843       -.57630E-07    .94946E-01
  14  norm          .55511E-10    3.6252       -.97486E-06** at limit **
  15  Prefactor     48.847        71.625        .67730E-05    .20730E-02
  16  Prefactor     .90673        1.8775       -.82987E-06   -.16491E-03
  17  norm          .24980E-08    11.945       -.24985E-06** at limit **
  18  norm           .0000        .70983       -.89989E-07** at limit **
  19  norm          .82147        .60880        .31940E-06   -.73111E-02
  20  Normalizat    1.0481        .28218        .34255E-04   -.25682E-04
  21  Prefactor     1.0007        .86250E-01   -.11985E-04    .40750E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 5.50585
  Prefactor  = 2.22045e-10
  Prefactor  = 6.11155
  Prefactor  = 5.55112e-11
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  Prefactor  = 1.60982e-09
  Prefactor  = 4.00374e-06
  norm       = 2.19558
  Prefactor  = 22.7398
  norm       = 5.55112e-11
  Prefactor  = 48.8475
  Prefactor  = 0.90673
  norm       = 2.498e-09
  norm       = 0
  norm       = 0.821471
  Normalizat = 1.04807
  Prefactor  = 1.00066
 **********
 **   18 **HESSE 
 **********

 FCN=   11029.61     FROM HESSE     STATUS=OK           357 CALLS     2030 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-08    36.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27756E-09    17.109        .17045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .72164E-09    5.4696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5058        8.8716        .42382E-03   -1.5661    
   5  Prefactor     .22204E-09    22.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.1115        5.8624        .40607E-03   -1.5659    
   7  Prefactor     .55511E-10    5.9989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .31641E-08    56.204        .15733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.9385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16098E-08    9.7160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .40037E-05    65.189        .14415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1956        1.7971        .69420E-03   -1.5678    
  13  Prefactor     22.740        15.002        .20965E-03   -1.5613    
  14  norm          .55511E-10    3.6277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     48.847        71.746        .14396E-03   -1.5568    
  16  Prefactor     .90673        1.9152        .45230E-03   -1.5689    
  17  norm          .24980E-08    11.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .71049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .82147        .61083        .51334E-03   -1.5690    
  20  Normalizat    1.0481        .25016        .10386       -.91437    
  21  Prefactor     1.0007        .75567E-01    .33027E-01   -.92707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11163e-07
Minuit parameter uncertainties:
  1  0.000494393
  2  0.000142856
  3  0.000126861
  4  8.87164
  5  0.000138675
  6  5.86238
  7  2.80244e-05
  8  0.000841606
  9  7.85851e-06
  10  0.000251766
  11  0.0323114
  12  1.79709
  13  15.0024
  14  3.23378e-05
  15  71.7469
  16  1.91516
  17  0.000342596
  18  6.47973e-07
  19  0.610829
  20  0.250445
  21  0.0755753
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  7.859e-06  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:  1.001e+00  7.558e-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.048e+00  2.504e-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: 7.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/853878/likelihoodResults_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.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) = 11029.6101284
delta logL = -0.000805269090051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11029.6093242
delta logL = -1.08038875624e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44076E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.1321       1.0000          .0000       10.000    
     3 'Normalizat'    1.0477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0008       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11029.61     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      252 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .20726        .42118E-03** at limit **
   2  Index         4.6843        1.7801        .81255E-06     .0000    
   3  Normalizat    1.0481        1.2071       -.19818E-05    .62846E-04
   4  Prefactor     1.0007        1.3184        .44229E-05    .18724E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.68434
  Normalizat = 1.04807
  Prefactor  = 1.00066
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11029.61     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .20726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2885        2.4166        .81255E-06   -.63173E-01
   3  Normalizat    1.0481        1.2071       -.19818E-05   -.91437    
   4  Prefactor     1.0007        1.3184        .44229E-05   -.92707    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.62551e-12
Minuit parameter uncertainties:
  1  1.42243e-09
  2  1.82024
  3  1.24108
  4  1.36504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853878': 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) = 11029.6093231
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.422e-09  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  4.684e+00  1.820e+00  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:  1.001e+00  1.365e+00  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.048e+00  1.241e+00  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/853878/cmap_HighResolution_697075201_697334401_4FGL_J1706.1+1000_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.76e-03', job_status='DONE', photon_flux_upper_limit='7.32e-08', time_completed='2023-02-06 01:20:17.941415', job_id='853878', GAL2='1.00', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1675675217.94', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1766' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:20:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 853878: <4FGL_J1706.1+1000_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1706.1+1000_daily_bin1766> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb  6 01:05:25 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:06:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:06:01 2023
Terminated at Mon Feb  6 01:20:18 2023
Results reported at Mon Feb  6 01:20:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1706.1+1000_daily_bin1766 256.539 10.0079 697075201 697334401 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 :                                   788.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            893 sec.

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

