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 56 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1745
RA = 142.327, Dec = 50.2352
tmin = 691632001, tmax = 691891201
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='641685', job_status='RUN', time_executed='2022-12-05 00:21:35.305989', time_epoch_executed='1670228495.31' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641685/ft1_4FGL_J0929.3+5014_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641685/ft1_4FGL_J0929.3+5014_daily_bin1745.fits outfile=/scratch/kocevski/641685/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1745.fits ra=142.327 dec=50.2352 rad=12.0 tmin=691632001.0 tmax=691891201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.39
user 2.16
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.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/641685/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.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.32
sys 0.16

Number of photons that the gtmktime cut: 462

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/641685/ltcube_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.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/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits
.....................!
real 12.23
user 11.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/641685/ltcube_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.fits outfile=/scratch/kocevski/641685/expmap_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.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/641685/ltcube_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.fits
.....................!
real 190.95
user 185.10
sys 5.50

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

Setting source of interest to:
4FGL J0929.3+5014 @ 142.327 50.2352

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits scfile=/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits outfile=/scratch/kocevski/641685/cmap_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.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=142.327 yref=50.2352 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits scfile=/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits outfile=/scratch/kocevski/641685/cmap_HighResolution_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.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=142.327 yref=50.2352 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641685/Model_4FGL_J0929.3+5014_daily_bin1745.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/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits.....................!
real 51.63
user 49.25
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits', '/scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits', expMap='/scratch/kocevski/641685/expmap_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.fits', expCube='/scratch/kocevski/641685/ltcube_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641685/Model_4FGL_J0929.3+5014_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0929.3+5014'

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.632e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641685/ft1_filtered_4FGL_J0929.3+5014_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/641685/ft2_4FGL_J0929.3+5014_daily_bin1745.fits
Exposure map: /scratch/kocevski/641685/expmap_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.fits
Exposure cube: /scratch/kocevski/641685/ltcube_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641685/Model_4FGL_J0929.3+5014_daily_bin1745.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) = 5102.23883306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18789E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .53911E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    20.756       1.0000          .0000       .10000E+07
     4 'norm      '    .83222E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .41328E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17374E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16113E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15854E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.1610       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1361       1.0000          .0000       .10000E+07
    11 'norm      '    .26357E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6439       1.0000          .0000       .10000E+07
    13 'norm      '    .74274E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10436E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1121       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24703E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .21710E-06   1.0000          .0000       .10000E+07
    18 'norm      '    .43978E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .33797E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .95907E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    17.181       1.0000          .0000       .10000E+07
    22 'norm      '    .26577E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    43.227       1.0000          .0000       .10000E+07
    24 'Prefactor '    10.716       1.0000          .0000       .10000E+07
    25 'norm      '    2.2006       1.0000          .0000       .10000E+07
    26 'norm      '    23.513       1.0000          .0000       .10000E+07
    27 'Prefactor '    .39695E-05   1.0000          .0000       .10000E+07
    28 'norm      '    2.9618       1.0000          .0000       .10000E+07
    29 'Prefactor '    10.820       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3531       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .50510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5102.161     FROM MIGRAD    STATUS=CONVERGED    235 CALLS     3016 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6504        .27239E-07** at limit **
   2  Prefactor     .44409E-09    4.7602        .16276E-06** at limit **
   3  Prefactor     20.812        2.6395       -.13862E-08   -.74281E-01
   4  norm          .65503E-08    10.880        .39780E-08** at limit **
   5  norm          .12768E-08    4.6128       -.56762E-07** at limit **
   6  Prefactor     .18319E-08    7.7193        .18586E-06** at limit **
   7  Prefactor     .26198E-05    7.3552       -.12829E-06** at limit **
   8  Prefactor     .20667E-05    16.465       -.69487E-06** at limit **
   9  Prefactor     9.1349        5.3599       -.14697E-07    .72694E-03
  10  Prefactor     3.5287        12.748        .44632E-06   -.14564E-01
  11  norm           .0000        1.1107       -.16225E-07** at limit **
  12  Prefactor     7.6680        3.9136        .46946E-08   -.14459E-04
  13  norm          .53901E-07    4.7631       -.25485E-07** at limit **
  14  Prefactor      .0000        1.0082        .22539E-07** at limit **
  15  Prefactor     1.1312        21.245        .47992E-06   -.83405E-03
  16  Prefactor     .55511E-10    3.2407       -.60072E-07** at limit **
  17  Prefactor     .28116E-05    32.942        .31151E-08** at limit **
  18  norm          .12662E-05    7.7673        .53994E-07** at limit **
  19  Prefactor     .13955E-05    38.345        .42346E-06** at limit **
  20  Prefactor      .0000        3.7102        .59049E-07** at limit **
  21  Prefactor     17.230        9.0833        .19901E-06    .99003E-02
  22  norm           .0000        3.0493        .26838E-07** at limit **
  23  Prefactor     45.233        48.020       -.92469E-08   -.17949E-01
  24  Prefactor     12.433        14.763       -.12153E-06    .22117E-01
  25  norm          2.1971        .71313       -.11785E-07   -.25114E-02
  26  norm          23.616        1.5474        .71433E-08   -.57819E-02
  27  Prefactor     .34972E-08    6.6539       -.64400E-07** at limit **
  28  norm          2.9672        2.2905       -.98685E-09   -.24899E-03
  29  Prefactor     11.456        5.0000        .33894E-08   -.55317E-02
  30  Normalizat    1.3472        .23929       -.11359E-05    .15878E-04
  31  Prefactor     .50761        .22993        .74154E-06    .52653E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 20.8118
  norm       = 6.55032e-09
  norm       = 1.27676e-09
  Prefactor  = 1.83187e-09
  Prefactor  = 2.61979e-06
  Prefactor  = 2.06668e-06
  Prefactor  = 9.13486
  Prefactor  = 3.52865
  norm       = 0
  Prefactor  = 7.66804
  norm       = 5.39013e-08
  Prefactor  = 0
  Prefactor  = 1.13118
  Prefactor  = 5.55112e-11
  Prefactor  = 2.81158e-06
  norm       = 1.26615e-06
  Prefactor  = 1.39549e-06
  Prefactor  = 0
  Prefactor  = 17.2301
  norm       = 0
  Prefactor  = 45.2329
  Prefactor  = 12.4329
  norm       = 2.19713
  norm       = 23.6157
  Prefactor  = 3.4972e-09
  norm       = 2.96716
  Prefactor  = 11.4555
  Normalizat = 1.34721
  Prefactor  = 0.507614
 **********
 **   18 **HESSE 
 **********

 FCN=   5102.161     FROM HESSE     STATUS=OK           688 CALLS     3704 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    4.7614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.812        13.633        .21956E-03   -1.5617    
   4  norm          .65503E-08    10.892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12768E-08    4.6126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18319E-08    7.7372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .26198E-05    17.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .20667E-05    22.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.1349        5.4808        .33089E-03   -1.5648    
  10  Prefactor     3.5287        35.815        .57221E-03   -1.5670    
  11  norm           .0000        .49551        .21963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6680        4.6980        .36248E-03   -1.5653    
  13  norm          .53901E-07    16.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.0066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1312        21.083        .11185E-02   -1.5687    
  16  Prefactor     .55511E-10    3.2309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28116E-05    39.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .12662E-05    15.589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .13955E-05    47.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        3.7132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.230        9.0737        .24136E-03   -1.5625    
  22  norm           .0000        3.0467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     45.233        48.391        .15211E-03   -1.5573    
  24  Prefactor     12.433        37.799        .30581E-03   -1.5637    
  25  norm          2.1971        .72430        .69330E-03   -1.5678    
  26  norm          23.616        15.703        .20628E-03   -1.5611    
  27  Prefactor     .34972E-08    6.5989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.9672        2.3036        .58979E-03   -1.5674    
  29  Prefactor     11.456        31.523        .30434E-03   -1.5640    
  30  Normalizat    1.3472        .21131        .50005E-01   -.82168    
  31  Prefactor     .50761        .20285        .81530E-01   -1.1163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95224e-06
Minuit parameter uncertainties:
  1  6.10574e-06
  2  9.22228e-05
  3  13.6325
  4  0.000534797
  5  0.000153456
  6  0.000237211
  7  0.0134103
  8  0.0136964
  9  5.48077
  10  22.4837
  11  7.71389e-07
  12  4.69799
  13  0.0018684
  14  3.56944e-07
  15  9.76716
  16  2.65067e-05
  17  0.0210376
  18  0.00888554
  19  0.0163321
  20  7.59645e-06
  21  9.07372
  22  4.14899e-06
  23  48.3919
  24  37.7998
  25  0.724296
  26  15.7026
  27  0.000302702
  28  2.30364
  29  31.5233
  30  0.211446
  31  0.203143
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.131e+00  9.767e+00  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  5.076e-01  2.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  1.347e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 8.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641685/likelihoodResults_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.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) = 5101.93012164
delta logL = 0.230657210043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5101.91152063
delta logL = 0.249258218824

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5101.912     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      231 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6077        74.432        .83543E-03    .22645E-02
   2  Index         3.0891        3.7438        .13865        .10358E-03
   3  Normalizat    1.3183        .48238E-01    .50437E-01    .58962E-04
   4  Prefactor     .52231        .50412E-01    .80416E-01    .22339E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60774
  Index      = 3.08912
  Normalizat = 1.31828
  Prefactor  = 0.522312
 **********
 **   18 **HESSE 
 **********

 FCN=   5101.912     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6077        6.9922        .13457E-04   -1.5683    
   2  Index         3.0891        1.7991        .73648E-02   -.39215    
   3  Normalizat    1.3183        .21897        .22299E-03   -.83022    
   4  Prefactor     .52231        .22638        .35622E-03   -1.1096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2455e-10
Minuit parameter uncertainties:
  1  6.70573
  2  1.84798
  3  0.219127
  4  0.226772
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641685': 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) = 5101.9115148
delta logL = 0.249264047879

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.608e+00  6.706e+00  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  3.089e+00  1.848e+00  0.000e+00  1.000e+01 (-1.000e+00)
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  5.223e-01  2.268e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  1.318e+00  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 142.327 50.235

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/641685/cmap_HighResolution_691632001_691891201_4FGL_J0929.3+5014_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2022-12-05 00:34:22.939752', job_id='641685', GAL2='0.52', fit_tolerance='1e-08', EG2='1.32', EG='1.35', time_epoch_completed='1670229262.94', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='2.49e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1745' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:34:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 641685: <4FGL_J0929.3+5014_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:20:26 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:20:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:20:28 2022
Terminated at Mon Dec  5 00:34:23 2022
Results reported at Mon Dec  5 00:34:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1745 142.327 50.2352 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0929.3+5014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

