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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1710
RA = 248.817, Dec = 38.1401
tmin = 682560001, tmax = 682819201
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='170100', job_status='RUN', time_executed='2022-09-16 19:39:22.573421', time_epoch_executed='1663382362.57' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170100/ft1_4FGL_J1635.2+3808_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170100/ft1_4FGL_J1635.2+3808_daily_bin1710.fits outfile=/scratch/kocevski/170100/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1710.fits ra=248.817 dec=38.1401 rad=12.0 tmin=682560001.0 tmax=682819201.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.47
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.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/170100/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.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.56
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 666

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/170100/ltcube_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.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/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits
.....................!
real 14.02
user 13.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/170100/ltcube_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.fits outfile=/scratch/kocevski/170100/expmap_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.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/170100/ltcube_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.fits
.....................!
real 192.44
user 185.33
sys 5.92

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
Added 198 point sources and 0 extended sources

Setting source of interest to:
4FGL J1635.2+3808 @ 248.817 38.1401

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits scfile=/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits outfile=/scratch/kocevski/170100/cmap_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.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.817 yref=38.1401 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits scfile=/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits outfile=/scratch/kocevski/170100/cmap_HighResolution_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.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.817 yref=38.1401 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/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170100/Model_4FGL_J1635.2+3808_daily_bin1710.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 GAL_V02
Working on...
/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits.....................!
real 56.31
user 54.94
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits', '/scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits', expMap='/scratch/kocevski/170100/expmap_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.fits', expCube='/scratch/kocevski/170100/ltcube_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170100/Model_4FGL_J1635.2+3808_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1635.2+3808'

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  1.022e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.330e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  1.274e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  5.275e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/170100/ft1_filtered_4FGL_J1635.2+3808_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/170100/ft2_4FGL_J1635.2+3808_daily_bin1710.fits
Exposure map: /scratch/kocevski/170100/expmap_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.fits
Exposure cube: /scratch/kocevski/170100/ltcube_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170100/Model_4FGL_J1635.2+3808_daily_bin1710.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) = 7158.52348192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15450E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    23.877       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92636       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14760E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1940       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77393E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .44974E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .22518E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .34270E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .56874E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .10368E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16990E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.354       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.627       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.479       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.3575       1.0000          .0000       .10000E+07
    17 'norm      '    .10305E-05   1.0000          .0000       .10000E+07
    18 'norm      '    1.4909       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15775E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .31027       1.0000          .0000       .10000E+07
    21 'norm      '    4.1139       1.0000          .0000       .10000E+07
    22 'norm      '    4.7674       1.0000          .0000       .10000E+07
    23 'Normalizat'    .70072       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0475       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7158.511     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     2038 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39968E-06    2.5476       -.16836E-06** at limit **
   2  Prefactor     23.892        1.0106        .51660E-09   -.40631E-02
   3  Prefactor     .93484        2.5265       -.23116E-06   -.96705E-02
   4  Prefactor     .11596E-06    1.6393       -.32204E-07** at limit **
   5  Prefactor     1.6853        10.572        .27763E-06   -.10260E-01
   6  Prefactor      .0000        1.5640        .77727E-08** at limit **
   7  norm          .45026E-01    .58677E-01    .21952E-07** at limit **
   8  norm          .90428E-07    3.7090        .13173E-06** at limit **
   9  Prefactor     .54390E-06    3.8063       -.10132E-06** at limit **
  10  Prefactor     .10048E-06    1.8476       -.78335E-07** at limit **
  11  norm          .55511E-10    18.311       -.60088E-07** at limit **
  12  Prefactor     .11202E-06    1.2953        .19733E-07** at limit **
  13  Prefactor     11.358        1.8260        .17396E-07    .12366E-01
  14  Prefactor     21.682        1.0127        .55912E-09   -.33782E-02
  15  Prefactor     28.489        6.8218       -.15862E-07    .70186E-01
  16  Prefactor     5.3619        3.4268        .39924E-07    .17572E-02
  17  norm           .0000        1.1003       -.32501E-07** at limit **
  18  norm          1.4924        .95070       -.91813E-08   -.30683E-02
  19  Prefactor     .11102E-09    2.6245       -.13906E-06** at limit **
  20  norm          .31067        .47268       -.77686E-07   -.75594E-02
  21  norm          4.1779        4.3630       -.10735E-07   -.21689E-02
  22  norm          4.7906        4.8957       -.41817E-07    .49316E-02
  23  Normalizat    .69899        .21244       -.52794E-05   -.92631E-04
  24  Prefactor     1.0481        .16873        .32061E-05   -.49948E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.9968e-07
  Prefactor  = 23.8924
  Prefactor  = 0.93484
  Prefactor  = 1.15963e-07
  Prefactor  = 1.68527
  Prefactor  = 0
  norm       = 0.0450262
  norm       = 9.04277e-08
  Prefactor  = 5.43898e-07
  Prefactor  = 1.00475e-07
  norm       = 5.55112e-11
  Prefactor  = 1.12022e-07
  Prefactor  = 11.3576
  Prefactor  = 21.6819
  Prefactor  = 28.4893
  Prefactor  = 5.36192
  norm       = 0
  norm       = 1.49235
  Prefactor  = 1.11022e-10
  norm       = 0.310675
  norm       = 4.17789
  norm       = 4.79056
  Normalizat = 0.698987
  Prefactor  = 1.04808
 **********
 **   18 **HESSE 
 **********

 FCN=   7158.511     FROM HESSE     STATUS=OK           455 CALLS     2493 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39968E-06    6.2110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.892        20.540        .20470E-03   -1.5610    
   3  Prefactor     .93484        2.5487        .43954E-03   -1.5689    
   4  Prefactor     .11596E-06    4.9039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6853        33.267        .10407E-02   -1.5682    
   6  Prefactor      .0000        1.5606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .45026E-01    .73166E-01    .51607E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .90428E-07    4.1189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .54390E-06    6.8634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10048E-06    5.8196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    18.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11202E-06    2.0804        .29152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.358        2.4701        .29707E-03   -1.5641    
  14  Prefactor     21.682        24.918        .21509E-03   -1.5615    
  15  Prefactor     28.489        6.9596        .18742E-03   -1.5601    
  16  Prefactor     5.3619        3.4375        .43394E-03   -1.5662    
  17  norm           .0000        1.0771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4924        .96691        .87761E-03   -1.5684    
  19  Prefactor     .11102E-09    2.6257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .31067        .54152        .16802E-02   -1.5697    
  21  norm          4.1779        4.3592        .49677E-03   -1.5667    
  22  norm          4.7906        4.9043        .46056E-03   -1.5664    
  23  Normalizat    .69899        .18686        .71152E-01   -1.0393    
  24  Prefactor     1.0481        .14480        .40057E-01   -.91143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54757e-07
Minuit parameter uncertainties:
  1  0.00315116
  2  20.5404
  3  2.54873
  4  0.0015083
  5  14.9752
  6  2.5778e-06
  7  0.0731661
  8  0.00122041
  9  0.00386428
  10  0.00152931
  11  5.88798e-05
  12  0.000965425
  13  2.47011
  14  24.9184
  15  6.95956
  16  3.4375
  17  5.49253e-06
  18  0.966912
  19  3.10969e-05
  20  0.541517
  21  4.35919
  22  4.90429
  23  0.187033
  24  0.144856
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  4.503e-02  7.317e-02  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.330e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  1.274e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  5.275e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
638    Prefactor:  1.048e+00  1.449e-01  0.000e+00  1.000e+01 ( 1.000e+00)
639        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
640        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
637   Normalization:  6.990e-01  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.30
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.38e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 4.42e-06 +/- 7.18e-06

TS (Fixed Index): 1.30
Ra Dec: 248.817 38.140
Photon Flux Upper Limit: 7.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170100/likelihoodResults_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7158.31822485
delta logL = 0.19281219879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7158.3160751
delta logL = 0.194961950467

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33804E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    1.5503       1.0000          .0000       5.0000    
     3 'Normalizat'    .70654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0443       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7158.316     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33683E-01    .52633E-01    .42568E-03** at limit **
   2  alpha         1.5485        .79687        .45729       -.38250E-04
   3  Normalizat    .70636        .17445        .70829E-01    .44851E-04
   4  Prefactor     1.0445        .14294        .40256E-01    .28496E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0336825
  alpha      = 1.54853
  Normalizat = 0.706365
  Prefactor  = 1.04446
 **********
 **   18 **HESSE 
 **********

 FCN=   7158.316     FROM HESSE     STATUS=OK            35 CALLS      247 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33683E-01    .50731E-01    .22717E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5485        1.0698        .27895E-01   -.39043    
   3  Normalizat    .70636        .20303        .31347E-03   -1.0364    
   4  Prefactor     1.0445        .16676        .21375E-03   -.91262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42768e-10
Minuit parameter uncertainties:
  1  0.0507313
  2  1.11221
  3  0.203242
  4  0.166842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170100': 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) = 7158.31607177
delta logL = 0.194965273882

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  3.368e-02  5.073e-02  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  1.549e+00  1.112e+00  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  1.274e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  5.275e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
638    Prefactor:  1.044e+00  1.668e-01  0.000e+00  1.000e+01 ( 1.000e+00)
639        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
640        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
637   Normalization:  7.064e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 248.817 38.140
Photon Index (Free Index): 1.55 +/- 1.11
Photon Flux (Free Index): 6.41e-09 +/- 1.08e-08
Energy Flux (Free Index): 6.38e-06 +/- 1.06e-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/170100/cmap_HighResolution_682560001_682819201_4FGL_J1635.2+3808_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-05', comment='SUCCESS', photon_flux='1.38e-08', energy_flux2='6.38e-06', photon_flux_error='2.24e-08', dlogl='1.95e-01', energy_flux='4.42e-06', photon_flux2='6.41e-09', job_status='DONE', time_completed='2022-09-16 19:51:15.224693', photon_index_error2='1.11', photon_index2='1.55', ts='1.30', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='7.21e-08', energy_flux_error2='1.06e-05', EG='0.70', time_epoch_completed='1663383075.22', return_code='0', job_id='170100', GAL2='1.04', EG2='0.71', return_code2='0', energy_flux_error='7.18e-06', photon_flux_error2='1.08e-08', ts2='1.69', photon_index='2.33' WHERE bin_id='1710' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:51:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 170100: <4FGL_J1635.2+3808_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1635.2+3808_daily_bin1710> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 19:35:31 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:38:04 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:38:04 2022
Terminated at Fri Sep 16 19:51:15 2022
Results reported at Fri Sep 16 19:51:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1710 248.817 38.1401 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1635.2+3808 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   713.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            944 sec.

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

