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


Performing analysis on: 4FGL_J1129.5+3034_daily_bin1764
RA = 172.38, Dec = 30.5789
tmin = 696556801, tmax = 696816001
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='443627', job_status='RUN', time_executed='2023-01-31 00:41:51.379787', time_epoch_executed='1675154511.38' WHERE source_name='4FGL J1129.5+3034' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443627

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443627/ft1_4FGL_J1129.5+3034_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443627/ft1_4FGL_J1129.5+3034_daily_bin1764.fits outfile=/scratch/kocevski/443627/ft1_filteredMKT_4FGL_J1129.5+3034_daily_bin1764.fits ra=172.38 dec=30.5789 rad=12.0 tmin=696556801.0 tmax=696816001.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.72
user 3.44
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.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/443627/ft1_filteredMKT_4FGL_J1129.5+3034_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.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.17

Number of photons that the gtmktime cut: 796

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/443627/ltcube_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.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/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits
.....................!
real 15.20
user 14.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/443627/ltcube_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.fits outfile=/scratch/kocevski/443627/expmap_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.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/443627/ltcube_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.fits
.....................!
real 194.98
user 188.99
sys 5.49

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

Setting source of interest to:
4FGL J1129.5+3034 @ 172.38 30.5789

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits scfile=/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits outfile=/scratch/kocevski/443627/cmap_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.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.38 yref=30.5789 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits scfile=/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits outfile=/scratch/kocevski/443627/cmap_HighResolution_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.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.38 yref=30.5789 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/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443627/Model_4FGL_J1129.5+3034_daily_bin1764.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/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits.....................!
real 74.23
user 72.19
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits', '/scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits', expMap='/scratch/kocevski/443627/expmap_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.fits', expCube='/scratch/kocevski/443627/ltcube_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/443627/Model_4FGL_J1129.5+3034_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.5+3034'

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.468e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/443627/ft1_filtered_4FGL_J1129.5+3034_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/443627/ft2_4FGL_J1129.5+3034_daily_bin1764.fits
Exposure map: /scratch/kocevski/443627/expmap_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.fits
Exposure cube: /scratch/kocevski/443627/ltcube_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/443627/Model_4FGL_J1129.5+3034_daily_bin1764.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) = 8449.09270178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.134       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.5928       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45913E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .47631E-05   1.0000          .0000       .10000E+07
     5 'norm      '    2.6577       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34091       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18182E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29051E-04   1.0000          .0000       .10000E+07
     9 'norm      '    40.185       1.0000          .0000       .10000E+07
    10 'Prefactor '    .98643E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.556       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.4415       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22907       1.0000          .0000       .10000E+07
    14 'Prefactor '    12.820       1.0000          .0000       .10000E+07
    15 'norm      '    1.7954       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37123E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.9069       1.0000          .0000       .10000E+07
    18 'Prefactor '    30.853       1.0000          .0000       .10000E+07
    19 'norm      '    1.8064       1.0000          .0000       .10000E+07
    20 'Prefactor '    6.0820       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.7642       1.0000          .0000       .10000E+07
    22 'Prefactor '    .71319E-03   1.0000          .0000       .10000E+07
    23 'norm      '    62.588       1.0000          .0000       .10000E+07
    24 'norm      '    4.7486       1.0000          .0000       .10000E+07
    25 'Prefactor '    .78049E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    .72720E-08   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.8205       1.0000          .0000       .10000E+07
    28 'Normalizat'    .82671       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .79199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8448.974     FROM MIGRAD    STATUS=CONVERGED    190 CALLS     2177 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.045        7.9865        .98111E-08    .96595E-01
   2  Prefactor     4.8621        9.2177       -.18106E-06   -.27085E-02
   3  Prefactor     .14010E-03    26.478       -.51964E-07** at limit **
   4  Prefactor     .71054E-08    10.409        .15051E-06** at limit **
   5  norm          2.6574        .45011       -.18930E-07   -.45312E-01
   6  Prefactor     .35088        3.3075       -.14259E-06   -.19249E-02
   7  Prefactor     .38247E-07    14.984        .40477E-07** at limit **
   8  Prefactor     .33307E-09    7.0249       -.17778E-06** at limit **
   9  norm          40.372        3.8190       -.38840E-09   -.27597E-01
  10  Prefactor     .55511E-10    3.3882        .91677E-07** at limit **
  11  Prefactor     12.566        10.385       -.25082E-07   -.29433E-02
  12  Prefactor     5.4605        2.9064       -.71253E-08   -.90089E-03
  13  Prefactor     .58797E-06    26.874        .43948E-08** at limit **
  14  Prefactor     12.836        14.476        .27497E-07   -.53905E-01
  15  norm          1.7837        1.9265       -.11848E-07   -.12027E-02
  16  Prefactor     .13114E-04    89.678        .24168E-06** at limit **
  17  Prefactor     5.8339        6.3890        .91734E-07    .34437E-02
  18  Prefactor     33.997        50.259        .28550E-07   -.36401E-01
  19  norm          1.7616        1.3980        .22020E-07    .38462E-02
  20  Prefactor     5.9285        5.8176       -.31252E-07   -.67548E-01
  21  Prefactor     3.7689        2.0657        .28659E-07    .41717E-02
  22  Prefactor     .33196E-07    33.469       -.38181E-06** at limit **
  23  norm          62.626        4.2083       -.17162E-07   -.15305E-02
  24  norm          4.7476        2.8974        .13034E-07    .11608E-02
  25  Prefactor      .0000        2.1809       -.15954E-07** at limit **
  26  Prefactor      .0000        1.1980        .14832E-07** at limit **
  27  Prefactor     3.8209        2.4273        .37504E-07    .42667E-02
  28  Normalizat    .82472        .22481       -.19910E-05   -.15192E-03
  29  Prefactor     .79318        .23191        .15895E-05   -.90264E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.0446
  Prefactor  = 4.86209
  Prefactor  = 0.0001401
  Prefactor  = 7.10543e-09
  norm       = 2.65741
  Prefactor  = 0.350882
  Prefactor  = 3.82472e-08
  Prefactor  = 3.33067e-10
  norm       = 40.372
  Prefactor  = 5.55112e-11
  Prefactor  = 12.5656
  Prefactor  = 5.46053
  Prefactor  = 5.87974e-07
  Prefactor  = 12.8356
  norm       = 1.78369
  Prefactor  = 1.31137e-05
  Prefactor  = 5.83389
  Prefactor  = 33.9967
  norm       = 1.76164
  Prefactor  = 5.92854
  Prefactor  = 3.76889
  Prefactor  = 3.31957e-08
  norm       = 62.6261
  norm       = 4.74762
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.82091
  Normalizat = 0.824721
  Prefactor  = 0.793176
 **********
 **   18 **HESSE 
 **********

 FCN=   8448.974     FROM HESSE     STATUS=OK           627 CALLS     2804 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.045        31.935        .14567E-03   -1.5571    
   2  Prefactor     4.8621        9.2300        .46944E-03   -1.5664    
   3  Prefactor     .14010E-03    7.2250        .12149E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71054E-08    10.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6574        .45106        .55266E-03   -1.5675    
   6  Prefactor     .35088        3.9271        .96678E-03   -1.5696    
   7  Prefactor     .38247E-07    15.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    7.0430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          40.372        18.346        .15776E-03   -1.5581    
  10  Prefactor     .55511E-10    3.3919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.566        10.401        .28244E-03   -1.5637    
  12  Prefactor     5.4605        2.9375        .43053E-03   -1.5661    
  13  Prefactor     .58797E-06    100.99        .11280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.836        17.337        .27950E-03   -1.5636    
  15  norm          1.7837        1.9399        .78009E-03   -1.5681    
  16  Prefactor     .13114E-04    97.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8339        6.4135        .41295E-03   -1.5660    
  18  Prefactor     33.997        51.862        .18006E-03   -1.5591    
  19  norm          1.7616        1.4247        .77723E-03   -1.5681    
  20  Prefactor     5.9285        24.968        .40688E-03   -1.5659    
  21  Prefactor     3.7689        2.1097        .52012E-03   -1.5669    
  22  Prefactor     .33196E-07    33.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          62.626        4.2779        .12641E-03   -1.5550    
  24  norm          4.7476        2.9069        .46149E-03   -1.5664    
  25  Prefactor      .0000        2.1865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.1929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.8209        2.4307        .51613E-03   -1.5669    
  28  Normalizat    .82472        .19195        .76105E-01   -.99158    
  29  Prefactor     .79318        .19421        .83665E-01   -.99980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.87763e-07
Minuit parameter uncertainties:
  1  31.9355
  2  9.23006
  3  0.0636308
  4  0.000544188
  5  0.451063
  6  2.34771
  7  0.00154222
  8  9.89561e-05
  9  18.3458
  10  2.472e-05
  11  10.4013
  12  2.93749
  13  0.015412
  14  17.3367
  15  1.93991
  16  0.0713877
  17  6.4135
  18  51.8624
  19  1.4247
  20  24.3329
  21  2.10966
  22  0.00211868
  23  4.27792
  24  2.9069
  25  3.90409e-06
  26  1.73887e-06
  27  2.43073
  28  0.192104
  29  0.194377
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  1.284e+01  1.734e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  7.932e-01  1.944e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  8.247e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.88
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443627/likelihoodResults_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8448.74848131
delta logL = 0.225707549795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8448.73334567
delta logL = 0.240843182728

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4390       1.0000          .0000       .10000E+07
     2 'Index     '    3.1812       1.0000          .0000       10.000    
     3 'Normalizat'    .79478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81306       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8448.733     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      288 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4423        17.831        .14699E-04    .21702E-02
   2  Index         3.1813        1.4038        .84194E-02    .14303E-03
   3  Normalizat    .79505        .21910        .34230E-03    .54867E-04
   4  Prefactor     .81288        .23298        .36626E-03    .27129E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.44228
  Index      = 3.18129
  Normalizat = 0.795052
  Prefactor  = 0.812882
 **********
 **   18 **HESSE 
 **********

 FCN=   8448.733     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4423        13.247        .58796E-06   -1.5653    
   2  Index         3.1813        1.0484        .33678E-03   -.37228    
   3  Normalizat    .79505        .21850        .13692E-04   -1.0025    
   4  Prefactor     .81288        .23233        .14650E-04   -.99255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48444e-10
Minuit parameter uncertainties:
  1  13.2472
  2  1.05745
  3  0.218741
  4  0.232608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443627': 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) = 8448.73334416
delta logL = 0.240844691545

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  7.442e+00  1.325e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  3.181e+00  1.057e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.009e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  8.129e-01  2.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  7.951e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.37
Ra Dec: 172.380 30.579
Photon Index (Free Index): 3.18 +/- 1.06
Photon Flux (Free Index): 5.35e-08 +/- 6.08e-08
Energy Flux (Free Index): 9.85e-06 +/- 1.01e-05

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/443627/cmap_HighResolution_696556801_696816001_4FGL_J1129.5+3034_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', comment='SUCCESS', energy_flux2='9.85e-06', dlogl='2.41e-01', photon_flux2='5.35e-08', job_status='DONE', time_completed='2023-01-31 00:56:26.720095', photon_index_error2='1.06', photon_index2='3.18', ts='0.88', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.01e-05', EG='0.82', time_epoch_completed='1675155386.72', return_code='0', job_id='443627', GAL2='0.81', EG2='0.80', return_code2='0', photon_flux_error2='6.08e-08', ts2='1.37', photon_index='2.46' WHERE bin_id='1764' AND source_name='4FGL J1129.5+3034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:56:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 443627: <4FGL_J1129.5+3034_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1129.5+3034_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:40:16 2023
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:41:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:41:30 2023
Terminated at Tue Jan 31 00:56:27 2023
Results reported at Tue Jan 31 00:56:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.5+3034_daily_bin1764 172.38 30.5789 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1129.5+3034 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   877.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            971 sec.

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

