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


Performing analysis on: 4FGL_J1729.0+6103_monthly_bin167
RA = 262.265, Dec = 61.06
tmin = 669859201, tmax = 672451201
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='902380', job_status='RUN', time_executed='2022-04-24 02:35:22.574105', time_epoch_executed='1650792922.57' WHERE source_name='4FGL J1729.0+6103' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902380

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902380/ft1_4FGL_J1729.0+6103_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902380/ft1_4FGL_J1729.0+6103_monthly_bin167.fits outfile=/scratch/kocevski/902380/ft1_filteredMKT_4FGL_J1729.0+6103_monthly_bin167.fits ra=262.265 dec=61.06 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.27
user 37.37
sys 0.82

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.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/902380/ft1_filteredMKT_4FGL_J1729.0+6103_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/902380/ft1_filtered_4FGL_J1729.0+6103_monthly_bin167.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.84
user 0.65
sys 0.17

Number of photons that the gtmktime cut: 9406

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902380/ft1_filtered_4FGL_J1729.0+6103_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/902380/ltcube_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.fits outfile=/scratch/kocevski/902380/expmap_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.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/902380/ltcube_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.fits
.....................!
real 191.00
user 186.55
sys 4.12

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/902380/ft1_filtered_4FGL_J1729.0+6103_monthly_bin167.fits scfile=/scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.fits outfile=/scratch/kocevski/902380/cmap_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.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.77
user 0.61
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902380/ft1_filtered_4FGL_J1729.0+6103_monthly_bin167.fits scfile=/scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.fits outfile=/scratch/kocevski/902380/cmap_HighResolution_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.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.79
user 0.62
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902380/ft1_filtered_4FGL_J1729.0+6103_monthly_bin167.fits', '/scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.fits', expMap='/scratch/kocevski/902380/expmap_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.fits', expCube='/scratch/kocevski/902380/ltcube_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902380/Model_4FGL_J1729.0+6103_monthly_bin167.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/902380/ft1_filtered_4FGL_J1729.0+6103_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/902380/ft2_4FGL_J1729.0+6103_monthly_bin167.fits
Exposure map: /scratch/kocevski/902380/expmap_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.fits
Exposure cube: /scratch/kocevski/902380/ltcube_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902380/Model_4FGL_J1729.0+6103_monthly_bin167.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) = 97717.4465042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15611E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0382       1.0000         .10000E-03   10000.    
     4 'norm      '    15.490       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1628       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10825E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.3325       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3146       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9677       1.0000         .10000E-03   10000.    
    10 'norm      '    .39192E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88684       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7798       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10542E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .84415       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .86972       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7145       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4711       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0784       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.718       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11201E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.4676       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0650       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.760       1.0000         .10000E-03   10000.    
    25 'norm      '    3.7852       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .22016E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.0715       1.0000         .10000E-03   10000.    
    28 'Prefactor '    9.4563       1.0000         .10000E-03   10000.    
    29 'norm      '    6.1111       1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.4495       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    5.7390       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .11844E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    1.7059       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.0687       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .99351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   97717.38     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     3721 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10045E-03    19.693        .23323E-05** at limit **
   2  norm          .10000E-03    .87942        .16897E-06** at limit **
   3  Prefactor     7.0329        1.5450       -.15714E-06    .12313E-02
   4  norm          15.471        4.7327       -.45518E-06    .43464E-02
   5  Prefactor     5.1606        1.7560        .16044E-06    .12258E-02
   6  Prefactor     .10000E-03    3.0195       -.18528E-07** at limit **
   7  norm          3.3378        1.7931        .10195E-06    .17468E-04
   8  Prefactor     3.3175        2.0710        .26632E-06    .74281E-04
   9  Prefactor     8.9753        1.0818       -.95523E-07    .97247E-03
  10  norm          .39235E-01    .10290       -.86304E-08    .96196E-04
  11  Prefactor     .88844        2.1694        .79537E-07    .71558E-03
  12  Prefactor     4.7787        1.8909        .57530E-06   -.29913E-02
  13  Prefactor     .10000E-03    2.2084        .52040E-07** at limit **
  14  Prefactor     .84508        1.0545        .37500E-07    .24416E-04
  15  Prefactor     .86974        .55989       -.26889E-08   -.33892E-04
  16  Prefactor     1.7093        1.3211       -.15295E-06    .44096E-03
  17  norm          1.4710        1.0742        .14188E-07    .26268E-04
  18  Prefactor     3.0772        1.2320        .67645E-07    .28655E-03
  19  Prefactor     14.804        7.9455       -.46812E-06   -.15627E-02
  20  Prefactor     .10000E-03    14.367       -.11485E-05** at limit **
  21  norm          3.4675        .70665       -.42503E-08    .38181E-04
  22  Prefactor     1.0625        1.4088        .86734E-06   -.34909E-03
  23  Prefactor     .10000E-03    1.7703        .69153E-07** at limit **
  24  Prefactor     10.769        3.0239        .26745E-07   -.66245E-02
  25  norm          3.7844        1.2079       -.26178E-06   -.10019E-02
  26  Prefactor     .10002E-03    12.964        .21800E-05** at limit **
  27  Prefactor     8.0093        15.070       -.12422E-05    .15164E-02
  28  Prefactor     9.4627        1.9034        .85949E-06    .86632E-02
  29  norm          6.1119        1.8886        .13188E-06    .41732E-02
  30  Prefactor     2.4430        2.4939        .14087E-06    .70907E-03
  31  Prefactor     .10000E-03    1.2161        .50533E-07** at limit **
  32  Prefactor     5.7389        1.0369        .12948E-06    .13874E-02
  33  Prefactor     .10000E-03    4.6730        .13020E-06** at limit **
  34  norm          1.7060        .70047       -.68745E-07   -.10122E-03
  35  Normalizat    1.0686        .66166E-01   -.28366E-06    .17864E-05
  36  Prefactor     .99353        .48928E-01   -.80819E-07   -.11912E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100454
  norm       = 0.0001
  Prefactor  = 7.03294
  norm       = 15.4709
  Prefactor  = 5.16059
  Prefactor  = 0.0001
  norm       = 3.3378
  Prefactor  = 3.31753
  Prefactor  = 8.97533
  norm       = 0.0392353
  Prefactor  = 0.888438
  Prefactor  = 4.77874
  Prefactor  = 0.0001
  Prefactor  = 0.845079
  Prefactor  = 0.869745
  Prefactor  = 1.70932
  norm       = 1.47096
  Prefactor  = 3.07722
  Prefactor  = 14.8035
  Prefactor  = 0.000100003
  norm       = 3.46746
  Prefactor  = 1.0625
  Prefactor  = 0.0001
  Prefactor  = 10.7693
  norm       = 3.78441
  Prefactor  = 0.000100015
  Prefactor  = 8.00934
  Prefactor  = 9.46274
  norm       = 6.11192
  Prefactor  = 2.44302
  Prefactor  = 0.0001
  Prefactor  = 5.73894
  Prefactor  = 0.0001
  norm       = 1.70601
  Normalizat = 1.06864
  Prefactor  = 0.993525
 **********
 **   18 **HESSE 
 **********

 FCN=   97717.38     FROM HESSE     STATUS=OK           931 CALLS     4652 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10045E-03    38.426        .10220E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .28012        .66428E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0329        5.6571        .37803E-02   -1.5178    
   4  norm          15.471        5.4707        .25441E-02   -1.4921    
   5  Prefactor     5.1606        1.7571        .44232E-02   -1.5254    
   6  Prefactor     .10000E-03    2.9882        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.3378        1.8037        .55431E-02   -1.5343    
   8  Prefactor     3.3175        2.0774        .55588E-02   -1.5344    
   9  Prefactor     8.9753        4.7473        .33461E-02   -1.5109    
  10  norm          .39235E-01    .78045E-01    .19156E-01   -1.5668    
  11  Prefactor     .88844        1.1396        .93744E-01   -1.5519    
  12  Prefactor     4.7787        3.6464        .46006E-02   -1.5271    
  13  Prefactor     .10000E-03    .33553        .62376E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .84508        1.0577        .81887E-01   -1.5524    
  15  Prefactor     .86974        .76987        .39405E-01   -1.5521    
  16  Prefactor     1.7093        6.2234        .80237E-02   -1.5446    
  17  norm          1.4710        1.0813        .88570E-03   -1.5465    
  18  Prefactor     3.0772        1.2494        .57793E-02   -1.5357    
  19  Prefactor     14.804        10.456        .26100E-02   -1.4938    
  20  Prefactor     .10000E-03    14.940        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.4675        .70970        .54291E-02   -1.5336    
  22  Prefactor     1.0625        3.9946        .11822E-01   -1.5502    
  23  Prefactor     .10000E-03    1.7028        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.769        4.4388        .30536E-02   -1.5052    
  25  norm          3.7844        1.2245        .51872E-02   -1.5319    
  26  Prefactor     .10002E-03    .91557        .16276       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.0093        16.580        .35281E-02   -1.5142    
  28  Prefactor     9.4627        2.2074        .32580E-02   -1.5093    
  29  norm          6.1119        1.9463        .40602E-02   -1.5213    
  30  Prefactor     2.4430        2.4935        .65343E-02   -1.5395    
  31  Prefactor     .10000E-03    1.2005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     5.7389        5.1092        .41916E-02   -1.5229    
  33  Prefactor     .10000E-03    4.6902        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          1.7060        .73594        .80488E-02   -1.5447    
  35  Normalizat    1.0686        .57493E-01    .68070E-01   -.90765    
  36  Prefactor     .99353        .41361E-01    .46186E-01   -.92946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86403e-06
Minuit parameter uncertainties:
  1  0.00835559
  2  2.60827e-06
  3  5.65757
  4  5.4709
  5  1.75714
  6  1.73896e-06
  7  1.80375
  8  2.07743
  9  4.74751
  10  0.0780451
  11  1.13961
  12  3.64656
  13  5.83685e-07
  14  1.05772
  15  0.769882
  16  6.22578
  17  1.08133
  18  1.24945
  19  10.4569
  20  0.000457177
  21  0.7097
  22  3.99556
  23  6.61361e-07
  24  4.43896
  25  1.22452
  26  0.000234941
  27  16.59
  28  2.20737
  29  1.94633
  30  2.49358
  31  1.02942e-06
  32  5.10959
  33  6.51909e-05
  34  0.735947
  35  0.0574959
  36  0.0413626
Done.

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

Extracting fit parameters...

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  1.709e+00  6.226e+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

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  9.935e-01  4.136e-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.069e+00  5.750e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 262.265 61.060
Photon Flux Upper Limit: 1.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.05e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902380/likelihoodResults_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.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) = 97717.0932329
delta logL = 0.287337112182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 97717.0910277
delta logL = 0.289542361832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9522       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6236       1.0000          .0000       10.000    
     3 'Normalizat'    1.0695       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99281       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=   97717.09     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      259 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9500        182.25        .45181E-02    .15721E-03
   2  Index         1.6234        2.6443        .50000       -.10960E-03
   3  Normalizat    1.0696        .12250E-01    .68043E-01    .16537E-03
   4  Prefactor     .99281        .86017E-02    .46177E-01    .42373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.95
  Index      = 1.62341
  Normalizat = 1.06958
  Prefactor  = 0.992814
 **********
 **   18 **HESSE 
 **********

 FCN=   97717.09     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9500        8.0696        .18073E-03   -1.5263    
   2  Index         1.6234        .81545        .32463E-01   -.74140    
   3  Normalizat    1.0696        .62653E-01    .30103E-03   -.90734    
   4  Prefactor     .99281        .47888E-01    .23645E-03   -.92969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83102e-09
Minuit parameter uncertainties:
  1  8.0714
  2  0.822248
  3  0.0626573
  4  0.0478903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902380': 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) = 97717.091027
delta logL = 0.289543010964

Extracting fit parameters...

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  4.950e+00  8.071e+00  1.000e-04  1.000e+04 ( 1.000e-14)
359        Index:  1.623e+00  8.222e-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:  9.928e-01  4.789e-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.070e+00  6.266e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 262.265 61.060

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/902380/cmap_HighResolution_669859201_672451201_4FGL_J1729.0+6103_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-04', job_status='DONE', photon_flux_upper_limit='1.17e-08', time_completed='2022-04-24 05:54:36.764765', job_id='902380', GAL2='0.99', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1650804876.76', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.90e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='167' AND source_name='4FGL J1729.0+6103' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 05:54:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 902380: <4FGL_J1729.0+6103_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1729.0+6103_monthly_bin167> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 02:10:23 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 02:31:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 02:31:33 2022
Terminated at Sun Apr 24 05:54:37 2022
Results reported at Sun Apr 24 05:54:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1729.0+6103_monthly_bin167 262.265 61.06 669859201 672451201 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 :                                   11903.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             445.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   12184 sec.
    Turnaround time :                            13454 sec.

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

