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


Performing analysis on: 4FGL_J1633.8+0701_daily_bin1708
RA = 248.454, Dec = 7.0309
tmin = 682041601, tmax = 682300801
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='170082', job_status='RUN', time_executed='2022-09-16 19:38:08.048997', time_epoch_executed='1663382288.05' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170082/ft1_4FGL_J1633.8+0701_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170082/ft1_4FGL_J1633.8+0701_daily_bin1708.fits outfile=/scratch/kocevski/170082/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin1708.fits ra=248.454 dec=7.0309 rad=12.0 tmin=682041601.0 tmax=682300801.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.06
user 3.80
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.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/170082/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/170082/ft1_filtered_4FGL_J1633.8+0701_daily_bin1708.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.17

Number of photons that the gtmktime cut: 1078

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170082/ft1_filtered_4FGL_J1633.8+0701_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/170082/ltcube_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.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/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.fits
.....................!
real 15.62
user 15.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170082/ft1_filtered_4FGL_J1633.8+0701_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/170082/ltcube_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.fits outfile=/scratch/kocevski/170082/expmap_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.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/170082/ltcube_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.fits
.....................!
real 192.02
user 186.32
sys 5.01

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/170082/ft1_filtered_4FGL_J1633.8+0701_daily_bin1708.fits scfile=/scratch/kocevski/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.fits outfile=/scratch/kocevski/170082/cmap_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170082/ft1_filtered_4FGL_J1633.8+0701_daily_bin1708.fits scfile=/scratch/kocevski/170082/ft2_4FGL_J1633.8+0701_daily_bin1708.fits outfile=/scratch/kocevski/170082/cmap_HighResolution_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.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.57
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11047E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .38752E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .90962E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .36909E-02   1.0000          .0000       .10000E+07
     5 'norm      '    6.2252       1.0000          .0000       .10000E+07
     6 'norm      '    27.548       1.0000          .0000       .10000E+07
     7 'Prefactor '    47.376       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27051       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20935E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12003E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    15.398       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76457E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .57427       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.3651       1.0000          .0000       .10000E+07
    15 'Prefactor '    92.999       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3352       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93254       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=   11549.38     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1204 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1339       -.22594E-06** at limit **
   2  norm           .0000        2.5660       -.24987E-06** at limit **
   3  Prefactor     .20872E-07    15.121        .20009E-06** at limit **
   4  norm          .55511E-10    11.646       -.11338E-07** at limit **
   5  norm          6.2284        2.0475        .11949E-06    .74743E-03
   6  norm          27.515        13.935        .18155E-06    .39534E-01
   7  Prefactor     47.754        44.423        .22251E-06    .10108    
   8  Prefactor      .0000        40.467       -.14000E-06** at limit **
   9  Prefactor      .0000        8.9824       -.16343E-06** at limit **
  10  Prefactor     .87430E-07    20.479       -.23240E-06** at limit **
  11  Prefactor     15.445        6.6985        .21276E-06    .10295E-02
  12  Prefactor      .0000        3.7738        .26936E-06** at limit **
  13  Prefactor     .29099E-06    87.501       -.17257E-06** at limit **
  14  Prefactor     2.4040        7.8866       -.96294E-06    .73164E-04
  15  Prefactor     92.842        29.308       -.14773E-06    .21859    
  16  Normalizat    1.3354        .28152       -.41380E-05   -.51232E-05
  17  Prefactor     .93259        .90586E-01    .51284E-06   -.12866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.08722e-08
  norm       = 5.55112e-11
  norm       = 6.22841
  norm       = 27.5148
  Prefactor  = 47.7542
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.74301e-08
  Prefactor  = 15.4445
  Prefactor  = 0
  Prefactor  = 2.90989e-07
  Prefactor  = 2.404
  Prefactor  = 92.8416
  Normalizat = 1.33538
  Prefactor  = 0.932586
 **********
 **   18 **HESSE 
 **********

 FCN=   11549.38     FROM HESSE     STATUS=OK           255 CALLS     1459 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.5550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .20872E-07    15.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    11.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.2284        2.0506        .40211E-03   -1.5658    
   6  norm          27.515        13.920        .19056E-03   -1.5603    
   7  Prefactor     47.754        46.119        .14530E-03   -1.5570    
   8  Prefactor      .0000        40.069        .10635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.4820        .79924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .87430E-07    20.206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.445        6.6981        .25498E-03   -1.5629    
  12  Prefactor      .0000        3.7662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29099E-06    87.478        .71565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4040        7.9064        .66605E-03   -1.5677    
  15  Prefactor     92.842        108.12        .10370E-03   -1.5515    
  16  Normalizat    1.3354        .23721        .94728E-01   -.82516    
  17  Prefactor     .93259        .75750E-01    .45418E-01   -.95012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52425e-06
Minuit parameter uncertainties:
  1  2.24901e-06
  2  1.26919e-06
  3  0.00112438
  4  6.08211e-05
  5  2.05057
  6  13.9204
  7  46.1198
  8  4.74016e-05
  9  3.22128e-06
  10  0.0026579
  11  6.69815
  12  1.56569e-05
  13  0.0100907
  14  7.9064
  15  108.119
  16  0.237409
  17  0.0757589
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  8.743e-08  2.658e-03  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.326e-01  7.576e-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.335e+00  2.374e-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.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170082/likelihoodResults_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.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) = 11549.4098191
delta logL = -0.030729972148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11548.7002991
delta logL = 0.678790000788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68459E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.4063       1.0000          .0000       10.000    
     3 'Normalizat'    1.2229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95371       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=   11548.70     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      251 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68294E-01    .68216        .53545E-03** at limit **
   2  Index         4.4072        1.7999        .87792E-01    .36545E-03
   3  Normalizat    1.2230        .46291E-01    .98327E-01    .41189E-05
   4  Prefactor     .95369        .15246E-01    .45686E-01    .76773E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0682939
  Index      = 4.40715
  Normalizat = 1.22302
  Prefactor  = 0.953686
 **********
 **   18 **HESSE 
 **********

 FCN=   11548.70     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68294E-01    2.5252        .24123E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4072        3.9561        .54181E-02   -.11885    
   3  Normalizat    1.2230        .22496        .43565E-03   -.85894    
   4  Prefactor     .95369        .72278E-01    .15945E-03   -.94290    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.10395e-06
Minuit parameter uncertainties:
  1  0.830551
  2  4.57767
  3  0.225134
  4  0.0722855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170082': 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): 102
logL (Free Index) = 11548.7002987
delta logL = 0.678790343252

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  6.829e-02  8.306e-01  0.000e+00  1.000e+06 ( 1.000e-13)
246        Index:  4.407e+00  4.578e+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.537e-01  7.229e-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.223e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 248.454 7.031
Photon Index (Free Index): 4.41 +/- 4.58
Photon Flux (Free Index): 9.07e-08 +/- 7.85e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.29e-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/170082/cmap_HighResolution_682041601_682300801_4FGL_J1633.8+0701_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='6.79e-01', photon_flux2='9.07e-08', job_status='DONE', time_completed='2022-09-16 19:49:18.965361', photon_index_error2='4.58', photon_index2='4.41', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.93e-08', energy_flux_error2='1.29e-05', EG='1.34', time_epoch_completed='1663382958.97', return_code='0', job_id='170082', GAL2='0.95', EG2='1.22', return_code2='102', photon_flux_error2='7.85e-08', ts2='1.49', photon_index='2.15' WHERE bin_id='1708' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:49:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 170082: <4FGL_J1633.8+0701_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin1708> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 19:35:30 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:37:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:37:47 2022
Terminated at Fri Sep 16 19:49:19 2022
Results reported at Fri Sep 16 19:49:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin1708 248.454 7.0309 682041601 682300801 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 :                                   672.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            829 sec.

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

