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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1764
RA = 255.558, Dec = 26.7116
tmin = 696556801, tmax = 696816001
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='456965', job_status='RUN', time_executed='2023-01-31 01:27:45.593204', time_epoch_executed='1675157265.59' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456965

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456965/ft1_4FGL_J1702.2+2642_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456965/ft1_4FGL_J1702.2+2642_daily_bin1764.fits outfile=/scratch/kocevski/456965/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1764.fits ra=255.558 dec=26.7116 rad=12.0 tmin=696556801.0 tmax=696816001.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.72
user 3.50
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.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/456965/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.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.36
sys 0.15

Number of photons that the gtmktime cut: 692

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/456965/ltcube_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.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/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits
.....................!
real 14.53
user 14.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/456965/ltcube_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.fits outfile=/scratch/kocevski/456965/expmap_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.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/456965/ltcube_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.fits
.....................!
real 191.04
user 185.74
sys 4.84

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

Setting source of interest to:
4FGL J1702.2+2642 @ 255.558 26.7116

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits scfile=/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits outfile=/scratch/kocevski/456965/cmap_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.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=255.558 yref=26.7116 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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits scfile=/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits outfile=/scratch/kocevski/456965/cmap_HighResolution_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.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=255.558 yref=26.7116 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/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/456965/Model_4FGL_J1702.2+2642_daily_bin1764.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/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits.....................!
real 60.85
user 59.39
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits', '/scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits', expMap='/scratch/kocevski/456965/expmap_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.fits', expCube='/scratch/kocevski/456965/ltcube_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/456965/Model_4FGL_J1702.2+2642_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1702.2+2642'

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  4.481e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/456965/ft1_filtered_4FGL_J1702.2+2642_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/456965/ft2_4FGL_J1702.2+2642_daily_bin1764.fits
Exposure map: /scratch/kocevski/456965/expmap_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.fits
Exposure cube: /scratch/kocevski/456965/ltcube_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/456965/Model_4FGL_J1702.2+2642_daily_bin1764.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) = 7389.19573978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .38114E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36258E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.066       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12239E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27002E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.8610       1.0000          .0000       .10000E+07
     9 'norm      '    .16130E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    55.762       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11668E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11541E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.260       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1047       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .86788       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7389.196     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1290 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.686        9.3692        .15524E-06    .12548    
   2  Prefactor     .13878E-08    5.0998       -.13237E-06** at limit **
   3  Prefactor     .19207E-07    12.557       -.41572E-06** at limit **
   4  Prefactor     .99004E-06    29.435       -.16302E-05** at limit **
   5  Prefactor     17.099        20.610       -.75822E-06    .64991E-01
   6  Prefactor     .79936E-08    10.348        .53555E-06** at limit **
   7  Prefactor     .87819E-07    208.06        .28744E-05** at limit **
   8  norm          1.8624        2.2659        .56942E-07    .35242E-03
   9  norm          .46074E-07    24.856        .64606E-06** at limit **
  10  Prefactor     55.685        5.5546        .14786E-07   -.58098E-01
  11  Prefactor     .15543E-08    12.927        .77808E-06** at limit **
  12  Prefactor     .36549E-05    936.99        .13990E-05** at limit **
  13  Prefactor     25.261        14.158        .33104E-07    .19141E-01
  14  Normalizat    1.1052        .23039        .12886E-05    .18422E-04
  15  Prefactor     .86772        .12310        .32681E-05    .77348E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6863
  Prefactor  = 1.38778e-09
  Prefactor  = 1.92069e-08
  Prefactor  = 9.90041e-07
  Prefactor  = 17.0991
  Prefactor  = 7.99361e-09
  Prefactor  = 8.78186e-08
  norm       = 1.86237
  norm       = 4.60743e-08
  Prefactor  = 55.6845
  Prefactor  = 1.55431e-09
  Prefactor  = 3.65485e-06
  Prefactor  = 25.2607
  Normalizat = 1.10517
  Prefactor  = 0.867719
 **********
 **   18 **HESSE 
 **********

 FCN=   7389.196     FROM HESSE     STATUS=OK           218 CALLS     1508 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.686        16.700        .30636E-03   -1.5643    
   2  Prefactor     .13878E-08    5.1162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19207E-07    12.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .99004E-06    3.7915        .55822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.099        24.042        .24218E-03   -1.5625    
   6  Prefactor     .79936E-08    10.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .87819E-07    201.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8624        2.2759        .76356E-03   -1.5681    
   9  norm          .46074E-07    24.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     55.685        86.261        .13392E-03   -1.5559    
  11  Prefactor     .15543E-08    12.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36549E-05    919.46        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.261        14.209        .19901E-03   -1.5607    
  14  Normalizat    1.1052        .19298        .67320E-01   -.89586    
  15  Prefactor     .86772        .10206        .44594E-01   -.97278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.9749e-07
Minuit parameter uncertainties:
  1  16.7001
  2  0.00016871
  3  0.000982586
  4  0.00387486
  5  24.0424
  6  0.000576229
  7  0.00842146
  8  2.27592
  9  0.00214591
  10  86.2632
  11  0.000282634
  12  0.115957
  13  14.2094
  14  0.193104
  15  0.102078
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  7.994e-09  5.762e-04  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  8.677e-01  1.021e-01  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.105e+00  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 255.558 26.712
Photon Flux Upper Limit: 4.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/456965/likelihoodResults_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.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) = 7389.2416641
delta logL = -0.0460111735401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7389.19565296
delta logL = -2.50938683166e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18358E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .82804       1.0000          .0000       10.000    
     3 'Normalizat'    1.1051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7389.196     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      237 TOTAL
                     EDM=   .42E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10403E-01    .42118E-03** at limit **
   2  Index         2.3805        5.0174        .44081        .51581E-10
   3  Normalizat    1.1052        .19969E-03    .67320E-01   -.18884E-03
   4  Prefactor     .86772        .10546E-03    .44593E-01   -.35883E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.38049
  Normalizat = 1.10516
  Prefactor  = 0.867719
 **********
 **   18 **HESSE 
 **********

 FCN=   7389.196     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      268 TOTAL
                     EDM=   .18E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .34582E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3805        7.7881        .50000       -.55143    
   3  Normalizat    1.1052        .36349E-03    .29783E-03   -.89586    
   4  Prefactor     .86772        .19215E-03    .17440E-03   -.97278    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.8388e-14
Minuit parameter uncertainties:
  1  2.12016e-06
  2  3259.61
  3  0.000363492
  4  0.000192151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456965': 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) = 7389.19565293
delta logL = 3.51974449586e-10

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  5.551e-11  2.120e-06  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.380e+00  3.260e+03  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  8.677e-01  1.922e-04  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.105e+00  3.635e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 255.558 26.712

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/456965/cmap_HighResolution_696556801_696816001_4FGL_J1702.2+2642_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', job_status='DONE', photon_flux_upper_limit='4.17e-08', time_completed='2023-01-31 01:37:52.292848', job_id='456965', GAL2='0.87', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1675157872.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1764' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:37:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 456965: <4FGL_J1702.2+2642_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 01:25:30 2023
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:26:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:26:19 2023
Terminated at Tue Jan 31 01:37:53 2023
Results reported at Tue Jan 31 01:37:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1764 255.558 26.7116 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1702.2+2642 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            743 sec.

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

