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


Performing analysis on: 4FGL_J1129.5+3034_daily_bin1749
RA = 172.38, Dec = 30.5789
tmin = 692668801, tmax = 692928001
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='949237', job_status='RUN', time_executed='2022-12-17 00:36:08.391795', time_epoch_executed='1671266168.39' WHERE source_name='4FGL J1129.5+3034' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949237

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949237/ft1_4FGL_J1129.5+3034_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949237/ft1_4FGL_J1129.5+3034_daily_bin1749.fits outfile=/scratch/kocevski/949237/ft1_filteredMKT_4FGL_J1129.5+3034_daily_bin1749.fits ra=172.38 dec=30.5789 rad=12.0 tmin=692668801.0 tmax=692928001.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.66
user 3.42
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.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/949237/ft1_filteredMKT_4FGL_J1129.5+3034_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 825

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/949237/ltcube_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.fits outfile=/scratch/kocevski/949237/expmap_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.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/949237/ltcube_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.fits
.....................!
real 193.49
user 187.56
sys 5.57

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/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits scfile=/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits outfile=/scratch/kocevski/949237/cmap_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits scfile=/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits outfile=/scratch/kocevski/949237/cmap_HighResolution_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949237/Model_4FGL_J1129.5+3034_daily_bin1749.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/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits.....................!
real 73.75
user 72.35
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits', '/scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits', expMap='/scratch/kocevski/949237/expmap_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.fits', expCube='/scratch/kocevski/949237/ltcube_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949237/Model_4FGL_J1129.5+3034_daily_bin1749.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/949237/ft1_filtered_4FGL_J1129.5+3034_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/949237/ft2_4FGL_J1129.5+3034_daily_bin1749.fits
Exposure map: /scratch/kocevski/949237/expmap_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.fits
Exposure cube: /scratch/kocevski/949237/ltcube_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949237/Model_4FGL_J1129.5+3034_daily_bin1749.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) = 8568.90594517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19751E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .39668E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19594E-01   1.0000          .0000       .10000E+07
     5 'norm      '    1.4196       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26724       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.689       1.0000          .0000       .10000E+07
     8 'Prefactor '    .85377E-03   1.0000          .0000       .10000E+07
     9 'norm      '    5.9776       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.8722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55946E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63838E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .67090E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .41620E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .80025E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .42916E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .92313       1.0000          .0000       .10000E+07
    18 'Prefactor '    .23885E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .90836       1.0000          .0000       .10000E+07
    20 'Prefactor '    .32117E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.0236       1.0000          .0000       .10000E+07
    22 'Prefactor '    15.485       1.0000          .0000       .10000E+07
    23 'norm      '    39.317       1.0000          .0000       .10000E+07
    24 'norm      '    7.7588       1.0000          .0000       .10000E+07
    25 'Prefactor '    .89032E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    2.8189       1.0000          .0000       .10000E+07
    27 'Prefactor '    4.8426       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0956       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .94182       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=   8568.736     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2103 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.8667        .61985E-07** at limit **
   2  Prefactor     .88263E-08    3.5421        .28832E-07** at limit **
   3  Prefactor     3.3691        5.7244       -.12543E-07    .12482E-02
   4  Prefactor     .21372E-07    1.0476        .13510E-07** at limit **
   5  norm          1.4197        .33016       -.83841E-08   -.12426E-01
   6  Prefactor     .26762        2.6520        .27682E-07    .10057E-02
   7  Prefactor     10.698        3.8540       -.25421E-07    .86775E-02
   8  Prefactor     .64393E-07    3.1137        .59954E-07** at limit **
   9  norm          5.9106        1.5191       -.10576E-07   -.15287E-01
  10  Prefactor     4.9267        5.6996        .34985E-07    .71299E-01
  11  Prefactor     .27756E-08    2.5517        .84248E-07** at limit **
  12  Prefactor     .49960E-09    2.9863       -.10796E-06** at limit **
  13  Prefactor     .34139E-07    25.292        .26509E-06** at limit **
  14  Prefactor     .29088E-07    2.3483        .10293E-06** at limit **
  15  norm          .17708E-07    4.0663       -.13061E-06** at limit **
  16  Prefactor     .88818E-09    2.1981        .95235E-07** at limit **
  17  Prefactor     .92859        1.3473       -.28418E-07   -.13376E-02
  18  Prefactor     .38858E-09    .73529        .78721E-08** at limit **
  19  norm          .90966        .87677        .14071E-07    .41397E-02
  20  Prefactor     .72164E-09    7.3197        .14591E-06** at limit **
  21  Prefactor     1.0233        1.3151        .86424E-08    .11817E-02
  22  Prefactor     15.261        5.4013       -.20062E-07    .93413E-01
  23  norm          39.327        3.2386        .11823E-07    .15786E-01
  24  norm          7.7605        3.5201        .28943E-07    .65733E-02
  25  Prefactor     .55511E-10    3.1834       -.36821E-07** at limit **
  26  Prefactor     2.8192        2.0111        .74278E-07    .88433E-02
  27  Prefactor     4.8417        2.3438       -.95006E-08    .45867E-03
  28  Normalizat    1.0955        .19674        .21315E-05    .24098E-03
  29  Prefactor     .94170        .22039       -.81713E-06    .16213E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 8.82627e-09
  Prefactor  = 3.36909
  Prefactor  = 2.13718e-08
  norm       = 1.41973
  Prefactor  = 0.267621
  Prefactor  = 10.6977
  Prefactor  = 6.43929e-08
  norm       = 5.91057
  Prefactor  = 4.92673
  Prefactor  = 2.77556e-09
  Prefactor  = 4.996e-10
  Prefactor  = 3.41394e-08
  Prefactor  = 2.90878e-08
  norm       = 1.77081e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 0.928593
  Prefactor  = 3.88578e-10
  norm       = 0.909656
  Prefactor  = 7.21645e-10
  Prefactor  = 1.02333
  Prefactor  = 15.261
  norm       = 39.3271
  norm       = 7.76054
  Prefactor  = 5.55112e-11
  Prefactor  = 2.81921
  Prefactor  = 4.84174
  Normalizat = 1.09551
  Prefactor  = 0.941697
 **********
 **   18 **HESSE 
 **********

 FCN=   8568.736     FROM HESSE     STATUS=OK           627 CALLS     2730 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.0553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88263E-08    3.7284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3691        5.7704        .55721E-03   -1.5671    
   4  Prefactor     .21372E-07    10.464        .10367E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4197        .33617        .55984E-03   -1.5684    
   6  Prefactor     .26762        1.4098        .37369E-02   -1.5698    
   7  Prefactor     10.698        14.403        .30621E-03   -1.5643    
   8  Prefactor     .64393E-07    7.7876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.9106        9.0996        .41046E-03   -1.5659    
  10  Prefactor     4.9267        8.3211        .45547E-03   -1.5664    
  11  Prefactor     .27756E-08    5.2679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .49960E-09    3.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .34139E-07    25.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29088E-07    6.2729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .17708E-07    1.3282        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .88818E-09    5.4655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .92859        6.3111        .44174E-03   -1.5689    
  18  Prefactor     .38858E-09    100.07        .16793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .90966        .90175        .45184E-03   -1.5689    
  20  Prefactor     .72164E-09    8.6851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0233        1.3184        .12690E-03   -1.5688    
  22  Prefactor     15.261        27.320        .25426E-03   -1.5630    
  23  norm          39.327        3.2491        .15950E-03   -1.5583    
  24  norm          7.7605        3.5199        .35976E-03   -1.5652    
  25  Prefactor     .55511E-10    3.2488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.8192        2.0102        .60553E-03   -1.5674    
  27  Prefactor     4.8417        2.3449        .45689E-03   -1.5664    
  28  Normalizat    1.0955        .17212        .63246E-01   -.89896    
  29  Prefactor     .94170        .18656        .76483E-01   -.94699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83131e-07
Minuit parameter uncertainties:
  1  1.02027e-05
  2  0.000362848
  3  5.77041
  4  0.000945389
  5  0.336167
  6  1.22847
  7  14.4029
  8  0.00141653
  9  9.0996
  10  8.32108
  11  0.000240736
  12  7.7281e-05
  13  0.00185989
  14  0.000854532
  15  0.000306809
  16  0.000140836
  17  4.84168
  18  0.000384194
  19  0.90175
  20  0.000156685
  21  1.31836
  22  27.3207
  23  3.24912
  24  3.51994
  25  2.85603e-05
  26  2.01015
  27  2.3449
  28  0.172208
  29  0.186689
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  2.909e-08  8.545e-04  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:  9.417e-01  1.867e-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:  1.096e+00  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.380 30.579
Photon Flux Upper Limit: 5.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949237/likelihoodResults_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.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) = 8568.73672445
delta logL = -0.000453767062936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8568.73627126
delta logL = -5.77580067329e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18584E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.2259       1.0000          .0000       10.000    
     3 'Normalizat'    1.0956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94153       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.

 FCN=   8568.736     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      270 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .17275E-01    .42118E-03** at limit **
   2  Index         2.7829        6.3884        .50000        .27285E-10
   3  Normalizat    1.0955        .25571E-03    .63246E-01    .69864E-04
   4  Prefactor     .94170        .29064E-03    .76483E-01    .90397E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.78294
  Normalizat = 1.09551
  Prefactor  = 0.941698
 **********
 **   18 **HESSE 
 **********

 FCN=   8568.736     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .81E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .11128        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7829        7.1894        .51000       -.45940    
   3  Normalizat    1.0955        .64790E-03    .27975E-03   -.89896    
   4  Prefactor     .94170        .73586E-03    .33847E-03   -.94699    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.13225e-14
Minuit parameter uncertainties:
  1  4.30077e-06
  2  26099
  3  0.000647899
  4  0.000735856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949237': 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) = 8568.73627068
delta logL = 2.33558239415e-09

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  5.551e-11  4.301e-06  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.783e+00  2.610e+04  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:  9.417e-01  7.359e-04  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:  1.096e+00  6.479e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 172.380 30.579

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/949237/cmap_HighResolution_692668801_692928001_4FGL_J1129.5+3034_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', job_status='DONE', photon_flux_upper_limit='5.75e-08', time_completed='2022-12-17 00:50:38.524903', job_id='949237', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1671267038.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.34e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1749' AND source_name='4FGL J1129.5+3034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:50:38 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 949237: <4FGL_J1129.5+3034_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1129.5+3034_daily_bin1749> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Dec 17 00:35:23 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:35:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:35:25 2022
Terminated at Sat Dec 17 00:50:38 2022
Results reported at Sat Dec 17 00:50:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.5+3034_daily_bin1749 172.38 30.5789 692668801 692928001 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 :                                   872.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            915 sec.

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

