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


Performing analysis on: 4FGL_J1706.1+1000_daily_bin1761
RA = 256.539, Dec = 10.0079
tmin = 695779201, tmax = 696038401
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='927758', job_status='RUN', time_executed='2023-01-22 01:18:16.346856', time_epoch_executed='1674379096.35' WHERE source_name='4FGL J1706.1+1000' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927758/ft1_4FGL_J1706.1+1000_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927758/ft2_4FGL_J1706.1+1000_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927758/ft1_4FGL_J1706.1+1000_daily_bin1761.fits outfile=/scratch/kocevski/927758/ft1_filteredMKT_4FGL_J1706.1+1000_daily_bin1761.fits ra=256.539 dec=10.0079 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.21
user 4.86
sys 0.24

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

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

Number of photons that the gtmktime cut: 954

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927758/ft1_filtered_4FGL_J1706.1+1000_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/927758/ft2_4FGL_J1706.1+1000_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/927758/ltcube_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.fits outfile=/scratch/kocevski/927758/expmap_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.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/927758/ltcube_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.fits
.....................!
real 192.56
user 186.06
sys 5.35

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/927758/ft1_filtered_4FGL_J1706.1+1000_daily_bin1761.fits scfile=/scratch/kocevski/927758/ft2_4FGL_J1706.1+1000_daily_bin1761.fits outfile=/scratch/kocevski/927758/cmap_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927758/ft1_filtered_4FGL_J1706.1+1000_daily_bin1761.fits scfile=/scratch/kocevski/927758/ft2_4FGL_J1706.1+1000_daily_bin1761.fits outfile=/scratch/kocevski/927758/cmap_HighResolution_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    176.55       1.0000          .0000       .10000E+07
     2 'Prefactor '    54.651       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10812E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38664E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3732       1.0000          .0000       .10000E+07
     6 'Prefactor '    .54594E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0067       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18656       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6656       1.0000          .0000       .10000E+07
    10 'Prefactor '    .82028E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52005       1.0000          .0000       .10000E+07
    12 'norm      '    .10270E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25279E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .13892E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .43436E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9597       1.0000          .0000       .10000E+07
    17 'norm      '    .25269E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .15855E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .58114       1.0000          .0000       .10000E+07
    20 'Normalizat'    .98596       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0252       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=   10487.62     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1652 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     180.87        120.37        .15172E-05   -.15101E-02
   2  Prefactor     57.282        41.689       -.12026E-05   -.12560E-02
   3  Prefactor     .35610E-06    3.3055        .20059E-06** at limit **
   4  Prefactor      .0000        2.0705       -.16477E-06** at limit **
   5  Prefactor     5.3555        4.5842        .21361E-07   -.73369E-03
   6  Prefactor     .55511E-10    3.3443        .26796E-06** at limit **
   7  Prefactor     3.4218        49.355        .48100E-05   -.10887E-02
   8  Prefactor     .74940E-08    191.71       -.95236E-05** at limit **
   9  Prefactor     5.7296        10.824        .33011E-06   -.15080E-02
  10  Prefactor      .0000        3.6241       -.14589E-06** at limit **
  11  Prefactor     .15543E-08    152.00       -.17998E-05** at limit **
  12  norm          .55511E-10    1.1970       -.30652E-06** at limit **
  13  Prefactor     .22815E-07    5.1295        .35718E-06** at limit **
  14  norm          .56860E-06    2.2220        .24824E-06** at limit **
  15  Prefactor     .16653E-08    95.503       -.14974E-05** at limit **
  16  Prefactor     3.9781        3.6360        .24993E-06   -.32010E-02
  17  norm           .0000        2.4480        .64445E-07** at limit **
  18  norm           .0000        1.9318        .27586E-07** at limit **
  19  norm          .58202        .61191       -.10155E-06    .73885E-02
  20  Normalizat    .97983        .32231        .20661E-05   -.10078E-03
  21  Prefactor     1.0259        .89212E-01    .23595E-06   -.34274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 180.872
  Prefactor  = 57.2824
  Prefactor  = 3.56104e-07
  Prefactor  = 0
  Prefactor  = 5.35552
  Prefactor  = 5.55112e-11
  Prefactor  = 3.42175
  Prefactor  = 7.49401e-09
  Prefactor  = 5.7296
  Prefactor  = 0
  Prefactor  = 1.55431e-09
  norm       = 5.55112e-11
  Prefactor  = 2.28151e-08
  norm       = 5.68601e-07
  Prefactor  = 1.66533e-09
  Prefactor  = 3.97815
  norm       = 0
  norm       = 0
  norm       = 0.582019
  Normalizat = 0.979825
  Prefactor  = 1.0259
 **********
 **   18 **HESSE 
 **********

 FCN=   10487.62     FROM HESSE     STATUS=OK           355 CALLS     2007 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     180.87        120.16        .75266E-04   -1.5439    
   2  Prefactor     57.282        41.504        .13528E-03   -1.5557    
   3  Prefactor     .35610E-06    5.3046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.0694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.3555        4.5841        .43330E-03   -1.5662    
   6  Prefactor     .55511E-10    3.3419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4218        48.446        .58510E-03   -1.5671    
   8  Prefactor     .74940E-08    186.39        .12020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.7296        10.880        .42178E-03   -1.5660    
  10  Prefactor      .0000        3.6282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .15543E-08    152.12        .76718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.1965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22815E-07    5.2715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .56860E-06    5.3303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-08    95.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9781        3.6445        .50666E-03   -1.5668    
  17  norm           .0000        2.4511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.9209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .58202        .61386        .70935E-03   -1.5693    
  20  Normalizat    .97983        .28494        .11601       -.93709    
  21  Prefactor     1.0259        .77602E-01    .41658E-01   -.91871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60488e-07
Minuit parameter uncertainties:
  1  120.158
  2  41.5043
  3  0.00274879
  4  2.71298e-06
  5  4.58406
  6  3.10059e-05
  7  25.7506
  8  0.00236732
  9  10.8803
  10  2.54594e-06
  11  0.000979526
  12  1.74765e-05
  13  0.000693348
  14  0.00348176
  15  0.000805255
  16  3.64449
  17  1.47156e-05
  18  7.32126e-06
  19  0.613857
  20  0.28538
  21  0.0776109
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  5.730e+00  1.088e+01  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.026e+00  7.761e-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:  9.798e-01  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/927758/likelihoodResults_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.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) = 10487.5283932
delta logL = 0.0886369530999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10487.4952615
delta logL = 0.121768693436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3949       1.0000          .0000       .10000E+07
     2 'Index     '    3.4566       1.0000          .0000       10.000    
     3 'Normalizat'    .94605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0322       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10487.50     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      262 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3913        284.62        .10977E-03   -.87605E-02
   2  Index         3.4580        5.2191        .12311E-01   -.11991E-03
   3  Normalizat    .94598        .27741        .52265E-03   -.15809E-03
   4  Prefactor     1.0323        .88828E-01    .14698E-03   -.67865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39126
  Index      = 3.45803
  Normalizat = 0.94598
  Prefactor  = 1.03228
 **********
 **   18 **HESSE 
 **********

 FCN=   10487.50     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3913        9.4209        .43909E-05   -1.5671    
   2  Index         3.4580        1.8296        .49246E-03   -.31350    
   3  Normalizat    .94598        .31518        .20906E-04   -.94863    
   4  Prefactor     1.0323        .89771E-01    .29395E-04   -.91661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03882e-10
Minuit parameter uncertainties:
  1  9.42094
  2  1.87803
  3  0.315798
  4  0.0897842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927758': 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) = 10487.4952609
delta logL = 0.12176926346

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  3.391e+00  9.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        Index:  3.458e+00  1.878e+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.032e+00  8.978e-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:  9.460e-01  3.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/927758/cmap_HighResolution_695779201_696038401_4FGL_J1706.1+1000_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-02', job_status='DONE', photon_flux_upper_limit='2.12e-07', time_completed='2023-01-22 01:30:56.962230', job_id='927758', GAL2='1.03', fit_tolerance='1e-08', EG2='0.95', EG='0.98', time_epoch_completed='1674379856.96', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.22e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1761' AND source_name='4FGL J1706.1+1000' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:30:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 927758: <4FGL_J1706.1+1000_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1706.1+1000_daily_bin1761> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan 22 01:15:18 2023
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:16:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:16:21 2023
Terminated at Sun Jan 22 01:30:57 2023
Results reported at Sun Jan 22 01:30:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1706.1+1000_daily_bin1761 256.539 10.0079 695779201 696038401 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 :                                   760.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            939 sec.

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

