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


Performing analysis on: 4FGL_J1706.1+1000_daily_bin1751
RA = 256.539, Dec = 10.0079
tmin = 693187201, tmax = 693446401
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='82821', job_status='RUN', time_executed='2022-12-23 01:02:27.702243', time_epoch_executed='1671786147.7' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/82821

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/82821/ft1_4FGL_J1706.1+1000_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/82821/ft2_4FGL_J1706.1+1000_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/82821/ft1_4FGL_J1706.1+1000_daily_bin1751.fits outfile=/scratch/kocevski/82821/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1751.fits ra=256.539 dec=10.0079 rad=12.0 tmin=693187201.0 tmax=693446401.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.67
user 3.45
sys 0.21

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

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

Number of photons that the gtmktime cut: 992

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/82821/ft1_filtered_4FGL_J1706.1+1000_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/82821/ft2_4FGL_J1706.1+1000_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/82821/ltcube_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.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/82821/ft2_4FGL_J1706.1+1000_daily_bin1751.fits
.....................!
real 12.10
user 11.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/82821/ft1_filtered_4FGL_J1706.1+1000_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/82821/ft2_4FGL_J1706.1+1000_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/82821/ltcube_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.fits outfile=/scratch/kocevski/82821/expmap_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.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/82821/ltcube_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.fits
.....................!
real 190.57
user 185.67
sys 4.57

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/82821/ft1_filtered_4FGL_J1706.1+1000_daily_bin1751.fits scfile=/scratch/kocevski/82821/ft2_4FGL_J1706.1+1000_daily_bin1751.fits outfile=/scratch/kocevski/82821/cmap_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/82821/ft1_filtered_4FGL_J1706.1+1000_daily_bin1751.fits scfile=/scratch/kocevski/82821/ft2_4FGL_J1706.1+1000_daily_bin1751.fits outfile=/scratch/kocevski/82821/cmap_HighResolution_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21712E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40524E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.162       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15478E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.7451       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.6850       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26495E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .50737E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7409       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15097E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.6643       1.0000          .0000       .10000E+07
    12 'norm      '    .32541E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.532       1.0000          .0000       .10000E+07
    14 'norm      '    .64156E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    47.134       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14949E-03   1.0000          .0000       .10000E+07
    17 'norm      '    8.4627       1.0000          .0000       .10000E+07
    18 'norm      '    .15489E-04   1.0000          .0000       .10000E+07
    19 'norm      '    1.2058       1.0000          .0000       .10000E+07
    20 'Normalizat'    .73609       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1149       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=   10269.48     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1724 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        129.96        .18195E-06** at limit **
   2  Prefactor      .0000        38.293       -.17671E-07** at limit **
   3  Prefactor     17.343        11.770       -.56524E-07   -.66515E-04
   4  Prefactor      .0000        2.3529        .22722E-07** at limit **
   5  Prefactor     7.8416        6.9461       -.66319E-08   -.40909E-03
   6  Prefactor     8.7045        6.0803        .55491E-08    .13095E-03
   7  Prefactor      .0000        4.9193        .18589E-07** at limit **
   8  Prefactor      .0000        15.378        .21171E-07** at limit **
   9  Prefactor     7.7356        7.1945        .15172E-07   -.38376E-03
  10  Prefactor      .0000        2.4280       -.19229E-08** at limit **
  11  Prefactor     .49960E-08    6766.5        .16906E-04** at limit **
  12  norm           .0000        .68680        .82730E-08** at limit **
  13  Prefactor     11.900        13.049       -.42236E-07   -.12215E-03
  14  norm           .0000        80.948       -.19547E-07** at limit **
  15  Prefactor     44.910        74.601        .55761E-07   -.76029E-04
  16  Prefactor      .0000        2.1270       -.46681E-07** at limit **
  17  norm          8.7340        11.765        .10543E-06   -.21562E-03
  18  norm           .0000        2.3696        .25796E-07** at limit **
  19  norm          1.2055        .83960        .21591E-08    .59209E-04
  20  Normalizat    .73487        .29601        .12853E-05   -.37530E-04
  21  Prefactor     1.1149        .93779E-01   -.48603E-06   -.20686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 17.3432
  Prefactor  = 0
  Prefactor  = 7.8416
  Prefactor  = 8.7045
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.73559
  Prefactor  = 0
  Prefactor  = 4.996e-09
  norm       = 0
  Prefactor  = 11.8995
  norm       = 0
  Prefactor  = 44.9105
  Prefactor  = 0
  norm       = 8.73397
  norm       = 0
  norm       = 1.20552
  Normalizat = 0.734867
  Prefactor  = 1.11494
 **********
 **   18 **HESSE 
 **********

 FCN=   10269.48     FROM HESSE     STATUS=OK           357 CALLS     2081 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        128.90        .16927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        37.466        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.343        11.803        .24149E-03   -1.5625    
   4  Prefactor      .0000        2.3586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.8416        6.9793        .36008E-03   -1.5652    
   6  Prefactor     8.7045        6.0956        .33989E-03   -1.5649    
   7  Prefactor      .0000        4.9340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        15.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.7356        7.2309        .36018E-03   -1.5652    
  10  Prefactor      .0000        2.4311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .49960E-08    6676.6        .62416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .68745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.900        13.090        .29475E-03   -1.5639    
  14  norm           .0000        77.602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     44.910        74.782        .14567E-03   -1.5574    
  16  Prefactor      .0000        2.1219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.7340        11.784        .34436E-03   -1.5649    
  18  norm           .0000        2.3561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.2055        .85322        .10316E-02   -1.5686    
  20  Normalizat    .73487        .27755        .12426       -1.0253    
  21  Prefactor     1.1149        .85597E-01    .37047E-01   -.88991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8409e-08
Minuit parameter uncertainties:
  1  9.78576e-05
  2  2.76983e-05
  3  11.8026
  4  2.75545e-06
  5  6.97926
  6  6.09565
  7  2.17846e-06
  8  5.87475e-06
  9  7.23087
  10  1.11447e-06
  11  0.0115665
  12  3.3187e-08
  13  13.0903
  14  1.71553e-05
  15  74.7834
  16  3.28059e-06
  17  11.7837
  18  9.08362e-07
  19  0.853223
  20  0.278079
  21  0.0856079
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  7.736e+00  7.231e+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

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  1.115e+00  8.561e-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:  7.349e-01  2.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 256.539 10.008
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 6.09e-08 +/- 5.68e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.37e-05

TS (Fixed Index): 1.69
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 1.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/82821/likelihoodResults_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.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) = 10269.1789076
delta logL = 0.297832366905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10269.1642201
delta logL = 0.312519862004

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.197       1.0000          .0000       .10000E+07
     2 'Index     '    2.1623       1.0000          .0000       10.000    
     3 'Normalizat'    .75859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1099       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10269.16     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      280 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.196        9.0144        .12541E-04    .15410E-03
   2  Index         2.1620        .61357        .11270E-01   -.43862E-05
   3  Normalizat    .75862        .28638        .54327E-03   -.50223E-05
   4  Prefactor     1.1099        .91483E-01    .14526E-03    .37253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.196
  Index      = 2.16201
  Normalizat = 0.758618
  Prefactor  = 1.10987
 **********
 **   18 **HESSE 
 **********

 FCN=   10269.16     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.196        9.0460        .50166E-06   -1.5644    
   2  Index         2.1620        .61576        .45079E-03   -.60359    
   3  Normalizat    .75862        .28643        .21731E-04   -1.0162    
   4  Prefactor     1.1099        .91494E-01    .58105E-05   -.89152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63703e-12
Minuit parameter uncertainties:
  1  9.04602
  2  0.61808
  3  0.286996
  4  0.0915065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/82821': 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) = 10269.1642199
delta logL = 0.312520008492

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  1.020e+01  9.046e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  2.162e+00  6.181e-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:  1.110e+00  9.151e-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:  7.586e-01  2.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 256.539 10.008
Photon Index (Free Index): 2.16 +/- 0.62
Photon Flux (Free Index): 4.43e-08 +/- 4.94e-08
Energy Flux (Free Index): 2.14e-05 +/- 2.20e-05

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/82821/cmap_HighResolution_693187201_693446401_4FGL_J1706.1+1000_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', photon_flux='6.09e-08', energy_flux2='2.14e-05', photon_flux_error='5.68e-08', dlogl='3.13e-01', energy_flux='1.47e-05', photon_flux2='4.43e-08', job_status='DONE', time_completed='2022-12-23 01:14:59.849267', photon_index_error2='0.62', photon_index2='2.16', ts='1.69', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.81e-07', energy_flux_error2='2.20e-05', EG='0.73', time_epoch_completed='1671786899.85', return_code='0', job_id='82821', GAL2='1.11', EG2='0.76', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='4.94e-08', ts2='2.30', photon_index='2.70' WHERE bin_id='1751' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:14:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 82821: <4FGL_J1706.1+1000_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1706.1+1000_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 01:00:17 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:00:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:00:19 2022
Terminated at Fri Dec 23 01:15:00 2022
Results reported at Fri Dec 23 01:15:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1706.1+1000_daily_bin1751 256.539 10.0079 693187201 693446401 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 :                                   754.23 sec.
    Max Memory :                                 641 MB
    Average Memory :                             288.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

