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


Performing analysis on: 4FGL_J1129.1+3703_daily_bin1772
RA = 172.296, Dec = 37.0644
tmin = 698630401, tmax = 698889601
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='629716', job_status='RUN', time_executed='2023-02-24 01:26:50.951640', time_epoch_executed='1677230810.95' WHERE source_name='4FGL J1129.1+3703' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629716

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629716/ft1_4FGL_J1129.1+3703_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629716/ft1_4FGL_J1129.1+3703_daily_bin1772.fits outfile=/scratch/kocevski/629716/ft1_filteredMKT_4FGL_J1129.1+3703_daily_bin1772.fits ra=172.296 dec=37.0644 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.98
user 2.78
sys 0.19

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

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

Number of photons that the gtmktime cut: 39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629716/ft1_filtered_4FGL_J1129.1+3703_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/629716/ltcube_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.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/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits
.....................!
real 12.40
user 12.06
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629716/ft1_filtered_4FGL_J1129.1+3703_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/629716/ltcube_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.fits outfile=/scratch/kocevski/629716/expmap_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.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/629716/ltcube_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.fits
.....................!
real 191.60
user 185.54
sys 5.74

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/629716/ft1_filtered_4FGL_J1129.1+3703_daily_bin1772.fits scfile=/scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits outfile=/scratch/kocevski/629716/cmap_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629716/ft1_filtered_4FGL_J1129.1+3703_daily_bin1772.fits scfile=/scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits outfile=/scratch/kocevski/629716/cmap_HighResolution_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.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.54
user 0.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/629716/ft1_filtered_4FGL_J1129.1+3703_daily_bin1772.fits', '/scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits', expMap='/scratch/kocevski/629716/expmap_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.fits', expCube='/scratch/kocevski/629716/ltcube_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/629716/Model_4FGL_J1129.1+3703_daily_bin1772.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/629716/ft1_filtered_4FGL_J1129.1+3703_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/629716/ft2_4FGL_J1129.1+3703_daily_bin1772.fits
Exposure map: /scratch/kocevski/629716/expmap_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.fits
Exposure cube: /scratch/kocevski/629716/ltcube_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/629716/Model_4FGL_J1129.1+3703_daily_bin1772.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) = 467.966509437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     6 'norm      '    .75567E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .88789E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19601E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86283E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .10819E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .95701E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .71904E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24508E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .25752E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    86.053       1.0000          .0000       .10000E+07
    16 'Prefactor '    .50626E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .51683E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20469E-05   1.0000          .0000       .10000E+07
    20 'norm      '    30.737       1.0000          .0000       .10000E+07
    21 'Prefactor '    204.01       1.0000          .0000       .10000E+07
    22 'norm      '    40.166       1.0000          .0000       .10000E+07
    23 'Prefactor '    .84210E-07   1.0000          .0000       .10000E+07
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .81904       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=   467.9515     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2982 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E+07    1.0418        .27573E-06   -.12496E-03
   2  Prefactor     .10000E+07    .88877        .16283E-05   -.12736E-02
   3  Prefactor     .10000E+07    .58093        .51228E-06   -.76145E-04
   4  Prefactor     .10000E+07    2.3135        .47935E-05   -.37079E-02
   5  Prefactor     .10000E+07    .56432        .20186E-06   -.41726E-04
   6  norm          .44960E-03    167.58        .54060E-06** at limit **
   7  Prefactor     .35583E-07    525.32       -.30656E-05** at limit **
   8  Prefactor     .16432E-03    910.14       -.11907E-03** at limit **
   9  Prefactor     .17009        431.83       -.83255E-04** at limit **
  10  norm          .59451E-02    920.78       -.11783E-03** at limit **
  11  Prefactor     .55511E-10    36.185        .94770E-05** at limit **
  12  Prefactor     .28693E-03    263.65       -.73118E-05** at limit **
  13  Prefactor     .12934E-07    136.94       -.94698E-06** at limit **
  14  norm           .0000        16.309       -.77539E-06** at limit **
  15  Prefactor     86.049        1.3137        .10322E-06    .15116E-02
  16  Prefactor      .0000        49.919       -.14026E-05** at limit **
  17  Prefactor     .50515E-06    198.29       -.26054E-04** at limit **
  18  norm           .0000        3.4442       -.39147E-05** at limit **
  19  Prefactor     .13323E-08    86.380       -.28248E-05** at limit **
  20  norm          30.745        41.623        .12877E-04    .24883E-01
  21  Prefactor     203.99        1.9764        .26841E-06    .15852E-02
  22  norm          40.165        10.910       -.96562E-06    .24255E-03
  23  Prefactor      .0000        13.581        .14351E-05** at limit **
  24  Normalizat    .10000E-01    .37386       -.12454E-03** at limit **
  25  Prefactor     .81905        .38195       -.69386E-04   -.11449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 999997
  Prefactor  = 999999
  Prefactor  = 1e+06
  Prefactor  = 999999
  Prefactor  = 1e+06
  norm       = 0.000449596
  Prefactor  = 3.55826e-08
  Prefactor  = 0.00016432
  Prefactor  = 0.17009
  norm       = 0.00594506
  Prefactor  = 5.55112e-11
  Prefactor  = 0.000286934
  Prefactor  = 1.29341e-08
  norm       = 0
  Prefactor  = 86.0495
  Prefactor  = 0
  Prefactor  = 5.05151e-07
  norm       = 0
  Prefactor  = 1.33227e-09
  norm       = 30.7446
  Prefactor  = 203.988
  norm       = 40.1648
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.819052
 **********
 **   18 **HESSE 
 **********

 FCN=   467.9515     FROM HESSE     STATUS=OK           459 CALLS     3441 TOTAL
                     EDM=   .47E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E+07    .59053E+06    .55471E-03    1.5672    
   2  Prefactor     .10000E+07    .66739E+06    .42118E-03    1.5689    
   3  Prefactor     .10000E+07    .92358E+06    .96744E-03    1.5696    
   4  Prefactor     .10000E+07    .12241E+06    .42118E-03    1.5689    
   5  Prefactor     .10000E+07    .53874E+06    .82118E-03    1.5694    
   6  norm          .44960E-03    413.63        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .35583E-07    593.67        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16432E-03    2177.0        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17009        5302.8        .42118E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .59451E-02    1856.1        .42118E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    36.214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28693E-03    367.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12934E-07    137.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        16.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     86.049        152.62        .10781E-03   -1.5522    
  16  Prefactor      .0000        49.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50515E-06    198.34        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        3.4455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .13323E-08    86.380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          30.745        42.360        .18040E-03   -1.5597    
  21  Prefactor     203.99        203.52        .70020E-04   -1.5422    
  22  norm          40.165        10.919        .15780E-03   -1.5581    
  23  Prefactor      .0000        13.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .33923        .18538       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .81905        .41830        .65554E-01   -.99030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72888e-05
Minuit parameter uncertainties:
  1  9841.21
  2  1191.04
  3  2288.73
  4  677.277
  5  3899.67
  6  0.862541
  7  0.00919276
  8  1.19664
  9  60.1182
  10  6.64581
  11  0.000107772
  12  0.649869
  13  0.0026615
  14  4.46894e-06
  15  152.63
  16  5.17254e-05
  17  0.02002
  18  5.44545e-06
  19  0.000671724
  20  42.3609
  21  203.522
  22  10.9188
  23  9.29384e-06
  24  1.79385e-07
  25  0.41994
Done.

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

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  2.869e-04  6.499e-01  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:  8.191e-01  4.199e-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.000e-02  1.794e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.296 37.064
Photon Flux Upper Limit: 1.39e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/629716/likelihoodResults_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.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) = 467.952780777
delta logL = -0.0012950218316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 467.951485653
delta logL = 1.01496254956e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13699E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9588       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81929       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=   467.9515     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      222 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    496.05       -.29209E-05** at limit **
   2  Index         .92427        6.2540       -.20741E-03   -.18081E-11
   3  Normalizat    .10000E-01    .37379       -.46202E-05** at limit **
   4  Prefactor     .81905        .37326        .25324E-06   -.59204E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Index      = 0.924267
  Normalizat = 0.01
  Prefactor  = 0.819052
 **********
 **   18 **HESSE 
 **********

 FCN=   467.9515     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      259 TOTAL
                     EDM=   .37E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    76.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .92427        6.7752        .50000       -.95298    
   3  Normalizat    .10000E-01    .92142E-04    .18538       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .81905        .66091E-02    .65554E-01   -.99030    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.66722e-13
Minuit parameter uncertainties:
  1  0.000431142
  2  289606
  3  8.67345e-09
  4  0.00660909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629716': 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) = 467.951485365
delta logL = 3.89889805774e-07

Extracting fit parameters...

4FGL J1129.1+3703
   Spectrum: PowerLaw
336    Prefactor:  6.106e-10  4.311e-04  0.000e+00  1.000e+06 ( 1.000e-14)
337        Index:  9.243e-01  2.896e+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:  8.191e-01  6.609e-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.000e-02  8.673e-09  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/629716/cmap_HighResolution_698630401_698889601_4FGL_J1129.1+3703_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-01', job_status='DONE', photon_flux_upper_limit='1.39e-06', time_completed='2023-02-24 01:32:47.631458', job_id='629716', GAL2='0.82', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677231167.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.90e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1772' AND source_name='4FGL J1129.1+3703' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:32:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 629716: <4FGL_J1129.1+3703_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1129.1+3703_daily_bin1772> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Feb 24 01:25:19 2023
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:25:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:25:20 2023
Terminated at Fri Feb 24 01:32:48 2023
Results reported at Fri Feb 24 01:32:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.1+3703_daily_bin1772 172.296 37.0644 698630401 698889601 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 :                                   359.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   447 sec.
    Turnaround time :                            449 sec.

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

