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


Performing analysis on: 4FGL_J1608.0+4949_daily_bin1751
RA = 242.014, Dec = 49.829
tmin = 693187201, tmax = 693446401
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='81612', job_status='RUN', time_executed='2022-12-23 00:57:38.724446', time_epoch_executed='1671785858.72' WHERE source_name='4FGL J1608.0+4949' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81612

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81612/ft1_4FGL_J1608.0+4949_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81612/ft1_4FGL_J1608.0+4949_daily_bin1751.fits outfile=/scratch/kocevski/81612/ft1_filteredMKT_4FGL_J1608.0+4949_daily_bin1751.fits ra=242.014 dec=49.829 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.39
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.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/81612/ft1_filteredMKT_4FGL_J1608.0+4949_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.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.31
sys 0.17

Number of photons that the gtmktime cut: 516

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/81612/ltcube_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.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/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits
.....................!
real 12.23
user 11.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/81612/ltcube_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.fits outfile=/scratch/kocevski/81612/expmap_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.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/81612/ltcube_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.fits
.....................!
real 190.55
user 185.35
sys 4.89

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

Setting source of interest to:
4FGL J1608.0+4949 @ 242.014 49.829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits scfile=/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits outfile=/scratch/kocevski/81612/cmap_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.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=242.014 yref=49.829 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/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits scfile=/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits outfile=/scratch/kocevski/81612/cmap_HighResolution_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.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=242.014 yref=49.829 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81612/Model_4FGL_J1608.0+4949_daily_bin1751.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/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits.....................!
real 46.38
user 45.11
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits', '/scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits', expMap='/scratch/kocevski/81612/expmap_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.fits', expCube='/scratch/kocevski/81612/ltcube_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81612/Model_4FGL_J1608.0+4949_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1608.0+4949'

4FGL J1608.0+4949
   Spectrum: PowerLaw
308    Prefactor:  4.577e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  2.267e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  1.615e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/81612/ft1_filtered_4FGL_J1608.0+4949_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/81612/ft2_4FGL_J1608.0+4949_daily_bin1751.fits
Exposure map: /scratch/kocevski/81612/expmap_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.fits
Exposure cube: /scratch/kocevski/81612/ltcube_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81612/Model_4FGL_J1608.0+4949_daily_bin1751.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) = 5629.92221503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2413       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10175E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3651       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5358       1.0000          .0000       .10000E+07
     5 'norm      '    1.1241       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12235E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .68799E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.0685       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61521E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2597       1.0000          .0000       .10000E+07
    11 'norm      '    3.1254       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1257       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11877E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15490E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15302E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.351       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21166E-02   1.0000          .0000       .10000E+07
    18 'norm      '    2.1969       1.0000          .0000       .10000E+07
    19 'norm      '    .47385E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.4748       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.5830       1.0000          .0000       .10000E+07
    22 'norm      '    .83516       1.0000          .0000       .10000E+07
    23 'Prefactor '    .39464E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    3.3256       1.0000          .0000       .10000E+07
    25 'Prefactor '    3.5070       1.0000          .0000       .10000E+07
    26 'Prefactor '    .16126E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    11.860       1.0000          .0000       .10000E+07
    28 'norm      '    .13378E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    .16535E-05   1.0000          .0000       .10000E+07
    30 'Normalizat'    .53733       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2771       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5629.864     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     2400 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2413        1.5158       -.30533E-07   -.25957E-02
   2  Prefactor     .55511E-10    3.4446       -.37076E-06** at limit **
   3  Prefactor     1.3648        3.0631        .53270E-06    .11783E-02
   4  Prefactor     4.5403        7.3739        .40184E-07    .34876E-02
   5  norm          1.1234        3.0836        .97873E-06   -.22778E-02
   6  Prefactor     .57065E-07    18.628        .46900E-05** at limit **
   7  Prefactor     .82157E-08    30.138       -.60192E-06** at limit **
   8  Prefactor     3.0599        7.2443       -.10830E-05    .51816E-01
   9  Prefactor     .68334E-07    11.576       -.52250E-06** at limit **
  10  Prefactor     7.2761        5.7896       -.33640E-06    .70265E-01
  11  norm          3.1250        6.3730        .13378E-06   -.15794E-01
  12  Prefactor     2.0967        1.7604        .29914E-06   -.57077E-02
  13  Prefactor     .52836E-06    21.228       -.15821E-05** at limit **
  14  Prefactor     .55511E-10    2.0737        .65874E-06** at limit **
  15  Prefactor     .48850E-08    6.7304        .89410E-07** at limit **
  16  Prefactor     17.397        7.9045        .97134E-06    .80013E-01
  17  Prefactor     .18668E-05    .67266        .30634E-06** at limit **
  18  norm          1.7759        2.2901       -.18636E-06    .33518E-02
  19  norm          .41189E-07    5.4540       -.26787E-06** at limit **
  20  Prefactor     6.4782        4.4129       -.33440E-06   -.23303E-02
  21  Prefactor     7.5815        8.3658       -.14001E-05   -.10906E-01
  22  norm          .93869E-07    307.51        .46350E-05** at limit **
  23  Prefactor     .51119E-01    18.894       -.24607E-05** at limit **
  24  Prefactor     3.3219        2.4987        .59671E-06   -.26891E-02
  25  Prefactor     3.5084        2.7447        .29224E-06    .49209E-02
  26  Prefactor     .55511E-10    1.0923        .29152E-06** at limit **
  27  Prefactor     11.843        10.332       -.65802E-06   -.75509E-01
  28  norm           .0000        .32305        .49181E-07** at limit **
  29  Prefactor     .55511E-10    1.6458       -.49104E-07** at limit **
  30  Normalizat    .53703        .21629        .17217E-04   -.28358E-03
  31  Prefactor     1.2778        .21863       -.49780E-05   -.36646E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.2413
  Prefactor  = 5.55112e-11
  Prefactor  = 1.3648
  Prefactor  = 4.54029
  norm       = 1.12336
  Prefactor  = 5.70655e-08
  Prefactor  = 8.21565e-09
  Prefactor  = 3.05989
  Prefactor  = 6.83342e-08
  Prefactor  = 7.27606
  norm       = 3.12503
  Prefactor  = 2.09674
  Prefactor  = 5.28355e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 4.88498e-09
  Prefactor  = 17.3972
  Prefactor  = 1.86678e-06
  norm       = 1.77591
  norm       = 4.11893e-08
  Prefactor  = 6.4782
  Prefactor  = 7.5815
  norm       = 9.38694e-08
  Prefactor  = 0.0511191
  Prefactor  = 3.32187
  Prefactor  = 3.50844
  Prefactor  = 5.55112e-11
  Prefactor  = 11.8429
  norm       = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.537031
  Prefactor  = 1.27779
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.864     FROM HESSE     STATUS=OK           698 CALLS     3098 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2413        1.5173        .68622E-03   -1.5678    
   2  Prefactor     .55511E-10    3.4453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3648        3.1336        .93368E-03   -1.5685    
   4  Prefactor     4.5403        7.4123        .47246E-03   -1.5665    
   5  norm          1.1234        3.2622        .11051E-02   -1.5687    
   6  Prefactor     .57065E-07    18.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .82157E-08    30.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0599        13.561        .57883E-03   -1.5673    
   9  Prefactor     .68334E-07    11.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2761        12.061        .37203E-03   -1.5654    
  11  norm          3.1250        7.7166        .57324E-03   -1.5673    
  12  Prefactor     2.0967        99.821        .70697E-03   -1.5679    
  13  Prefactor     .52836E-06    22.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.0717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .48850E-08    7.2019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.397        8.7576        .24017E-03   -1.5625    
  17  Prefactor     .18668E-05    1.6460        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7759        69.685        .69396E-03   -1.5681    
  19  norm          .41189E-07    6.4118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.4782        4.4173        .39418E-03   -1.5657    
  21  Prefactor     7.5815        8.4273        .36394E-03   -1.5653    
  22  norm          .93869E-07    302.13        .50350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .51119E-01    1.1555        .36244E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.3219        1.9506        .55482E-03   -1.5672    
  25  Prefactor     3.5084        2.7610        .53962E-03   -1.5671    
  26  Prefactor     .55511E-10    1.0917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     11.843        11.187        .29063E-03   -1.5639    
  28  norm           .0000        .32400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .55511E-10    1.6513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .53703        .19350        .69048E-01   -1.1073    
  31  Prefactor     1.2778        .18622        .48597E-01   -.83970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32414e-07
Minuit parameter uncertainties:
  1  1.51733
  2  2.48759e-05
  3  3.13363
  4  7.41228
  5  3.26216
  6  0.00207246
  7  0.000997613
  8  12.8833
  9  0.00180031
  10  12.0606
  11  7.71665
  12  28.9348
  13  0.00693593
  14  2.14036e-05
  15  0.00037442
  16  8.75762
  17  0.00350577
  18  22.2493
  19  0.00102753
  20  4.41727
  21  8.4273
  22  0.0106527
  23  0.486076
  24  1.95059
  25  2.76097
  26  1.89544e-05
  27  11.1875
  28  3.06242e-06
  29  1.57958e-05
  30  0.193745
  31  0.186316
Done.

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

Extracting fit parameters...

4FGL J1608.0+4949
   Spectrum: PowerLaw
308    Prefactor:  5.284e-07  6.936e-03  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  2.267e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  1.615e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
677    Prefactor:  1.278e+00  1.863e-01  0.000e+00  1.000e+01 ( 1.000e+00)
678        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
679        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
676   Normalization:  5.370e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 242.014 49.829
Photon Flux Upper Limit: 4.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81612/likelihoodResults_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.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): 102
logL (Free Index) = 5629.88464258
delta logL = -0.0209760538837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5629.86366668
delta logL = -1.51803760673e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5629.864     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      206 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11657E-08    32.414       -.26072E-05** at limit **
   2  Index         1.3677        5.0944       -.98673E-04   -.43218E-10
   3  Normalizat    .53703        .20532       -.30667E-04   -.16670E-03
   4  Prefactor     1.2778        .21593        .19077E-04   -.85364E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16573e-09
  Index      = 1.36774
  Normalizat = 0.53703
  Prefactor  = 1.27779
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.864     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      241 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11657E-08    3.9076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3677        6.3014        .35837       -.81314    
   3  Normalizat    .53703        .14424E-02    .69048E-01   -1.1073    
   4  Prefactor     1.2778        .15157E-02    .48597E-01   -.83970    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.56899e-12
Minuit parameter uncertainties:
  1  0.000134444
  2  36052.5
  3  0.00144244
  4  0.00151568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81612': 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) = 5629.86366651
delta logL = 1.15996954264e-08

Extracting fit parameters...

4FGL J1608.0+4949
   Spectrum: PowerLaw
308    Prefactor:  1.166e-09  1.344e-04  0.000e+00  1.000e+06 ( 1.000e-14)
309        Index:  1.368e+00  3.605e+04  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  1.615e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
677    Prefactor:  1.278e+00  1.516e-03  0.000e+00  1.000e+01 ( 1.000e+00)
678        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
679        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
676   Normalization:  5.370e-01  1.442e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 242.014 49.829

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/81612/cmap_HighResolution_693187201_693446401_4FGL_J1608.0+4949_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2022-12-23 01:09:44.600430', job_id='81612', GAL2='1.28', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1671786584.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='1.16e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1751' AND source_name='4FGL J1608.0+4949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:09:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 81612: <4FGL_J1608.0+4949_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1608.0+4949_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:55:22 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:55:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:55:23 2022
Terminated at Fri Dec 23 01:09:45 2022
Results reported at Fri Dec 23 01:09:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.0+4949_daily_bin1751 242.014 49.829 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1608.0+4949 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

