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


Performing analysis on: 4FGL_J1129.5+3034_daily_bin1777
RA = 172.38, Dec = 30.5789
tmin = 699926401, tmax = 700185601
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='913313', job_status='RUN', time_executed='2023-03-11 00:36:31.411301', time_epoch_executed='1678523791.41' WHERE source_name='4FGL J1129.5+3034' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/913313

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/913313/ft1_4FGL_J1129.5+3034_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/913313/ft2_4FGL_J1129.5+3034_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/913313/ft1_4FGL_J1129.5+3034_daily_bin1777.fits outfile=/scratch/kocevski/913313/ft1_filteredMKT_4FGL_J1129.5+3034_daily_bin1777.fits ra=172.38 dec=30.5789 rad=12.0 tmin=699926401.0 tmax=700185601.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.63
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/913313/ft1_filtered_4FGL_J1129.5+3034_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/913313/ft2_4FGL_J1129.5+3034_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/913313/ltcube_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.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/913313/ft2_4FGL_J1129.5+3034_daily_bin1777.fits
.....................!
real 12.35
user 11.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/913313/ft1_filtered_4FGL_J1129.5+3034_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/913313/ft2_4FGL_J1129.5+3034_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/913313/ltcube_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.fits outfile=/scratch/kocevski/913313/expmap_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.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/913313/ltcube_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.fits
.....................!
real 190.42
user 184.97
sys 5.10

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/913313/ft1_filtered_4FGL_J1129.5+3034_daily_bin1777.fits scfile=/scratch/kocevski/913313/ft2_4FGL_J1129.5+3034_daily_bin1777.fits outfile=/scratch/kocevski/913313/cmap_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/913313/ft1_filtered_4FGL_J1129.5+3034_daily_bin1777.fits scfile=/scratch/kocevski/913313/ft2_4FGL_J1129.5+3034_daily_bin1777.fits outfile=/scratch/kocevski/913313/cmap_HighResolution_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99275E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.5864       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21654E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5975       1.0000          .0000       .10000E+07
     5 'norm      '    .51630       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.7038       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.597       1.0000          .0000       .10000E+07
     8 'Prefactor '    .44097E-02   1.0000          .0000       .10000E+07
     9 'norm      '    23.869       1.0000          .0000       .10000E+07
    10 'Prefactor '    .92609E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3413       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1539       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10824E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .31327E-03   1.0000          .0000       .10000E+07
    15 'norm      '    5.9782       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18631E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55884E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .23462       1.0000          .0000       .10000E+07
    19 'norm      '    .51658       1.0000          .0000       .10000E+07
    20 'Prefactor '    19.645       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.0200       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10457E-02   1.0000          .0000       .10000E+07
    23 'norm      '    18.553       1.0000          .0000       .10000E+07
    24 'norm      '    1.1765       1.0000          .0000       .10000E+07
    25 'Prefactor '    3.2947       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.0566       1.0000          .0000       .10000E+07
    27 'Prefactor '    1.4070       1.0000          .0000       .10000E+07
    28 'Normalizat'    .91065       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1634       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=   6967.374     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2693 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    28.880        .25840E-05** at limit **
   2  Prefactor     6.5849        7.7807       -.39400E-06   -.17107E-02
   3  Prefactor     .83267E-09    3.5948       -.34801E-06** at limit **
   4  Prefactor     5.6078        1.3637        .19594E-06    .10897E-02
   5  norm          .51646        .24084       -.66640E-08    .57028E-03
   6  Prefactor     3.7050        2.8764       -.35045E-07   -.12506E-02
   7  Prefactor     16.638        1.5250       -.17836E-06   -.12634E-01
   8  Prefactor     .55511E-10    8.8408       -.60329E-06** at limit **
   9  norm          23.799        2.3632       -.45689E-06   -.13864E-01
  10  Prefactor     .49960E-09    18.071       -.37678E-05** at limit **
  11  Prefactor     4.3517        9.6552       -.18917E-06    .17132E-01
  12  Prefactor     2.1542        2.9256       -.64830E-07   -.43137E-02
  13  Prefactor     .15982E-04    34.040        .22448E-05** at limit **
  14  Prefactor     .36970E-07    5.2477        .90806E-06** at limit **
  15  norm          5.9909        3.2153        .57468E-07   -.52214E-02
  16  Prefactor      .0000        3.9219        .54692E-06** at limit **
  17  Prefactor     .63949E-07    4.2432       -.17281E-05** at limit **
  18  Prefactor     .42188E-07    91.330        .23159E-04** at limit **
  19  norm          .51894        .92223        .10876E-06   -.47800E-02
  20  Prefactor     19.662        1.0330        .16074E-07    .98012E-03
  21  Prefactor     2.0178        2.0185        .97476E-08   -.31442E-02
  22  Prefactor     .16646E-04    35.383       -.17937E-05** at limit **
  23  norm          18.554        2.5728       -.52380E-08    .34526E-03
  24  norm          1.1825        3.0779       -.90993E-08   -.14846E-02
  25  Prefactor     3.2783        5.9721        .14493E-06   -.40237E-02
  26  Prefactor     7.0512        3.5334        .36979E-07   -.48636E-02
  27  Prefactor     1.4065        1.5719       -.10829E-06    .11974E-01
  28  Normalizat    .91104        .21592        .41920E-05   -.15272E-03
  29  Prefactor     1.1631        .24664        .15262E-05   -.12749E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Prefactor  = 6.58488
  Prefactor  = 8.32667e-10
  Prefactor  = 5.60778
  norm       = 0.516455
  Prefactor  = 3.70498
  Prefactor  = 16.638
  Prefactor  = 5.55112e-11
  norm       = 23.7992
  Prefactor  = 4.996e-10
  Prefactor  = 4.35174
  Prefactor  = 2.15422
  Prefactor  = 1.59817e-05
  Prefactor  = 3.69704e-08
  norm       = 5.99085
  Prefactor  = 0
  Prefactor  = 6.39488e-08
  Prefactor  = 4.21885e-08
  norm       = 0.518942
  Prefactor  = 19.6621
  Prefactor  = 2.01776
  Prefactor  = 1.66461e-05
  norm       = 18.5541
  norm       = 1.18253
  Prefactor  = 3.27834
  Prefactor  = 7.05118
  Prefactor  = 1.40646
  Normalizat = 0.911043
  Prefactor  = 1.16315
 **********
 **   18 **HESSE 
 **********

 FCN=   6967.374     FROM HESSE     STATUS=OK           619 CALLS     3312 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    28.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.5849        7.9867        .39079E-03   -1.5657    
   3  Prefactor     .83267E-09    3.6035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.6078        17.235        .42438E-03   -1.5661    
   5  norm          .51646        .24640        .61244E-03   -1.5694    
   6  Prefactor     3.7050        2.8810        .52450E-03   -1.5669    
   7  Prefactor     16.638        20.129        .24557E-03   -1.5626    
   8  Prefactor     .55511E-10    8.8743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.799        17.675        .20473E-03   -1.5610    
  10  Prefactor     .49960E-09    17.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.3517        12.529        .48321E-03   -1.5666    
  12  Prefactor     2.1542        3.0042        .70173E-03   -1.5679    
  13  Prefactor     .15982E-04    66.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36970E-07    6.4752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.9909        3.2523        .41044E-03   -1.5659    
  16  Prefactor      .0000        3.9314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .63949E-07    6.6624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .42188E-07    97.170        .11189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .51894        .94734        .77058E-03   -1.5694    
  20  Prefactor     19.662        22.094        .22569E-03   -1.5619    
  21  Prefactor     2.0178        2.1057        .72786E-03   -1.5680    
  22  Prefactor     .16646E-04    70.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          18.554        2.6052        .23225E-03   -1.5622    
  24  norm          1.1825        3.1747        .10552E-02   -1.5686    
  25  Prefactor     3.2783        5.9684        .55754E-03   -1.5672    
  26  Prefactor     7.0512        3.5930        .37740E-03   -1.5655    
  27  Prefactor     1.4065        1.5742        .91346E-03   -1.5684    
  28  Normalizat    .91104        .18863        .65510E-01   -.96073    
  29  Prefactor     1.1631        .20850        .68356E-01   -.87473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81227e-07
Minuit parameter uncertainties:
  1  0.00101877
  2  7.98674
  3  0.000111021
  4  17.2347
  5  0.246396
  6  2.88098
  7  20.1288
  8  4.3528e-05
  9  17.675
  10  0.000193187
  11  12.5289
  12  3.00422
  13  0.0650342
  14  0.000978419
  15  3.25234
  16  1.15659e-07
  17  0.00130546
  18  0.00404952
  19  0.947343
  20  22.0943
  21  2.10567
  22  0.0683273
  23  2.60521
  24  3.17471
  25  5.96843
  26  3.59303
  27  1.57418
  28  0.188768
  29  0.20865
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  3.697e-08  9.784e-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:  1.163e+00  2.086e-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:  9.110e-01  1.888e-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.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/913313/likelihoodResults_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.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) = 6967.37509858
delta logL = -0.00156038460136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6967.37353834
delta logL = -1.42338649312e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65392E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.1952       1.0000          .0000       10.000    
     3 'Normalizat'    .91100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1632       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=   6967.374     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      273 TOTAL
                     EDM=   .22E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .62082E-02    .42118E-03** at limit **
   2  Index         3.2336        7.1035        .50000        .45475E-10
   3  Normalizat    .91104        .18406E-03    .65510E-01   -.66166E-04
   4  Prefactor     1.1631        .21518E-03    .68356E-01   -.92074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.23357
  Normalizat = 0.911044
  Prefactor  = 1.16315
 **********
 **   18 **HESSE 
 **********

 FCN=   6967.374     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      306 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .40068E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2336        5.9650        .50000       -.36108    
   3  Normalizat    .91104        .46529E-03    .28978E-03   -.96073    
   4  Prefactor     1.1631        .54414E-03    .30240E-03   -.87473    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.39439e-13
Minuit parameter uncertainties:
  1  3.40427e-06
  2  7580.8
  3  0.000465287
  4  0.000544137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/913313': 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) = 6967.37353819
delta logL = 2.85217538476e-09

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  5.551e-11  3.404e-06  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  3.234e+00  7.581e+03  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:  1.163e+00  5.441e-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:  9.110e-01  4.653e-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/913313/cmap_HighResolution_699926401_700185601_4FGL_J1129.5+3034_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2023-03-11 00:49:42.424225', job_id='913313', GAL2='1.16', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1678524582.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.85e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1777' AND source_name='4FGL J1129.5+3034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:49:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 913313: <4FGL_J1129.5+3034_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1129.5+3034_daily_bin1777> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Mar 11 00:35:16 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:35:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:35:17 2023
Terminated at Sat Mar 11 00:49:43 2023
Results reported at Sat Mar 11 00:49:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.5+3034_daily_bin1777 172.38 30.5789 699926401 700185601 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 :                                   793.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

