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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1746
RA = 142.327, Dec = 50.2352
tmin = 691891201, tmax = 692150401
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='718826', job_status='RUN', time_executed='2022-12-08 00:31:44.882733', time_epoch_executed='1670488304.88' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718826

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718826/ft1_4FGL_J0929.3+5014_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718826/ft1_4FGL_J0929.3+5014_daily_bin1746.fits outfile=/scratch/kocevski/718826/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1746.fits ra=142.327 dec=50.2352 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.76
user 4.55
sys 0.19

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

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

Number of photons that the gtmktime cut: 587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718826/ft1_filtered_4FGL_J0929.3+5014_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/718826/ltcube_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.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/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits
.....................!
real 11.76
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718826/ft1_filtered_4FGL_J0929.3+5014_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/718826/ltcube_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.fits outfile=/scratch/kocevski/718826/expmap_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.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/718826/ltcube_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.fits
.....................!
real 192.44
user 187.83
sys 4.23

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/718826/ft1_filtered_4FGL_J0929.3+5014_daily_bin1746.fits scfile=/scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits outfile=/scratch/kocevski/718826/cmap_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718826/ft1_filtered_4FGL_J0929.3+5014_daily_bin1746.fits scfile=/scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits outfile=/scratch/kocevski/718826/cmap_HighResolution_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.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.40
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/718826/ft1_filtered_4FGL_J0929.3+5014_daily_bin1746.fits', '/scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits', expMap='/scratch/kocevski/718826/expmap_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.fits', expCube='/scratch/kocevski/718826/ltcube_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/718826/Model_4FGL_J0929.3+5014_daily_bin1746.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/718826/ft1_filtered_4FGL_J0929.3+5014_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/718826/ft2_4FGL_J0929.3+5014_daily_bin1746.fits
Exposure map: /scratch/kocevski/718826/expmap_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.fits
Exposure cube: /scratch/kocevski/718826/ltcube_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/718826/Model_4FGL_J0929.3+5014_daily_bin1746.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) = 6400.96869247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9616       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.178       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.4552       1.0000          .0000       .10000E+07
     4 'norm      '    1.7109       1.0000          .0000       .10000E+07
     5 'norm      '    .94127E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13868E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17640E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55141E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.887       1.0000          .0000       .10000E+07
    10 'Prefactor '    .61237E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .14710E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.1666       1.0000          .0000       .10000E+07
    13 'norm      '    .32719E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2789       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.9226       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37534E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22531E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .51812E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .86056E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .17422E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    7.0392       1.0000          .0000       .10000E+07
    22 'norm      '    .29143E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .74533E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .51580E-05   1.0000          .0000       .10000E+07
    25 'norm      '    1.4865       1.0000          .0000       .10000E+07
    26 'norm      '    30.458       1.0000          .0000       .10000E+07
    27 'Prefactor '    .15811E-02   1.0000          .0000       .10000E+07
    28 'norm      '    7.1344       1.0000          .0000       .10000E+07
    29 'Prefactor '    .63178E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    .99330       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .83027       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=   6400.831     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     2302 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9460        5.0695        .92774E-08    .67384E-03
   2  Prefactor     10.196        1.2253        .19970E-08    .18739E-02
   3  Prefactor     9.4544        2.3429       -.13680E-09   -.17708E-01
   4  norm          1.7033        6.8393        .76895E-08    .32045E-03
   5  norm          .14211E-07    3.2952       -.51269E-07** at limit **
   6  Prefactor     .42744E-08    3.8845       -.96314E-09** at limit **
   7  Prefactor     .16825E-06    2.7696       -.15812E-07** at limit **
   8  Prefactor     .11102E-09    21.420        .23438E-07** at limit **
   9  Prefactor     13.882        5.1552       -.58255E-08   -.73104E-02
  10  Prefactor     .25041E-06    4.5699       -.52792E-07** at limit **
  11  norm           .0000        .59973       -.30287E-07** at limit **
  12  Prefactor     6.1682        3.0668       -.15382E-07   -.59129E-02
  13  norm          .12534E-06    3.9398       -.12840E-06** at limit **
  14  Prefactor     2.2800        2.2617        .14600E-07    .13765E-02
  15  Prefactor     8.9588        7.7702       -.38962E-07    .21371E-01
  16  Prefactor     .46629E-08    2.5792        .12940E-06** at limit **
  17  Prefactor     .88318E-07    24.078       -.21478E-06** at limit **
  18  norm          .63727E-07    4.2874       -.13403E-07** at limit **
  19  Prefactor     .16709E-07    .96080       -.24123E-07** at limit **
  20  Prefactor      .0000        1.9425       -.74978E-07** at limit **
  21  Prefactor     6.9913        6.6005        .41339E-07   -.69390E-01
  22  norm          .17653E-07    3.0458       -.26092E-07** at limit **
  23  Prefactor     .12538E-05    10.160       -.84569E-07** at limit **
  24  Prefactor     .31325E-06    4.1713       -.48663E-07** at limit **
  25  norm          1.4866        .49191        .68714E-08    .13493E-01
  26  norm          30.479        1.0519        .85565E-09   -.54141E-02
  27  Prefactor     .14433E-08    2.6853       -.38104E-07** at limit **
  28  norm          7.1326        2.7638        .46160E-08    .92330E-03
  29  Prefactor     .50016E-07    4.4988       -.14114E-06** at limit **
  30  Normalizat    .99372        .19170       -.18679E-05   -.12496E-04
  31  Prefactor     .83011        .19516        .23558E-05    .13976E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94604
  Prefactor  = 10.1965
  Prefactor  = 9.45442
  norm       = 1.70325
  norm       = 1.42109e-08
  Prefactor  = 4.27436e-09
  Prefactor  = 1.68254e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 13.8817
  Prefactor  = 2.50411e-07
  norm       = 0
  Prefactor  = 6.16824
  norm       = 1.25344e-07
  Prefactor  = 2.28002
  Prefactor  = 8.95881
  Prefactor  = 4.66294e-09
  Prefactor  = 8.83182e-08
  norm       = 6.37268e-08
  Prefactor  = 1.67089e-08
  Prefactor  = 0
  Prefactor  = 6.99126
  norm       = 1.76525e-08
  Prefactor  = 1.25383e-06
  Prefactor  = 3.13249e-07
  norm       = 1.48659
  norm       = 30.4786
  Prefactor  = 1.44329e-09
  norm       = 7.13261
  Prefactor  = 5.00155e-08
  Normalizat = 0.993722
  Prefactor  = 0.83011
 **********
 **   18 **HESSE 
 **********

 FCN=   6400.831     FROM HESSE     STATUS=OK           688 CALLS     2990 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9460        5.0952        .41102E-03   -1.5659    
   2  Prefactor     10.196        12.610        .31383E-03   -1.5644    
   3  Prefactor     9.4544        7.2514        .32567E-03   -1.5646    
   4  norm          1.7033        7.3453        .80333E-03   -1.5682    
   5  norm          .14211E-07    8.0132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .42744E-08    3.9338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16825E-06    9.0145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    21.403        .15341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.882        5.1759        .26852E-03   -1.5633    
  10  Prefactor     .25041E-06    14.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .40946        .14859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.1682        3.5786        .40404E-03   -1.5658    
  13  norm          .12534E-06    5.1410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2800        2.2911        .67989E-03   -1.5678    
  15  Prefactor     8.9588        8.0344        .33531E-03   -1.5648    
  16  Prefactor     .46629E-08    2.6024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .88318E-07    24.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .63727E-07    10.462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16709E-07    15.417        .14320E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.9426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.9913        8.3420        .37787E-03   -1.5655    
  22  norm          .17653E-07    11.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .12538E-05    17.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .31325E-06    13.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.4866        .49170        .70561E-03   -1.5684    
  26  norm          30.479        14.733        .18122E-03   -1.5598    
  27  Prefactor     .14433E-08    8.2233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          7.1326        2.7674        .37532E-03   -1.5655    
  29  Prefactor     .50016E-07    5.9044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .99372        .17035        .46083E-01   -.93241    
  31  Prefactor     .83011        .16985        .63282E-01   -.98628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37295e-07
Minuit parameter uncertainties:
  1  5.09523
  2  12.6099
  3  7.2514
  4  7.07417
  5  0.000675034
  6  0.00025949
  7  0.00246301
  8  8.53643e-05
  9  5.17595
  10  0.00375747
  11  5.31306e-06
  12  3.57862
  13  0.00160562
  14  2.2911
  15  8.03443
  16  0.000219834
  17  0.00294098
  18  0.00163277
  19  0.00101431
  20  1.03063e-05
  21  8.34198
  22  0.000917887
  23  0.00924569
  24  0.0041491
  25  0.491702
  26  14.7327
  27  0.000215941
  28  2.76739
  29  0.00108711
  30  0.170448
  31  0.169954
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  8.959e+00  8.034e+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:  8.301e-01  1.700e-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:  9.937e-01  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.28
Ra Dec: 142.327 50.235
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.43e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.13e-05

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) = 6400.60690571
delta logL = 0.224012563412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6400.53598135
delta logL = 0.294936923324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6472       1.0000          .0000       .10000E+07
     2 'Index     '    1.3115       1.0000          .0000       10.000    
     3 'Normalizat'    1.0174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81832       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=   6400.536     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6491        5.7852        .42248E-03   -.15982E-02
   2  Index         1.3115        .54176        .31098       -.62736E-04
   3  Normalizat    1.0173        .15559        .43766E-01    .18230E-04
   4  Prefactor     .81839        .16751        .63693E-01    .15869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.64907
  Index      = 1.31151
  Normalizat = 1.01727
  Prefactor  = 0.818391
 **********
 **   18 **HESSE 
 **********

 FCN=   6400.536     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6491        7.3637        .16899E-04   -1.5660    
   2  Index         1.3115        .76288        .12298E-01   -.82965    
   3  Normalizat    1.0173        .17679        .23742E-03   -.92454    
   4  Prefactor     .81839        .19078        .28172E-03   -.99054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30935e-09
Minuit parameter uncertainties:
  1  7.36367
  2  0.769523
  3  0.176888
  4  0.190935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718826': 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) = 6400.53598114
delta logL = 0.294937130244

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.649e+00  7.364e+00  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  1.312e+00  7.695e-01  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:  8.184e-01  1.909e-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.017e+00  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.84
Ra Dec: 142.327 50.235
Photon Index (Free Index): 1.31 +/- 0.77
Photon Flux (Free Index): 5.46e-09 +/- 8.26e-09
Energy Flux (Free Index): 3.23e-05 +/- 5.42e-05

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/718826/cmap_HighResolution_691891201_692150401_4FGL_J0929.3+5014_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.43e-08', energy_flux2='3.23e-05', photon_flux_error='2.17e-08', dlogl='2.95e-01', energy_flux='1.26e-05', photon_flux2='5.46e-09', job_status='DONE', time_completed='2022-12-08 00:43:49.511528', photon_index_error2='0.77', photon_index2='1.31', ts='6.28', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='5.42e-05', EG='0.99', time_epoch_completed='1670489029.51', return_code='0', job_id='718826', GAL2='0.82', EG2='1.02', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='8.26e-09', ts2='6.84', photon_index='2.13' WHERE bin_id='1746' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:43:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 718826: <4FGL_J0929.3+5014_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 00:30:21 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:30:22 2022
Terminated at Thu Dec  8 00:43:50 2022
Results reported at Thu Dec  8 00:43:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1746 142.327 50.2352 691891201 692150401 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 :                                   727.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

