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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1769
RA = 248.817, Dec = 38.1401
tmin = 697852801, tmax = 698112001
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='438520', job_status='RUN', time_executed='2023-02-15 01:04:15.826171', time_epoch_executed='1676451855.83' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438520

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438520/ft1_4FGL_J1635.2+3808_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438520/ft1_4FGL_J1635.2+3808_daily_bin1769.fits outfile=/scratch/kocevski/438520/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1769.fits ra=248.817 dec=38.1401 rad=12.0 tmin=697852801.0 tmax=698112001.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.35
user 4.13
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.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/438520/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 642

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/438520/ltcube_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.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/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits
.....................!
real 11.73
user 11.42
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/438520/ltcube_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.fits outfile=/scratch/kocevski/438520/expmap_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.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/438520/ltcube_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.fits
.....................!
real 189.40
user 185.24
sys 3.85

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/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.fits scfile=/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits outfile=/scratch/kocevski/438520/cmap_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.fits scfile=/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits outfile=/scratch/kocevski/438520/cmap_HighResolution_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.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.53
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.fits', '/scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits', expMap='/scratch/kocevski/438520/expmap_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.fits', expCube='/scratch/kocevski/438520/ltcube_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/438520/Model_4FGL_J1635.2+3808_daily_bin1769.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/438520/ft1_filtered_4FGL_J1635.2+3808_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/438520/ft2_4FGL_J1635.2+3808_daily_bin1769.fits
Exposure map: /scratch/kocevski/438520/expmap_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.fits
Exposure cube: /scratch/kocevski/438520/ltcube_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/438520/Model_4FGL_J1635.2+3808_daily_bin1769.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6872.03585557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66988E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25936E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8075       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27657E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.344       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90927E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .36524       1.0000          .0000       .10000E+07
     8 'norm      '    .12023       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5362       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6733       1.0000          .0000       .10000E+07
    11 'norm      '    .11583E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18818E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1845       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15138E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .58465E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .75107E-07   1.0000          .0000       .10000E+07
    17 'norm      '    7.0451       1.0000          .0000       .10000E+07
    18 'norm      '    .46796E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.0660       1.0000          .0000       .10000E+07
    20 'norm      '    .60507E-08   1.0000          .0000       .10000E+07
    21 'norm      '    12.963       1.0000          .0000       .10000E+07
    22 'norm      '    9.1725       1.0000          .0000       .10000E+07
    23 'Normalizat'    .88541       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0470       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6872.018     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     2618 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .94369E-09    6.8359       -.15255E-06** at limit **
   2  Prefactor     .21094E-08    11.330        .22824E-06** at limit **
   3  Prefactor     1.8057        2.0276       -.32153E-08    .68293E-02
   4  Prefactor      .0000        4.4665       -.21827E-07** at limit **
   5  Prefactor     38.534        26.830       -.53492E-07   -.10029E-02
   6  Prefactor      .0000        .70133       -.81727E-09** at limit **
   7  norm          .36058        .15794       -.26537E-08   -.26439E-01
   8  norm          .48517E-07    34.949       -.81599E-06** at limit **
   9  Prefactor     2.8362        36.813        .19352E-06    .71859E-03
  10  Prefactor     4.7019        4.5069        .10912E-07    .18342E-02
  11  norm          .13878E-08    12.534       -.18490E-06** at limit **
  12  Prefactor     .55511E-10    .61423        .19324E-07** at limit **
  13  Prefactor     1.1842        .99050        .17885E-07    .18960E-01
  14  Prefactor     .77716E-09    6.4772        .13745E-06** at limit **
  15  Prefactor      .0000        3.4715        .88511E-09** at limit **
  16  Prefactor      .0000        1.2957        .15894E-08** at limit **
  17  norm          7.0456        2.2070       -.10377E-08   -.31444E-02
  18  norm           .0000        .58913        .12866E-07** at limit **
  19  Prefactor     1.0731        6.3726       -.19162E-08    .37639E-02
  20  norm           .0000        .22247        .41285E-08** at limit **
  21  norm          12.970        8.2941        .29607E-07    .20073E-02
  22  norm          9.2020        7.1552       -.30198E-07   -.13549E-02
  23  Normalizat    .88248        .19681       -.28333E-06   -.59761E-05
  24  Prefactor     1.0482        .15212        .37613E-06    .48459E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.4369e-10
  Prefactor  = 2.10942e-09
  Prefactor  = 1.80565
  Prefactor  = 0
  Prefactor  = 38.5345
  Prefactor  = 0
  norm       = 0.360576
  norm       = 4.85167e-08
  Prefactor  = 2.83624
  Prefactor  = 4.70185
  norm       = 1.38778e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 1.18419
  Prefactor  = 7.77156e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.04561
  norm       = 0
  Prefactor  = 1.07307
  norm       = 0
  norm       = 12.9698
  norm       = 9.20204
  Normalizat = 0.882484
  Prefactor  = 1.04817
 **********
 **   18 **HESSE 
 **********

 FCN=   6872.018     FROM HESSE     STATUS=OK           397 CALLS     3015 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .94369E-09    6.9499        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .21094E-08    11.580        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8057        2.0337        .60746E-04   -1.5681    
   4  Prefactor      .0000        4.4647        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.534        26.907        .64603E-05   -1.5584    
   6  Prefactor      .0000        .70174        .67794E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36058        .15600        .17862E-05   -1.5696    
   8  norm          .48517E-07    40.342        .45898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8362        36.810        .34411E-04   -1.5674    
  10  Prefactor     4.7019        4.5056        .16188E-04   -1.5665    
  11  norm          .13878E-08    12.693        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    1.8271        .10286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1842        .84732        .61292E-05   -1.5730    
  14  Prefactor     .77716E-09    6.5678        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.4822        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.3054        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.0456        2.2101        .66327E-05   -1.5655    
  18  norm           .0000        .60628        .12424E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0731        6.7337        .40280E-04   -1.5687    
  20  norm           .0000        .22488        .38182E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.970        8.3049        .11118E-04   -1.5636    
  22  norm          9.2020        7.1518        .13227E-04   -1.5647    
  23  Normalizat    .88248        .23186        .28068E-03   -.97078    
  24  Prefactor     1.0482        .18041        .21408E-03   -.91140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74805e-09
Minuit parameter uncertainties:
  1  0.00016213
  2  0.000312492
  3  2.03375
  4  6.74937e-06
  5  26.9071
  6  7.30127e-10
  7  0.156004
  8  0.00279875
  9  20.4355
  10  4.50565
  11  0.000263329
  12  2.3721e-05
  13  0.847319
  14  0.000141081
  15  7.82232e-07
  16  1.50677e-06
  17  2.21012
  18  4.22837e-06
  19  5.37615
  20  8.0377e-07
  21  8.30487
  22  7.15179
  23  0.232117
  24  0.180517
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  3.606e-01  1.560e-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:  1.048e+00  1.805e-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.825e-01  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.16
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 4.77e-08
Energy Flux (Fixed Index): 3.54e-05 +/- 1.53e-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) = 6871.94506407
delta logL = 0.0728921574628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6871.94332895
delta logL = 0.0746272748784

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34625       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4913       1.0000          .0000       5.0000    
     3 'Normalizat'    .86435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0582       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=   6871.943     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34638        1.8707        .38068E-03    .53904E-02
   2  alpha         2.4913        3.7092        .27254        .37037E-04
   3  Normalizat    .86464        .10184        .64064E-01    .19562E-04
   4  Prefactor     1.0579        .71745E-01    .39452E-01    .26088E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.346384
  alpha      = 2.49133
  Normalizat = 0.864645
  Prefactor  = 1.05789
 **********
 **   18 **HESSE 
 **********

 FCN=   6871.943     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34638        .13753        .16888E-05   -1.5696    
   2  alpha         2.4913        .42410        .11116E-01   -.34691E-02
   3  Normalizat    .86464        .22070        .28337E-03   -.97714    
   4  Prefactor     1.0579        .17896        .21318E-03   -.90824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95673e-13
Minuit parameter uncertainties:
  1  0.137531
  2  0.426158
  3  0.220928
  4  0.179058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438520': 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) = 6871.94332658
delta logL = 0.0746296459565

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  3.464e-01  1.375e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.491e+00  4.262e-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:  1.058e+00  1.791e-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.646e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.42
Ra Dec: 248.817 38.140
Photon Index (Free Index): 2.49 +/- 0.43
Photon Flux (Free Index): 1.23e-07 +/- 5.36e-08
Energy Flux (Free Index): 3.43e-05 +/- 1.28e-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/438520/cmap_HighResolution_697852801_698112001_4FGL_J1635.2+3808_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.43e-05', photon_flux_error='4.77e-08', dlogl='7.46e-02', energy_flux='3.54e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2023-02-15 01:15:26.128971', photon_index_error2='0.43', photon_index2='2.49', ts='18.16', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='0.88', time_epoch_completed='1676452526.13', return_code='0', job_id='438520', GAL2='1.06', EG2='0.86', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.36e-08', ts2='18.42', photon_index='2.33' WHERE bin_id='1769' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:15:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 438520: <4FGL_J1635.2+3808_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1635.2+3808_daily_bin1769> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Feb 15 01:00:32 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:00:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:00:33 2023
Terminated at Wed Feb 15 01:15:26 2023
Results reported at Wed Feb 15 01:15:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1769 248.817 38.1401 697852801 698112001 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 :                                   670.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             266.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

