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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin1765
RA = 248.454, Dec = 7.0309
tmin = 696816001, tmax = 697075201
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='639996', job_status='RUN', time_executed='2023-02-03 01:18:43.490299', time_epoch_executed='1675415923.49' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639996

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639996/ft1_4FGL_J1633.8+0701_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639996/ft1_4FGL_J1633.8+0701_daily_bin1765.fits outfile=/scratch/kocevski/639996/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin1765.fits ra=248.454 dec=7.0309 rad=12.0 tmin=696816001.0 tmax=697075201.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.72
user 3.45
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.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/639996/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 953

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/639996/ltcube_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.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/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits
.....................!
real 16.55
user 16.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/639996/ltcube_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.fits outfile=/scratch/kocevski/639996/expmap_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.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/639996/ltcube_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.fits
.....................!
real 193.59
user 188.23
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/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits scfile=/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits outfile=/scratch/kocevski/639996/cmap_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits scfile=/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits outfile=/scratch/kocevski/639996/cmap_HighResolution_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639996/Model_4FGL_J1633.8+0701_daily_bin1765.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/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits.....................!
real 82.72
user 81.27
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits', '/scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits', expMap='/scratch/kocevski/639996/expmap_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.fits', expCube='/scratch/kocevski/639996/ltcube_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639996/Model_4FGL_J1633.8+0701_daily_bin1765.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/639996/ft1_filtered_4FGL_J1633.8+0701_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/639996/ft2_4FGL_J1633.8+0701_daily_bin1765.fits
Exposure map: /scratch/kocevski/639996/expmap_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.fits
Exposure cube: /scratch/kocevski/639996/ltcube_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639996/Model_4FGL_J1633.8+0701_daily_bin1765.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) = 10113.8773868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4757       1.0000          .0000       .10000E+07
     2 'norm      '    .28089E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .79159E-07   1.0000          .0000       .10000E+07
     4 'norm      '    11.334       1.0000          .0000       .10000E+07
     5 'norm      '    8.6150       1.0000          .0000       .10000E+07
     6 'norm      '    33.127       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32196E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31308E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.0899       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25141E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10522E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12157E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .90977E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .46417E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.5480       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .87367       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=   10113.72     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1252 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4782        5.8962        .20812E-06   -.78119E-03
   2  norm          .11990E-07    8.5379       -.71248E-06** at limit **
   3  Prefactor     .31180E-05    34.057       -.25515E-05** at limit **
   4  norm          11.335        10.290       -.86516E-06   -.35810E-02
   5  norm          8.6151        2.5519        .10579E-06    .81834E-02
   6  norm          33.130        16.329        .30355E-05    .77476E-01
   7  Prefactor     .10982E-04    43.923        .10236E-05** at limit **
   8  Prefactor     .31641E-07    15.399       -.25622E-06** at limit **
   9  Prefactor     5.0965        11.053        .52998E-06    .20878E-02
  10  Prefactor     .13878E-08    7.9200        .20253E-05** at limit **
  11  Prefactor     .69938E-06    28.102        .52842E-05** at limit **
  12  Prefactor     .27756E-09    1.9877        .66385E-07** at limit **
  13  Prefactor     .57384E-04    76.510       -.67469E-05** at limit **
  14  Prefactor     .11158E-07    9.0395       -.28422E-06** at limit **
  15  Prefactor     .71884E-04    46.282        .41043E-05** at limit **
  16  Normalizat    1.5479        .29184       -.18603E-04   -.10416E-03
  17  Prefactor     .87369        .94113E-01    .88736E-05    .17280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.47824
  norm       = 1.19904e-08
  Prefactor  = 3.11801e-06
  norm       = 11.3346
  norm       = 8.61514
  norm       = 33.13
  Prefactor  = 1.09817e-05
  Prefactor  = 3.16414e-08
  Prefactor  = 5.09652
  Prefactor  = 1.38778e-09
  Prefactor  = 6.99385e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 5.7384e-05
  Prefactor  = 1.11577e-08
  Prefactor  = 7.18841e-05
  Normalizat = 1.54793
  Prefactor  = 0.873686
 **********
 **   18 **HESSE 
 **********

 FCN=   10113.72     FROM HESSE     STATUS=OK           253 CALLS     1505 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4782        5.9055        .64954E-03   -1.5676    
   2  norm          .11990E-07    8.4073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .31180E-05    35.988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.335        10.278        .29733E-03   -1.5641    
   5  norm          8.6151        2.5514        .34128E-03   -1.5649    
   6  norm          33.130        16.520        .17377E-03   -1.5593    
   7  Prefactor     .10982E-04    50.419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .31641E-07    15.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0965        11.055        .44542E-03   -1.5663    
  10  Prefactor     .13878E-08    7.8952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .69938E-06    27.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-09    1.9942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .57384E-04    110.40        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11158E-07    9.0326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .71884E-04    87.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5479        .24420        .87625E-01   -.76440    
  17  Prefactor     .87369        .78591E-01    .44669E-01   -.97067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09187e-06
Minuit parameter uncertainties:
  1  5.9055
  2  0.000634614
  3  0.0211859
  4  10.2779
  5  2.55137
  6  16.5205
  7  0.0470616
  8  0.00139779
  9  11.0554
  10  0.00020909
  11  0.00875911
  12  4.50185e-05
  13  0.159187
  14  0.000635006
  15  0.158902
  16  0.244388
  17  0.0786014
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.388e-09  2.091e-04  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:  8.737e-01  7.860e-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.548e+00  2.444e-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.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639996/likelihoodResults_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.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) = 10113.7875809
delta logL = -0.0662042941731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10113.5568889
delta logL = 0.164487684122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1200       1.0000          .0000       .10000E+07
     2 'Index     '    1.0894       1.0000          .0000       10.000    
     3 'Normalizat'    1.5452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87336       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.

 FCN=   10113.56     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      231 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1181        6.2864        .70806E-03    .55798E-02
   2  Index         1.0885        .97619        .38006       -.10149E-03
   3  Normalizat    1.5455        .23587        .87667E-01    .27080E-04
   4  Prefactor     .87331        .78464E-01    .44665E-01    .21656E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11812
  Index      = 1.08846
  Normalizat = 1.54549
  Prefactor  = 0.873309
 **********
 **   18 **HESSE 
 **********

 FCN=   10113.56     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1181        5.0950        .28322E-04   -1.5679    
   2  Index         1.0885        .91485        .22543E-01   -.89836    
   3  Normalizat    1.5455        .28060        .38815E-03   -.76508    
   4  Prefactor     .87331        .93549E-01    .16476E-03   -.97080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12466e-11
Minuit parameter uncertainties:
  1  5.09496
  2  0.928542
  3  0.280889
  4  0.0935663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639996': 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) = 10113.556888
delta logL = 0.164488563943

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  2.118e+00  5.095e+00  0.000e+00  1.000e+06 ( 1.000e-13)
246        Index:  1.088e+00  9.285e-01  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:  8.733e-01  9.357e-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.545e+00  2.809e-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/639996/cmap_HighResolution_696816001_697075201_4FGL_J1633.8+0701_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-03', job_status='DONE', photon_flux_upper_limit='8.35e-08', time_completed='2023-02-03 01:29:41.169665', job_id='639996', GAL2='0.87', fit_tolerance='1e-08', EG2='1.55', EG='1.55', time_epoch_completed='1675416581.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.64e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1765' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:29:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 639996: <4FGL_J1633.8+0701_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:15:16 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:15:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:15:38 2023
Terminated at Fri Feb  3 01:29:41 2023
Results reported at Fri Feb  3 01:29:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin1765 248.454 7.0309 696816001 697075201 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 :                                   659.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            865 sec.

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

