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


Performing analysis on: 4FGL_J0729.1+5703_weekly_bin753
RA = 112.286, Dec = 57.0558
tmin = 694396801, tmax = 695001601
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='223667', job_status='RUN', time_executed='2023-01-10 02:27:56.906045', time_epoch_executed='1673346476.91' WHERE source_name='4FGL J0729.1+5703' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/223667

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/223667/ft1_4FGL_J0729.1+5703_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/223667/ft1_4FGL_J0729.1+5703_weekly_bin753.fits outfile=/scratch/kocevski/223667/ft1_filteredMKT_4FGL_J0729.1+5703_weekly_bin753.fits ra=112.286 dec=57.0558 rad=12.0 tmin=694396801.0 tmax=695001601.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 6.21
user 5.89
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.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/223667/ft1_filteredMKT_4FGL_J0729.1+5703_weekly_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.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.56
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 451

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/223667/ltcube_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.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/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits
.....................!
real 36.21
user 35.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/223667/ltcube_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.fits outfile=/scratch/kocevski/223667/expmap_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.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/223667/ltcube_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.fits
.....................!
real 191.95
user 186.44
sys 4.64

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

Setting source of interest to:
4FGL J0729.1+5703 @ 112.286 57.0558

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits scfile=/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits outfile=/scratch/kocevski/223667/cmap_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.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=112.286 yref=57.0558 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.59
user 0.43
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits scfile=/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits outfile=/scratch/kocevski/223667/cmap_HighResolution_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.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=112.286 yref=57.0558 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.60
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/223667/Model_4FGL_J0729.1+5703_weekly_bin753.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/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits.....................!
real 69.14
user 67.70
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits', '/scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits', expMap='/scratch/kocevski/223667/expmap_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.fits', expCube='/scratch/kocevski/223667/ltcube_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/223667/Model_4FGL_J0729.1+5703_weekly_bin753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0729.1+5703'

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  3.521e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/223667/ft1_filtered_4FGL_J0729.1+5703_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/223667/ft2_4FGL_J0729.1+5703_weekly_bin753.fits
Exposure map: /scratch/kocevski/223667/expmap_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.fits
Exposure cube: /scratch/kocevski/223667/ltcube_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/223667/Model_4FGL_J0729.1+5703_weekly_bin753.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) = 5057.15952074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.663       1.0000          .0000       .10000E+07
     2 'Prefactor '    41.857       1.0000          .0000       .10000E+07
     3 'Prefactor '    .60176E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59892E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .10837E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .27054E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.8027       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22342E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89547E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.127       1.0000          .0000       .10000E+07
    11 'norm      '    7.8666       1.0000          .0000       .10000E+07
    12 'Prefactor '    .61842E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .41280E-02   1.0000          .0000       .10000E+07
    14 'norm      '    2.1515       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16544E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .78122E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    27.366       1.0000          .0000       .10000E+07
    18 'norm      '    1.0693       1.0000          .0000       .10000E+07
    19 'norm      '    .28369E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .10672E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .34972E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .76654E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    20.157       1.0000          .0000       .10000E+07
    24 'Prefactor '    6.6776       1.0000          .0000       .10000E+07
    25 'Prefactor '    .77027E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .87639       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .90523       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5057.109     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2356 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.490        2.0336        .60737E-07   -.36181E-02
   2  Prefactor     41.937        1.5634        .83822E-08   -.11107E-02
   3  Prefactor     .42427E-06    15.754       -.20189E-06** at limit **
   4  Prefactor     .70477E-06    18.142        .11011E-05** at limit **
   5  norm          .15549E-05    10.024        .83505E-07** at limit **
   6  norm          .12712E-07    10.316       -.56918E-06** at limit **
   7  Prefactor     8.7173        2.0247        .52494E-07   -.48100E-02
   8  Prefactor      .0000        41.165       -.88857E-06** at limit **
   9  Prefactor     .27618E-04    48.068       -.17809E-05** at limit **
  10  Prefactor     34.013        1.8104        .25751E-07    .92194E-02
  11  norm          11.026        64.026        .21683E-06   -.45236E-02
  12  Prefactor     .62032E-04    52.517       -.18760E-05** at limit **
  13  Prefactor     .29215E-04    41.683       -.15867E-05** at limit **
  14  norm          2.1491        4.4168       -.74707E-06   -.26151E-03
  15  Prefactor     .52306E-04    40.687       -.15381E-05** at limit **
  16  norm          .81551E-06    16.762        .93945E-07** at limit **
  17  Prefactor     27.229        4.3199        .59538E-07   -.23025E-01
  18  norm          .85023        22.723       -.24568E-05   -.35477E-04
  19  norm           .0000        46.954        .41768E-06** at limit **
  20  norm          .54806E-06    12.204        .44004E-06** at limit **
  21  Prefactor      .0000        .56281        .44962E-08** at limit **
  22  Prefactor     .65170E-07    38.597        .14815E-05** at limit **
  23  Prefactor     20.335        7.4651       -.19566E-06    .52353E-01
  24  Prefactor     6.7190        14.727        .56464E-06    .31196E-01
  25  Prefactor     .39801E-06    10.430        .17580E-06** at limit **
  26  Normalizat    .87848        .27946        .29284E-05   -.23538E-04
  27  Prefactor     .90466        .15066       -.13926E-05   -.14310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.4905
  Prefactor  = 41.9372
  Prefactor  = 4.24272e-07
  Prefactor  = 7.0477e-07
  norm       = 1.55487e-06
  norm       = 1.27121e-08
  Prefactor  = 8.71732
  Prefactor  = 0
  Prefactor  = 2.76176e-05
  Prefactor  = 34.0131
  norm       = 11.0258
  Prefactor  = 6.20322e-05
  Prefactor  = 2.92151e-05
  norm       = 2.14908
  Prefactor  = 5.23057e-05
  norm       = 8.15514e-07
  Prefactor  = 27.2289
  norm       = 0.850225
  norm       = 0
  norm       = 5.48062e-07
  Prefactor  = 0
  Prefactor  = 6.51701e-08
  Prefactor  = 20.3346
  Prefactor  = 6.71905
  Prefactor  = 3.98015e-07
  Normalizat = 0.87848
  Prefactor  = 0.904658
 **********
 **   18 **HESSE 
 **********

 FCN=   5057.109     FROM HESSE     STATUS=OK           542 CALLS     2898 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.490        22.883        .22006E-03   -1.5617    
   2  Prefactor     41.937        17.171        .15458E-03   -1.5578    
   3  Prefactor     .42427E-06    16.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .70477E-06    24.711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .15549E-05    13.391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12712E-07    10.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.7173        32.528        .33760E-03   -1.5649    
   8  Prefactor      .0000        41.020        .16887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27618E-04    185.67        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.013        36.347        .17120E-03   -1.5591    
  11  norm          11.026        68.091        .35727E-03   -1.5642    
  12  Prefactor     .62032E-04    187.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29215E-04    172.40        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1491        4.4611        .70217E-03   -1.5679    
  15  Prefactor     .52306E-04    169.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .81551E-06    22.773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.229        25.183        .19119E-03   -1.5604    
  18  norm          .85023        5.9514        .85684E-02   -1.5690    
  19  norm           .0000        46.728        .16538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .54806E-06    13.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .55509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .65170E-07    39.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     20.335        26.235        .22281E-03   -1.5618    
  24  Prefactor     6.7190        15.372        .38808E-03   -1.5656    
  25  Prefactor     .39801E-06    11.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .87848        .24930        .74193E-01   -.97221    
  27  Prefactor     .90466        .13266        .45072E-01   -.95979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37626e-06
Minuit parameter uncertainties:
  1  22.883
  2  17.1709
  3  0.00533523
  4  0.00834632
  5  0.00912622
  6  0.000724186
  7  32.5288
  8  5.24012e-05
  9  0.143222
  10  36.3474
  11  54.8009
  12  0.215709
  13  0.141943
  14  4.46108
  15  0.188558
  16  0.00861888
  17  25.183
  18  4.49892
  19  5.34817e-06
  20  0.0054409
  21  1.40876e-06
  22  0.00319336
  23  26.2348
  24  15.3721
  25  0.00424165
  26  0.249625
  27  0.132711
Done.

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

Extracting fit parameters...

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  6.203e-05  2.157e-01  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.047e-01  1.327e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  8.785e-01  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 112.286 57.056
Photon Flux Upper Limit: 4.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/223667/likelihoodResults_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.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) = 5057.11152014
delta logL = -0.00256350459495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5053.9337602
delta logL = 3.17519643635

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19726E-02   1.0000          .0000       .10000E+07
     2 'Index     '    9.0114       1.0000          .0000       10.000    
     3 'Normalizat'    .65486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5053.934     FROM MIGRAD    STATUS=CONVERGED    260 CALLS      532 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19583E-02    .10262E-02    .42118E-04** at limit **
   2  Index         9.0151        .24652        .12591       -.76420E-04
   3  Normalizat    .65497        .24345        .84519E-01    .65164E-05
   4  Prefactor     .98901        .13442        .46131E-01   -.21413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00195832
  Index      = 9.0151
  Normalizat = 0.654967
  Prefactor  = 0.98901
 **********
 **   18 **HESSE 
 **********

 FCN=   5053.934     FROM HESSE     STATUS=OK            29 CALLS      561 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19583E-02    .75896E-02    .15400E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.0151        1.7587        .55645E-03   -349.65    
   3  Normalizat    .65497        .27326        .37433E-03   -2.0846    
   4  Prefactor     .98901        .15419        .17723E-03   -.93097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11413e-09
Minuit parameter uncertainties:
  1  0.00758964
  2  1.88116
  3  0.273831
  4  0.15426
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/223667': 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) = 5053.93375874
delta logL = 3.17519790256

Extracting fit parameters...

4FGL J0729.1+5703
   Spectrum: PowerLaw
277    Prefactor:  1.958e-03  7.590e-03  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  9.015e+00  1.881e+00  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  8.778e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.890e-01  1.543e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  6.550e-01  2.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.01
Ra Dec: 112.286 57.056
Photon Index (Free Index): 9.02 +/- 1.88
Photon Flux (Free Index): 8.01e-07 +/- 4.03e-07
Energy Flux (Free Index): 9.10e-05 +/- 4.61e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/223667/cmap_HighResolution_694396801_695001601_4FGL_J0729.1+5703_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-02', comment='SUCCESS', energy_flux2='9.10e-05', dlogl='3.18e+00', photon_flux2='8.01e-07', job_status='DONE', time_completed='2023-01-10 02:40:12.650695', photon_index_error2='1.88', photon_index2='9.02', ts='-0.00', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='4.42e-07', energy_flux_error2='4.61e-05', EG='0.88', time_epoch_completed='1673347212.65', return_code='0', job_id='223667', GAL2='0.99', EG2='0.65', return_code2='0', photon_flux_error2='4.03e-07', ts2='7.01', photon_index='2.51' WHERE bin_id='753' AND source_name='4FGL J0729.1+5703' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:40:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 223667: <4FGL_J0729.1+5703_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0729.1+5703_weekly_bin753> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 10 02:25:30 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:26:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:26:58 2023
Terminated at Tue Jan 10 02:40:13 2023
Results reported at Tue Jan 10 02:40:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0729.1+5703_weekly_bin753 112.286 57.0558 694396801 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0729.1+5703 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            883 sec.

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

