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 184 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_bin1756
RA = 142.327, Dec = 50.2352
tmin = 694483201, tmax = 694742401
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='10357', job_status='RUN', time_executed='2023-01-07 00:43:49.166795', time_epoch_executed='1673081029.17' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10357/ft1_4FGL_J0929.3+5014_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10357/ft2_4FGL_J0929.3+5014_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10357/ft1_4FGL_J0929.3+5014_daily_bin1756.fits outfile=/scratch/kocevski/10357/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1756.fits ra=142.327 dec=50.2352 rad=12.0 tmin=694483201.0 tmax=694742401.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.03
user 2.76
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10357/ft2_4FGL_J0929.3+5014_daily_bin1756.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/10357/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/10357/ft1_filtered_4FGL_J0929.3+5014_daily_bin1756.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 129

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10357/ft1_filtered_4FGL_J0929.3+5014_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10357/ft2_4FGL_J0929.3+5014_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/10357/ltcube_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.fits outfile=/scratch/kocevski/10357/expmap_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.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/10357/ltcube_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.fits
.....................!
real 193.31
user 187.63
sys 4.53

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/10357/ft1_filtered_4FGL_J0929.3+5014_daily_bin1756.fits scfile=/scratch/kocevski/10357/ft2_4FGL_J0929.3+5014_daily_bin1756.fits outfile=/scratch/kocevski/10357/cmap_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10357/ft1_filtered_4FGL_J0929.3+5014_daily_bin1756.fits scfile=/scratch/kocevski/10357/ft2_4FGL_J0929.3+5014_daily_bin1756.fits outfile=/scratch/kocevski/10357/cmap_HighResolution_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1480.28386497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.291       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90194E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.3861       1.0000          .0000       .10000E+07
     4 'norm      '    119.63       1.0000          .0000       .10000E+07
     5 'norm      '    4.3310       1.0000          .0000       .10000E+07
     6 'Prefactor '    264.42       1.0000          .0000       .10000E+07
     7 'Prefactor '    .60725E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    199.55       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.817       1.0000          .0000       .10000E+07
    10 'Prefactor '    .92339E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .25036E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
    13 'norm      '    29.579       1.0000          .0000       .10000E+07
    14 'Prefactor '    .52060E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11019E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .50033E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    13.556       1.0000          .0000       .10000E+07
    18 'norm      '    25.535       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23966E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    13.557       1.0000          .0000       .10000E+07
    21 'Prefactor '    .52280E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .60441E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    11.462       1.0000          .0000       .10000E+07
    24 'Prefactor '    .86173E-03   1.0000          .0000       .10000E+07
    25 'norm      '    1.6691       1.0000          .0000       .10000E+07
    26 'norm      '    .10982E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    13.446       1.0000          .0000       .10000E+07
    28 'norm      '    5.8681       1.0000          .0000       .10000E+07
    29 'Prefactor '    .20839E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    .93496       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .27174       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=   1480.251     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     3094 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48558E-02    3285.9        .10539E-04** at limit **
   2  Prefactor     .86575E-05    156.84       -.12988E-05** at limit **
   3  Prefactor     .55498E-04    456.77       -.16562E-05** at limit **
   4  norm          124.71        121.10       -.67609E-06   -.13253E-01
   5  norm          .46063E-03    256.91       -.25585E-06** at limit **
   6  Prefactor     324.08        290.49       -.72914E-05    .67853E-01
   7  Prefactor     .33307E-09    91.031        .19713E-06** at limit **
   8  Prefactor     184.34        117.87        .24532E-05    .13952    
   9  Prefactor     10.787        12.051       -.14743E-06   -.11030E-02
  10  Prefactor     .92759E-07    76.001       -.16082E-05** at limit **
  11  norm           .0000        .51540       -.14443E-08** at limit **
  12  Prefactor      .0000        2.5958       -.34009E-08** at limit **
  13  norm          29.847        32.262       -.17205E-06    .15017E-02
  14  Prefactor      .0000        3.9344       -.75355E-08** at limit **
  15  Prefactor     .25868E-07    65.798        .27843E-05** at limit **
  16  Prefactor      .0000        3.8550        .25907E-08** at limit **
  17  Prefactor     12.924        32.407        .88389E-07   -.55290E-03
  18  norm          23.810        33.687        .13258E-06    .46477E-01
  19  Prefactor      .0000        28.151       -.41549E-09** at limit **
  20  Prefactor     13.583        10.396       -.78805E-07   -.14893E-02
  21  Prefactor      .0000        7.1183        .25182E-08** at limit **
  22  norm           .0000        8.1342        .29512E-07** at limit **
  23  Prefactor     15.455        37.036       -.24078E-06   -.12369    
  24  Prefactor     .55511E-10    19.202        .79106E-07** at limit **
  25  norm          1.6682        .76723        .66859E-08    .47076E-03
  26  norm           .0000        14.358        .37221E-07** at limit **
  27  Prefactor     13.567        10.425        .64741E-07    .11788E-02
  28  norm          5.9179        4.6514        .23331E-07   -.35212E-03
  29  Prefactor     .55511E-10    18.690        .88146E-07** at limit **
  30  Normalizat    .93426        .32057       -.15042E-04    .52981E-05
  31  Prefactor     .26273        .37016        .23323E-04    .10796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00485577
  Prefactor  = 8.65752e-06
  Prefactor  = 5.54981e-05
  norm       = 124.712
  norm       = 0.000460635
  Prefactor  = 324.084
  Prefactor  = 3.33067e-10
  Prefactor  = 184.339
  Prefactor  = 10.7869
  Prefactor  = 9.27591e-08
  norm       = 0
  Prefactor  = 0
  norm       = 29.8467
  Prefactor  = 0
  Prefactor  = 2.58682e-08
  Prefactor  = 0
  Prefactor  = 12.9242
  norm       = 23.8102
  Prefactor  = 0
  Prefactor  = 13.5831
  Prefactor  = 0
  norm       = 0
  Prefactor  = 15.4549
  Prefactor  = 5.55112e-11
  norm       = 1.66816
  norm       = 0
  Prefactor  = 13.5674
  norm       = 5.91786
  Prefactor  = 5.55112e-11
  Normalizat = 0.934259
  Prefactor  = 0.262733
 **********
 **   18 **HESSE 
 **********

 FCN=   1480.251     FROM HESSE     STATUS=OK           672 CALLS     3766 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48558E-02    3693.2        .29789E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .86575E-05    158.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55498E-04    470.37        .54960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          124.71        121.68        .91434E-04   -1.5485    
   5  norm          .46063E-03    300.08        .48380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     324.08        312.19        .61505E-04   -1.5348    
   7  Prefactor     .33307E-09    90.243        .15136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     184.34        256.19        .70798E-04   -1.5436    
   9  Prefactor     10.787        12.155        .30438E-03   -1.5642    
  10  Prefactor     .92759E-07    75.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .51614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.5954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          29.847        32.607        .18390E-03   -1.5599    
  14  Prefactor      .0000        3.9513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .25868E-07    66.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.8141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.924        32.530        .27179E-03   -1.5636    
  18  norm          23.810        37.538        .19793E-03   -1.5610    
  19  Prefactor      .0000        28.106        .16789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.583        10.397        .27178E-03   -1.5634    
  21  Prefactor      .0000        7.0752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        8.1338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.455        118.32        .29565E-03   -1.5629    
  24  Prefactor     .55511E-10    19.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.6682        .76590        .49707E-03   -1.5682    
  26  norm           .0000        14.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.567        10.351        .27290E-03   -1.5634    
  28  norm          5.9179        4.6789        .41433E-03   -1.5659    
  29  Prefactor     .55511E-10    18.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .93426        .30699        .45347E-01   -.95267    
  31  Prefactor     .26273        .37877        .96633E-01   -1.2452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87226e-05
Minuit parameter uncertainties:
  1  8.47477
  2  0.0739799
  3  0.323165
  4  121.684
  5  0.743613
  6  312.202
  7  0.000344234
  8  256.208
  9  12.1554
  10  0.0053078
  11  3.44877e-07
  12  5.82192e-06
  13  32.6069
  14  5.80603e-06
  15  0.00262631
  16  1.73439e-06
  17  32.5308
  18  37.5383
  19  3.24709e-05
  20  10.3969
  21  4.02514e-07
  22  7.09499e-07
  23  85.5285
  24  5.58206e-05
  25  0.7659
  26  3.89479e-05
  27  10.351
  28  4.67892
  29  5.50325e-05
  30  0.307567
  31  0.382403
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  2.587e-08  2.626e-03  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:  2.627e-01  3.824e-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.343e-01  3.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 2.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10357/likelihoodResults_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.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) = 1480.25012123
delta logL = 0.000833298558518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1480.09491384
delta logL = 0.156040686386

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47886       1.0000          .0000       .10000E+07
     2 'Index     '    4.0225       1.0000          .0000       10.000    
     3 'Normalizat'    .89494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .28780       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=   1480.095     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      284 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47726        34.780        .80865E-03    .25719E-02
   2  Index         4.0237        6.9851        .98912E-01    .37220E-04
   3  Normalizat    .89492        .66285E-01    .44837E-01   -.14079E-04
   4  Prefactor     .28780        .79249E-01    .92299E-01    .78855E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.477256
  Index      = 4.02372
  Normalizat = 0.894923
  Prefactor  = 0.287804
 **********
 **   18 **HESSE 
 **********

 FCN=   1480.095     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47726        92.399        .50323E-05   -1.5694    
   2  Index         4.0237        5.5699        .52371E-02   -.19652    
   3  Normalizat    .89492        .27706        .20037E-03   -.96639    
   4  Prefactor     .28780        .32550        .40922E-03   -1.2299    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96601e-07
Minuit parameter uncertainties:
  1  13.2815
  2  12.2991
  3  0.277504
  4  0.327596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10357': 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) = 1480.09491369
delta logL = 0.156040837436

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  4.773e-01  1.328e+01  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  4.024e+00  1.230e+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:  2.878e-01  3.276e-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:  8.949e-01  2.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/10357/cmap_HighResolution_694483201_694742401_4FGL_J0929.3+5014_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='2.02e-07', time_completed='2023-01-07 00:51:40.184149', job_id='10357', GAL2='0.29', fit_tolerance='1e-08', EG2='0.89', EG='0.93', time_epoch_completed='1673081500.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.26', dlogl='1.56e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1756' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:51:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 10357: <4FGL_J0929.3+5014_daily_bin1756> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:40:12 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:40:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:40:35 2023
Terminated at Sat Jan  7 00:51:40 2023
Results reported at Sat Jan  7 00:51:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1756 142.327 50.2352 694483201 694742401 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 :                                   472.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             223.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            688 sec.

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

