/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 5 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 = 7544
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1510
RA = 142.327, Dec = 50.2352
tmin = 630720001, tmax = 630979201
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='247845', job_status='RUN', time_executed='2021-08-31 12:41:13.378595', time_epoch_executed='1630438873.38' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247845/ft1_4FGL_J0929.3+5014_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247845/ft1_4FGL_J0929.3+5014_daily_bin1510.fits outfile=/scratch/kocevski/247845/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1510.fits ra=142.327 dec=50.2352 rad=12.0 tmin=630720001.0 tmax=630979201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.28
user 2.75
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.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/247845/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/247845/ft1_filtered_4FGL_J0929.3+5014_daily_bin1510.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.74
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247845/ft1_filtered_4FGL_J0929.3+5014_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/247845/ltcube_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.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/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.fits
.....................!
real 12.38
user 11.87
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247845/ft1_filtered_4FGL_J0929.3+5014_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/247845/ltcube_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.fits outfile=/scratch/kocevski/247845/expmap_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.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/247845/ltcube_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.fits
.....................!
real 191.42
user 186.66
sys 4.06

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/247845/ft1_filtered_4FGL_J0929.3+5014_daily_bin1510.fits scfile=/scratch/kocevski/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.fits outfile=/scratch/kocevski/247845/cmap_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/247845/ft1_filtered_4FGL_J0929.3+5014_daily_bin1510.fits scfile=/scratch/kocevski/247845/ft2_4FGL_J0929.3+5014_daily_bin1510.fits outfile=/scratch/kocevski/247845/cmap_HighResolution_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    184.30       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    19.686       1.0000         .10000E-03   10000.    
     5 'norm      '    4.4370       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0923       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .49198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.0163       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1516       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7703       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.882       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    22.270       1.0000         .10000E-03   10000.    
    27 'Prefactor '    9.6148       1.0000         .10000E-03   10000.    
    28 'norm      '    .93329       1.0000         .10000E-03   10000.    
    29 'norm      '    21.910       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    9.0446       1.0000         .10000E-03   10000.    
    33 'Prefactor '    70.279       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .75550       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .78671       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=   3459.649     FROM MIGRAD    STATUS=CONVERGED    964 CALLS     5035 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     184.32        94.383        .58801E-06    .94790E-04
   2  Prefactor     .10000E-03    19.643       -.72922E-07** at limit **
   3  Prefactor     .10000E-03    21.120        .43584E-06** at limit **
   4  norm          19.676        25.284       -.84898E-06   -.24459E-05
   5  norm          4.4412        21.121        .77796E-06    .59056E-05
   6  Prefactor     .10000E-03    29.050        .35421E-06** at limit **
   7  Prefactor     7.0967        6.3365        .14323E-05    .38657E-04
   8  Prefactor     .10000E-03    15.766       -.11521E-06** at limit **
   9  Prefactor     .10000E-03    43.504        .76268E-07** at limit **
  10  Prefactor     .10000E-03    106.90        .10805E-06** at limit **
  11  Prefactor     .10000E-03    4.2342       -.14431E-06** at limit **
  12  Prefactor     .10000E-03    19.136       -.21213E-06** at limit **
  13  norm          .49264        .78951        .92600E-07    .14803E-02
  14  Prefactor     .10000E-03    3.7875       -.82102E-06** at limit **
  15  norm          5.0174        9.4134        .29965E-05   -.10436E-03
  16  Prefactor     8.1549        4.4474       -.53074E-07    .24523E-03
  17  Prefactor     .10000E-03    5.2069       -.68371E-07** at limit **
  18  Prefactor     1.7730        4.5608        .72472E-06   -.37146E-05
  19  Prefactor     .10000E-03    14.724       -.75658E-07** at limit **
  20  Prefactor     .10000E-03    8.1708       -.33484E-08** at limit **
  21  norm          .10000E-03    9.4874        .50595E-06** at limit **
  22  Prefactor     .10000E-03    26.441        .67075E-06** at limit **
  23  Prefactor     10.883        7.4632        .92855E-07   -.18420E-04
  24  Prefactor     .10000E-03    5.5999       -.75586E-07** at limit **
  25  norm          .10000E-03    8.8983       -.31122E-06** at limit **
  26  Prefactor     22.293        42.230        .14992E-05    .10780E-03
  27  Prefactor     9.6226        23.327        .12436E-06    .11860E-05
  28  norm          .93345        .45011        .74831E-08   -.81177E-04
  29  norm          21.924        16.207        .37371E-06    .32461E-06
  30  Prefactor     .10000E-03    2.2329       -.16682E-07** at limit **
  31  Prefactor     .10000E-03    37.074       -.42347E-06** at limit **
  32  norm          9.0459        3.6719        .81554E-07   -.12617E-04
  33  Prefactor     70.322        39.063        .14255E-05    .30982E-03
  34  Normalizat    .75431        .23627       -.43511E-05    .19073E-03
  35  Prefactor     .78807        .25290        .33096E-05   -.38096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 184.324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6756
  norm       = 4.44116
  Prefactor  = 0.0001
  Prefactor  = 7.09675
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.49264
  Prefactor  = 0.000100001
  norm       = 5.01744
  Prefactor  = 8.15494
  Prefactor  = 0.0001
  Prefactor  = 1.77302
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8829
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.2933
  Prefactor  = 9.62264
  norm       = 0.933449
  norm       = 21.9235
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.04587
  Prefactor  = 70.3217
  Normalizat = 0.754311
  Prefactor  = 0.788074
 **********
 **   18 **HESSE 
 **********

 FCN=   3459.649     FROM HESSE     STATUS=OK           766 CALLS     5801 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     184.32        94.649        .14870E-03   -1.2984    
   2  Prefactor     .10000E-03    19.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          19.676        25.059        .90271E-04   -1.4821    
   5  norm          4.4412        20.669        .19117E-03   -1.5286    
   6  Prefactor     .10000E-03    29.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0967        6.3396        .64725E-03   -1.5175    
   8  Prefactor     .10000E-03    15.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    43.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    107.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.3011        .11806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .49264        .65237        .54196E-03   -1.5568    
  14  Prefactor     .10000E-03    9.1898        .18622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0174        9.4288        .89772E-03   -1.5260    
  16  Prefactor     8.1549        4.4285        .86164E-04   -1.5137    
  17  Prefactor     .10000E-03    5.2189        .13107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.7730        4.5221        .18773E-03   -1.5442    
  19  Prefactor     .10000E-03    14.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1965        .16399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    9.4885        .17689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    26.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.883        7.4518        .12145E-03   -1.5048    
  24  Prefactor     .10000E-03    5.6313        .13567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    9.0221        .17103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     22.293        42.487        .84878E-04   -1.4763    
  27  Prefactor     9.6226        23.262        .12924E-03   -1.5087    
  28  norm          .93345        .45122        .26201E-04   -1.5515    
  29  norm          21.924        16.238        .85571E-04   -1.4771    
  30  Prefactor     .10000E-03    2.2443        .85789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    37.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          9.0459        3.6723        .68324E-04   -1.5106    
  33  Prefactor     70.322        39.705        .47884E-04   -1.4029    
  34  Normalizat    .75431        .26066        .24531E-03   -1.0179    
  35  Prefactor     .78807        .28497        .28575E-03   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.28999e-10
Minuit parameter uncertainties:
  1  94.7274
  2  1.20884e-05
  3  4.33806e-05
  4  25.0721
  5  19.1727
  6  4.63578e-05
  7  6.34024
  8  5.65699e-05
  9  7.90781e-05
  10  0.000358088
  11  4.29875e-06
  12  5.56844e-05
  13  0.652383
  14  0.000161641
  15  9.43159
  16  4.42863
  17  9.40254e-08
  18  4.52296
  19  4.03076e-05
  20  8.9735e-06
  21  3.16186e-05
  22  5.14982e-05
  23  7.4524
  24  2.84999e-06
  25  4.31894e-05
  26  42.5452
  27  23.2844
  28  0.451227
  29  16.2417
  30  2.96687e-06
  31  0.000142646
  32  3.67238
  33  39.7195
  34  0.261095
  35  0.285509
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  9.403e-08  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:  7.881e-01  2.855e-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:  7.543e-01  2.611e-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: 6.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/247845/likelihoodResults_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.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): 102
logL (Free Index) = 3459.65016232
delta logL = -0.000905905021682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3459.64925639
delta logL = 1.87483237823e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1099       1.0000          .0000       10.000    
     3 'Normalizat'    .75435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78804       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=   3459.649     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      239 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10101E-03    80.293        .13230E-02** at limit **
   2  Index         2.0572        8.8592        .50000        .19946E-04
   3  Normalizat    .75431        .19559E-01    .24532E-03    .68355E-04
   4  Prefactor     .78808        .23380E-01    .28575E-03    .65368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101011
  Index      = 2.05716
  Normalizat = 0.754306
  Prefactor  = 0.788079
 **********
 **   18 **HESSE 
 **********

 FCN=   3459.649     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10101E-03    325.41        .26460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0572        8.8940        .50000       -.62929    
   3  Normalizat    .75431        .41835E-01    .98127E-05   -1.0179    
   4  Prefactor     .78808        .50002E-01    .11430E-04   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.90999e-08
Minuit parameter uncertainties:
  1  0.0364682
  2  703.263
  3  0.0418364
  4  0.0500053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247845': 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) = 3459.64925613
delta logL = 2.77786512015e-07

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.010e-04  3.647e-02  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.057e+00  7.033e+02  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.881e-01  5.001e-02  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:  7.543e-01  4.184e-02  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/247845/cmap_HighResolution_630720001_630979201_4FGL_J0929.3+5014_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2021-08-31 12:54:46.029299', job_id='247845', GAL2='0.79', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630439686.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1510' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:54:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 247845: <4FGL_J0929.3+5014_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1510> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 12:40:44 2021
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:40:47 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:40:47 2021
Terminated at Tue Aug 31 12:54:46 2021
Results reported at Tue Aug 31 12:54:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1510 142.327 50.2352 630720001 630979201 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 :                                   784.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            842 sec.

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

