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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1753
RA = 255.558, Dec = 26.7116
tmin = 693705601, tmax = 693964801
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='458973', job_status='RUN', time_executed='2022-12-29 01:16:26.320753', time_epoch_executed='1672305386.32' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/458973

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/458973/ft1_4FGL_J1702.2+2642_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/458973/ft1_4FGL_J1702.2+2642_daily_bin1753.fits outfile=/scratch/kocevski/458973/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1753.fits ra=255.558 dec=26.7116 rad=12.0 tmin=693705601.0 tmax=693964801.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.65
user 4.37
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.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/458973/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/458973/ft1_filtered_4FGL_J1702.2+2642_daily_bin1753.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.53
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 658

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/458973/ft1_filtered_4FGL_J1702.2+2642_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/458973/ltcube_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.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/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.fits
.....................!
real 15.80
user 15.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/458973/ft1_filtered_4FGL_J1702.2+2642_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/458973/ltcube_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.fits outfile=/scratch/kocevski/458973/expmap_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.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/458973/ltcube_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.fits
.....................!
real 194.33
user 186.49
sys 6.20

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/458973/ft1_filtered_4FGL_J1702.2+2642_daily_bin1753.fits scfile=/scratch/kocevski/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.fits outfile=/scratch/kocevski/458973/cmap_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/458973/ft1_filtered_4FGL_J1702.2+2642_daily_bin1753.fits scfile=/scratch/kocevski/458973/ft2_4FGL_J1702.2+2642_daily_bin1753.fits outfile=/scratch/kocevski/458973/cmap_HighResolution_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.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.58
user 0.39
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8674       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32541E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1486       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.682       1.0000          .0000       .10000E+07
     5 'Prefactor '    28.031       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9950       1.0000          .0000       .10000E+07
     7 'Prefactor '    .57752E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .73830E-08   1.0000          .0000       .10000E+07
     9 'norm      '    .31455E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    145.49       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.1896       1.0000          .0000       .10000E+07
    12 'Prefactor '    125.70       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25074E-01   1.0000          .0000       .10000E+07
    14 'Normalizat'    .61510       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95390       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=   7014.362     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1039 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9729        19.078        .11928E-06   -.26596E-03
   2  Prefactor      .0000        3.2842        .49411E-07** at limit **
   3  Prefactor     5.4805        10.039       -.71089E-06    .75028E-03
   4  Prefactor     13.604        6.9068        .84924E-07    .86752E-03
   5  Prefactor     28.886        27.762       -.47948E-06   -.23304E-01
   6  Prefactor     3.1714        2.8613       -.68899E-07    .35507E-02
   7  Prefactor      .0000        9.1776       -.72493E-07** at limit **
   8  norm           .0000        1.7713       -.21640E-07** at limit **
   9  norm          .32752E-08    37.785       -.12417E-06** at limit **
  10  Prefactor     153.94        80.511       -.27730E-06   -.14753    
  11  Prefactor     1.7802        87.848        .90544E-06   -.18687E-01
  12  Prefactor     131.15        53.250       -.20055E-06    .18117    
  13  Prefactor      .0000        17.772        .28705E-07** at limit **
  14  Normalizat    .61173        .21079        .19831E-05    .15400E-04
  15  Prefactor     .95399        .11325       -.78385E-06    .39302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9729
  Prefactor  = 0
  Prefactor  = 5.48049
  Prefactor  = 13.6041
  Prefactor  = 28.886
  Prefactor  = 3.17141
  Prefactor  = 0
  norm       = 0
  norm       = 3.27516e-09
  Prefactor  = 153.938
  Prefactor  = 1.7802
  Prefactor  = 131.152
  Prefactor  = 0
  Normalizat = 0.611732
  Prefactor  = 0.953993
 **********
 **   18 **HESSE 
 **********

 FCN=   7014.362     FROM HESSE     STATUS=OK           218 CALLS     1257 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9729        18.972        .76201E-03   -1.5680    
   2  Prefactor      .0000        3.2865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4805        10.084        .44283E-03   -1.5661    
   4  Prefactor     13.604        6.9079        .27053E-03   -1.5634    
   5  Prefactor     28.886        27.900        .18891E-03   -1.5600    
   6  Prefactor     3.1714        101.50        .58630E-03   -1.5672    
   7  Prefactor      .0000        9.2230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.7460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .32752E-08    37.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     153.94        97.163        .82913E-04   -1.5460    
  11  Prefactor     1.7802        137.65        .56712E-03   -1.5681    
  12  Prefactor     131.15        95.302        .89199E-04   -1.5479    
  13  Prefactor      .0000        8.9666        .80305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .61173        .18848        .78765E-01   -1.0749    
  15  Prefactor     .95399        .10068        .34994E-01   -.94279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69573e-06
Minuit parameter uncertainties:
  1  12.2359
  2  2.60921e-06
  3  10.0838
  4  6.90792
  5  27.8999
  6  35.8843
  7  6.38871e-06
  8  5.52462e-07
  9  0.000701577
  10  97.1637
  11  31.3082
  12  95.3026
  13  2.83392e-06
  14  0.188682
  15  0.100695
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  3.171e+00  3.588e+01  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:  9.540e-01  1.007e-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:  6.117e-01  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/458973/likelihoodResults_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7014.35887808
delta logL = 0.00311544598026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7014.35886929
delta logL = 0.00312423829291

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1714       1.0000          .0000       .10000E+07
     2 'Index     '    2.2775       1.0000          .0000       10.000    
     3 'Normalizat'    .61114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95377       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=   7014.359     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      225 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2519        190.35        .56883E-03    .38253E-03
   2  Index         2.2760        .29132        .50000        .80942E-05
   3  Normalizat    .61121        .83663E-02    .78796E-01    .48419E-04
   4  Prefactor     .95385        .45845E-02    .34996E-01    .10257E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.25192
  Index      = 2.27602
  Normalizat = 0.611209
  Prefactor  = 0.953855
 **********
 **   18 **HESSE 
 **********

 FCN=   7014.359     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2519        71.184        .22753E-04   -1.5672    
   2  Index         2.2760        1.8917        .30894E-02   -.57615    
   3  Normalizat    .61121        .20560        .34890E-03   -1.0751    
   4  Prefactor     .95385        .11327        .15464E-03   -.94284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99675e-12
Minuit parameter uncertainties:
  1  30.4296
  2  1.96253
  3  0.205861
  4  0.113297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/458973': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7014.35886176
delta logL = 0.00313176929103

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  3.252e+00  3.043e+01  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.276e+00  1.963e+00  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:  9.539e-01  1.133e-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:  6.112e-01  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/458973/cmap_HighResolution_693705601_693964801_4FGL_J1702.2+2642_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-03', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2022-12-29 01:26:01.869880', job_id='458973', GAL2='0.95', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1672305961.87', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.13e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1753' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:26:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 458973: <4FGL_J1702.2+2642_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:10:30 2022
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:12:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:12:28 2022
Terminated at Thu Dec 29 01:26:02 2022
Results reported at Thu Dec 29 01:26:02 2022

Your job looked like:

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

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

