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


Performing analysis on: 4FGL_J1707.5+1649_daily_bin1715
RA = 256.881, Dec = 16.8206
tmin = 683856001, tmax = 684115201
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='176946', job_status='RUN', time_executed='2022-09-16 20:02:05.866156', time_epoch_executed='1663383725.87' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176946

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176946/ft1_4FGL_J1707.5+1649_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176946/ft1_4FGL_J1707.5+1649_daily_bin1715.fits outfile=/scratch/kocevski/176946/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1715.fits ra=256.881 dec=16.8206 rad=12.0 tmin=683856001.0 tmax=684115201.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.55
user 3.30
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 880

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/176946/ltcube_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.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/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits
.....................!
real 15.24
user 14.77
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/176946/ltcube_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.fits outfile=/scratch/kocevski/176946/expmap_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.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/176946/ltcube_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.fits
.....................!
real 192.73
user 187.53
sys 4.79

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits scfile=/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits outfile=/scratch/kocevski/176946/cmap_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits scfile=/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits outfile=/scratch/kocevski/176946/cmap_HighResolution_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.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/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176946/Model_4FGL_J1707.5+1649_daily_bin1715.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/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits....................!
real 71.93
user 70.46
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits', '/scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits', expMap='/scratch/kocevski/176946/expmap_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.fits', expCube='/scratch/kocevski/176946/ltcube_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/176946/Model_4FGL_J1707.5+1649_daily_bin1715.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/176946/ft1_filtered_4FGL_J1707.5+1649_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/176946/ft2_4FGL_J1707.5+1649_daily_bin1715.fits
Exposure map: /scratch/kocevski/176946/expmap_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.fits
Exposure cube: /scratch/kocevski/176946/ltcube_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/176946/Model_4FGL_J1707.5+1649_daily_bin1715.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) = 9096.3322066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31722E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .39330E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .78664E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2266       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.7314       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22223E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.809       1.0000          .0000       .10000E+07
     8 'Prefactor '    14.012       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.282       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88023E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .76631       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21802E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .72760E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .31840E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.2777       1.0000          .0000       .10000E+07
    16 'norm      '    6.1859       1.0000          .0000       .10000E+07
    17 'Normalizat'    .87304       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0972       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=   9096.230     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1108 TOTAL
                     EDM=   .53E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.142        .12092E-06** at limit **
   2  Prefactor      .0000        5.1121        .87258E-07** at limit **
   3  Prefactor      .0000        52.809       -.74101E-07** at limit **
   4  Prefactor     2.1977        3.6008       -.63684E-09    .46308E-04
   5  Prefactor     5.7026        6.7335        .24651E-07   -.85492E-04
   6  Prefactor      .0000        7.4132       -.12414E-06** at limit **
   7  Prefactor     19.815        29.283        .18794E-06   -.71620E-04
   8  Prefactor     12.205        74.005        .10492E-05    .25222E-03
   9  Prefactor     13.360        10.792       -.58499E-07   -.22528E-04
  10  Prefactor      .0000        152.06        .21494E-06** at limit **
  11  norm          .76218        2.7173        .58215E-07   -.20615E-03
  12  Prefactor      .0000        16.922        .10516E-06** at limit **
  13  norm           .0000        10.196       -.11561E-06** at limit **
  14  Prefactor      .0000        42.763       -.27757E-07** at limit **
  15  Prefactor     8.2680        3.5745        .20906E-08   -.70947E-04
  16  norm          6.4676        8.4390       -.20362E-06    .20644E-02
  17  Normalizat    .87442        .28299       -.27659E-05   -.40764E-06
  18  Prefactor     1.0972        .10937        .74676E-06   -.23249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.19771
  Prefactor  = 5.70264
  Prefactor  = 0
  Prefactor  = 19.8155
  Prefactor  = 12.2046
  Prefactor  = 13.3602
  Prefactor  = 0
  norm       = 0.762175
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.26799
  norm       = 6.46757
  Normalizat = 0.874418
  Prefactor  = 1.09724
 **********
 **   18 **HESSE 
 **********

 FCN=   9096.230     FROM HESSE     STATUS=OK           290 CALLS     1398 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.1062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        7.1413        .90851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.1977        3.6440        .68875E-03   -1.5678    
   5  Prefactor     5.7026        6.7498        .41932E-03   -1.5660    
   6  Prefactor      .0000        7.4349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.815        29.283        .21928E-03   -1.5619    
   8  Prefactor     12.205        75.905        .26732E-03   -1.5638    
   9  Prefactor     13.360        10.834        .27458E-03   -1.5635    
  10  Prefactor      .0000        148.13        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .76218        2.7309        .55480E-03   -1.5691    
  12  Prefactor      .0000        16.453        .16921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        10.158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        42.604        .16355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.2680        3.5830        .34821E-03   -1.5650    
  16  norm          6.4676        169.43        .40340E-03   -1.5657    
  17  Normalizat    .87442        .24934        .99333E-01   -.97365    
  18  Prefactor     1.0972        .94912E-01    .37695E-01   -.89555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00301e-07
Minuit parameter uncertainties:
  1  1.30081e-05
  2  5.60368e-06
  3  6.67851e-06
  4  3.64402
  5  6.74981
  6  1.02346e-05
  7  29.2836
  8  60.8745
  9  10.8344
  10  5.61053e-05
  11  2.73086
  12  1.21074e-05
  13  1.1423e-05
  14  2.53059e-06
  15  3.58299
  16  66.2079
  17  0.249664
  18  0.0949264
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  5.611e-05  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:  1.097e+00  9.493e-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:  8.744e-01  2.497e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176946/likelihoodResults_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.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) = 9096.23505722
delta logL = -0.00542781854892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9096.0630552
delta logL = 0.166574201852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4131       1.0000          .0000       .10000E+07
     2 'Index     '    3.2210       1.0000          .0000       10.000    
     3 'Normalizat'    .84067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1018       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=   9096.063     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4189        62.455        .91071E-03    .14204E-01
   2  Index         3.2189        3.2240        .15254        .15691E-03
   3  Normalizat    .84057        .48539E-01    .10112        .39577E-04
   4  Prefactor     1.1018        .18849E-01    .37520E-01   -.82074E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41892
  Index      = 3.21892
  Normalizat = 0.840566
  Prefactor  = 1.10182
 **********
 **   18 **HESSE 
 **********

 FCN=   9096.063     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4189        221.43        .19388E-04   -1.5684    
   2  Index         3.2189        5.3838        .93402E-02   -.36422    
   3  Normalizat    .84057        .25518        .44809E-03   -.98581    
   4  Prefactor     1.1018        .10231        .15392E-03   -.89408    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.06813e-06
Minuit parameter uncertainties:
  1  35.4523
  2  10.4771
  3  0.255544
  4  0.102328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176946': 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): 102
logL (Free Index) = 9096.06305411
delta logL = 0.166575292031

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  1.419e+00  3.545e+01  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  3.219e+00  1.048e+01  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:  1.102e+00  1.023e-01  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:  8.406e-01  2.555e-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/176946/cmap_HighResolution_683856001_684115201_4FGL_J1707.5+1649_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-09-16 20:13:06.188325', job_id='176946', GAL2='1.10', fit_tolerance='1e-08', EG2='0.84', EG='0.87', time_epoch_completed='1663384386.19', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.67e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1715' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:13:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 176946: <4FGL_J1707.5+1649_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1707.5+1649_daily_bin1715> 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) <bullet0254>, 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:13:07 2022
Results reported at Fri Sep 16 20:13:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1707.5+1649_daily_bin1715 256.881 16.8206 683856001 684115201 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 :                                   662.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            770 sec.

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

