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


Performing analysis on: 4FGL_J1129.1+3703_daily_bin1762
RA = 172.296, Dec = 37.0644
tmin = 696038401, tmax = 696297601
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='107784', job_status='RUN', time_executed='2023-01-25 00:53:46.237513', time_epoch_executed='1674636826.24' WHERE source_name='4FGL J1129.1+3703' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107784/ft1_4FGL_J1129.1+3703_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107784/ft1_4FGL_J1129.1+3703_daily_bin1762.fits outfile=/scratch/kocevski/107784/ft1_filteredMKT_4FGL_J1129.1+3703_daily_bin1762.fits ra=172.296 dec=37.0644 rad=12.0 tmin=696038401.0 tmax=696297601.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.68
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.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/107784/ft1_filteredMKT_4FGL_J1129.1+3703_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.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.52
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 683

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107784/ltcube_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.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/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits
.....................!
real 13.94
user 13.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107784/ltcube_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.fits outfile=/scratch/kocevski/107784/expmap_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.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/107784/ltcube_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.fits
.....................!
real 193.10
user 187.23
sys 5.20

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

Setting source of interest to:
4FGL J1129.1+3703 @ 172.296 37.0644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits scfile=/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits outfile=/scratch/kocevski/107784/cmap_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.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=172.296 yref=37.0644 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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits scfile=/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits outfile=/scratch/kocevski/107784/cmap_HighResolution_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.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=172.296 yref=37.0644 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107784/Model_4FGL_J1129.1+3703_daily_bin1762.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/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits.....................!
real 64.23
user 62.76
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits', '/scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits', expMap='/scratch/kocevski/107784/expmap_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.fits', expCube='/scratch/kocevski/107784/ltcube_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107784/Model_4FGL_J1129.1+3703_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1+3703'

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  7.179e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/107784/ft1_filtered_4FGL_J1129.1+3703_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107784/ft2_4FGL_J1129.1+3703_daily_bin1762.fits
Exposure map: /scratch/kocevski/107784/expmap_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107784/ltcube_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107784/Model_4FGL_J1129.1+3703_daily_bin1762.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) = 7366.80153841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22914E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1094       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12528E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18297E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1237       1.0000          .0000       .10000E+07
     6 'norm      '    1.5395       1.0000          .0000       .10000E+07
     7 'Prefactor '    .78835       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10561E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.7491       1.0000          .0000       .10000E+07
    10 'norm      '    9.3101       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13344E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .36212E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.0741       1.0000          .0000       .10000E+07
    14 'norm      '    3.5223       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3821       1.0000          .0000       .10000E+07
    16 'Prefactor '    .76597       1.0000          .0000       .10000E+07
    17 'Prefactor '    .41967E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .19806E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    28.942       1.0000          .0000       .10000E+07
    20 'norm      '    8.6282       1.0000          .0000       .10000E+07
    21 'Prefactor '    90.352       1.0000          .0000       .10000E+07
    22 'norm      '    53.136       1.0000          .0000       .10000E+07
    23 'Prefactor '    7.6355       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1509       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .61911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7366.727     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2161 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29421E-08    15.659        .25501E-06** at limit **
   2  Prefactor     4.1160        5.2735        .93409E-07    .30846E-03
   3  Prefactor     .45297E-07    9.4552        .84589E-08** at limit **
   4  Prefactor     .14433E-08    22.020       -.16942E-06** at limit **
   5  Prefactor     2.1358        7.1124        .50592E-07    .11513E-03
   6  norm          1.5401        .36250        .67313E-09    .18824E-04
   7  Prefactor     .80787        2.7345        .74182E-07    .35124E-03
   8  Prefactor     .33917E-07    10.772        .35683E-07** at limit **
   9  Prefactor     8.7412        3.6958       -.13901E-07   -.45924E-02
  10  norm          9.2320        12.986       -.34159E-07   -.56417E-02
  11  Prefactor     .22204E-09    4.6369       -.19147E-06** at limit **
  12  Prefactor     .24925E-07    37.584        .12460E-07** at limit **
  13  Prefactor     5.4633        3.3934        .99344E-07   -.60475E-02
  14  norm          3.5251        2.7136        .35770E-07   -.62782E-04
  15  Prefactor     1.3335        17.253        .90707E-06   -.76746E-03
  16  Prefactor     .66416        3.5026       -.18935E-07    .24407E-01
  17  Prefactor     .93814E-08    45.883       -.63535E-07** at limit **
  18  norm           .0000        .48076       -.33341E-07** at limit **
  19  Prefactor     29.264        2.5331        .10544E-08    .34625E-02
  20  norm          8.5623        8.8433        .41334E-07    .17227E-03
  21  Prefactor     93.345        56.894        .20913E-07   -.14477E-02
  22  norm          53.157        4.1284       -.18644E-07   -.75554E-03
  23  Prefactor     7.6503        6.9471       -.69568E-08    .47104E-03
  24  Normalizat    1.1495        .20793        .10406E-05   -.10200E-05
  25  Prefactor     .61942        .22631       -.31068E-05   -.34948E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.94209e-09
  Prefactor  = 4.11603
  Prefactor  = 4.52971e-08
  Prefactor  = 1.44329e-09
  Prefactor  = 2.13582
  norm       = 1.54011
  Prefactor  = 0.807866
  Prefactor  = 3.39173e-08
  Prefactor  = 8.74115
  norm       = 9.23205
  Prefactor  = 2.22045e-10
  Prefactor  = 2.49245e-08
  Prefactor  = 5.46335
  norm       = 3.5251
  Prefactor  = 1.33348
  Prefactor  = 0.664159
  Prefactor  = 9.38138e-09
  norm       = 0
  Prefactor  = 29.2641
  norm       = 8.56225
  Prefactor  = 93.3452
  norm       = 53.1571
  Prefactor  = 7.65026
  Normalizat = 1.14952
  Prefactor  = 0.619415
 **********
 **   18 **HESSE 
 **********

 FCN=   7366.727     FROM HESSE     STATUS=OK           487 CALLS     2648 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29421E-08    15.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1160        5.2841        .49705E-03   -1.5667    
   3  Prefactor     .45297E-07    10.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14433E-08    22.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1358        7.1981        .70735E-03   -1.5679    
   6  norm          1.5401        .37518        .54269E-03   -1.5683    
   7  Prefactor     .80787        2.7589        .53807E-03   -1.5690    
   8  Prefactor     .33917E-07    11.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.7412        14.877        .33864E-03   -1.5649    
  10  norm          9.2320        13.776        .32821E-03   -1.5647    
  11  Prefactor     .22204E-09    4.5428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24925E-07    38.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4633        23.047        .44613E-03   -1.5661    
  14  norm          3.5251        2.7337        .53840E-03   -1.5670    
  15  Prefactor     1.3335        24.201        .92529E-03   -1.5685    
  16  Prefactor     .66416        20.021        .55507E-03   -1.5692    
  17  Prefactor     .93814E-08    45.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .47465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     29.264        28.603        .18591E-03   -1.5600    
  20  norm          8.5623        8.8365        .34102E-03   -1.5649    
  21  Prefactor     93.345        56.804        .10521E-03   -1.5515    
  22  norm          53.157        4.1642        .13719E-03   -1.5562    
  23  Prefactor     7.6503        6.9450        .36268E-03   -1.5653    
  24  Normalizat    1.1495        .17670        .58835E-01   -.88177    
  25  Prefactor     .61942        .19335        .87133E-01   -1.0677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.77846e-07
Minuit parameter uncertainties:
  1  0.000432103
  2  5.28412
  3  0.00137079
  4  0.000358662
  5  7.1981
  6  0.375178
  7  2.75886
  8  0.00124806
  9  14.8774
  10  13.7759
  11  6.26218e-05
  12  0.00194783
  13  22.4423
  14  2.73366
  15  11.3617
  16  7.29302
  17  0.00131147
  18  8.92233e-08
  19  28.6032
  20  8.83651
  21  56.8041
  22  4.16417
  23  6.94498
  24  0.176789
  25  0.193555
Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  2.492e-08  1.948e-03  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  2.171e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  6.194e-01  1.936e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.150e+00  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107784/likelihoodResults_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.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) = 7366.739204
delta logL = -0.0126884501506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7366.59710931
delta logL = 0.129406237266

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65392E-06   1.0000          .0000       .10000E+07
     2 'Index     '    8.4640       1.0000          .0000       10.000    
     3 'Normalizat'    1.1232       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63942       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7366.727     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      449 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    1.9838        .42118E-03** at limit **
   2  Index         .77107        9.4630        .50000       -.18190E-09
   3  Normalizat    1.1495        .19976E-02    .58836E-01    .30894E-03
   4  Prefactor     .61942        .22502E-02    .87134E-01   -.34201E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Index      = 0.771069
  Normalizat = 1.14952
  Prefactor  = 0.619418
 **********
 **   18 **HESSE 
 **********

 FCN=   7366.727     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      476 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    9.9029        .84235E-04    67.544    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .77107        7.4205        .50000       -.18614E+06
   3  Normalizat    1.1495        .44624E-02    .26018E-03    55.667    
   4  Prefactor     .61942        .50141E-02    .38612E-03    104.74    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.48158e-10
Minuit parameter uncertainties:
  1  0.000160763
  2  108659
  3  0.00446238
  4  0.00501415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107784': 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) = 7366.72651555
delta logL = 1.7462298274e-10

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  6.661e-10  1.608e-04  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  7.711e-01  1.087e+05  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  2.253e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  6.194e-01  5.014e-03  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.150e+00  4.462e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.296 37.064

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/107784/cmap_HighResolution_696038401_696297601_4FGL_J1129.1+3703_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-03', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2023-01-25 01:06:53.066827', job_id='107784', GAL2='0.62', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1674637613.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='1.75e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1762' AND source_name='4FGL J1129.1+3703' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:06:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 107784: <4FGL_J1129.1+3703_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1129.1+3703_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:20 2023
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:39 2023
Terminated at Wed Jan 25 01:06:54 2023
Results reported at Wed Jan 25 01:06:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.1+3703_daily_bin1762 172.296 37.0644 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1129.1+3703 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   787.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            994 sec.

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

