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


Performing analysis on: 4FGL_J1635.6+3628_daily_bin1714
RA = 248.923, Dec = 36.4795
tmin = 683596801, tmax = 683856001
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='170143', job_status='RUN', time_executed='2022-09-16 19:40:59.567678', time_epoch_executed='1663382459.57' WHERE source_name='4FGL J1635.6+3628' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170143

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170143/ft1_4FGL_J1635.6+3628_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170143/ft1_4FGL_J1635.6+3628_daily_bin1714.fits outfile=/scratch/kocevski/170143/ft1_filteredMKT_4FGL_J1635.6+3628_daily_bin1714.fits ra=248.923 dec=36.4795 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.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/170143/ft1_filteredMKT_4FGL_J1635.6+3628_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 646

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/170143/ltcube_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.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/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits
.....................!
real 14.19
user 13.65
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/170143/ltcube_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.fits outfile=/scratch/kocevski/170143/expmap_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.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/170143/ltcube_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.fits
.....................!
real 192.93
user 185.63
sys 5.08

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.6+3628 @ 248.923 36.4795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits scfile=/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits outfile=/scratch/kocevski/170143/cmap_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.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.923 yref=36.4795 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.72
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits scfile=/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits outfile=/scratch/kocevski/170143/cmap_HighResolution_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.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.923 yref=36.4795 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170143/Model_4FGL_J1635.6+3628_daily_bin1714.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/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits.....................!
real 54.47
user 52.25
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits', '/scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits', expMap='/scratch/kocevski/170143/expmap_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.fits', expCube='/scratch/kocevski/170143/ltcube_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170143/Model_4FGL_J1635.6+3628_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1635.6+3628'

4FGL J1635.6+3628
   Spectrum: PowerLaw
282    Prefactor:  4.539e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.666e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  9.602e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/170143/ft1_filtered_4FGL_J1635.6+3628_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/170143/ft2_4FGL_J1635.6+3628_daily_bin1714.fits
Exposure map: /scratch/kocevski/170143/expmap_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.fits
Exposure cube: /scratch/kocevski/170143/ltcube_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170143/Model_4FGL_J1635.6+3628_daily_bin1714.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) = 6881.69750175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89352E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40083E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.9012       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15375E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11435E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .34383       1.0000          .0000       .10000E+07
     8 'norm      '    .77011E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.5265       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40579E-07   1.0000          .0000       .10000E+07
    11 'norm      '    20.996       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3383       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2064       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3973       1.0000          .0000       .10000E+07
    15 'Prefactor '    .84101       1.0000          .0000       .10000E+07
    16 'norm      '    2.0298       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39120E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.3246       1.0000          .0000       .10000E+07
    19 'norm      '    .62726       1.0000          .0000       .10000E+07
    20 'norm      '    4.9334       1.0000          .0000       .10000E+07
    21 'norm      '    4.6505       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80565       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6880.820     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1470 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83267E-09    30.488       -.29467E-06** at limit **
   2  Prefactor     .11102E-09    8.5641       -.16506E-06** at limit **
   3  Prefactor     4.8990        3.6810       -.36104E-06    .56101E-03
   4  Prefactor      .0000        2.0947       -.31660E-07** at limit **
   5  Prefactor      .0000        6.4071        .20591E-06** at limit **
   6  Prefactor      .0000        2.8886        .20208E-06** at limit **
   7  norm          .34395        .13719       -.28981E-09   -.32412E-02
   8  norm           .0000        4.5076        .32904E-06** at limit **
   9  Prefactor     8.4550        2.9870        .81650E-07    .32216E-01
  10  Prefactor      .0000        1.1406       -.98992E-07** at limit **
  11  norm          21.492        32.635        .84787E-06   -.41904E-02
  12  Prefactor     1.3359        1.7298       -.27477E-06   -.20023E-03
  13  Prefactor     2.2080        1.6980        .15885E-06   -.21896E-03
  14  Prefactor     4.3957        1.1743        .11447E-07   -.26378E-02
  15  Prefactor     .81419        2.4252        .24388E-06   -.14601E-03
  16  norm          2.0300        1.1344       -.23684E-06   -.14489E-02
  17  Prefactor     .66613E-09    12.590       -.54745E-06** at limit **
  18  Prefactor     2.3423        5.8662       -.53011E-06   -.11713E-03
  19  norm          .62720        .54836       -.91068E-08    .14219E-03
  20  norm          4.8445        8.7741       -.25393E-06   -.39443E-03
  21  norm          4.6675        6.2955        .74822E-07    .22326E-03
  22  Normalizat    1.0438        .20464       -.31933E-05   -.16575E-04
  23  Prefactor     .80567        .15538        .11562E-05   -.17420E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.32667e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 4.89901
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.343953
  norm       = 0
  Prefactor  = 8.45504
  Prefactor  = 0
  norm       = 21.4923
  Prefactor  = 1.33595
  Prefactor  = 2.20797
  Prefactor  = 4.39572
  Prefactor  = 0.814186
  norm       = 2.03001
  Prefactor  = 6.66134e-10
  Prefactor  = 2.34233
  norm       = 0.627198
  norm       = 4.84452
  norm       = 4.66745
  Normalizat = 1.0438
  Prefactor  = 0.805675
 **********
 **   18 **HESSE 
 **********

 FCN=   6880.820     FROM HESSE     STATUS=OK           414 CALLS     1884 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83267E-09    30.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11102E-09    8.5935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8990        3.6887        .45409E-03   -1.5664    
   4  Prefactor      .0000        2.0978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.4363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.8652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .34395        .14519        .40379E-03   -1.5696    
   8  norm           .0000        4.5137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4550        17.495        .34306E-03   -1.5650    
  10  Prefactor      .0000        1.1426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          21.492        33.036        .21830E-03   -1.5615    
  12  Prefactor     1.3359        1.6482        .94750E-04   -1.5685    
  13  Prefactor     2.2080        1.6300        .69228E-03   -1.5678    
  14  Prefactor     4.3957        13.638        .48003E-03   -1.5666    
  15  Prefactor     .81419        2.4551        .49927E-03   -1.5690    
  16  norm          2.0300        1.1317        .72584E-03   -1.5679    
  17  Prefactor     .66613E-09    12.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.3423        5.8907        .67243E-03   -1.5677    
  19  norm          .62720        .55105        .66821E-04   -1.5692    
  20  norm          4.8445        8.8332        .45258E-03   -1.5664    
  21  norm          4.6675        6.3278        .46645E-03   -1.5665    
  22  Normalizat    1.0438        .17735        .41006E-01   -.91577    
  23  Prefactor     .80567        .13339        .43791E-01   -.99519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32347e-06
Minuit parameter uncertainties:
  1  0.000314972
  2  5.89966e-05
  3  3.68872
  4  3.81824e-06
  5  1.27315e-05
  6  5.99419e-06
  7  0.145186
  8  5.61035e-06
  9  17.4955
  10  1.14216e-06
  11  33.0366
  12  1.64822
  13  1.63003
  14  13.6386
  15  2.45506
  16  1.13167
  17  0.000186417
  18  5.89073
  19  0.55105
  20  8.83322
  21  6.32781
  22  0.177455
  23  0.133446
Done.

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

Extracting fit parameters...

4FGL J1635.6+3628
   Spectrum: PowerLaw
282    Prefactor:  8.455e+00  1.750e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.666e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  9.602e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  8.057e-01  1.334e-01  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.044e+00  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 248.923 36.480
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170143/likelihoodResults_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.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) = 6880.72367143
delta logL = 0.0962369063727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6880.71665773
delta logL = 0.103250609863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0232       1.0000          .0000       .10000E+07
     2 'Index     '    3.3696       1.0000          .0000       10.000    
     3 'Normalizat'    1.0258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6880.717     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0291        168.22        .50252E-03    .60707E-02
   2  Index         3.3698        3.9745        .15611        .14448E-03
   3  Normalizat    1.0256        .43880E-01    .42607E-01    .81735E-04
   4  Prefactor     .81523        .33674E-01    .43913E-01    .14525E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.02913
  Index      = 3.36978
  Normalizat = 1.02562
  Prefactor  = 0.815231
 **********
 **   18 **HESSE 
 **********

 FCN=   6880.717     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0291        412.21        .20101E-04   -1.5668    
   2  Index         3.3698        5.4190        .88404E-02   -.33212    
   3  Normalizat    1.0256        .19749        .25067E-03   -.92177    
   4  Prefactor     .81523        .15531        .21762E-03   -.99169    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63438e-09
Minuit parameter uncertainties:
  1  81.5123
  2  10.8394
  3  0.197627
  4  0.155389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170143': 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): 102
logL (Free Index) = 6880.71665623
delta logL = 0.103252108712

Extracting fit parameters...

4FGL J1635.6+3628
   Spectrum: PowerLaw
282    Prefactor:  4.029e+00  8.151e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  3.370e+00  1.084e+01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  9.602e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  8.152e-01  1.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.026e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 248.923 36.480

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/170143/cmap_HighResolution_683596801_683856001_4FGL_J1635.6+3628_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2022-09-16 19:51:46.069480', job_id='170143', GAL2='0.82', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1663383106.07', return_code2='102', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.03e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1714' AND source_name='4FGL J1635.6+3628' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:51:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 170143: <4FGL_J1635.6+3628_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1635.6+3628_daily_bin1714> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 19:35:34 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:38:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:38:30 2022
Terminated at Fri Sep 16 19:51:46 2022
Results reported at Fri Sep 16 19:51:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.6+3628_daily_bin1714 248.923 36.4795 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1635.6+3628 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            972 sec.

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

