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 78 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1729.0+6103_daily_bin1668
RA = 262.265, Dec = 61.06
tmin = 671673601, tmax = 671932801
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='555892', job_status='RUN', time_executed='2022-04-18 03:09:04.949844', time_epoch_executed='1650276544.95' WHERE source_name='4FGL J1729.0+6103' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555892/ft1_4FGL_J1729.0+6103_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555892/ft1_4FGL_J1729.0+6103_daily_bin1668.fits outfile=/scratch/kocevski/555892/ft1_filteredMKT_4FGL_J1729.0+6103_daily_bin1668.fits ra=262.265 dec=61.06 rad=12.0 tmin=671673601.0 tmax=671932801.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.59
user 3.35
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.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/555892/ft1_filteredMKT_4FGL_J1729.0+6103_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.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.46
user 0.31
sys 0.14

Number of photons that the gtmktime cut: 1029

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555892/ltcube_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.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/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits
.....................!
real 14.25
user 13.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555892/ltcube_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.fits outfile=/scratch/kocevski/555892/expmap_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.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/555892/ltcube_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.fits
.....................!
real 192.41
user 186.85
sys 5.15

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

Setting source of interest to:
4FGL J1729.0+6103 @ 262.265 61.06

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits scfile=/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits outfile=/scratch/kocevski/555892/cmap_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.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=262.265 yref=61.06 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits scfile=/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits outfile=/scratch/kocevski/555892/cmap_HighResolution_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.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=262.265 yref=61.06 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.62
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555892/Model_4FGL_J1729.0+6103_daily_bin1668.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/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits.....................!
real 96.39
user 94.94
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits', '/scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits', expMap='/scratch/kocevski/555892/expmap_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.fits', expCube='/scratch/kocevski/555892/ltcube_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555892/Model_4FGL_J1729.0+6103_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1729.0+6103'

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  5.100e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
359        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
360        Scale:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555892/ft1_filtered_4FGL_J1729.0+6103_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555892/ft2_4FGL_J1729.0+6103_daily_bin1668.fits
Exposure map: /scratch/kocevski/555892/expmap_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555892/ltcube_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555892/Model_4FGL_J1729.0+6103_daily_bin1668.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) = 10630.0865421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .92707       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    36.474       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.564       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.7950       1.0000         .10000E-03   10000.    
     7 'norm      '    11.222       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8255       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9826       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0658       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0114       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3942       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5674       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12199E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.215       1.0000         .10000E-03   10000.    
    21 'norm      '    .56570       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.511       1.0000         .10000E-03   10000.    
    25 'norm      '    .11133E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    24.200       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .39009E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    19.148       1.0000         .10000E-03   10000.    
    29 'norm      '    10.819       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    11.445       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    .18119E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2570       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .79737       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10630.08     FROM MIGRAD    STATUS=CONVERGED   1042 CALLS     5354 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    130.51        .18371E-06** at limit **
   2  norm          .92572        10.021        .59913E-05   -.12755E-03
   3  Prefactor     .10000E-03    48.047        .16824E-06** at limit **
   4  norm          36.474        21.127        .20208E-07   -.12465E-04
   5  Prefactor     15.564        6.8956       -.92277E-07   -.19476E-03
   6  Prefactor     6.7920        22.199        .18402E-06   -.24228E-04
   7  norm          11.221        8.2086        .29273E-07   -.72503E-04
   8  Prefactor     7.8241        8.3035        .17013E-06   -.24266E-04
   9  Prefactor     .10000E-03    10.797       -.23893E-06** at limit **
  10  norm          .10000E-03    .30014        .12033E-06** at limit **
  11  Prefactor     3.9806        7.1512        .38661E-06   -.13833E-03
  12  Prefactor     4.0560        15.730       -.54157E-06   -.10740E-03
  13  Prefactor     2.0100        5.0782        .11211E-05   -.10246E-03
  14  Prefactor     .10000E-03    4.2611        .18580E-06** at limit **
  15  Prefactor     .10000E-03    1.1702        .40349E-08** at limit **
  16  Prefactor     .10000E-03    50.106       -.14794E-05** at limit **
  17  norm          4.3938        4.0189        .41605E-07   -.17948E-04
  18  Prefactor     5.5686        3.6470        .18503E-06   -.75309E-04
  19  Prefactor     .10000E-03    256.84        .33517E-05** at limit **
  20  Prefactor     29.264        71.889        .10161E-05    .39945E-04
  21  norm          .56561        1.3567        .90967E-06    .37733E-03
  22  Prefactor     .10000E-03    12.462        .14433E-06** at limit **
  23  Prefactor     .10000E-03    6.1024        .55753E-07** at limit **
  24  Prefactor     19.509        13.620        .20433E-06   -.15841E-05
  25  norm          .10000E-03    1.4938       -.64712E-07** at limit **
  26  Prefactor     24.195        25.166       -.18946E-07    .48166E-05
  27  Prefactor     .10006E-03    609.44       -.86743E-05** at limit **
  28  Prefactor     19.147        7.0571       -.12050E-06    .66736E-04
  29  norm          10.818        6.5723        .12395E-06   -.11498E-04
  30  Prefactor     .10000E-03    11.609        .11236E-06** at limit **
  31  Prefactor     .10000E-03    9.4279        .48100E-07** at limit **
  32  Prefactor     11.462        14.682        .13132E-05    .32023E-04
  33  Prefactor     .10000E-03    20.839       -.29488E-07** at limit **
  34  norm          .10001E-03    1.1726       -.40157E-06** at limit **
  35  Normalizat    1.2571        .18311       -.14329E-05   -.16005E-03
  36  Prefactor     .79733        .12662        .14670E-06   -.21789E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.925722
  Prefactor  = 0.0001
  norm       = 36.474
  Prefactor  = 15.5636
  Prefactor  = 6.79199
  norm       = 11.2211
  Prefactor  = 7.82408
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.98057
  Prefactor  = 4.05602
  Prefactor  = 2.01002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.39376
  Prefactor  = 5.56861
  Prefactor  = 0.000100001
  Prefactor  = 29.2641
  norm       = 0.565614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.5091
  norm       = 0.0001
  Prefactor  = 24.195
  Prefactor  = 0.000100064
  Prefactor  = 19.1467
  norm       = 10.8185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4623
  Prefactor  = 0.0001
  norm       = 0.000100006
  Normalizat = 1.25714
  Prefactor  = 0.797327
 **********
 **   18 **HESSE 
 **********

 FCN=   10630.08     FROM HESSE     STATUS=OK           819 CALLS     6173 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    130.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .92572        9.7957        .51622E-03   -1.5516    
   3  Prefactor     .10000E-03    48.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          36.474        21.126        .66359E-04   -1.4499    
   5  Prefactor     15.564        6.9531        .10152E-03   -1.4919    
   6  Prefactor     6.7920        22.097        .15392E-03   -1.5187    
   7  norm          11.221        8.2203        .11959E-03   -1.5038    
   8  Prefactor     7.8241        8.3006        .14334E-03   -1.5148    
   9  Prefactor     .10000E-03    10.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .44738        .10258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9806        7.0508        .20210E-03   -1.5309    
  12  Prefactor     4.0560        15.057        .19996E-03   -1.5305    
  13  Prefactor     2.0100        5.0809        .29190E-03   -1.5424    
  14  Prefactor     .10000E-03    4.2829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.1764        .10889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3938        4.0186        .19101E-03   -1.5289    
  18  Prefactor     5.5686        3.6408        .15263E-03   -1.5236    
  19  Prefactor     .10000E-03    266.54        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.264        71.921        .74124E-04   -1.4626    
  21  norm          .56561        1.2955        .18268E-02   -1.5558    
  22  Prefactor     .10000E-03    12.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.1782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.509        13.621        .90676E-04   -1.4824    
  25  norm          .10000E-03    3.2736        .24021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     24.195        25.170        .81428E-04   -1.4724    
  27  Prefactor     .10006E-03    616.69        .19525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     19.147        6.9609        .91530E-04   -1.4833    
  29  norm          10.818        6.5701        .12181E-03   -1.5050    
  30  Prefactor     .10000E-03    11.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    9.5025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     11.462        14.042        .11842E-03   -1.5031    
  33  Prefactor     .10000E-03    20.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          .10001E-03    6.7353        .20252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.2571        .21743        .28889E-03   -.84855    
  36  Prefactor     .79733        .14939        .26227E-03   -.99827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35403e-09
Minuit parameter uncertainties:
  1  0.000261597
  2  6.02358
  3  0.000230657
  4  21.1301
  5  6.95351
  6  22.1235
  7  8.22114
  8  8.30181
  9  2.25378e-05
  10  2.39392e-06
  11  7.05225
  12  15.0708
  13  5.08196
  14  5.09219e-06
  15  8.00709e-07
  16  0.000522316
  17  4.01886
  18  3.64091
  19  0.00112264
  20  72.135
  21  1.29559
  22  5.79998e-06
  23  7.77362e-06
  24  13.6236
  25  1.94555e-05
  26  25.1813
  27  0.0127325
  28  6.9612
  29  6.57059
  30  3.40863e-05
  31  1.77625e-05
  32  14.046
  33  1.47963e-06
  34  0.00039101
  35  0.217586
  36  0.149466
Done.

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

Extracting fit parameters...

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  1.000e-04  5.223e-04  1.000e-04  1.000e+04 ( 1.000e-14)
359        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
360        Scale:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  7.973e-01  1.495e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.257e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 262.265 61.060
Photon Flux Upper Limit: 5.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555892/likelihoodResults_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.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) = 10630.0772495
delta logL = -9.45740084717e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10630.0771549
delta logL = 2.10602593143e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3457       1.0000          .0000       10.000    
     3 'Normalizat'    1.2572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79733       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10630.08     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      234 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6516.8        .90712E-02** at limit **
   2  Index         2.3342        5.2487        .50000        .18734E-05
   3  Normalizat    1.2571        .37496E-01    .65307E-01    .19166E-04
   4  Prefactor     .79733        .27923E-01    .43682E-01    .31758E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33424
  Normalizat = 1.25714
  Prefactor  = 0.797328
 **********
 **   18 **HESSE 
 **********

 FCN=   10630.08     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7842.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3342        6.4640        .50000       -.56232    
   3  Normalizat    1.2571        .63734E-01    .28889E-03   -.84855    
   4  Prefactor     .79733        .47490E-01    .26227E-03   -.99827    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.08034e-10
Minuit parameter uncertainties:
  1  0.000237212
  2  50.5563
  3  0.0637384
  4  0.0474929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555892': 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) = 10630.0771549
delta logL = 3.25417204294e-08

Extracting fit parameters...

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  1.000e-04  2.372e-04  1.000e-04  1.000e+04 ( 1.000e-14)
359        Index:  2.334e+00  5.056e+01  0.000e+00  1.000e+01 (-1.000e+00)
360        Scale:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  7.973e-01  4.749e-02  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.257e+00  6.374e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 262.265 61.060

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/555892/cmap_HighResolution_671673601_671932801_4FGL_J1729.0+6103_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-03', job_status='DONE', photon_flux_upper_limit='5.56e-08', time_completed='2022-04-18 03:39:38.706611', job_id='555892', GAL2='0.80', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1650278378.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='3.25e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1668' AND source_name='4FGL J1729.0+6103' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:39:38 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 555664: <4FGL_J1729.0+6103_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1729.0+6103_daily_bin1668> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:40 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:02:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:02:29 2022
Terminated at Mon Apr 18 03:36:15 2022
Results reported at Mon Apr 18 03:36:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1729.0+6103_daily_bin1668 262.265 61.06 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1729.0+6103 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1826.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             311.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2026 sec.
    Turnaround time :                            12515 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 555892: <4FGL_J1729.0+6103_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1729.0+6103_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:54 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:07:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:07:38 2022
Terminated at Mon Apr 18 03:39:39 2022
Results reported at Mon Apr 18 03:39:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1729.0+6103_daily_bin1668 262.265 61.06 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1729.0+6103 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1832.57 sec.
    Max Memory :                                 633 MB
    Average Memory :                             337.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1922 sec.
    Turnaround time :                            12705 sec.

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

