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


Performing analysis on: 4FGL_J1706.1+1000_daily_bin1765
RA = 256.539, Dec = 10.0079
tmin = 696816001, tmax = 697075201
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='641652', job_status='RUN', time_executed='2023-02-03 01:21:33.666073', time_epoch_executed='1675416093.67' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641652

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641652/ft1_4FGL_J1706.1+1000_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641652/ft2_4FGL_J1706.1+1000_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641652/ft1_4FGL_J1706.1+1000_daily_bin1765.fits outfile=/scratch/kocevski/641652/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1765.fits ra=256.539 dec=10.0079 rad=12.0 tmin=696816001.0 tmax=697075201.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.65
user 3.39
sys 0.24

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

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

Number of photons that the gtmktime cut: 1007

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641652/ft1_filtered_4FGL_J1706.1+1000_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/641652/ft2_4FGL_J1706.1+1000_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/641652/ltcube_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.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/641652/ft2_4FGL_J1706.1+1000_daily_bin1765.fits
.....................!
real 14.71
user 14.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641652/ft1_filtered_4FGL_J1706.1+1000_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/641652/ft2_4FGL_J1706.1+1000_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/641652/ltcube_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.fits outfile=/scratch/kocevski/641652/expmap_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.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/641652/ltcube_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.fits
.....................!
real 192.55
user 187.57
sys 4.92

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/641652/ft1_filtered_4FGL_J1706.1+1000_daily_bin1765.fits scfile=/scratch/kocevski/641652/ft2_4FGL_J1706.1+1000_daily_bin1765.fits outfile=/scratch/kocevski/641652/cmap_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641652/ft1_filtered_4FGL_J1706.1+1000_daily_bin1765.fits scfile=/scratch/kocevski/641652/ft2_4FGL_J1706.1+1000_daily_bin1765.fits outfile=/scratch/kocevski/641652/cmap_HighResolution_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6934       1.0000          .0000       .10000E+07
     2 'Prefactor '    .67453E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.8432       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16209E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2178       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11559E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16669E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0086       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12666E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27506E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .20094E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.7016       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    14 'norm      '    6.2778       1.0000          .0000       .10000E+07
    15 'Prefactor '    125.02       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.6884       1.0000          .0000       .10000E+07
    17 'norm      '    5.8061       1.0000          .0000       .10000E+07
    18 'norm      '    .19590E-06   1.0000          .0000       .10000E+07
    19 'norm      '    1.2617       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2220       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90386       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=   10514.50     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1684 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51831E-06    257.47        .30672E-06** at limit **
   2  Prefactor     .33862E-08    21.247        .26654E-06** at limit **
   3  Prefactor     9.8139        11.765        .40122E-07   -.24401E-03
   4  Prefactor      .0000        12.665        .15321E-06** at limit **
   5  Prefactor     1.2401        6.3483        .12800E-06   -.76213E-04
   6  Prefactor      .0000        2.4679        .21661E-07** at limit **
   7  Prefactor     .11102E-09    13.985        .94143E-07** at limit **
   8  Prefactor     .12945E-04    244.92        .83607E-06** at limit **
   9  Prefactor     .91593E-08    24.665        .52819E-07** at limit **
  10  Prefactor      .0000        6.2722        .33821E-07** at limit **
  11  Prefactor     .17208E-08    70.182        .78772E-06** at limit **
  12  norm          1.7005        1.5503        .19376E-07    .53611E-04
  13  Prefactor      .0000        3.9166       -.67807E-07** at limit **
  14  norm          6.2908        10.739       -.12295E-09   -.50612E-03
  15  Prefactor     125.91        20.389       -.42693E-07   -.12116    
  16  Prefactor     8.6809        3.6523        .24865E-08   -.12903E-04
  17  norm          5.5979        10.212       -.39166E-07    .90855E-03
  18  norm           .0000        4.9595       -.63542E-07** at limit **
  19  norm          1.2607        .89566        .18896E-07    .19972E-03
  20  Normalizat    1.2229        .28483       -.28926E-05   -.84173E-05
  21  Prefactor     .90401        .86491E-01   -.90763E-07   -.26431E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.18308e-07
  Prefactor  = 3.38618e-09
  Prefactor  = 9.81393
  Prefactor  = 0
  Prefactor  = 1.24006
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 1.29451e-05
  Prefactor  = 9.15934e-09
  Prefactor  = 0
  Prefactor  = 1.72085e-09
  norm       = 1.70049
  Prefactor  = 0
  norm       = 6.29077
  Prefactor  = 125.907
  Prefactor  = 8.68088
  norm       = 5.59792
  norm       = 0
  norm       = 1.26066
  Normalizat = 1.22286
  Prefactor  = 0.904013
 **********
 **   18 **HESSE 
 **********

 FCN=   10514.50     FROM HESSE     STATUS=OK           363 CALLS     2047 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51831E-06    258.35        .62052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33862E-08    21.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.8139        12.190        .31915E-03   -1.5645    
   4  Prefactor      .0000        3.7349        .98531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2401        6.3515        .10226E-02   -1.5686    
   6  Prefactor      .0000        2.4600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    14.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12945E-04    260.54        .44069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .91593E-08    24.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        6.2581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .17208E-08    70.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7005        1.5494        .80605E-03   -1.5682    
  13  Prefactor      .0000        3.9136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2908        10.751        .40039E-03   -1.5658    
  15  Prefactor     125.91        84.204        .89442E-04   -1.5484    
  16  Prefactor     8.6809        3.6646        .33983E-03   -1.5649    
  17  norm          5.5979        10.578        .41657E-03   -1.5661    
  18  norm           .0000        4.8948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.2607        .90693        .99234E-03   -1.5686    
  20  Normalizat    1.2229        .25096        .97362E-01   -.85899    
  21  Prefactor     .90401        .74806E-01    .34059E-01   -.96001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03679e-06
Minuit parameter uncertainties:
  1  0.0231445
  2  0.000535344
  3  12.1903
  4  4.73251e-06
  5  5.61294
  6  9.22584e-07
  7  7.15641e-05
  8  0.116155
  9  0.000939507
  10  1.45577e-05
  11  0.000692753
  12  1.54944
  13  2.36859e-06
  14  10.7507
  15  84.2047
  16  3.66458
  17  10.5782
  18  1.43281e-06
  19  0.906925
  20  0.251207
  21  0.0748147
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  9.159e-09  9.395e-04  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.040e-01  7.481e-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.223e+00  2.512e-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.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641652/likelihoodResults_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.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) = 10514.5029331
delta logL = 0.000322001704262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10513.6858704
delta logL = 0.81738466099

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53202E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.9082       1.0000          .0000       10.000    
     3 'Normalizat'    1.1351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92066       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=   10514.50     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      415 TOTAL
                     EDM=   .84E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .23725        .83769E-07** at limit **
   2  Index         .66844        .25339E-01    .69476E-06     .0000    
   3  Normalizat    1.2229        .27564        .60095E-05   -.20606E-05
   4  Prefactor     .90401        .84963E-01    .12661E-05    .40068E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.668442
  Normalizat = 1.22286
  Prefactor  = 0.904013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10514.50     FROM HESSE     STATUS=FAILED        11 CALLS      426 TOTAL
                     EDM=   .84E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .23771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4389        1.4630        .69476E-06   -240.85    
   3  Normalizat    1.2229        1.1714        .60095E-05   -2.2826    
   4  Prefactor     .90401        1.2542        .12661E-05    5.3232    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.42391e-15
Minuit parameter uncertainties:
  1  3.75137e-08
  2  0.946699
  3  1.1982
  4  1.29808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641652': 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) = 10514.5032551
delta logL = 1.85536919162e-10

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  3.751e-08  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  6.684e-01  9.467e-01  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.040e-01  1.298e+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.223e+00  1.198e+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/641652/cmap_HighResolution_696816001_697075201_4FGL_J1706.1+1000_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.27e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2023-02-03 01:34:43.683945', job_id='641652', GAL2='0.90', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1675416883.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.86e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1765' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:34:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 641652: <4FGL_J1706.1+1000_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1706.1+1000_daily_bin1765> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Feb  3 01:20:24 2023
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:20:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:20:59 2023
Terminated at Fri Feb  3 01:34:44 2023
Results reported at Fri Feb  3 01:34:44 2023

Your job looked like:

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

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

