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


Performing analysis on: 4FGL_J1707.5+1649_daily_bin1716
RA = 256.881, Dec = 16.8206
tmin = 684115201, tmax = 684374401
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='176947', job_status='RUN', time_executed='2022-09-16 20:04:20.944975', time_epoch_executed='1663383860.95' WHERE source_name='4FGL J1707.5+1649' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/176947

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/176947/ft1_4FGL_J1707.5+1649_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/176947/ft2_4FGL_J1707.5+1649_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/176947/ft1_4FGL_J1707.5+1649_daily_bin1716.fits outfile=/scratch/kocevski/176947/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1716.fits ra=256.881 dec=16.8206 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.12
user 3.86
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/176947/ft2_4FGL_J1707.5+1649_daily_bin1716.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/176947/ft1_filteredMKT_4FGL_J1707.5+1649_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/176947/ft1_filtered_4FGL_J1707.5+1649_daily_bin1716.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: 910

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/176947/ft1_filtered_4FGL_J1707.5+1649_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/176947/ft2_4FGL_J1707.5+1649_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/176947/ltcube_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.fits outfile=/scratch/kocevski/176947/expmap_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.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/176947/ltcube_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.fits
.....................!
real 191.28
user 186.02
sys 4.58

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/176947/ft1_filtered_4FGL_J1707.5+1649_daily_bin1716.fits scfile=/scratch/kocevski/176947/ft2_4FGL_J1707.5+1649_daily_bin1716.fits outfile=/scratch/kocevski/176947/cmap_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/176947/ft1_filtered_4FGL_J1707.5+1649_daily_bin1716.fits scfile=/scratch/kocevski/176947/ft2_4FGL_J1707.5+1649_daily_bin1716.fits outfile=/scratch/kocevski/176947/cmap_HighResolution_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/176947/ft1_filtered_4FGL_J1707.5+1649_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/176947/ft2_4FGL_J1707.5+1649_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/176947/Model_4FGL_J1707.5+1649_daily_bin1716.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/176947/ft1_filtered_4FGL_J1707.5+1649_daily_bin1716.fits.....................!
real 75.21
user 73.62
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10083E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .23149E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.9922       1.0000          .0000       .10000E+07
     4 'Prefactor '    .44045E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4794       1.0000          .0000       .10000E+07
     6 'Prefactor '    .70126E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    14.578       1.0000          .0000       .10000E+07
     8 'Prefactor '    .51386       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.0838       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15022E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .98793E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .65724E-02   1.0000          .0000       .10000E+07
    13 'norm      '    21.251       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18507       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93485       1.0000          .0000       .10000E+07
    16 'norm      '    13.464       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2199       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0088       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=   9536.022     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1316 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    46.425        .40305E-05** at limit **
   2  Prefactor     .33307E-09    7.9886       -.43758E-06** at limit **
   3  Prefactor     6.0088        1.9173        .22519E-06    .11443E-01
   4  Prefactor     .72164E-09    6.0790        .58824E-06** at limit **
   5  Prefactor     5.5780        6.6768       -.57513E-06    .10576E-03
   6  Prefactor     .11102E-09    17.061        .37037E-05** at limit **
   7  Prefactor     14.105        40.651       -.70401E-05    .11663E-01
   8  Prefactor     .77716E-09    100.96       -.34811E-05** at limit **
   9  Prefactor     4.0940        8.3722       -.76382E-06   -.73234E-03
  10  Prefactor     .55511E-10    3.7557        .13672E-05** at limit **
  11  norm           .0000        .95235        .11238E-07** at limit **
  12  Prefactor      .0000        9.8732       -.21253E-07** at limit **
  13  norm          21.240        11.081        .20637E-05    .15570E-02
  14  Prefactor     .55511E-10    41.523       -.40997E-06** at limit **
  15  Prefactor     .95814        2.4978       -.99893E-06   -.16812E-02
  16  norm          13.894        25.562        .42281E-05    .17497E-01
  17  Normalizat    1.2204        .27782        .50954E-04   -.62800E-04
  18  Prefactor     1.0085        .10567       -.13281E-04   -.22076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 6.00875
  Prefactor  = 7.21645e-10
  Prefactor  = 5.578
  Prefactor  = 1.11022e-10
  Prefactor  = 14.1054
  Prefactor  = 7.77156e-10
  Prefactor  = 4.09403
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  norm       = 21.2398
  Prefactor  = 5.55112e-11
  Prefactor  = 0.958143
  norm       = 13.8936
  Normalizat = 1.22042
  Prefactor  = 1.00851
 **********
 **   18 **HESSE 
 **********

 FCN=   9536.022     FROM HESSE     STATUS=OK           278 CALLS     1594 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    46.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    7.9910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0088        14.431        .40996E-03   -1.5659    
   4  Prefactor     .72164E-09    6.0426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.5780        6.6951        .42901E-03   -1.5661    
   6  Prefactor     .11102E-09    17.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.105        48.983        .26207E-03   -1.5633    
   8  Prefactor     .77716E-09    100.79        .77327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0940        8.4183        .49865E-03   -1.5667    
  10  Prefactor     .55511E-10    3.7511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .94960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.8640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.240        11.130        .21699E-03   -1.5616    
  14  Prefactor     .55511E-10    41.455        .12048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .95814        2.5168        .43380E-03   -1.5688    
  16  norm          13.894        45.821        .27272E-03   -1.5633    
  17  Normalizat    1.2204        .23536        .87015E-01   -.85974    
  18  Prefactor     1.0085        .87755E-01    .43512E-01   -.92446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52831e-07
Minuit parameter uncertainties:
  1  0.000165215
  2  0.00010059
  3  14.4309
  4  0.000131054
  5  6.69509
  6  8.7289e-05
  7  48.9846
  8  0.000553912
  9  8.41836
  10  2.14402e-05
  11  9.76045e-06
  12  1.04311e-05
  13  11.1297
  14  7.99312e-05
  15  2.51679
  16  45.8221
  17  0.235568
  18  0.0877672
Done.

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

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  5.551e-11  2.144e-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.009e+00  8.777e-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.220e+00  2.356e-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: 5.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/176947/likelihoodResults_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.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) = 9536.02202804
delta logL = -0.000197833060156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9536.02183117
delta logL = -9.56337316893e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56860E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.6400       1.0000          .0000       10.000    
     3 'Normalizat'    1.2207       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0084       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9536.022     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      282 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0982        .42118E-03** at limit **
   2  Index         3.1604        1.3021        .13493E-03     .0000    
   3  Normalizat    1.2204        1.0995       -.10015E-04   -.11907E-05
   4  Prefactor     1.0085        1.2707       -.50042E-05    .21609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16041
  Normalizat = 1.22041
  Prefactor  = 1.00852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9536.022     FROM HESSE     STATUS=FAILED         9 CALLS      291 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1248        2.1092        .13493E-03   -.37677    
   3  Normalizat    1.2204        1.0995       -.10015E-04   -.85974    
   4  Prefactor     1.0085        1.2707       -.50042E-05   -.92446    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.09217e-11
Minuit parameter uncertainties:
  1  7.22017e-06
  2  1.31974
  3  1.12145
  4  1.31185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/176947': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 9536.02183021
delta logL = -1.27329258248e-11

Extracting fit parameters...

4FGL J1707.5+1649
   Spectrum: PowerLaw
271    Prefactor:  0.000e+00  7.220e-06  0.000e+00  1.000e+06 ( 1.000e-13)
272        Index:  3.160e+00  1.320e+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:  1.009e+00  1.312e+00  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.220e+00  1.121e+00  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/176947/cmap_HighResolution_684115201_684374401_4FGL_J1707.5+1649_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2022-09-16 20:16:03.720158', job_id='176947', GAL2='1.01', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1663384563.72', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1716' AND source_name='4FGL J1707.5+1649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:16:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 176947: <4FGL_J1707.5+1649_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1707.5+1649_daily_bin1716> 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) <bullet0261>, 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:16:04 2022
Results reported at Fri Sep 16 20:16:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1707.5+1649_daily_bin1716 256.881 16.8206 684115201 684374401 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 :                                   704.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            947 sec.

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

