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


Performing analysis on: 4FGL_J1643.5-0646_daily_bin1780
RA = 250.883, Dec = -6.7749
tmin = 700704001, tmax = 700963201
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='69579', job_status='RUN', time_executed='2023-03-20 01:17:49.635337', time_epoch_executed='1679300269.64' WHERE source_name='4FGL J1643.5-0646' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69579

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69579/ft1_4FGL_J1643.5-0646_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69579/ft1_4FGL_J1643.5-0646_daily_bin1780.fits outfile=/scratch/kocevski/69579/ft1_filteredMKT_4FGL_J1643.5-0646_daily_bin1780.fits ra=250.883 dec=-6.7749 rad=12.0 tmin=700704001.0 tmax=700963201.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.08
user 3.87
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.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/69579/ft1_filteredMKT_4FGL_J1643.5-0646_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1859

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/69579/ltcube_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.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/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits
.....................!
real 11.94
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/69579/ltcube_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.fits outfile=/scratch/kocevski/69579/expmap_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.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/69579/ltcube_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.fits
.....................!
real 192.20
user 186.05
sys 5.83

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 205 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1643.5-0646 @ 250.883 -6.7749

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits scfile=/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits outfile=/scratch/kocevski/69579/cmap_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.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=250.883 yref=-6.7749 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits scfile=/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits outfile=/scratch/kocevski/69579/cmap_HighResolution_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.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=250.883 yref=-6.7749 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/69579/Model_4FGL_J1643.5-0646_daily_bin1780.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 FHES J1626.9-2431
adding source FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits.....................!
real 184.88
user 183.32
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits', '/scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits', expMap='/scratch/kocevski/69579/expmap_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.fits', expCube='/scratch/kocevski/69579/ltcube_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69579/Model_4FGL_J1643.5-0646_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1643.5-0646'

4FGL J1643.5-0646
   Spectrum: PowerLaw
268    Prefactor:  3.411e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.138e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  3.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/69579/ft1_filtered_4FGL_J1643.5-0646_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/69579/ft2_4FGL_J1643.5-0646_daily_bin1780.fits
Exposure map: /scratch/kocevski/69579/expmap_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.fits
Exposure cube: /scratch/kocevski/69579/ltcube_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69579/Model_4FGL_J1643.5-0646_daily_bin1780.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) = 18728.184031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27837E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .78215E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .91434E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24868E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.142       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37944       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46304E-03   1.0000          .0000       .10000E+07
     9 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    10 'Prefactor '    1.0654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18727.98     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      611 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42188E-08    28.136        .10811E-05** at limit **
   2  Prefactor     .12046E-07    32.636       -.17932E-06** at limit **
   3  Prefactor     .14566        42.021       -.78716E-06** at limit **
   4  Prefactor     .22204E-09    5.2503       -.11700E-06** at limit **
   5  Prefactor     29.133        1.4287       -.18359E-07   -.12453    
   6  Prefactor     .38010        20.983       -.56325E-06   -.28724E-03
   7  Prefactor     .66613E-09    10.551       -.94031E-06** at limit **
   8  Prefactor     .42188E-07    495.58       -.37160E-05** at limit **
   9  Normalizat    1.1148        .30490        .27910E-05    .20328E-04
  10  Prefactor     1.0654        .53470E-01    .89173E-06    .95639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.21885e-09
  Prefactor  = 1.20459e-08
  Prefactor  = 0.145662
  Prefactor  = 2.22045e-10
  Prefactor  = 29.1326
  Prefactor  = 0.380097
  Prefactor  = 6.66134e-10
  Prefactor  = 4.21885e-08
  Normalizat = 1.11478
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   18727.98     FROM HESSE     STATUS=OK           124 CALLS      735 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42188E-08    28.134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12046E-07    32.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14566        1.7794        .10093E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    5.2580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.133        24.151        .18527E-03   -1.5600    
   6  Prefactor     .38010        2.3748        .91908E-02   -1.5696    
   7  Prefactor     .66613E-09    10.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .42188E-07    501.18        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Normalizat    1.1148        .29171        .15890       -.89279    
  10  Prefactor     1.0654        .50468E-01    .28990E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12103e-07
Minuit parameter uncertainties:
  1  0.000690403
  2  0.00125531
  3  1.01822
  4  6.39564e-05
  5  24.1514
  6  1.90017
  7  0.000164976
  8  0.00919619
  9  0.292129
  10  0.0504705
Done.

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

Extracting fit parameters...

4FGL J1643.5-0646
   Spectrum: PowerLaw
268    Prefactor:  2.913e+01  2.415e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.138e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  3.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.065e+00  5.047e-02  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.115e+00  2.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.19
Ra Dec: 250.883 -6.775
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 4.47e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.88e-05

TS (Fixed Index): 3.19
Ra Dec: 250.883 -6.775
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69579/likelihoodResults_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.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) = 18727.494464
delta logL = 0.485040853073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18727.4917153
delta logL = 0.48778956828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.264       1.0000          .0000       .10000E+07
     2 'Index     '    1.6603       1.0000          .0000       10.000    
     3 'Normalizat'    1.1291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0647       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18727.49     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      330 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.267        46.231        .54812E-05    .49779E-05
   2  Index         1.6603        .48057        .12340E-01    .66248E-03
   3  Normalizat    1.1294        .29497        .70236E-03   -.49660E-04
   4  Prefactor     1.0646        .53113E-01    .12816E-03   -.19977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.2674
  Index      = 1.66028
  Normalizat = 1.12939
  Prefactor  = 1.06465
 **********
 **   18 **HESSE 
 **********

 FCN=   18727.49     FROM HESSE     STATUS=OK            25 CALLS      355 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.267        45.593        .10962E-05   -1.5562    
   2  Index         1.6603        .47434        .24679E-02   -.73144    
   3  Normalizat    1.1294        .29504        .28095E-04   -.88814    
   4  Prefactor     1.0646        .53132E-01    .51262E-05   -.90605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63832e-12
Minuit parameter uncertainties:
  1  45.5933
  2  0.475632
  3  0.295471
  4  0.0531348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69579': 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) = 18727.4917149
delta logL = 0.487789999159

Extracting fit parameters...

4FGL J1643.5-0646
   Spectrum: PowerLaw
268    Prefactor:  5.327e+01  4.559e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.660e+00  4.756e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  3.284e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.065e+00  5.313e-02  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.129e+00  2.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.17
Ra Dec: 250.883 -6.775
Photon Index (Free Index): 1.66 +/- 0.48
Photon Flux (Free Index): 2.63e-08 +/- 3.00e-08
Energy Flux (Free Index): 4.88e-05 +/- 5.53e-05

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/69579/cmap_HighResolution_700704001_700963201_4FGL_J1643.5-0646_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', photon_flux='4.47e-08', energy_flux2='4.88e-05', photon_flux_error='3.71e-08', dlogl='4.88e-01', energy_flux='2.27e-05', photon_flux2='2.63e-08', job_status='DONE', time_completed='2023-03-20 01:32:21.871410', photon_index_error2='0.48', photon_index2='1.66', ts='3.19', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='5.53e-05', EG='1.11', time_epoch_completed='1679301141.87', return_code='0', job_id='69579', GAL2='1.06', EG2='1.13', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='3.00e-08', ts2='4.17', photon_index='2.14' WHERE bin_id='1780' AND source_name='4FGL J1643.5-0646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:32:21 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 69579: <4FGL_J1643.5-0646_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1643.5-0646_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:15:47 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:15:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:15:48 2023
Terminated at Mon Mar 20 01:32:22 2023
Results reported at Mon Mar 20 01:32:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1643.5-0646_daily_bin1780 250.883 -6.7749 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1643.5-0646 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   874.02 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             354.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

