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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1760
RA = 142.327, Dec = 50.2352
tmin = 695520001, tmax = 695779201
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='733507', job_status='RUN', time_executed='2023-01-19 00:44:06.799712', time_epoch_executed='1674117846.8' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733507

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733507/ft1_4FGL_J0929.3+5014_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733507/ft2_4FGL_J0929.3+5014_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733507/ft1_4FGL_J0929.3+5014_daily_bin1760.fits outfile=/scratch/kocevski/733507/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1760.fits ra=142.327 dec=50.2352 rad=12.0 tmin=695520001.0 tmax=695779201.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.45
user 2.21
sys 0.20

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

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

Number of photons that the gtmktime cut: 141

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733507/ft1_filtered_4FGL_J0929.3+5014_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/733507/ft2_4FGL_J0929.3+5014_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/733507/ltcube_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.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/733507/ft2_4FGL_J0929.3+5014_daily_bin1760.fits
.....................!
real 17.00
user 16.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733507/ft1_filtered_4FGL_J0929.3+5014_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733507/ft2_4FGL_J0929.3+5014_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733507/ltcube_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.fits outfile=/scratch/kocevski/733507/expmap_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.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/733507/ltcube_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.fits
.....................!
real 192.87
user 186.97
sys 4.96

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/733507/ft1_filtered_4FGL_J0929.3+5014_daily_bin1760.fits scfile=/scratch/kocevski/733507/ft2_4FGL_J0929.3+5014_daily_bin1760.fits outfile=/scratch/kocevski/733507/cmap_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733507/ft1_filtered_4FGL_J0929.3+5014_daily_bin1760.fits scfile=/scratch/kocevski/733507/ft2_4FGL_J0929.3+5014_daily_bin1760.fits outfile=/scratch/kocevski/733507/cmap_HighResolution_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.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.58
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14301E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .52888E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .22171E-04   1.0000          .0000       .10000E+07
     4 'norm      '    40.436       1.0000          .0000       .10000E+07
     5 'norm      '    7.3516       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12387E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .42677E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23537E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.679       1.0000          .0000       .10000E+07
    10 'Prefactor '    .98927E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .38103E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10416E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .66897E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12169E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    27.198       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.272       1.0000          .0000       .10000E+07
    17 'Prefactor '    48.298       1.0000          .0000       .10000E+07
    18 'norm      '    .59452       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20390E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10634E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    47.257       1.0000          .0000       .10000E+07
    22 'norm      '    .13992E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .62317E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    69.481       1.0000          .0000       .10000E+07
    25 'norm      '    1.7340       1.0000          .0000       .10000E+07
    26 'norm      '    .15943E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .93020E-03   1.0000          .0000       .10000E+07
    28 'norm      '    9.6076       1.0000          .0000       .10000E+07
    29 'Prefactor '    62.260       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0579       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .76289       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=   1663.340     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2937 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20883E-06    15.733       -.24485E-06** at limit **
   2  Prefactor     .89564E-05    69.605        .87699E-06** at limit **
   3  Prefactor     .22204E-09    10.774       -.65479E-08** at limit **
   4  norm          41.460        7.3484       -.48436E-07    .73291E-02
   5  norm          6.6176        7.4749        .97167E-07   -.60500E-02
   6  Prefactor     .11391E-05    19.263       -.77084E-07** at limit **
   7  Prefactor     .49516E-07    33.504       -.71490E-07** at limit **
   8  Prefactor     .13249E-03    47.252        .52405E-06** at limit **
   9  Prefactor     17.079        4.8978       -.77426E-09   -.26454E-02
  10  Prefactor     .57010E-07    66.447        .41074E-06** at limit **
  11  norm           .0000        .77552       -.16259E-07** at limit **
  12  Prefactor     .11102E-09    9.8684       -.66690E-06** at limit **
  13  norm          .31786E-06    22.592        .29632E-06** at limit **
  14  Prefactor     .65231E-06    16.442       -.41968E-06** at limit **
  15  Prefactor     26.923        3.5720        .20444E-07    .14041E-01
  16  Prefactor     10.472        13.540       -.83948E-08    .12029E-01
  17  Prefactor     51.967        24.079       -.18060E-06   -.61230E-02
  18  norm          .14600E-04    36.190        .66817E-06** at limit **
  19  Prefactor     .76381E-05    15.955        .48775E-07** at limit **
  20  Prefactor     .11102E-09    5.5379        .41829E-07** at limit **
  21  Prefactor     47.434        13.056        .42684E-07   -.10486    
  22  norm          .19984E-08    9.9360        .16669E-06** at limit **
  23  Prefactor     .24523E-04    41.936        .41826E-06** at limit **
  24  Prefactor     82.020        84.622        .12013E-06   -.37780E-01
  25  norm          1.6919        1.0683        .26640E-08   -.76602E-04
  26  norm          .59985E-06    18.208       -.34935E-06** at limit **
  27  Prefactor      .0000        10.057       -.14048E-06** at limit **
  28  norm          9.7405        6.5505       -.61022E-07   -.46812E-03
  29  Prefactor     73.190        61.225       -.11884E-06    .86893E-01
  30  Normalizat    1.0145        .48589        .74930E-06   -.17195E-04
  31  Prefactor     .78270        .46981       -.36647E-05   -.18304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.08833e-07
  Prefactor  = 8.95645e-06
  Prefactor  = 2.22045e-10
  norm       = 41.4602
  norm       = 6.61757
  Prefactor  = 1.13914e-06
  Prefactor  = 4.95159e-08
  Prefactor  = 0.000132492
  Prefactor  = 17.0789
  Prefactor  = 5.701e-08
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 3.17857e-07
  Prefactor  = 6.52312e-07
  Prefactor  = 26.9232
  Prefactor  = 10.4722
  Prefactor  = 51.967
  norm       = 1.46004e-05
  Prefactor  = 7.63811e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 47.4341
  norm       = 1.9984e-09
  Prefactor  = 2.45231e-05
  Prefactor  = 82.0205
  norm       = 1.69195
  norm       = 5.99854e-07
  Prefactor  = 0
  norm       = 9.74046
  Prefactor  = 73.1903
  Normalizat = 1.01448
  Prefactor  = 0.782697
 **********
 **   18 **HESSE 
 **********

 FCN=   1663.340     FROM HESSE     STATUS=OK           674 CALLS     3611 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20883E-06    15.957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .89564E-05    111.79        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    10.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          41.460        48.144        .15727E-03   -1.5579    
   5  norm          6.6176        31.891        .36968E-03   -1.5657    
   6  Prefactor     .11391E-05    20.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49516E-07    34.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13249E-03    168.48        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.079        27.294        .24497E-03   -1.5625    
  10  Prefactor     .57010E-07    67.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .77408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    9.8598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .31786E-06    23.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65231E-06    17.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.923        27.504        .19178E-03   -1.5604    
  16  Prefactor     10.472        15.836        .31239E-03   -1.5643    
  17  Prefactor     51.967        52.523        .14390E-03   -1.5564    
  18  norm          .14600E-04    356.88        .69721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .76381E-05    310.00        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    5.5348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.434        33.260        .14548E-03   -1.5570    
  22  norm          .19984E-08    9.9236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .24523E-04    205.67        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     82.020        89.499        .11998E-03   -1.5527    
  25  norm          1.6919        1.0721        .79675E-04   -1.5682    
  26  norm          .59985E-06    18.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        10.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          9.7405        6.5456        .32306E-03   -1.5646    
  29  Prefactor     73.190        78.536        .12674E-03   -1.5537    
  30  Normalizat    1.0145        .41466        .65519E-01   -.92547    
  31  Prefactor     .78270        .40124        .77933E-01   -1.0037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36634e-06
Minuit parameter uncertainties:
  1  0.00365087
  2  0.0632849
  3  9.32605e-05
  4  48.1448
  5  29.0549
  6  0.00973294
  7  0.00259898
  8  0.298823
  9  27.2939
  10  0.00392266
  11  4.26201e-08
  12  7.05943e-05
  13  0.00544751
  14  0.00666994
  15  27.5043
  16  15.8364
  17  52.5234
  18  0.144378
  19  0.0973253
  20  4.48623e-05
  21  33.2602
  22  0.000282223
  23  0.142044
  24  89.5005
  25  1.07212
  26  0.00674276
  27  2.73721e-05
  28  6.54557
  29  78.537
  30  0.415992
  31  0.402745
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  2.692e+01  2.750e+01  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:  7.827e-01  4.027e-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.014e+00  4.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.77
Ra Dec: 142.327 50.235
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 7.29e-08 +/- 7.44e-08
Energy Flux (Fixed Index): 3.79e-05 +/- 3.87e-05

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

Saving results to:
/scratch/kocevski/733507/likelihoodResults_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.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) = 1663.34000501
delta logL = 0.000394279448074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1663.33980188
delta logL = 0.000597409160946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.336       1.0000          .0000       .10000E+07
     2 'Index     '    2.1719       1.0000          .0000       10.000    
     3 'Normalizat'    1.0109       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78481       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1663.340     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      194 TOTAL
                     EDM=   .59E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.323        32.016       -.25466E-07    .40790E-03
   2  Index         2.1699        1.2835       -.15437E-04    .80913E-05
   3  Normalizat    1.0110        .38443        .15498E-05    .30040E-04
   4  Prefactor     .78490        .39888        .91815E-06    .29603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.3229
  Index      = 2.16994
  Normalizat = 1.01105
  Prefactor  = 0.784897
 **********
 **   18 **HESSE 
 **********

 FCN=   1663.340     FROM HESSE     STATUS=OK            29 CALLS      223 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.323        31.999        .77959E-05   -1.5605    
   2  Index         2.1699        1.2879        .99132E-03   -.60166    
   3  Normalizat    1.0110        .44746        .29023E-03   -.92661    
   4  Prefactor     .78490        .46572        .34454E-03   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06397e-11
Minuit parameter uncertainties:
  1  31.9995
  2  1.30978
  3  0.449133
  4  0.468082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733507': 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) = 1663.33979933
delta logL = 0.000599964154389

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  2.632e+01  3.200e+01  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  2.170e+00  1.310e+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:  7.849e-01  4.681e-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.011e+00  4.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.80
Ra Dec: 142.327 50.235
Photon Index (Free Index): 2.17 +/- 1.31
Photon Flux (Free Index): 7.73e-08 +/- 1.53e-07
Energy Flux (Free Index): 3.67e-05 +/- 4.77e-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/733507/cmap_HighResolution_695520001_695779201_4FGL_J0929.3+5014_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-02', comment='SUCCESS', photon_flux='7.29e-08', energy_flux2='3.67e-05', photon_flux_error='7.44e-08', dlogl='6.00e-04', energy_flux='3.79e-05', photon_flux2='7.73e-08', job_status='DONE', time_completed='2023-01-19 00:52:02.806625', photon_index_error2='1.31', photon_index2='2.17', ts='3.77', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='2.97e-07', energy_flux_error2='4.77e-05', EG='1.01', time_epoch_completed='1674118322.81', return_code='0', job_id='733507', GAL2='0.78', EG2='1.01', return_code2='0', energy_flux_error='3.87e-05', photon_flux_error2='1.53e-07', ts2='3.80', photon_index='2.13' WHERE bin_id='1760' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:52:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 733507: <4FGL_J0929.3+5014_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:21 2023
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:41:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:41:50 2023
Terminated at Thu Jan 19 00:52:03 2023
Results reported at Thu Jan 19 00:52:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1760 142.327 50.2352 695520001 695779201 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 :                                   477.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            702 sec.

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

