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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1747
RA = 248.817, Dec = 38.1401
tmin = 692150401, tmax = 692409601
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='807570', job_status='RUN', time_executed='2022-12-11 01:17:05.032671', time_epoch_executed='1670750225.03' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807570

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807570/ft1_4FGL_J1635.2+3808_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807570/ft1_4FGL_J1635.2+3808_daily_bin1747.fits outfile=/scratch/kocevski/807570/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1747.fits ra=248.817 dec=38.1401 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.75
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.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/807570/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/807570/ft1_filtered_4FGL_J1635.2+3808_daily_bin1747.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 643

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807570/ft1_filtered_4FGL_J1635.2+3808_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/807570/ltcube_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.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/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807570/ft1_filtered_4FGL_J1635.2+3808_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/807570/ltcube_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.fits outfile=/scratch/kocevski/807570/expmap_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.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/807570/ltcube_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.fits
.....................!
real 189.94
user 185.22
sys 4.36

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/807570/ft1_filtered_4FGL_J1635.2+3808_daily_bin1747.fits scfile=/scratch/kocevski/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.fits outfile=/scratch/kocevski/807570/cmap_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807570/ft1_filtered_4FGL_J1635.2+3808_daily_bin1747.fits scfile=/scratch/kocevski/807570/ft2_4FGL_J1635.2+3808_daily_bin1747.fits outfile=/scratch/kocevski/807570/cmap_HighResolution_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10795E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60885E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0899       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.6389       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.102       1.0000          .0000       .10000E+07
     6 'Prefactor '    .86049E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .44027       1.0000          .0000       .10000E+07
     8 'norm      '    .63339E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .32975E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .63651       1.0000          .0000       .10000E+07
    11 'norm      '    .93625E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4237       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.7559       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.223       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49574E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8932       1.0000          .0000       .10000E+07
    17 'norm      '    5.0295       1.0000          .0000       .10000E+07
    18 'norm      '    .20595E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.0905       1.0000          .0000       .10000E+07
    20 'norm      '    .31134E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .11575E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .35580E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .88375       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92754       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=   6956.110     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1586 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27200E-08    3.5835        .42860E-07** at limit **
   2  Prefactor     .51736E-07    6.2590       -.32056E-06** at limit **
   3  Prefactor     4.0628        3.5905        .10747E-06    .15558E-02
   4  Prefactor     2.6615        5.2550       -.40551E-07    .20354E-02
   5  Prefactor     19.970        1.5631       -.28407E-08   -.21777E-01
   6  Prefactor     .88318E-07    3.3559       -.25084E-07** at limit **
   7  norm          .44042        .14606       -.60365E-08    .28564E-02
   8  norm          .91593E-08    3.4419       -.47465E-07** at limit **
   9  Prefactor     .21594E-07    11.211       -.53204E-06** at limit **
  10  Prefactor     .64546        3.0159       -.88312E-07    .80199E-03
  11  norm          .19837E-05    23.521       -.65709E-06** at limit **
  12  Prefactor     1.4200        1.8140        .52604E-07    .57208E-02
  13  Prefactor     1.7608        1.8044        .85484E-07    .66052E-02
  14  Prefactor     14.580        1.4338        .15666E-07    .28388E-02
  15  Prefactor     .27756E-08    3.3708        .61930E-07** at limit **
  16  Prefactor     2.8921        2.3322        .62874E-07    .15884E-02
  17  norm          5.0290        1.8766        .11251E-07    .14455E-02
  18  norm           .0000        .20020        .33319E-07** at limit **
  19  Prefactor     3.0851        5.3585       -.46002E-09   -.52731E-04
  20  norm           .0000        .67512        .33969E-07** at limit **
  21  norm          .23148E-07    3.5421        .14155E-06** at limit **
  22  norm          .12782        3.6746       -.40177E-06** at limit **
  23  Normalizat    .88392        .20652       -.55546E-05    .52901E-04
  24  Prefactor     .92708        .16278        .55137E-05    .97514E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.72005e-09
  Prefactor  = 5.17364e-08
  Prefactor  = 4.06282
  Prefactor  = 2.66151
  Prefactor  = 19.9696
  Prefactor  = 8.83182e-08
  norm       = 0.440419
  norm       = 9.15934e-09
  Prefactor  = 2.15938e-08
  Prefactor  = 0.645458
  norm       = 1.98369e-06
  Prefactor  = 1.42004
  Prefactor  = 1.76077
  Prefactor  = 14.5799
  Prefactor  = 2.77556e-09
  Prefactor  = 2.8921
  norm       = 5.02901
  norm       = 0
  Prefactor  = 3.08509
  norm       = 0
  norm       = 2.31482e-08
  norm       = 0.12782
  Normalizat = 0.883922
  Prefactor  = 0.927078
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.110     FROM HESSE     STATUS=OK           455 CALLS     2041 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27200E-08    5.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .51736E-07    6.3975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0628        3.5873        .49827E-03   -1.5668    
   4  Prefactor     2.6615        6.2295        .62739E-03   -1.5675    
   5  Prefactor     19.970        18.243        .22311E-03   -1.5619    
   6  Prefactor     .88318E-07    4.5504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .44042        .14640        .38014E-03   -1.5695    
   8  norm          .91593E-08    4.7473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21594E-07    11.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .64546        3.0275        .66019E-03   -1.5692    
  11  norm          .19837E-05    25.092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4200        1.7155        .90590E-04   -1.5684    
  13  Prefactor     1.7608        1.7357        .79066E-03   -1.5681    
  14  Prefactor     14.580        16.772        .26533E-03   -1.5632    
  15  Prefactor     .27756E-08    3.3925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8921        2.3486        .59719E-03   -1.5674    
  17  norm          5.0290        1.8799        .44814E-03   -1.5663    
  18  norm           .0000        .19941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0851        5.4085        .57665E-03   -1.5673    
  20  norm           .0000        .33735        .17402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .23148E-07    3.8343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .12782        4.5445        .58122E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88392        .17664        .44694E-01   -.97027    
  24  Prefactor     .92708        .13843        .45355E-01   -.95201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9197e-07
Minuit parameter uncertainties:
  1  0.000242832
  2  0.00115079
  3  3.58726
  4  6.22951
  5  18.2426
  6  0.00126805
  7  0.146396
  8  0.000416795
  9  0.000984752
  10  2.79581
  11  0.0141103
  12  1.71547
  13  1.73573
  14  16.7725
  15  0.000194142
  16  2.34856
  17  1.87989
  18  1.59699e-07
  19  5.40851
  20  1.22334e-06
  21  0.000595939
  22  1.5243
  23  0.176753
  24  0.138485
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  4.404e-01  1.464e-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:  9.271e-01  1.385e-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:  8.839e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.77
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.35e-07 +/- 4.48e-08
Energy Flux (Fixed Index): 4.32e-05 +/- 1.44e-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) = 6956.05341135
delta logL = 0.056667338974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6956.05122431
delta logL = 0.0588543787371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42054       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4556       1.0000          .0000       5.0000    
     3 'Normalizat'    .87206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93392       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=   6956.051     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42054        1.8783        .36606E-03    .44736E-02
   2  alpha         2.4557        3.7190        .23558        .35110E-04
   3  Normalizat    .87213        .11354        .44544E-01    .18819E-04
   4  Prefactor     .93385        .82752E-01    .45436E-01    .73493E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.420542
  alpha      = 2.45566
  Normalizat = 0.872126
  Prefactor  = 0.933847
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.051     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42054        .15029        .16250E-05   -1.5695    
   2  alpha         2.4557        .37607        .98629E-02   -.17737E-01
   3  Normalizat    .87213        .19952        .26805E-03   -.97447    
   4  Prefactor     .93385        .16292        .21428E-03   -.94968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48808e-10
Minuit parameter uncertainties:
  1  0.150288
  2  0.377504
  3  0.199691
  4  0.16301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807570': 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) = 6956.05122416
delta logL = 0.0588545306737

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  4.205e-01  1.503e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.456e+00  3.775e-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:  9.338e-01  1.630e-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:  8.721e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.26
Ra Dec: 248.817 38.140
Photon Index (Free Index): 2.46 +/- 0.38
Photon Flux (Free Index): 1.44e-07 +/- 5.20e-08
Energy Flux (Free Index): 4.15e-05 +/- 1.39e-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/807570/cmap_HighResolution_692150401_692409601_4FGL_J1635.2+3808_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='4.15e-05', photon_flux_error='4.48e-08', dlogl='5.89e-02', energy_flux='4.32e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2022-12-11 01:26:43.798080', photon_index_error2='0.38', photon_index2='2.46', ts='20.77', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='0.88', time_epoch_completed='1670750803.8', return_code='0', job_id='807570', GAL2='0.93', EG2='0.87', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='5.20e-08', ts2='21.26', photon_index='2.33' WHERE bin_id='1747' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:26:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 807570: <4FGL_J1635.2+3808_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1635.2+3808_daily_bin1747> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sun Dec 11 01:15:15 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:15:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:15:16 2022
Terminated at Sun Dec 11 01:26:44 2022
Results reported at Sun Dec 11 01:26:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1747 248.817 38.1401 692150401 692409601 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 :                                   581.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             295.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            689 sec.

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

