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


Performing analysis on: 4FGL_J1621.7-1103_daily_bin1766
RA = 245.427, Dec = -11.0592
tmin = 697075201, tmax = 697334401
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='853801', job_status='RUN', time_executed='2023-02-06 01:08:51.091048', time_epoch_executed='1675674531.09' WHERE source_name='4FGL J1621.7-1103' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853801

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853801/ft1_4FGL_J1621.7-1103_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853801/ft1_4FGL_J1621.7-1103_daily_bin1766.fits outfile=/scratch/kocevski/853801/ft1_filteredMKT_4FGL_J1621.7-1103_daily_bin1766.fits ra=245.427 dec=-11.0592 rad=12.0 tmin=697075201.0 tmax=697334401.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.76
user 3.47
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.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/853801/ft1_filteredMKT_4FGL_J1621.7-1103_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.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.55
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 1456

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/853801/ltcube_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.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/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits
.....................!
real 15.53
user 15.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/853801/ltcube_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.fits outfile=/scratch/kocevski/853801/expmap_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.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/853801/ltcube_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.fits
.....................!
real 193.39
user 187.89
sys 4.99

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 J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 189 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 J1621.7-1103 @ 245.427 -11.0592

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits scfile=/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits outfile=/scratch/kocevski/853801/cmap_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.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=245.427 yref=-11.0592 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits scfile=/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits outfile=/scratch/kocevski/853801/cmap_HighResolution_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.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=245.427 yref=-11.0592 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/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853801/Model_4FGL_J1621.7-1103_daily_bin1766.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/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits.....................!
real 163.99
user 162.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits', '/scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits', expMap='/scratch/kocevski/853801/expmap_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.fits', expCube='/scratch/kocevski/853801/ltcube_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/853801/Model_4FGL_J1621.7-1103_daily_bin1766.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1621.7-1103'

4FGL J1621.7-1103
   Spectrum: PowerLaw
289    Prefactor:  6.987e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.477e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  9.767e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/853801/ft1_filtered_4FGL_J1621.7-1103_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/853801/ft2_4FGL_J1621.7-1103_daily_bin1766.fits
Exposure map: /scratch/kocevski/853801/expmap_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.fits
Exposure cube: /scratch/kocevski/853801/ltcube_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/853801/Model_4FGL_J1621.7-1103_daily_bin1766.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) = 15089.1023065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40762E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.835       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17884E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.270       1.0000          .0000       .10000E+07
     5 'Prefactor '    .44382E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    40.446       1.0000          .0000       .10000E+07
     7 'Prefactor '    .48500E-06   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.4397       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .97540       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15089.08     FROM MIGRAD    STATUS=CONVERGED    204 CALLS      765 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    13.369        .42118E-03** at limit **
   2  Prefactor     10.842        20.644        .30413E-03   -.34869E-02
   3  Prefactor     .47184E-08    37.652        .42118E-03** at limit **
   4  Prefactor     12.273        8.0290        .28572E-03    .13038E-02
   5  Prefactor     .19196E-06    17.318        .90983E-02** at limit **
   6  Prefactor     40.501        38.985        .15726E-03   -.62457E-02
   7  Prefactor     .10880E-07    32.567        .42118E-03** at limit **
   8  Normalizat    1.4396        .29405        .13828       -.22637E-03
   9  Prefactor     .97539        .53852E-01    .30283E-01   -.14009E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 10.842
  Prefactor  = 4.71845e-09
  Prefactor  = 12.2726
  Prefactor  = 1.91958e-07
  Prefactor  = 40.5012
  Prefactor  = 1.08802e-08
  Normalizat = 1.43963
  Prefactor  = 0.975392
 **********
 **   18 **HESSE 
 **********

 FCN=   15089.08     FROM HESSE     STATUS=OK            87 CALLS      852 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    13.371        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.842        20.641        .12165E-04   -1.5642    
   3  Prefactor     .47184E-08    37.691        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.273        8.0271        .11429E-04   -1.5638    
   5  Prefactor     .19196E-06    12.077        .11533E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.501        38.123        .62902E-05   -1.5581    
   7  Prefactor     .10880E-07    32.574        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.4396        .32114        .61394E-03   -.79489    
   9  Prefactor     .97539        .59213E-01    .13382E-03   -.93554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32501e-09
Minuit parameter uncertainties:
  1  0.000134345
  2  20.641
  3  0.000841565
  4  8.02707
  5  0.00304497
  6  38.1235
  7  0.00119179
  8  0.321589
  9  0.0592167
Done.

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

Extracting fit parameters...

4FGL J1621.7-1103
   Spectrum: PowerLaw
289    Prefactor:  4.718e-09  8.416e-04  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.477e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  9.767e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.754e-01  5.922e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.440e+00  3.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 245.427 -11.059
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/853801/likelihoodResults_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.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) = 15089.0948275
delta logL = -0.0129686172368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15089.0058085
delta logL = 0.0760504585833

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15089.01     FROM MIGRAD    STATUS=FAILED       107 CALLS      298 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6402        522.82        .16543E-03    .17717E-01
   2  Index         3.8399        6.8608        .58938E-02   -.62034E-05
   3  Normalizat    1.4059        .27111        .61998E-03   -.70084E-04
   4  Prefactor     .97785        .48651E-01    .13365E-03    .35045E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15089.01     FROM SIMPLEX   STATUS=UNCHANGED     95 CALLS      393 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6402        522.82        .31086E-04    .17717E-01
   2  Index         3.8399        6.8608        .18471E-02   -.62034E-05
   3  Normalizat    1.4059        .27111        .26811E-03   -.70084E-04
   4  Prefactor     .97785        .48651E-01    .13477E-04    .35045E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15089.01     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      424 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6401        14.280        .33087E-04   -.65490E-03
   2  Index         3.8399        2.6192        .23575E-03   -.20254E-05
   3  Normalizat    1.4059        .32928        .24799E-04   -.42909E-04
   4  Prefactor     .97785        .59488E-01    .53462E-05    .45932E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.64013
  Index      = 3.83986
  Normalizat = 1.40586
  Prefactor  = 0.977855
 **********
 **   18 **HESSE 
 **********

 FCN=   15089.01     FROM HESSE     STATUS=OK            23 CALLS      447 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6401        11.171        .13235E-05   -1.5682    
   2  Index         3.8399        2.3457        .94301E-05   -.23416    
   3  Normalizat    1.4059        .32936        .49599E-05   -.80459    
   4  Prefactor     .97785        .59500E-01    .10692E-05   -.93471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36674e-11
Minuit parameter uncertainties:
  1  8.56086
  2  2.4477
  3  0.329859
  4  0.0595037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853801': 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) = 15089.0058078
delta logL = 0.0760511450535

Extracting fit parameters...

4FGL J1621.7-1103
   Spectrum: PowerLaw
289    Prefactor:  1.640e+00  8.561e+00  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  3.840e+00  2.448e+00  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  9.767e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.779e-01  5.950e-02  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.406e+00  3.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 245.427 -11.059

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/853801/cmap_HighResolution_697075201_697334401_4FGL_J1621.7-1103_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2023-02-06 01:21:53.497725', job_id='853801', GAL2='0.98', fit_tolerance='1e-08', EG2='1.41', EG='1.44', time_epoch_completed='1675675313.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.61e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1766' AND source_name='4FGL J1621.7-1103' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:21:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 853801: <4FGL_J1621.7-1103_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1621.7-1103_daily_bin1766> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb  6 01:05:19 2023
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:05:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:05:32 2023
Terminated at Mon Feb  6 01:21:54 2023
Results reported at Mon Feb  6 01:21:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1621.7-1103_daily_bin1766 245.427 -11.0592 697075201 697334401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1621.7-1103 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   783.44 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             348.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            995 sec.

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

