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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1752
RA = 255.558, Dec = 26.7116
tmin = 693446401, tmax = 693705601
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='268016', job_status='RUN', time_executed='2022-12-26 01:17:16.857789', time_epoch_executed='1672046236.86' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/268016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/268016/ft1_4FGL_J1702.2+2642_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/268016/ft1_4FGL_J1702.2+2642_daily_bin1752.fits outfile=/scratch/kocevski/268016/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1752.fits ra=255.558 dec=26.7116 rad=12.0 tmin=693446401.0 tmax=693705601.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 2.86
user 2.61
sys 0.24

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

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

Number of photons that the gtmktime cut: 667

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/268016/ltcube_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.fits outfile=/scratch/kocevski/268016/expmap_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.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/268016/ltcube_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.fits
.....................!
real 157.45
user 152.39
sys 4.65

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/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits scfile=/scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits outfile=/scratch/kocevski/268016/cmap_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.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.50
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits scfile=/scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits outfile=/scratch/kocevski/268016/cmap_HighResolution_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.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.51
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/268016/Model_4FGL_J1702.2+2642_daily_bin1752.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/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits.....................!
real 46.71
user 45.50
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits', '/scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits', expMap='/scratch/kocevski/268016/expmap_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.fits', expCube='/scratch/kocevski/268016/ltcube_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/268016/Model_4FGL_J1702.2+2642_daily_bin1752.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/268016/ft1_filtered_4FGL_J1702.2+2642_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/268016/ft2_4FGL_J1702.2+2642_daily_bin1752.fits
Exposure map: /scratch/kocevski/268016/expmap_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.fits
Exposure cube: /scratch/kocevski/268016/ltcube_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/268016/Model_4FGL_J1702.2+2642_daily_bin1752.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) = 7118.93374587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20585E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17569E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1155       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14927E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .26159E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3847       1.0000          .0000       .10000E+07
     8 'norm      '    1.4949       1.0000          .0000       .10000E+07
     9 'norm      '    54.670       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14489E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16411E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40865       1.0000          .0000       .10000E+07
    13 'Prefactor '    .35034E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0889       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82702       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=   7118.759     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      827 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-08    14.862       -.35216E-05** at limit **
   2  Prefactor      .0000        6.2513        .24975E-06** at limit **
   3  Prefactor     7.2980        14.381        .90056E-06    .14604E-02
   4  Prefactor     .55511E-10    1.4248       -.62863E-07** at limit **
   5  Prefactor     .28089E-07    33.719       -.62247E-05** at limit **
   6  Prefactor     .55511E-10    6.8580       -.25877E-06** at limit **
   7  Prefactor     7.2941        12.258        .50845E-05   -.43985E-02
   8  norm          1.4956        1.6466       -.65742E-07   -.53503E-02
   9  norm          52.514        55.267       -.26549E-05   -.19588E-02
  10  Prefactor     .16653E-09    23.881        .28890E-05** at limit **
  11  Prefactor     .55511E-10    13.883        .27368E-05** at limit **
  12  Prefactor     .40523E-08    215.37        .34412E-04** at limit **
  13  Prefactor     .72164E-09    3.7106       -.60769E-07** at limit **
  14  Normalizat    1.0880        .21820        .13846E-05    .21642E-03
  15  Prefactor     .82757        .11610       -.57675E-05    .70136E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-09
  Prefactor  = 0
  Prefactor  = 7.29797
  Prefactor  = 5.55112e-11
  Prefactor  = 2.80886e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 7.29408
  norm       = 1.4956
  norm       = 52.5142
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 4.05231e-09
  Prefactor  = 7.21645e-10
  Normalizat = 1.08804
  Prefactor  = 0.82757
 **********
 **   18 **HESSE 
 **********

 FCN=   7118.759     FROM HESSE     STATUS=OK           206 CALLS     1033 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-08    14.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2980        14.350        .37582E-03   -1.5654    
   4  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .28089E-07    33.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    6.8600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2941        12.235        .36884E-03   -1.5654    
   8  norm          1.4956        1.6500        .87602E-03   -1.5684    
   9  norm          52.514        55.222        .13526E-03   -1.5563    
  10  Prefactor     .16653E-09    23.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    13.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .40523E-08    212.83        .88491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72164E-09    3.7060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0880        .18274        .64291E-01   -.90137    
  15  Prefactor     .82757        .96928E-01    .44068E-01   -.98720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95843e-09
Minuit parameter uncertainties:
  1  0.000255362
  2  5.61806e-06
  3  14.35
  4  2.09045e-05
  5  0.00194534
  6  3.06682e-05
  7  12.2349
  8  1.65003
  9  55.2226
  10  0.000123965
  11  6.11309e-05
  12  0.00185977
  13  0.000103327
  14  0.182843
  15  0.0969475
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  5.551e-11  3.067e-05  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.276e-01  9.695e-02  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.088e+00  1.828e-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: 3.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/268016/likelihoodResults_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.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) = 7118.8284104
delta logL = -0.0694490689393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7118.75896182
delta logL = -4.89948433824e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95685E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .72414       1.0000          .0000       10.000    
     3 'Normalizat'    1.0882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82754       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=   7118.759     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      233 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .54287E-01    .42118E-03** at limit **
   2  Index         2.0058        5.8793        .42722        .10644E-09
   3  Normalizat    1.0880        .39068E-03    .64291E-01   -.25567E-04
   4  Prefactor     .82757        .20747E-03    .44075E-01   -.53919E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.00584
  Normalizat = 1.08804
  Prefactor  = 0.827572
 **********
 **   18 **HESSE 
 **********

 FCN=   7118.759     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .55E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .16801        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0058        5.5914        .50000       -.64204    
   3  Normalizat    1.0880        .68631E-03    .28439E-03   -.90137    
   4  Prefactor     .82757        .36476E-03    .16991E-03   -.98720    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.5151e-13
Minuit parameter uncertainties:
  1  1.39675e-05
  2  5134.07
  3  0.000686311
  4  0.000364758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/268016': 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) = 7118.75896133
delta logL = 6.45741238259e-11

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  2.776e-10  1.397e-05  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.006e+00  5.134e+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.276e-01  3.648e-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.088e+00  6.863e-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/268016/cmap_HighResolution_693446401_693705601_4FGL_J1702.2+2642_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.29e-03', job_status='DONE', photon_flux_upper_limit='3.03e-08', time_completed='2022-12-26 01:24:52.719576', job_id='268016', GAL2='0.83', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1672046692.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1752' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:24:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 268016: <4FGL_J1702.2+2642_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Dec 26 01:10:51 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:13:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:13:47 2022
Terminated at Mon Dec 26 01:24:53 2022
Results reported at Mon Dec 26 01:24:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1752 255.558 26.7116 693446401 693705601 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 :                                   457.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            842 sec.

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

