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


Performing analysis on: 4FGL_J1707.5+1649_daily_bin1714
RA = 256.881, Dec = 16.8206
tmin = 683596801, tmax = 683856001
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='176944', job_status='RUN', time_executed='2022-09-16 20:03:18.309499', time_epoch_executed='1663383798.31' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176944/ft1_4FGL_J1707.5+1649_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176944/ft1_4FGL_J1707.5+1649_daily_bin1714.fits outfile=/scratch/kocevski/176944/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1714.fits ra=256.881 dec=16.8206 rad=12.0 tmin=683596801.0 tmax=683856001.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.53
user 3.27
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.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/176944/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 950

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/176944/ltcube_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.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/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits
.....................!
real 15.90
user 15.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/176944/ltcube_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.fits outfile=/scratch/kocevski/176944/expmap_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.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/176944/ltcube_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.fits
.....................!
real 192.64
user 187.13
sys 5.02

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
Added 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1707.5+1649 @ 256.881 16.8206

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits scfile=/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits outfile=/scratch/kocevski/176944/cmap_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.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.881 yref=16.8206 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits scfile=/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits outfile=/scratch/kocevski/176944/cmap_HighResolution_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.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.881 yref=16.8206 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176944/Model_4FGL_J1707.5+1649_daily_bin1714.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 GAL_V02
Working on...
/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits.....................!
real 76.10
user 74.39
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits', '/scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits', expMap='/scratch/kocevski/176944/expmap_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.fits', expCube='/scratch/kocevski/176944/ltcube_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/176944/Model_4FGL_J1707.5+1649_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1707.5+1649'

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  2.274e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/176944/ft1_filtered_4FGL_J1707.5+1649_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/176944/ft2_4FGL_J1707.5+1649_daily_bin1714.fits
Exposure map: /scratch/kocevski/176944/expmap_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.fits
Exposure cube: /scratch/kocevski/176944/ltcube_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/176944/Model_4FGL_J1707.5+1649_daily_bin1714.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) = 9823.03514418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16829E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .34291E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11362E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30853E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0183       1.0000          .0000       .10000E+07
     6 'Prefactor '    .46037E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21666E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    20.207       1.0000          .0000       .10000E+07
     9 'Prefactor '    20.855       1.0000          .0000       .10000E+07
    10 'Prefactor '    .26083E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.0603       1.0000          .0000       .10000E+07
    12 'Prefactor '    20.361       1.0000          .0000       .10000E+07
    13 'norm      '    14.557       1.0000          .0000       .10000E+07
    14 'Prefactor '    68.784       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.2238       1.0000          .0000       .10000E+07
    16 'norm      '    .50865       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9823.035     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1355 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21461E-06    19.978       -.47540E-07** at limit **
   2  Prefactor     .13878E-08    6.6337       -.29761E-06** at limit **
   3  Prefactor     .75889E-06    22.932        .57517E-06** at limit **
   4  Prefactor     .55511E-10    2.8424        .24096E-06** at limit **
   5  Prefactor     4.0325        5.0527       -.15683E-06   -.12410E-02
   6  Prefactor     .55511E-10    30.640       -.29770E-06** at limit **
   7  Prefactor      .0000        13.848       -.13392E-06** at limit **
   8  Prefactor     20.213        1.0561       -.13628E-09    .46121E-03
   9  Prefactor     20.799        8.2678       -.54111E-07    .18774E-02
  10  Prefactor     .66613E-09    5.7304       -.11580E-06** at limit **
  11  norm          1.0605        2.2836       -.12455E-06   -.15020E-02
  12  Prefactor     20.368        4.0277       -.20654E-07   -.53523E-01
  13  norm          14.568        5.1292        .19660E-07    .13871    
  14  Prefactor     68.801        1.0478        .32812E-09   -.90199E-02
  15  Prefactor     1.2228        2.2772        .13439E-06    .48516E-03
  16  norm          .31766E-05    95.609        .61137E-06** at limit **
  17  Normalizat    1.3036        .25780        .31833E-05    .55814E-04
  18  Prefactor     .95559        .10038       -.77393E-06    .58787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14606e-07
  Prefactor  = 1.38778e-09
  Prefactor  = 7.58893e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 4.03254
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 20.213
  Prefactor  = 20.7991
  Prefactor  = 6.66134e-10
  norm       = 1.06045
  Prefactor  = 20.3677
  norm       = 14.5683
  Prefactor  = 68.801
  Prefactor  = 1.22281
  norm       = 3.17657e-06
  Normalizat = 1.30361
  Prefactor  = 0.955593
 **********
 **   18 **HESSE 
 **********

 FCN=   9823.035     FROM HESSE     STATUS=OK           282 CALLS     1637 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21461E-06    20.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13878E-08    6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .75889E-06    25.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    2.8465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.0325        5.0842        .50283E-03   -1.5668    
   6  Prefactor     .55511E-10    29.373        .15702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        13.829        .16929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.213        26.501        .22253E-03   -1.5618    
   9  Prefactor     20.799        8.3181        .21904E-03   -1.5617    
  10  Prefactor     .66613E-09    5.7385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0605        2.3269        .11897E-02   -1.5687    
  12  Prefactor     20.368        14.207        .22169E-03   -1.5618    
  13  norm          14.568        11.501        .26225E-03   -1.5632    
  14  Prefactor     68.801        72.311        .12058E-03   -1.5542    
  15  Prefactor     1.2228        2.4340        .10182E-02   -1.5686    
  16  norm          .31766E-05    106.30        .77844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3036        .21847        .84727E-01   -.83459    
  18  Prefactor     .95559        .85348E-01    .45708E-01   -.94225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73073e-07
Minuit parameter uncertainties:
  1  0.00422083
  2  0.000190825
  3  0.0088018
  4  2.10454e-05
  5  5.08423
  6  9.87231e-05
  7  2.39702e-05
  8  26.5011
  9  8.31812
  10  0.000124086
  11  2.32691
  12  14.2066
  13  11.501
  14  72.312
  15  2.43401
  16  0.0367531
  17  0.218629
  18  0.0853601
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  6.661e-10  1.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.254e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  9.556e-01  8.536e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.304e+00  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.881 16.821
Photon Flux Upper Limit: 7.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176944/likelihoodResults_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.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) = 9823.11931863
delta logL = -0.0844350786792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9823.03488372
delta logL = -1.61882780958e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9823.035     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      237 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    444.55        .42118E-03** at limit **
   2  Index         2.9516        8.4516        .38540        .23598E-09
   3  Normalizat    1.3036        .74599E-01    .84727E-01   -.28426E-03
   4  Prefactor     .95559        .28650E-01    .45709E-01   -.30889E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.95157
  Normalizat = 1.3036
  Prefactor  = 0.955594
 **********
 **   18 **HESSE 
 **********

 FCN=   9823.035     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    4.2814        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9516        6.4655        .50000       -.42211    
   3  Normalizat    1.3036        .25643        .37513E-03   -.83459    
   4  Prefactor     .95559        .99256E-01    .16517E-03   -.94225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7367e-10
Minuit parameter uncertainties:
  1  9.02981e-05
  2  4.8246
  3  0.256677
  4  0.0992753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176944': 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) = 9823.03488355
delta logL = -1.20053300634e-10

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  4.996e-10  9.030e-05  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  2.952e+00  4.825e+00  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  1.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  9.556e-01  9.928e-02  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.304e+00  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.881 16.821

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/176944/cmap_HighResolution_683596801_683856001_4FGL_J1707.5+1649_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.56e-03', job_status='DONE', photon_flux_upper_limit='7.26e-08', time_completed='2022-09-16 20:15:15.660844', job_id='176944', GAL2='0.96', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1663384515.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-1.20e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1714' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:15:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 176944: <4FGL_J1707.5+1649_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1707.5+1649_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 20:00:17 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:01:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:01:19 2022
Terminated at Fri Sep 16 20:15:16 2022
Results reported at Fri Sep 16 20:15:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1707.5+1649_daily_bin1714 256.881 16.8206 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1707.5+1649 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   719.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            899 sec.

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

