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


Performing analysis on: 4FGL_J1635.3+4258_daily_bin1750
RA = 248.846, Dec = 42.9756
tmin = 692928001, tmax = 693187201
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='17586', job_status='RUN', time_executed='2022-12-20 01:13:40.695726', time_epoch_executed='1671527620.7' WHERE source_name='4FGL J1635.3+4258' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17586

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17586/ft1_4FGL_J1635.3+4258_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17586/ft1_4FGL_J1635.3+4258_daily_bin1750.fits outfile=/scratch/kocevski/17586/ft1_filteredMKT_4FGL_J1635.3+4258_daily_bin1750.fits ra=248.846 dec=42.9756 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.23
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.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/17586/ft1_filteredMKT_4FGL_J1635.3+4258_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/17586/ltcube_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.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/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits
.....................!
real 11.36
user 10.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/17586/ltcube_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.fits outfile=/scratch/kocevski/17586/expmap_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.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/17586/ltcube_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.fits
.....................!
real 190.49
user 185.34
sys 4.78

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

Setting source of interest to:
4FGL J1635.3+4258 @ 248.846 42.9756

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits scfile=/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits outfile=/scratch/kocevski/17586/cmap_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.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.846 yref=42.9756 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits scfile=/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits outfile=/scratch/kocevski/17586/cmap_HighResolution_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.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.846 yref=42.9756 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17586/Model_4FGL_J1635.3+4258_daily_bin1750.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/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits.....................!
real 45.99
user 44.64
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits', '/scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits', expMap='/scratch/kocevski/17586/expmap_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.fits', expCube='/scratch/kocevski/17586/ltcube_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17586/Model_4FGL_J1635.3+4258_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1635.3+4258'

4FGL J1635.3+4258
   Spectrum: LogParabola
311         norm:  1.168e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
312        alpha:  1.825e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  4.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  1.661e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17586/ft1_filtered_4FGL_J1635.3+4258_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/17586/ft2_4FGL_J1635.3+4258_daily_bin1750.fits
Exposure map: /scratch/kocevski/17586/expmap_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.fits
Exposure cube: /scratch/kocevski/17586/ltcube_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17586/Model_4FGL_J1635.3+4258_daily_bin1750.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) = 5632.79286765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0471       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23537E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9074       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13588E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .62069E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.0100       1.0000          .0000       .10000E+07
     7 'Prefactor '    .38592E-03   1.0000          .0000       .10000E+07
     8 'norm      '    21.561       1.0000          .0000       .10000E+07
     9 'norm      '    .30067       1.0000          .0000       .10000E+07
    10 'norm      '    .21535E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28687E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.5267       1.0000          .0000       .10000E+07
    13 'norm      '    6.9606       1.0000          .0000       .10000E+07
    14 'Prefactor '    .63135E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.1080       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.1463       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24258E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.7517       1.0000          .0000       .10000E+07
    19 'norm      '    2.3079       1.0000          .0000       .10000E+07
    20 'norm      '    .13184E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .56426E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .11052E-06   1.0000          .0000       .10000E+07
    23 'norm      '    .73608E-07   1.0000          .0000       .10000E+07
    24 'norm      '    13.856       1.0000          .0000       .10000E+07
    25 'Prefactor '    .24038E-04   1.0000          .0000       .10000E+07
    26 'norm      '    17.037       1.0000          .0000       .10000E+07
    27 'Normalizat'    .92028       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .86419       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5632.750     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     2030 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9028        54.678       -.15404E-04    .59428E-03
   2  Prefactor     .14754E-05    43.651       -.26561E-05** at limit **
   3  Prefactor     2.9108        3.2082        .22322E-06   -.58268E-03
   4  Prefactor     .61062E-09    2.8163        .46740E-06** at limit **
   5  Prefactor     .30465E-06    4.2840        .10652E-05** at limit **
   6  Prefactor     3.9936        4.4166        .41188E-07    .17213E-02
   7  Prefactor     .38649E-04    12.041        .68172E-05** at limit **
   8  norm          21.614        1.5465       -.89780E-07   -.12601E-01
   9  norm          .30068        .14723        .62421E-08    .35157E-01
  10  norm          .57482E-06    4.8236       -.21351E-05** at limit **
  11  Prefactor     .18319E-08    44.516        .22013E-05** at limit **
  12  Prefactor     2.5049        3.9895       -.25590E-06    .21805E-02
  13  norm          6.0803        111.78       -.31684E-04    .13821E-01
  14  Prefactor     .55511E-10    2.0984        .52691E-07** at limit **
  15  Prefactor     3.1165        1.5923        .99492E-06    .11400E-01
  16  Prefactor     2.1481        3.6033        .79787E-06    .24137E-02
  17  Prefactor     .99920E-09    7.9547        .16049E-05** at limit **
  18  Prefactor     5.7478        10.319       -.26560E-05   -.42094E-02
  19  norm          2.3070        1.7617       -.54155E-06   -.48931E-02
  20  norm           .0000        .41762       -.23681E-06** at limit **
  21  Prefactor     .66613E-09    3.1843       -.78959E-06** at limit **
  22  norm           .0000        .38993        .17547E-06** at limit **
  23  norm          .11102E-09    3.7191       -.16334E-05** at limit **
  24  norm          13.852        2.8732       -.51186E-06   -.88140E-02
  25  Prefactor     .73275E-07    10.851        .69670E-05** at limit **
  26  norm          17.039        1.2380       -.22547E-06   -.32743E-01
  27  Normalizat    .92056        .22528       -.30801E-05    .30245E-03
  28  Prefactor     .86437        .19518        .66153E-05    .36821E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.90281
  Prefactor  = 1.47538e-06
  Prefactor  = 2.91077
  Prefactor  = 6.10623e-10
  Prefactor  = 3.04645e-07
  Prefactor  = 3.99363
  Prefactor  = 3.8649e-05
  norm       = 21.6136
  norm       = 0.300675
  norm       = 5.74818e-07
  Prefactor  = 1.83187e-09
  Prefactor  = 2.50487
  norm       = 6.08035
  Prefactor  = 5.55112e-11
  Prefactor  = 3.11652
  Prefactor  = 2.14808
  Prefactor  = 9.99201e-10
  Prefactor  = 5.74784
  norm       = 2.30695
  norm       = 0
  Prefactor  = 6.66134e-10
  norm       = 0
  norm       = 1.11022e-10
  norm       = 13.8516
  Prefactor  = 7.32747e-08
  norm       = 17.0394
  Normalizat = 0.920563
  Prefactor  = 0.864366
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.750     FROM HESSE     STATUS=OK           591 CALLS     2621 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9028        56.444        .72232E-03   -1.5680    
   2  Prefactor     .14754E-05    45.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9108        3.2288        .59563E-03   -1.5674    
   4  Prefactor     .61062E-09    2.8172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30465E-06    8.6500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.9936        4.4361        .50337E-03   -1.5668    
   7  Prefactor     .38649E-04    2.9759        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          21.614        16.286        .21542E-03   -1.5615    
   9  norm          .30068        .15790        .42285E-03   -1.5697    
  10  norm          .57482E-06    8.5177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .18319E-08    12.222        .12936E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5049        4.0356        .64235E-03   -1.5676    
  13  norm          6.0803        132.35        .38002E-03   -1.5659    
  14  Prefactor     .55511E-10    2.0739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1165        1.6303        .57492E-03   -1.5673    
  16  Prefactor     2.1481        3.6610        .70312E-03   -1.5679    
  17  Prefactor     .99920E-09    7.9064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.7478        10.398        .41856E-03   -1.5660    
  19  norm          2.3070        1.7631        .67513E-03   -1.5678    
  20  norm           .0000        .41333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66613E-09    3.1822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .38414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .11102E-09    3.7235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          13.852        2.8754        .26882E-03   -1.5634    
  25  Prefactor     .73275E-07    10.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          17.039        8.3344        .24238E-03   -1.5625    
  27  Normalizat    .92056        .19505        .45160E-01   -.95741    
  28  Prefactor     .86437        .16694        .44547E-01   -.97398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55865e-07
Minuit parameter uncertainties:
  1  20.7272
  2  0.0164671
  3  3.22883
  4  8.37477e-05
  5  0.00324664
  6  4.43611
  7  0.0214492
  8  16.2863
  9  0.157898
  10  0.00442538
  11  0.000297864
  12  4.03556
  13  56.7367
  14  1.81335e-05
  15  1.6303
  16  3.66098
  17  0.000176057
  18  10.3977
  19  1.76308
  20  6.47387e-06
  21  9.2007e-05
  22  8.6453e-07
  23  3.91894e-05
  24  2.87535
  25  0.00178515
  26  8.33442
  27  0.195201
  28  0.16704
Done.

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

Extracting fit parameters...

4FGL J1635.3+4258
   Spectrum: LogParabola
311         norm:  5.748e-07  4.425e-03  0.000e+00  1.000e+06 ( 1.000e-13)
312        alpha:  1.825e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  4.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  1.661e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  8.644e-01  1.670e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  9.206e-01  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 248.846 42.976
Photon Flux Upper Limit: 2.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17586/likelihoodResults_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.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) = 5632.80651815
delta logL = -0.0567160551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5632.40913931
delta logL = 0.340662785897

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5632.409     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36471        31.745        .61220E-04    .17809E-01
   2  alpha         4.7567        4.8253        .65059E-01    .13033E-04
   3  Normalizat    .88433        .16226        .25993E-03    .25114E-03
   4  Prefactor     .87886        .13847        .23426E-03    .23615E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.364713
  alpha      = 4.75668
  Normalizat = 0.884332
  Prefactor  = 0.878864
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.409     FROM HESSE     STATUS=OK            27 CALLS      297 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36471        1.4190        .24488E-05   -1.5696    
   2  alpha         4.7567        4.4201        .26024E-02    1.1259    
   3  Normalizat    .88433        .22250        .10397E-04   -.97013    
   4  Prefactor     .87886        .19629        .46853E-04   -.96884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74384e-10
Minuit parameter uncertainties:
  1  1.41896
  2  1.94922
  3  0.222732
  4  0.196451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17586': 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) = 5632.40913863
delta logL = 0.340663460522

Extracting fit parameters...

4FGL J1635.3+4258
   Spectrum: LogParabola
311         norm:  3.647e-01  1.419e+00  0.000e+00  1.000e+06 ( 1.000e-13)
312        alpha:  4.757e+00  1.949e+00  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  4.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  1.661e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  8.789e-01  1.965e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  8.843e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 248.846 42.976

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/17586/cmap_HighResolution_692928001_693187201_4FGL_J1635.3+4258_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', job_status='DONE', photon_flux_upper_limit='2.15e-08', time_completed='2022-12-20 01:24:46.874148', job_id='17586', GAL2='0.88', fit_tolerance='1e-08', EG2='0.88', EG='0.92', time_epoch_completed='1671528286.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.41e-01', ts2='0.70', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1750' AND source_name='4FGL J1635.3+4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:24:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 17586: <4FGL_J1635.3+4258_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1635.3+4258_daily_bin1750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 01:10:28 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:10:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:10:29 2022
Terminated at Tue Dec 20 01:24:47 2022
Results reported at Tue Dec 20 01:24:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.3+4258_daily_bin1750 248.846 42.9756 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1635.3+4258 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   668.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            859 sec.

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

