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 82 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_J1633.8+0701_daily_bin1752
RA = 248.454, Dec = 7.0309
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='267970', job_status='RUN', time_executed='2022-12-26 01:14:38.473515', time_epoch_executed='1672046078.47' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/267970

Creating custom pfile directory:
/scratch/kocevski/267970/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/267970/ft1_4FGL_J1633.8+0701_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/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/267970/ft1_4FGL_J1633.8+0701_daily_bin1752.fits outfile=/scratch/kocevski/267970/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin1752.fits ra=248.454 dec=7.0309 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 3.47
user 3.19
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_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/267970/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_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.50
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 830

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/267970/ltcube_693446401_693705601_4FGL_J1633.8+0701_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/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits
.....................!
real 13.30
user 12.81
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/267970/ltcube_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.fits outfile=/scratch/kocevski/267970/expmap_693446401_693705601_4FGL_J1633.8+0701_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/267970/ltcube_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.fits
.....................!
real 191.89
user 186.68
sys 4.64

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.
Added 163 point sources and 1 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 J1633.8+0701 @ 248.454 7.0309

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits scfile=/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits outfile=/scratch/kocevski/267970/cmap_693446401_693705601_4FGL_J1633.8+0701_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=248.454 yref=7.0309 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits scfile=/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits outfile=/scratch/kocevski/267970/cmap_HighResolution_693446401_693705601_4FGL_J1633.8+0701_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=248.454 yref=7.0309 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/267970/Model_4FGL_J1633.8+0701_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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits.....................!
real 70.89
user 69.46
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits', '/scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits', expMap='/scratch/kocevski/267970/expmap_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.fits', expCube='/scratch/kocevski/267970/ltcube_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/267970/Model_4FGL_J1633.8+0701_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1633.8+0701'

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.015e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/267970/ft1_filtered_4FGL_J1633.8+0701_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/267970/ft2_4FGL_J1633.8+0701_daily_bin1752.fits
Exposure map: /scratch/kocevski/267970/expmap_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.fits
Exposure cube: /scratch/kocevski/267970/ltcube_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/267970/Model_4FGL_J1633.8+0701_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) = 8728.76897091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8350       1.0000          .0000       .10000E+07
     2 'norm      '    3.9774       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16739E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .40131E-04   1.0000          .0000       .10000E+07
     5 'norm      '    8.1605       1.0000          .0000       .10000E+07
     6 'norm      '    57.576       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.758       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56118       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.279       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15924E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.8658       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10729E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    113.19       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.5715       1.0000          .0000       .10000E+07
    15 'Prefactor '    .82519E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1118       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91534       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8728.716     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1261 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7544        5.6927       -.30677E-07   -.16645E-03
   2  norm          3.9848        3.4523        .18851E-07   -.14516E-03
   3  Prefactor      .0000        14.896        .56078E-07** at limit **
   4  norm           .0000        2.3862       -.53687E-07** at limit **
   5  norm          8.1605        2.3377       -.66586E-08    .89639E-04
   6  norm          57.760        19.266        .60923E-08   -.12209E-03
   7  Prefactor     15.959        85.997       -.70590E-06    .16085E-02
   8  Prefactor     1.6577        204.07        .11289E-05   -.40554E-05
   9  Prefactor     10.114        11.811       -.23707E-06    .51387E-05
  10  Prefactor      .0000        14.404        .19802E-06** at limit **
  11  Prefactor     3.8892        4.5829        .20351E-07   -.20960E-03
  12  Prefactor      .0000        12.303        .24431E-06** at limit **
  13  Prefactor     113.62        27.809       -.96144E-07   -.11516E-01
  14  Prefactor     6.5868        7.7176       -.35297E-07   -.98418E-04
  15  Prefactor     .11102E-09    170.39        .22000E-05** at limit **
  16  Normalizat    1.1097        .31359       -.36484E-05   -.11152E-04
  17  Prefactor     .91552        .10058        .13587E-05   -.39847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.75443
  norm       = 3.98477
  Prefactor  = 0
  norm       = 0
  norm       = 8.16053
  norm       = 57.7604
  Prefactor  = 15.9588
  Prefactor  = 1.65773
  Prefactor  = 10.1138
  Prefactor  = 0
  Prefactor  = 3.88925
  Prefactor  = 0
  Prefactor  = 113.624
  Prefactor  = 6.5868
  Prefactor  = 1.11022e-10
  Normalizat = 1.10968
  Prefactor  = 0.915522
 **********
 **   18 **HESSE 
 **********

 FCN=   8728.716     FROM HESSE     STATUS=OK           261 CALLS     1522 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7544        5.7049        .41552E-03   -1.5660    
   2  norm          3.9848        3.4655        .50549E-03   -1.5668    
   3  Prefactor      .0000        14.919        .17261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.3899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.1605        2.3407        .35072E-03   -1.5651    
   6  norm          57.760        19.157        .13180E-03   -1.5556    
   7  Prefactor     15.959        96.026        .26046E-03   -1.5628    
   8  Prefactor     1.6577        212.39        .72780E-03   -1.5682    
   9  Prefactor     10.114        12.162        .31228E-03   -1.5644    
  10  Prefactor      .0000        14.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8892        4.5940        .51299E-03   -1.5669    
  12  Prefactor      .0000        12.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     113.62        75.622        .94001E-04   -1.5495    
  14  Prefactor     6.5868        7.8830        .39123E-03   -1.5657    
  15  Prefactor     .11102E-09    170.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1097        .26712        .95705E-01   -.89442    
  17  Prefactor     .91552        .84698E-01    .45200E-01   -.95601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8881e-07
Minuit parameter uncertainties:
  1  5.70488
  2  3.46546
  3  1.35657e-06
  4  1.53413e-07
  5  2.3407
  6  19.157
  7  78.295
  8  37.5296
  9  12.1624
  10  1.30555e-05
  11  4.59397
  12  8.0056e-07
  13  75.6228
  14  7.88303
  15  0.000259628
  16  0.267444
  17  0.0847106
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  0.000e+00  1.306e-05  0.000e+00  1.000e+06 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.155e-01  8.471e-02  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.110e+00  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 248.454 7.031
Photon Flux Upper Limit: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/267970/likelihoodResults_693446401_693705601_4FGL_J1633.8+0701_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) = 8728.7579656
delta logL = -0.0417600263554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8728.70472938
delta logL = 0.0114761896002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1846       1.0000          .0000       .10000E+07
     2 'Index     '    1.5260       1.0000          .0000       10.000    
     3 'Normalizat'    1.1106       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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.

 FCN=   8728.705     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      294 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2331        15.125        .20968E-03    .57296E-02
   2  Index         1.5455        1.6067        .27576E-01    .22353E-05
   3  Normalizat    1.1110        .28963        .42377E-03    .53655E-07
   4  Prefactor     .91440        .99397E-01    .15693E-03    .46364E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23311
  Index      = 1.54545
  Normalizat = 1.11099
  Prefactor  = 0.9144
 **********
 **   18 **HESSE 
 **********

 FCN=   8728.705     FROM HESSE     STATUS=OK            27 CALLS      321 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2331        14.471        .41936E-04   -1.5686    
   2  Index         1.5455        1.5775        .11030E-02   -.76275    
   3  Normalizat    1.1110        .28980        .16951E-04   -.89400    
   4  Prefactor     .91440        .99441E-01    .62772E-05   -.95640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83576e-12
Minuit parameter uncertainties:
  1  8.44858
  2  1.63244
  3  0.290214
  4  0.099461
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/267970': 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) = 8728.70463445
delta logL = 0.0115711182243

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.233e+00  8.449e+00  0.000e+00  1.000e+06 ( 1.000e-13)
246        Index:  1.545e+00  1.632e+00  0.000e+00  1.000e+01 (-1.000e+00)
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.144e-01  9.946e-02  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.111e+00  2.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 248.454 7.031

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/267970/cmap_HighResolution_693446401_693705601_4FGL_J1633.8+0701_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2022-12-26 01:24:26.408691', job_id='267970', GAL2='0.91', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1672046666.41', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.16e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1752' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:24:26 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 267970: <4FGL_J1633.8+0701_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin1752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Dec 26 01:10:48 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:13:07 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:07 2022
Terminated at Mon Dec 26 01:24:26 2022
Results reported at Mon Dec 26 01:24:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin1752 248.454 7.0309 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1633.8+0701 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            818 sec.

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

