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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1753
RA = 248.817, Dec = 38.1401
tmin = 693705601, tmax = 693964801
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='458926', job_status='RUN', time_executed='2022-12-29 01:13:15.146988', time_epoch_executed='1672305195.15' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/458926

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/458926/ft1_4FGL_J1635.2+3808_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/458926/ft1_4FGL_J1635.2+3808_daily_bin1753.fits outfile=/scratch/kocevski/458926/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1753.fits ra=248.817 dec=38.1401 rad=12.0 tmin=693705601.0 tmax=693964801.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.61
user 4.38
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.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/458926/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.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.15

Number of photons that the gtmktime cut: 614

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/458926/ltcube_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.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/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits
.....................!
real 13.88
user 13.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/458926/ltcube_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.fits outfile=/scratch/kocevski/458926/expmap_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.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/458926/ltcube_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.fits
.....................!
real 191.72
user 186.04
sys 5.29

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/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits scfile=/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits outfile=/scratch/kocevski/458926/cmap_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits scfile=/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits outfile=/scratch/kocevski/458926/cmap_HighResolution_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.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.58
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/458926/Model_4FGL_J1635.2+3808_daily_bin1753.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/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits.....................!
real 51.96
user 50.62
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits', '/scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits', expMap='/scratch/kocevski/458926/expmap_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.fits', expCube='/scratch/kocevski/458926/ltcube_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/458926/Model_4FGL_J1635.2+3808_daily_bin1753.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/458926/ft1_filtered_4FGL_J1635.2+3808_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/458926/ft2_4FGL_J1635.2+3808_daily_bin1753.fits
Exposure map: /scratch/kocevski/458926/expmap_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.fits
Exposure cube: /scratch/kocevski/458926/ltcube_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/458926/Model_4FGL_J1635.2+3808_daily_bin1753.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) = 6515.44954916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11492E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.9101       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15377E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.5620       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55820       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34445E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .65049       1.0000          .0000       .10000E+07
     8 'norm      '    .27286E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .43666E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.1569       1.0000          .0000       .10000E+07
    11 'norm      '    .18338E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31974E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8077       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3637       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.7732       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47593       1.0000          .0000       .10000E+07
    17 'norm      '    3.1993       1.0000          .0000       .10000E+07
    18 'norm      '    .33630       1.0000          .0000       .10000E+07
    19 'Prefactor '    .79308E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .36411       1.0000          .0000       .10000E+07
    21 'norm      '    7.5031       1.0000          .0000       .10000E+07
    22 'norm      '    18.094       1.0000          .0000       .10000E+07
    23 'Normalizat'    .75411       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88309       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=   6515.414     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     2008 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19429E-08    7.3159        .89050E-07** at limit **
   2  Prefactor     9.8870        1.9234        .22995E-07   -.39145E-01
   3  Prefactor      .0000        1.0117        .25657E-07** at limit **
   4  Prefactor     2.6227        6.7595        .14966E-06    .12041E-02
   5  Prefactor     .36487        311.53        .16420E-05    .15551E-02
   6  Prefactor      .0000        3.2971        .19570E-07** at limit **
   7  norm          .65052        .15852        .37308E-08    .11571E-01
   8  norm          .55511E-10    4.0909        .28895E-07** at limit **
   9  Prefactor     .10769E-07    4.6206       -.19452E-06** at limit **
  10  Prefactor     6.1255        4.3048        .16090E-07   -.43185E-04
  11  norm          .65503E-08    10.807       -.95566E-07** at limit **
  12  Prefactor      .0000        .58233        .14501E-07** at limit **
  13  Prefactor     2.8071        1.1825        .23946E-07   -.82222E-03
  14  Prefactor     4.3124        3.2799        .64681E-07   -.46931E-01
  15  Prefactor     4.7826        3.5387        .44830E-07    .62282E-03
  16  Prefactor     .48260        2.1989       -.64994E-07   -.37239E-03
  17  norm          3.1986        1.7361        .15123E-07    .18789E-03
  18  norm          .33644        .57747       -.39626E-07   -.12398E-02
  19  Prefactor     .11824E-07    5.0966       -.63559E-07** at limit **
  20  norm          .36402        .49122       -.86945E-08   -.75544E-03
  21  norm          7.5084        4.2223       -.46478E-07   -.33446E-02
  22  norm          18.098        5.8183       -.40241E-07   -.14826E-02
  23  Normalizat    .75446        .20228       -.44089E-06    .26741E-04
  24  Prefactor     .88294        .16340       -.14779E-06    .24903E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94289e-09
  Prefactor  = 9.88696
  Prefactor  = 0
  Prefactor  = 2.62266
  Prefactor  = 0.364875
  Prefactor  = 0
  norm       = 0.650522
  norm       = 5.55112e-11
  Prefactor  = 1.07692e-08
  Prefactor  = 6.12554
  norm       = 6.55032e-09
  Prefactor  = 0
  Prefactor  = 2.80709
  Prefactor  = 4.31235
  Prefactor  = 4.78259
  Prefactor  = 0.482597
  norm       = 3.1986
  norm       = 0.336435
  Prefactor  = 1.18239e-08
  norm       = 0.364016
  norm       = 7.50839
  norm       = 18.0976
  Normalizat = 0.754456
  Prefactor  = 0.882939
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.414     FROM HESSE     STATUS=OK           455 CALLS     2463 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19429E-08    7.3346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.8870        16.558        .31807E-03   -1.5645    
   3  Prefactor      .0000        1.0158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6227        6.0107        .63753E-03   -1.5676    
   5  Prefactor     .36487        22.444        .97768E-02   -1.5696    
   6  Prefactor      .0000        3.2255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .65052        .15814        .33184E-03   -1.5692    
   8  norm          .55511E-10    4.1022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10769E-07    4.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.1255        4.3216        .40436E-03   -1.5658    
  11  norm          .65503E-08    10.861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .58320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8071        1.1901        .60683E-03   -1.5674    
  14  Prefactor     4.3124        16.586        .48193E-03   -1.5666    
  15  Prefactor     4.7826        3.5484        .46028E-03   -1.5664    
  16  Prefactor     .48260        2.2386        .81168E-03   -1.5694    
  17  norm          3.1986        1.7389        .56621E-03   -1.5672    
  18  norm          .33644        .58106        .97271E-04   -1.5696    
  19  Prefactor     .11824E-07    5.1480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .36402        .56041        .15130E-02   -1.5696    
  21  norm          7.5084        8.8407        .36589E-03   -1.5653    
  22  norm          18.098        8.0384        .23518E-03   -1.5623    
  23  Normalizat    .75446        .17250        .43008E-01   -1.0178    
  24  Prefactor     .88294        .13796        .44789E-01   -.96740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96098e-07
Minuit parameter uncertainties:
  1  0.000239512
  2  16.5576
  3  8.88906e-07
  4  6.01074
  5  5.72339
  6  1.87913e-05
  7  0.158144
  8  2.94022e-05
  9  0.000449488
  10  4.32158
  11  0.000534329
  12  1.57413e-07
  13  1.19011
  14  16.5864
  15  3.54843
  16  2.07878
  17  1.73891
  18  0.581063
  19  0.000492901
  20  0.560407
  21  8.84068
  22  8.0384
  23  0.172621
  24  0.13801
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  6.505e-01  1.581e-01  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:  8.829e-01  1.380e-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.545e-01  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 53.36
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.99e-07 +/- 4.84e-08
Energy Flux (Fixed Index): 6.38e-05 +/- 1.55e-05

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) = 6515.19256786
delta logL = 0.22157772834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6515.17100208
delta logL = 0.243143513589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60540       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5296       1.0000          .0000       5.0000    
     3 'Normalizat'    .72421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89991       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=   6515.171     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60538        1.9078        .30905E-03    .13950E-02
   2  alpha         2.5296        3.7252        .17000        .41433E-04
   3  Normalizat    .72429        .16674        .61734E-01    .23428E-04
   4  Prefactor     .89989        .10749        .45004E-01    .62386E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.605381
  alpha      = 2.52959
  Normalizat = 0.724293
  Prefactor  = 0.899889
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.171     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60538        .16268        .13672E-05   -1.5692    
   2  alpha         2.5296        .29379        .73190E-02    .11835E-01
   3  Normalizat    .72429        .19978        .27308E-03   -1.0294    
   4  Prefactor     .89989        .16309        .20497E-03   -.96145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82717e-10
Minuit parameter uncertainties:
  1  0.162676
  2  0.294474
  3  0.199979
  4  0.163174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/458926': 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) = 6515.17100184
delta logL = 0.243143748414

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  6.054e-01  1.627e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.530e+00  2.945e-01  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:  8.999e-01  1.632e-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.243e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 54.43
Ra Dec: 248.817 38.140
Photon Index (Free Index): 2.53 +/- 0.29
Photon Flux (Free Index): 2.23e-07 +/- 6.01e-08
Energy Flux (Free Index): 6.05e-05 +/- 1.46e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/458926/cmap_HighResolution_693705601_693964801_4FGL_J1635.2+3808_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.99e-07', energy_flux2='6.05e-05', photon_flux_error='4.84e-08', dlogl='2.43e-01', energy_flux='6.38e-05', photon_flux2='2.23e-07', job_status='DONE', time_completed='2022-12-29 01:23:43.974053', photon_index_error2='0.29', photon_index2='2.53', ts='53.36', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='0.75', time_epoch_completed='1672305823.97', return_code='0', job_id='458926', GAL2='0.90', EG2='0.72', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='6.01e-08', ts2='54.43', photon_index='2.33' WHERE bin_id='1753' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:23:44 PST 2022


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

Job <4FGL_J1635.2+3808_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:10:26 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:11:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:11:55 2022
Terminated at Thu Dec 29 01:23:44 2022
Results reported at Thu Dec 29 01:23:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1753 248.817 38.1401 693705601 693964801 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 :                                   631.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            798 sec.

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

