/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 3 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin511
RA = 142.327, Dec = 50.2352
tmin = 371779201, tmax = 372038401
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='241454', job_status='RUN', time_executed='2021-08-31 12:20:54.513728', time_epoch_executed='1630437654.51' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/241454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/241454/ft1_4FGL_J0929.3+5014_daily_bin511.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/241454/ft1_4FGL_J0929.3+5014_daily_bin511.fits outfile=/scratch/kocevski/241454/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin511.fits ra=142.327 dec=50.2352 rad=12.0 tmin=371779201.0 tmax=372038401.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.70
user 2.49
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/241454/ft1_filtered_4FGL_J0929.3+5014_daily_bin511.fits" evtable="EVENTS" scfile=/scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits sctable="SC_DATA" outfile=/scratch/kocevski/241454/ltcube_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.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/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits
.....................!
real 9.34
user 9.06
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/241454/ft1_filtered_4FGL_J0929.3+5014_daily_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits sctable="SC_DATA" expcube=/scratch/kocevski/241454/ltcube_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.fits outfile=/scratch/kocevski/241454/expmap_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.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/241454/ltcube_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.fits
.....................!
real 146.94
user 143.20
sys 3.51

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/241454/ft1_filtered_4FGL_J0929.3+5014_daily_bin511.fits scfile=/scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits outfile=/scratch/kocevski/241454/cmap_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.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.45
user 0.32
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/241454/ft1_filtered_4FGL_J0929.3+5014_daily_bin511.fits scfile=/scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits outfile=/scratch/kocevski/241454/cmap_HighResolution_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.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.45
user 0.31
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/241454/ft1_filtered_4FGL_J0929.3+5014_daily_bin511.fits', '/scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits', expMap='/scratch/kocevski/241454/expmap_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.fits', expCube='/scratch/kocevski/241454/ltcube_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/241454/Model_4FGL_J0929.3+5014_daily_bin511.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  1.000e-04  1.000e+04 ( 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/241454/ft1_filtered_4FGL_J0929.3+5014_daily_bin511.fits
Spacecraft file(s): /scratch/kocevski/241454/ft2_4FGL_J0929.3+5014_daily_bin511.fits
Exposure map: /scratch/kocevski/241454/expmap_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.fits
Exposure cube: /scratch/kocevski/241454/ltcube_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/241454/Model_4FGL_J0929.3+5014_daily_bin511.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) = 7248.12210781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3617       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.230       1.0000         .10000E-03   10000.    
     4 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6520       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.728       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13789E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.657       1.0000         .10000E-03   10000.    
     9 'Prefactor '    95.321       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4696       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3592       1.0000         .10000E-03   10000.    
    15 'norm      '    4.6757       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.6260       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.220       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0183       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.9060       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.6648       1.0000         .10000E-03   10000.    
    29 'norm      '    .10762E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    10.407       1.0000         .10000E-03   10000.    
    33 'Prefactor '    31.044       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0303       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .91971       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=   7247.829     FROM MIGRAD    STATUS=CONVERGED   1054 CALLS     5223 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5604       -.32004E-06** at limit **
   2  Prefactor     8.3460        13.868        .41663E-05   -.85167E-04
   3  Prefactor     10.234        8.0817        .40430E-05   -.45323E-04
   4  norm          .10000E-03    3.6949        .19494E-06** at limit **
   5  norm          2.6518        6.7757        .14192E-05   -.35984E-03
   6  Prefactor     10.746        12.957        .60531E-05   -.23815E-04
   7  Prefactor     .10312        1.3465        .61207E-06   -.87548E-04
   8  Prefactor     31.693        25.765       -.22419E-04   -.65629E-04
   9  Prefactor     94.630        91.211       -.11458E-04   -.56196E-04
  10  Prefactor     8.4816        28.806       -.35642E-04   -.39872E-05
  11  Prefactor     .10001E-03    1.7132       -.14211E-06** at limit **
  12  Prefactor     .10000E-03    6.9261        .32461E-06** at limit **
  13  norm          .10000E-03    .18170        .33747E-07** at limit **
  14  Prefactor     2.3454        2.7774       -.32970E-07   -.55838E-03
  15  norm          4.6776        5.7106        .83278E-06    .45244E-04
  16  Prefactor     6.6271        2.9977        .54307E-06    .49778E-03
  17  Prefactor     11.223        8.1515       -.10308E-05    .10906E-04
  18  Prefactor     2.0232        3.2448        .13561E-06   -.66089E-03
  19  Prefactor     .10000E-03    5.3626        .13858E-05** at limit **
  20  Prefactor     .10000E-03    4.0902        .68285E-06** at limit **
  21  norm          .10000E-03    7.2892        .14509E-05** at limit **
  22  Prefactor     2.9583        59.077       -.43410E-04   -.45518E-04
  23  Prefactor     .10000E-03    3.3359       -.18553E-06** at limit **
  24  Prefactor     .10000E-03    4.0294       -.71689E-06** at limit **
  25  norm          .10000E-03    4.8330        .24083E-05** at limit **
  26  Prefactor     .10000E-03    12.904        .12751E-05** at limit **
  27  Prefactor     .10000E-03    55.885        .26701E-05** at limit **
  28  norm          1.6653        .53643       -.11344E-07    .33999E-03
  29  norm          .10000E-03    16.609       -.58726E-05** at limit **
  30  Prefactor     .10000E-03    4.6375       -.95606E-06** at limit **
  31  Prefactor     .10000E-03    17.648        .33690E-05** at limit **
  32  norm          10.410        3.4938       -.17907E-06    .29251E-03
  33  Prefactor     31.074        25.032       -.63943E-05    .22499E-04
  34  Normalizat    1.0295        .17374        .74751E-05   -.23348E-03
  35  Prefactor     .91967        .17109       -.25385E-05    .29159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.34595
  Prefactor  = 10.2336
  norm       = 0.0001
  norm       = 2.65181
  Prefactor  = 10.7458
  Prefactor  = 0.103119
  Prefactor  = 31.6933
  Prefactor  = 94.6305
  Prefactor  = 8.48161
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.34535
  norm       = 4.67762
  Prefactor  = 6.62713
  Prefactor  = 11.2229
  Prefactor  = 2.02321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.9583
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.66529
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.4102
  Prefactor  = 31.0738
  Normalizat = 1.02948
  Prefactor  = 0.91967
 **********
 **   18 **HESSE 
 **********

 FCN=   7247.829     FROM HESSE     STATUS=OK           776 CALLS     5999 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6167        .15681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3460        13.842        .13864E-03   -1.5130    
   3  Prefactor     10.234        8.0490        .12528E-03   -1.5068    
   4  norm          .10000E-03    3.7246        .15963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6518        6.6842        .25033E-03   -1.5382    
   6  Prefactor     10.746        12.938        .12232E-03   -1.5052    
   7  Prefactor     .10312        18.498        .17712E-02   -1.5644    
   8  Prefactor     31.693        25.617        .71214E-04   -1.4581    
   9  Prefactor     94.630        91.774        .41167E-04   -1.3759    
  10  Prefactor     8.4816        28.723        .13774E-03   -1.5125    
  11  Prefactor     .10001E-03    5.0609        .20552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.9295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .24217        .64906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3454        2.5513        .13003E-03   -1.5402    
  15  norm          4.6776        5.7001        .18611E-03   -1.5275    
  16  Prefactor     6.6271        2.9233        .89833E-04   -1.5193    
  17  Prefactor     11.223        8.1400        .11960E-03   -1.5038    
  18  Prefactor     2.0232        3.2230        .18226E-03   -1.5423    
  19  Prefactor     .10000E-03    5.3695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.0933        .16815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.3103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.9583        59.263        .23835E-03   -1.5364    
  23  Prefactor     .10000E-03    3.3516        .15184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.0812        .16662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    4.8770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    56.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.6653        .53710        .33962E-04   -1.5450    
  29  norm          .10000E-03    17.239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    4.7508        .35754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    17.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          10.410        3.4977        .88930E-04   -1.5063    
  33  Prefactor     31.074        25.067        .71913E-04   -1.4593    
  34  Normalizat    1.0295        .19651        .24447E-03   -.92049    
  35  Prefactor     .91967        .19351        .27747E-03   -.95457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99704e-08
Minuit parameter uncertainties:
  1  4.86938e-05
  2  13.8474
  3  8.0499
  4  3.38151e-05
  5  6.68605
  6  12.9419
  7  2.76176
  8  25.6254
  9  91.9124
  10  28.77
  11  0.000386504
  12  9.29641e-05
  13  2.72886e-06
  14  2.5514
  15  5.70073
  16  2.92339
  17  8.14084
  18  3.22324
  19  1.57384e-05
  20  5.74737e-06
  21  0.000120352
  22  26.5112
  23  1.53802e-05
  24  2.96686e-06
  25  1.53379e-05
  26  0.000136634
  27  0.000399656
  28  0.537102
  29  1.76476e-05
  30  2.88643e-05
  31  1.10321e-05
  32  3.49779
  33  25.0754
  34  0.196646
  35  0.193656
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.122e+01  8.141e+00  1.000e-04  1.000e+04 ( 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:  9.197e-01  1.937e-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.029e+00  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.78
Ra Dec: 142.327 50.235
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.04e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.15e-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) = 7247.64284079
delta logL = 0.186301003365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7247.63868671
delta logL = 0.190455082909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.392       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7665       1.0000          .0000       10.000    
     3 'Normalizat'    1.0423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91320       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7247.639     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      280 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.393        9.8548        .11379E-03    .29373E-05
   2  Index         1.7667        .59255        .10355E-01    .49477E-04
   3  Normalizat    1.0423        .17638        .24318E-03   -.41140E-05
   4  Prefactor     .91319        .19008        .27839E-03    .29403E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3933
  Index      = 1.76671
  Normalizat = 1.04231
  Prefactor  = 0.913192
 **********
 **   18 **HESSE 
 **********

 FCN=   7247.639     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .19E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.393        9.9037        .22758E-04   -1.5004    
   2  Index         1.7667        .59554        .20710E-02   -.70320    
   3  Normalizat    1.0423        .17650        .97273E-05   -.91626    
   4  Prefactor     .91319        .19023        .11136E-04   -.95682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94543e-13
Minuit parameter uncertainties:
  1  9.90503
  2  0.597988
  3  0.176602
  4  0.190369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/241454': 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) = 7247.63868665
delta logL = 0.190455145962

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.239e+01  9.905e+00  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  1.767e+00  5.980e-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:  9.132e-01  1.904e-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.042e+00  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.16
Ra Dec: 142.327 50.235
Photon Index (Free Index): 1.77 +/- 0.60
Photon Flux (Free Index): 1.87e-08 +/- 2.34e-08
Energy Flux (Free Index): 2.47e-05 +/- 2.89e-05

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/241454/cmap_HighResolution_371779201_372038401_4FGL_J0929.3+5014_daily_bin511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.04e-08', energy_flux2='2.47e-05', photon_flux_error='2.20e-08', dlogl='1.90e-01', energy_flux='1.58e-05', photon_flux2='1.87e-08', job_status='DONE', time_completed='2021-08-31 12:36:38.334802', photon_index_error2='0.60', photon_index2='1.77', ts='5.78', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.89e-05', EG='1.03', time_epoch_completed='1630438598.33', return_code='0', job_id='241454', GAL2='0.91', EG2='1.04', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='2.34e-08', ts2='6.16', photon_index='2.13' WHERE bin_id='511' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:36:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 241454: <4FGL_J0929.3+5014_daily_bin511> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin511> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 12:20:43 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:20:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 12:20:44 2021
Terminated at Tue Aug 31 12:36:39 2021
Results reported at Tue Aug 31 12:36:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin511 142.327 50.2352 371779201 372038401 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 :                                   939.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            956 sec.

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

