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


Performing analysis on: 4FGL_J1129.5+3034_daily_bin1755
RA = 172.38, Dec = 30.5789
tmin = 694224001, tmax = 694483201
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='820643', job_status='RUN', time_executed='2023-01-04 00:54:06.428661', time_epoch_executed='1672822446.43' WHERE source_name='4FGL J1129.5+3034' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820643

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820643/ft1_4FGL_J1129.5+3034_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820643/ft2_4FGL_J1129.5+3034_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820643/ft1_4FGL_J1129.5+3034_daily_bin1755.fits outfile=/scratch/kocevski/820643/ft1_filteredMKT_4FGL_J1129.5+3034_daily_bin1755.fits ra=172.38 dec=30.5789 rad=12.0 tmin=694224001.0 tmax=694483201.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.01
user 2.77
sys 0.21

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

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

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820643/ft1_filtered_4FGL_J1129.5+3034_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820643/ft2_4FGL_J1129.5+3034_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820643/ltcube_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.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/820643/ft2_4FGL_J1129.5+3034_daily_bin1755.fits
.....................!
real 17.98
user 16.72
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820643/ft1_filtered_4FGL_J1129.5+3034_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820643/ft2_4FGL_J1129.5+3034_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820643/ltcube_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.fits outfile=/scratch/kocevski/820643/expmap_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.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/820643/ltcube_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.fits
.....................!
real 193.91
user 186.83
sys 5.75

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/820643/ft1_filtered_4FGL_J1129.5+3034_daily_bin1755.fits scfile=/scratch/kocevski/820643/ft2_4FGL_J1129.5+3034_daily_bin1755.fits outfile=/scratch/kocevski/820643/cmap_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820643/ft1_filtered_4FGL_J1129.5+3034_daily_bin1755.fits scfile=/scratch/kocevski/820643/ft2_4FGL_J1129.5+3034_daily_bin1755.fits outfile=/scratch/kocevski/820643/cmap_HighResolution_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    150.47       1.0000          .0000       .10000E+07
     2 'Prefactor '    57.039       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58026E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.912       1.0000          .0000       .10000E+07
     5 'norm      '    3.4312       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4568       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.470       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12816E-03   1.0000          .0000       .10000E+07
     9 'norm      '    3.4054       1.0000          .0000       .10000E+07
    10 'Prefactor '    .76544E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28064E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30639E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17197E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.5104       1.0000          .0000       .10000E+07
    15 'norm      '    2.9582       1.0000          .0000       .10000E+07
    16 'Prefactor '    .28388E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .98876E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11656E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .94791       1.0000          .0000       .10000E+07
    20 'Prefactor '    .28564E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .73663E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.9625       1.0000          .0000       .10000E+07
    23 'norm      '    48.841       1.0000          .0000       .10000E+07
    24 'norm      '    4.8512       1.0000          .0000       .10000E+07
    25 'Prefactor '    .55360E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    4.6267       1.0000          .0000       .10000E+07
    27 'Prefactor '    2.4035       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1240       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .65022       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=   5636.526     FROM MIGRAD    STATUS=CONVERGED    240 CALLS     2174 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     144.91        88.162       -.86238E-06    .25787E-02
   2  Prefactor     55.567        32.780        .22165E-07   -.23228E-01
   3  Prefactor     .16653E-09    7.9529       -.35749E-07** at limit **
   4  Prefactor     23.713        29.582        .11075E-05   -.24003E-01
   5  norm          3.4323        .76600        .17997E-07   -.28072E-03
   6  Prefactor     2.4434        2.9724       -.14921E-07    .15860E-03
   7  Prefactor     23.600        15.871       -.26185E-06   -.23828E-01
   8  Prefactor     .36726E-06    24.719       -.64363E-06** at limit **
   9  norm          2.8073        12.937       -.24384E-07   -.22562E-02
  10  Prefactor     .58042E-06    12.790       -.39909E-06** at limit **
  11  Prefactor     .11102E-09    6.1617       -.19171E-05** at limit **
  12  Prefactor      .0000        3.9675        .54109E-07** at limit **
  13  Prefactor     .32663E-06    27.210        .22641E-06** at limit **
  14  Prefactor     4.5087        9.8996       -.56121E-07   -.25552E-01
  15  norm          2.9454        3.1218       -.38012E-07    .10006E-03
  16  Prefactor     .55511E-10    6.1419        .17105E-05** at limit **
  17  Prefactor     .55511E-10    6.9631        .48562E-06** at limit **
  18  Prefactor     .53840E-06    12.239        .33334E-06** at limit **
  19  norm          .95874        .93024       -.27531E-07   -.48957E-04
  20  Prefactor     .55511E-10    6.1999        .44168E-06** at limit **
  21  Prefactor      .0000        1.2927       -.30437E-07** at limit **
  22  Prefactor     1.1692        615.85        .10397E-04   -.32817E-04
  23  norm          48.791        4.0540        .10733E-08   -.40112E-03
  24  norm          4.8370        3.4645       -.51732E-07    .17390E-03
  25  Prefactor      .0000        4.5865        .24411E-06** at limit **
  26  Prefactor     4.6273        2.7592        .11749E-07    .96920E-04
  27  Prefactor     2.3980        2.2783       -.23157E-07    .17629E-03
  28  Normalizat    1.1279        .28149        .13981E-05    .90908E-05
  29  Prefactor     .65168        .29140       -.13068E-05    .74615E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 144.905
  Prefactor  = 55.5667
  Prefactor  = 1.66533e-10
  Prefactor  = 23.713
  norm       = 3.43233
  Prefactor  = 2.44336
  Prefactor  = 23.6004
  Prefactor  = 3.67262e-07
  norm       = 2.80728
  Prefactor  = 5.80425e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 3.26628e-07
  Prefactor  = 4.50871
  norm       = 2.9454
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 5.38403e-07
  norm       = 0.958743
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.16917
  norm       = 48.7911
  norm       = 4.83704
  Prefactor  = 0
  Prefactor  = 4.62734
  Prefactor  = 2.39798
  Normalizat = 1.12793
  Prefactor  = 0.65168
 **********
 **   18 **HESSE 
 **********

 FCN=   5636.526     FROM HESSE     STATUS=OK           615 CALLS     2789 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     144.91        88.209        .81527E-04   -1.5467    
   2  Prefactor     55.567        33.363        .13242E-03   -1.5559    
   3  Prefactor     .16653E-09    7.9654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.713        31.202        .20455E-03   -1.5611    
   5  norm          3.4323        .76595        .54581E-03   -1.5671    
   6  Prefactor     2.4434        2.9782        .65227E-03   -1.5677    
   7  Prefactor     23.600        22.046        .20646E-03   -1.5611    
   8  Prefactor     .36726E-06    27.473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8073        37.525        .54797E-03   -1.5674    
  10  Prefactor     .58042E-06    21.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    6.1503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.9215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .32663E-06    29.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5087        22.628        .47382E-03   -1.5665    
  15  norm          2.9454        3.1278        .59017E-03   -1.5674    
  16  Prefactor     .55511E-10    6.1356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    6.9419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .53840E-06    20.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .95874        .94355        .42502E-03   -1.5688    
  20  Prefactor     .55511E-10    6.2037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.2586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.1692        614.17        .50648E-03   -1.5686    
  23  norm          48.791        4.0445        .14310E-03   -1.5568    
  24  norm          4.8370        3.4655        .45648E-03   -1.5664    
  25  Prefactor      .0000        4.5740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.6273        2.7565        .46768E-03   -1.5665    
  27  Prefactor     2.3980        2.2809        .66016E-03   -1.5677    
  28  Normalizat    1.1279        .24023        .69055E-01   -.88860    
  29  Prefactor     .65168        .24980        .95114E-01   -1.0545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74765e-07
Minuit parameter uncertainties:
  1  88.2103
  2  33.3628
  3  7.8444e-05
  4  31.2017
  5  0.765954
  6  2.9782
  7  22.046
  8  0.00635298
  9  20.5276
  10  0.00702884
  11  4.82308e-05
  12  3.84394e-06
  13  0.00620501
  14  20.2013
  15  3.12776
  16  3.1502e-05
  17  4.10444e-05
  18  0.00670259
  19  0.943548
  20  3.06385e-05
  21  7.1067e-08
  22  53.5993
  23  4.04446
  24  3.4655
  25  6.51427e-06
  26  2.75647
  27  2.28093
  28  0.240463
  29  0.250233
Done.

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

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  4.509e+00  2.020e+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:  6.517e-01  2.502e-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.128e+00  2.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/820643/likelihoodResults_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.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) = 5635.66131348
delta logL = 0.864256305718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5635.43571667
delta logL = 1.08985311326

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67008E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9972       1.0000          .0000       10.000    
     3 'Normalizat'    1.0268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73395       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=   5636.553     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      758 TOTAL
                     EDM=   .29E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        37.296       -.24507E-06** at limit **
   2  Index         1.8263        .42918E-02   -.16227E-07     .0000    
   3  Normalizat    1.1362        .26896       -.68633E-05    .46047E-05
   4  Prefactor     .65087        .29078        .75036E-05    .22750E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.82629
  Normalizat = 1.13618
  Prefactor  = 0.650868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5636.553     FROM HESSE     STATUS=FAILED        11 CALLS      769 TOTAL
                     EDM=   .29E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        37.157        .42118E-03   -70.686    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1163        2.1276       -.16227E-07   -14152.    
   3  Normalizat    1.1362        1.3026       -.68633E-05   -63.718    
   4  Prefactor     .65087        1.0250        .75036E-05   -38.754    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.85326e-14
Minuit parameter uncertainties:
  1  6.9314e-06
  2  1.24118
  3  1.34265
  4  1.05705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820643': 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): 101
logL (Free Index) = 5636.55288378
delta logL = -0.0273139906412

Extracting fit parameters...

4FGL J1129.5+3034
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  6.931e-06  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.826e+00  1.241e+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:  6.509e-01  1.057e+00  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.136e+00  1.343e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 172.380 30.579

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/820643/cmap_HighResolution_694224001_694483201_4FGL_J1129.5+3034_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.99e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2023-01-04 01:06:23.995018', job_id='820643', GAL2='0.65', fit_tolerance='1e-08', EG2='1.14', EG='1.13', time_epoch_completed='1672823184.0', return_code2='101', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='-2.73e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1755' AND source_name='4FGL J1129.5+3034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:06:24 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 820643: <4FGL_J1129.5+3034_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1129.5+3034_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:26 2023
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:51:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:51:36 2023
Terminated at Wed Jan  4 01:06:24 2023
Results reported at Wed Jan  4 01:06:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.5+3034_daily_bin1755 172.38 30.5789 694224001 694483201 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 :                                   737.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            958 sec.

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

