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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1744
RA = 142.327, Dec = 50.2352
tmin = 691372801, tmax = 691632001
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='571839', job_status='RUN', time_executed='2022-12-02 00:30:46.558157', time_epoch_executed='1669969846.56' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571839/ft1_4FGL_J0929.3+5014_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571839/ft2_4FGL_J0929.3+5014_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571839/ft1_4FGL_J0929.3+5014_daily_bin1744.fits outfile=/scratch/kocevski/571839/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1744.fits ra=142.327 dec=50.2352 rad=12.0 tmin=691372801.0 tmax=691632001.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.05
user 1.81
sys 0.19

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

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

Number of photons that the gtmktime cut: 673

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571839/ft1_filtered_4FGL_J0929.3+5014_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/571839/ft2_4FGL_J0929.3+5014_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/571839/ltcube_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.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/571839/ft2_4FGL_J0929.3+5014_daily_bin1744.fits
.....................!
real 10.12
user 9.82
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571839/ft1_filtered_4FGL_J0929.3+5014_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/571839/ft2_4FGL_J0929.3+5014_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/571839/ltcube_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.fits outfile=/scratch/kocevski/571839/expmap_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.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/571839/ltcube_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.fits
.....................!
real 151.12
user 146.94
sys 3.89

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/571839/ft1_filtered_4FGL_J0929.3+5014_daily_bin1744.fits scfile=/scratch/kocevski/571839/ft2_4FGL_J0929.3+5014_daily_bin1744.fits outfile=/scratch/kocevski/571839/cmap_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.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.46
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571839/ft1_filtered_4FGL_J0929.3+5014_daily_bin1744.fits scfile=/scratch/kocevski/571839/ft2_4FGL_J0929.3+5014_daily_bin1744.fits outfile=/scratch/kocevski/571839/cmap_HighResolution_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.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.47
user 0.31
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7787       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.279       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2867       1.0000          .0000       .10000E+07
     4 'norm      '    .75258       1.0000          .0000       .10000E+07
     5 'norm      '    9.0980       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0014       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45952E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .76529E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6046       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97007E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .36082E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1730       1.0000          .0000       .10000E+07
    13 'norm      '    1.1093       1.0000          .0000       .10000E+07
    14 'Prefactor '    .91281       1.0000          .0000       .10000E+07
    15 'Prefactor '    .62778E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13640E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .24590E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .42648E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12938E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.9291       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.528       1.0000          .0000       .10000E+07
    22 'norm      '    .46953E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    76.390       1.0000          .0000       .10000E+07
    24 'Prefactor '    13.404       1.0000          .0000       .10000E+07
    25 'norm      '    .38888       1.0000          .0000       .10000E+07
    26 'norm      '    1.6479       1.0000          .0000       .10000E+07
    27 'Prefactor '    .45627       1.0000          .0000       .10000E+07
    28 'norm      '    4.3146       1.0000          .0000       .10000E+07
    29 'Prefactor '    6.4489       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0490       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2187       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=   7334.272     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     3201 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7917        3.0544       -.71062E-07   -.30963E-01
   2  Prefactor     24.284        1.7097        .26061E-07    .88540E-02
   3  Prefactor     3.3070        4.1798        .22305E-06   -.21129E-02
   4  norm          .75158        .91830       -.46955E-07   -.17622E-02
   5  norm          9.1064        5.6224        .13675E-06    .11128E-01
   6  Prefactor     2.9305        15.226       -.77941E-06   -.77653E-02
   7  Prefactor     .71576E-06    21.158       -.42071E-06** at limit **
   8  Prefactor     .24258E-07    39.573        .19797E-05** at limit **
   9  Prefactor     1.6071        3.1813        .53880E-08   -.29590E-04
  10  Prefactor     .27717E-06    20.431        .14378E-06** at limit **
  11  norm           .0000        2.5149       -.43512E-07** at limit **
  12  Prefactor     2.1712        2.2932        .98985E-08    .27548E-03
  13  norm          1.1255        10.602       -.45338E-06   -.75350E-03
  14  Prefactor     .91246        1.3099       -.85900E-07   -.27995E-02
  15  Prefactor     .38858E-09    4.1687       -.22555E-06** at limit **
  16  Prefactor      .0000        1.7675       -.16483E-06** at limit **
  17  Prefactor     .22204E-09    4.3314        .18164E-06** at limit **
  18  norm          .17191E-01    757.00        .97940E-05** at limit **
  19  Prefactor     .14411E-06    31.349       -.60242E-06** at limit **
  20  Prefactor     2.9276        7.5682       -.52028E-07    .55593E-02
  21  Prefactor     14.534        7.2737       -.48458E-07   -.79746E-02
  22  norm           .0000        3.2112        .31042E-07** at limit **
  23  Prefactor     76.545        28.948       -.67694E-06    .28844    
  24  Prefactor     13.474        1.4885        .16877E-07   -.71490E-02
  25  norm          .38878        .35272       -.24031E-07   -.34284E-02
  26  norm          1.6444        5.9496       -.57553E-06   -.15937E-02
  27  Prefactor     .44657        4.8711        .23266E-06    .78204E-03
  28  norm          4.3139        2.2339        .36953E-07    .20719E-02
  29  Prefactor     6.4357        6.1491       -.11504E-06   -.42267E-02
  30  Normalizat    1.0488        .20765        .26165E-05    .58912E-04
  31  Prefactor     1.2189        .22715        .73710E-06    .58402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.79173
  Prefactor  = 24.2843
  Prefactor  = 3.307
  norm       = 0.751583
  norm       = 9.10642
  Prefactor  = 2.93048
  Prefactor  = 7.15761e-07
  Prefactor  = 2.42584e-08
  Prefactor  = 1.60711
  Prefactor  = 2.77167e-07
  norm       = 0
  Prefactor  = 2.17123
  norm       = 1.12548
  Prefactor  = 0.912456
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  norm       = 0.0171906
  Prefactor  = 1.44107e-07
  Prefactor  = 2.92755
  Prefactor  = 14.5339
  norm       = 0
  Prefactor  = 76.5449
  Prefactor  = 13.4738
  norm       = 0.388778
  norm       = 1.64443
  Prefactor  = 0.446565
  norm       = 4.31392
  Prefactor  = 6.43574
  Normalizat = 1.04881
  Prefactor  = 1.2189
 **********
 **   18 **HESSE 
 **********

 FCN=   7334.272     FROM HESSE     STATUS=OK           708 CALLS     3909 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7917        8.4040        .35929E-03   -1.5652    
   2  Prefactor     24.284        14.997        .20299E-03   -1.5609    
   3  Prefactor     3.3070        7.8134        .55825E-03   -1.5672    
   4  norm          .75158        5.9118        .56539E-03   -1.5691    
   5  norm          9.1064        7.0142        .33204E-03   -1.5648    
   6  Prefactor     2.9305        15.695        .58565E-03   -1.5674    
   7  Prefactor     .71576E-06    22.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24258E-07    43.255        .14608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6071        3.2326        .83630E-03   -1.5683    
  10  Prefactor     .27717E-06    21.466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .26129        .25172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1712        2.6821        .69824E-03   -1.5678    
  13  norm          1.1255        10.657        .11217E-02   -1.5687    
  14  Prefactor     .91246        1.3311        .44879E-03   -1.5689    
  15  Prefactor     .38858E-09    4.1863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.7773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22204E-09    4.3537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .17191E-01    11.543        .88947E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .14411E-06    31.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9276        8.0246        .59328E-03   -1.5674    
  21  Prefactor     14.534        7.4804        .26252E-03   -1.5632    
  22  norm           .0000        3.2160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     76.545        42.914        .11442E-03   -1.5533    
  24  Prefactor     13.474        29.991        .27333E-03   -1.5635    
  25  norm          .38878        .36947        .90786E-03   -1.5695    
  26  norm          1.6444        6.0209        .82231E-03   -1.5682    
  27  Prefactor     .44657        4.8982        .83237E-03   -1.5695    
  28  norm          4.3139        2.2491        .48474E-03   -1.5666    
  29  Prefactor     6.4357        22.482        .39498E-03   -1.5657    
  30  Normalizat    1.0488        .17931        .58899E-01   -.91413    
  31  Prefactor     1.2189        .19101        .62564E-01   -.85752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72259e-06
Minuit parameter uncertainties:
  1  8.404
  2  14.9975
  3  7.81344
  4  4.21579
  5  7.01425
  6  13.5636
  7  0.00798382
  8  0.00204923
  9  3.2326
  10  0.00487868
  11  1.21753e-06
  12  2.68209
  13  6.92655
  14  1.33111
  15  8.07072e-05
  16  7.16326e-06
  17  5.85473e-05
  18  0.890909
  19  0.00427184
  20  8.02464
  21  7.48037
  22  5.44273e-06
  23  42.9146
  24  29.9918
  25  0.369468
  26  6.02089
  27  2.95794
  28  2.24905
  29  22.4825
  30  0.17941
  31  0.191118
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  3.886e-10  8.071e-05  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:  1.219e+00  1.911e-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.049e+00  1.794e-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: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571839/likelihoodResults_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.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) = 7334.27913228
delta logL = -0.00745528023617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7334.27167795
delta logL = -9.50120011112e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14851E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.2874       1.0000          .0000       10.000    
     3 'Normalizat'    1.0489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2189       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7334.272     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      228 TOTAL
                     EDM=   .75E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1889        .42118E-03** at limit **
   2  Index         .79074        .65091       -.24858E-04     .0000    
   3  Normalizat    1.0488        1.2052        .15505E-05   -.17795E-04
   4  Prefactor     1.2189        1.0971       -.88518E-06    .29544E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.790742
  Normalizat = 1.04881
  Prefactor  = 1.2189
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7334.272     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .75E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90247E-02    .90600       -.24858E-04   -1.0007    
   3  Normalizat    1.0488        1.2052        .15505E-05   -.91413    
   4  Prefactor     1.2189        1.0971       -.88518E-06   -.85752    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.47247e-12
Minuit parameter uncertainties:
  1  6.70201e-06
  2  0.657397
  3  1.23897
  4  1.11881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571839': 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) = 7334.271677
delta logL = 4.72937244922e-11

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  0.000e+00  6.702e-06  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  7.907e-01  6.574e-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:  1.219e+00  1.119e+00  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.049e+00  1.239e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/571839/cmap_HighResolution_691372801_691632001_4FGL_J0929.3+5014_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-03', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2022-12-02 00:44:43.245234', job_id='571839', GAL2='1.22', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1669970683.25', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='4.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1744' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 00:44:43 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 571839: <4FGL_J0929.3+5014_daily_bin1744> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 00:30:19 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:30:20 2022
Terminated at Fri Dec  2 00:44:44 2022
Results reported at Fri Dec  2 00:44:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1744 142.327 50.2352 691372801 691632001 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 :                                   817.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

