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


Performing analysis on: 4FGL_J1729.0+6103_monthly_bin176
RA = 262.265, Dec = 61.06
tmin = 693187201, tmax = 695779201
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='828882', job_status='RUN', time_executed='2023-01-19 06:07:50.557916', time_epoch_executed='1674137270.56' WHERE source_name='4FGL J1729.0+6103' and cadence='monthly' and bin_id='176'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828882

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=693187201.0 && nMetStart<695779201.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<695779201.0' /Data/Flight/Level1/LPA

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828882/ft1_4FGL_J1729.0+6103_monthly_bin176.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828882/ft1_4FGL_J1729.0+6103_monthly_bin176.fits outfile=/scratch/kocevski/828882/ft1_filteredMKT_4FGL_J1729.0+6103_monthly_bin176.fits ra=262.265 dec=61.06 rad=12.0 tmin=693187201.0 tmax=695779201.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 28.13
user 27.27
sys 0.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.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/828882/ft1_filteredMKT_4FGL_J1729.0+6103_monthly_bin176.fits evtable="EVENTS" outfile="/scratch/kocevski/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.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.86
user 0.68
sys 0.16

Number of photons that the gtmktime cut: 13566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.fits" evtable="EVENTS" scfile=/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits sctable="SC_DATA" outfile=/scratch/kocevski/828882/ltcube_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.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/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits
.....................!
real 140.17
user 139.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.fits evtable="EVENTS" scfile=/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits sctable="SC_DATA" expcube=/scratch/kocevski/828882/ltcube_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.fits outfile=/scratch/kocevski/828882/expmap_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.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/828882/ltcube_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.fits
.....................!
real 193.91
user 188.57
sys 4.75

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/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.fits scfile=/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits outfile=/scratch/kocevski/828882/cmap_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.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.82
user 0.63
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.fits scfile=/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits outfile=/scratch/kocevski/828882/cmap_HighResolution_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.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.80
user 0.62
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.fits', '/scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits', expMap='/scratch/kocevski/828882/expmap_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.fits', expCube='/scratch/kocevski/828882/ltcube_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/828882/Model_4FGL_J1729.0+6103_monthly_bin176.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  0.000e+00  1.000e+06 ( 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/828882/ft1_filtered_4FGL_J1729.0+6103_monthly_bin176.fits
Spacecraft file(s): /scratch/kocevski/828882/ft2_4FGL_J1729.0+6103_monthly_bin176.fits
Exposure map: /scratch/kocevski/828882/expmap_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.fits
Exposure cube: /scratch/kocevski/828882/ltcube_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/828882/Model_4FGL_J1729.0+6103_monthly_bin176.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 140132.89941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19001E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .58784       1.0000          .0000       .10000E+07
     3 'Prefactor '    .80125E-04   1.0000          .0000       .10000E+07
     4 'norm      '    6.0306       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9471       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2806       1.0000          .0000       .10000E+07
     7 'norm      '    8.2850       1.0000          .0000       .10000E+07
     8 'Prefactor '    .38986       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0626       1.0000          .0000       .10000E+07
    10 'norm      '    .67403E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.6471       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.5174       1.0000          .0000       .10000E+07
    13 'Prefactor '    .79335E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.7987       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8311       1.0000          .0000       .10000E+07
    16 'Prefactor '    19.597       1.0000          .0000       .10000E+07
    17 'norm      '    2.6961       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2912       1.0000          .0000       .10000E+07
    19 'Prefactor '    52.160       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.0203       1.0000          .0000       .10000E+07
    21 'norm      '    3.2079       1.0000          .0000       .10000E+07
    22 'Prefactor '    .54056E-03   1.0000          .0000       .10000E+07
    23 'norm      '    12.323       1.0000          .0000       .10000E+07
    24 'Prefactor '    .28151E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    13.818       1.0000          .0000       .10000E+07
    26 'Prefactor '    .54327       1.0000          .0000       .10000E+07
    27 'norm      '    2.6021       1.0000          .0000       .10000E+07
    28 'Prefactor '    6.8321       1.0000          .0000       .10000E+07
    29 'Prefactor '    .44411E-04   1.0000          .0000       .10000E+07
    30 'Prefactor '    6.5616       1.0000          .0000       .10000E+07
    31 'norm      '    .54999       1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0156       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0104       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=   140132.7     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     2577 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1776        .16443E-06** at limit **
   2  norm          .58789        1.0965        .85311E-08   -.11585E-02
   3  Prefactor     .97700E-08    1.0979       -.27954E-07** at limit **
   4  norm          6.0371        1.9596        .69859E-07    .31518E-01
   5  Prefactor     5.9471        1.5930       -.34873E-11    .53751E-04
   6  Prefactor     3.2902        3.7362        .17098E-06   -.63593E-02
   7  norm          8.2884        2.0500       -.11512E-07   -.24602E-02
   8  Prefactor     .38842        2.1721        .41541E-06   -.69475E-02
   9  Prefactor     1.0561        2.7432        .30852E-06    .32005E-03
  10  norm          .67417E-01    .99091E-01   -.35852E-07** at limit **
  11  Prefactor     3.6459        1.5583        .10642E-07    .10647E-02
  12  Prefactor     9.5015        3.1655        .96500E-07   -.56757E-02
  13  Prefactor     .55511E-10    1.8739        .14096E-06** at limit **
  14  Prefactor     3.8006        1.6311       -.45694E-07    .30509E-02
  15  Prefactor     2.8301        .72119        .61719E-09    .17594E-02
  16  Prefactor     19.449        12.041        .39371E-07   -.18900E-02
  17  norm          2.6957        1.0552        .26420E-07    .15470E-02
  18  Prefactor     1.2910        .77155       -.10128E-07   -.46288E-03
  19  Prefactor     52.172        1.0964        .31361E-08   -.35401E-01
  20  Prefactor     4.0342        1.1737       -.15630E-07    .53427E-03
  21  norm          3.2085        .58947        .84950E-08    .30207E-02
  22  Prefactor      .0000        3.0588       -.24355E-06** at limit **
  23  norm          12.322        1.3495        .35225E-08    .40874E-02
  24  Prefactor     .17208E-07    .62541       -.59213E-07** at limit **
  25  Prefactor     13.828        1.0036        .83546E-09   -.32153E-02
  26  Prefactor     .54307        1.3216       -.23546E-07   -.19211E-02
  27  norm          2.6030        1.4499        .49568E-07    .10875E-02
  28  Prefactor     6.8198        3.1777        .30041E-06    .10900E-01
  29  Prefactor     .61062E-09    1.2801       -.82362E-07** at limit **
  30  Prefactor     6.5564        1.0260        .10958E-08    .22795E-02
  31  norm          .54945        .40486        .23070E-07   -.59213E-03
  32  Normalizat    1.0157        .55528E-01    .68424E-06   -.68479E-04
  33  Prefactor     1.0104        .40600E-01   -.15326E-05   -.34327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.587886
  Prefactor  = 9.76996e-09
  norm       = 6.0371
  Prefactor  = 5.94714
  Prefactor  = 3.29018
  norm       = 8.28837
  Prefactor  = 0.388421
  Prefactor  = 1.05608
  norm       = 0.0674166
  Prefactor  = 3.64591
  Prefactor  = 9.50145
  Prefactor  = 5.55112e-11
  Prefactor  = 3.80065
  Prefactor  = 2.83014
  Prefactor  = 19.4489
  norm       = 2.69574
  Prefactor  = 1.29103
  Prefactor  = 52.1718
  Prefactor  = 4.03417
  norm       = 3.20853
  Prefactor  = 0
  norm       = 12.3221
  Prefactor  = 1.72085e-08
  Prefactor  = 13.8278
  Prefactor  = 0.543066
  norm       = 2.60296
  Prefactor  = 6.81983
  Prefactor  = 6.10623e-10
  Prefactor  = 6.55635
  norm       = 0.54945
  Normalizat = 1.01572
  Prefactor  = 1.01039
 **********
 **   18 **HESSE 
 **********

 FCN=   140132.7     FROM HESSE     STATUS=OK           783 CALLS     3360 TOTAL
                     EDM=   .52E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .58789        1.1076        .70325E-03   -1.5693    
   3  Prefactor     .97700E-08    1.6334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.0371        3.7446        .40863E-03   -1.5659    
   5  Prefactor     5.9471        1.5880        .41153E-03   -1.5659    
   6  Prefactor     3.2902        3.9053        .55880E-03   -1.5672    
   7  norm          8.2884        2.0530        .34806E-03   -1.5650    
   8  Prefactor     .38842        .77908        .90671E-02   -1.5695    
   9  Prefactor     1.0561        2.7355        .11859E-02   -1.5687    
  10  norm          .67417E-01    .71979E-01    .26724E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6459        1.5785        .52872E-03   -1.5670    
  12  Prefactor     9.5015        3.2540        .32460E-03   -1.5646    
  13  Prefactor     .55511E-10    1.8167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8006        1.6398        .51766E-03   -1.5669    
  15  Prefactor     2.8301        .72264        .60414E-03   -1.5674    
  16  Prefactor     19.449        12.147        .22597E-03   -1.5620    
  17  norm          2.6957        1.0569        .62018E-04   -1.5675    
  18  Prefactor     1.2910        .80488        .97406E-03   -1.5685    
  19  Prefactor     52.172        12.141        .13847E-03   -1.5564    
  20  Prefactor     4.0342        10.297        .50270E-03   -1.5668    
  21  norm          3.2085        .59104        .56542E-03   -1.5672    
  22  Prefactor      .0000        3.0206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          12.322        1.3763        .28511E-03   -1.5638    
  24  Prefactor     .17208E-07    1.5784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.828        12.136        .26920E-03   -1.5634    
  26  Prefactor     .54307        1.3477        .74471E-03   -1.5693    
  27  norm          2.6030        1.4546        .63218E-03   -1.5676    
  28  Prefactor     6.8198        3.2116        .38362E-03   -1.5656    
  29  Prefactor     .61062E-09    1.3180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     6.5564        9.6858        .39153E-03   -1.5657    
  31  norm          .54945        .41211        .73833E-03   -1.5693    
  32  Normalizat    1.0157        .47572E-01    .69196E-01   -.92506    
  33  Prefactor     1.0104        .34490E-01    .43268E-01   -.92384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21963e-05
Minuit parameter uncertainties:
  1  1.35745e-05
  2  1.10762
  3  0.00025273
  4  3.74459
  5  1.58801
  6  3.90526
  7  2.05302
  8  0.779084
  9  2.73555
  10  0.0719794
  11  1.57851
  12  3.25402
  13  1.9526e-05
  14  1.63981
  15  0.722639
  16  12.147
  17  1.05691
  18  0.804883
  19  12.1406
  20  10.2973
  21  0.591045
  22  1.7556e-05
  23  1.37634
  24  0.000329754
  25  12.1358
  26  1.3477
  27  1.45463
  28  3.21164
  29  5.70009e-05
  30  9.68584
  31  0.412107
  32  0.0475739
  33  0.0344912
Done.

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

Extracting fit parameters...

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  1.945e+01  1.215e+01  0.000e+00  1.000e+06 ( 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:  1.010e+00  3.449e-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.016e+00  4.757e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.29
Ra Dec: 262.265 61.060
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.04e-08 +/- 6.47e-09
Energy Flux (Fixed Index): 3.38e-06 +/- 2.11e-06

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) = 140132.625468
delta logL = 0.0609258221812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 140132.568819
delta logL = 0.117574738193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.800       1.0000          .0000       .10000E+07
     2 'Index     '    2.6415       1.0000          .0000       10.000    
     3 'Normalizat'    1.0111       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0123       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=   140132.6     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      225 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.788        66.773        .25171E-03    .20381E-01
   2  Index         2.6417        .97561        .23067        .93911E-03
   3  Normalizat    1.0111        .96818E-02    .69340E-01    .34384E-03
   4  Prefactor     1.0123        .69876E-02    .43010E-01    .13781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7878
  Index      = 2.64173
  Normalizat = 1.01109
  Prefactor  = 1.01231
 **********
 **   18 **HESSE 
 **********

 FCN=   140132.6     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.788        17.471        .50341E-04   -1.5628    
   2  Index         2.6417        .66267        .10867E-01   -.49116    
   3  Normalizat    1.0111        .53783E-01    .30675E-03   -.92660    
   4  Prefactor     1.0123        .40290E-01    .23358E-03   -.92320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36373e-10
Minuit parameter uncertainties:
  1  17.4713
  2  0.665192
  3  0.0537855
  4  0.0402916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828882': 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) = 140132.568818
delta logL = 0.117575260752

Extracting fit parameters...

4FGL J1729.0+6103
   Spectrum: PowerLaw
358    Prefactor:  1.579e+01  1.747e+01  0.000e+00  1.000e+06 ( 1.000e-14)
359        Index:  2.642e+00  6.652e-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:  1.012e+00  4.029e-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.011e+00  5.379e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.60
Ra Dec: 262.265 61.060
Photon Index (Free Index): 2.64 +/- 0.67
Photon Flux (Free Index): 1.38e-08 +/- 1.01e-08
Energy Flux (Free Index): 3.49e-06 +/- 1.99e-06

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/828882/cmap_HighResolution_693187201_695779201_4FGL_J1729.0+6103_monthly_bin176.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-08', energy_flux2='3.49e-06', photon_flux_error='6.47e-09', dlogl='1.18e-01', energy_flux='3.38e-06', photon_flux2='1.38e-08', job_status='DONE', time_completed='2023-01-19 08:57:05.827536', photon_index_error2='0.67', photon_index2='2.64', ts='4.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.99e-06', EG='1.02', time_epoch_completed='1674147425.83', return_code='0', job_id='828882', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='2.11e-06', photon_flux_error2='1.01e-08', ts2='4.60', photon_index='2.41' WHERE bin_id='176' AND source_name='4FGL J1729.0+6103' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jan 19 08:57:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 828882: <4FGL_J1729.0+6103_monthly_bin176> in cluster <slac> Done

Job <4FGL_J1729.0+6103_monthly_bin176> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Jan 19 06:05:24 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 06:06:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 06:06:21 2023
Terminated at Thu Jan 19 08:57:07 2023
Results reported at Thu Jan 19 08:57:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1729.0+6103_monthly_bin176 262.265 61.06 693187201 695779201 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 :                                   10129.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             513.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10245 sec.
    Turnaround time :                            10303 sec.

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

