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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1262
RA = 142.327, Dec = 50.2352
tmin = 566438401, tmax = 566697601
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='246255', job_status='RUN', time_executed='2021-08-31 12:35:54.215420', time_epoch_executed='1630438554.22' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1262'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/246255

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/246255/ft1_4FGL_J0929.3+5014_daily_bin1262.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/246255/ft2_4FGL_J0929.3+5014_daily_bin1262.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/246255/ft1_4FGL_J0929.3+5014_daily_bin1262.fits outfile=/scratch/kocevski/246255/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1262.fits ra=142.327 dec=50.2352 rad=12.0 tmin=566438401.0 tmax=566697601.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.22
user 2.01
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/246255/ft1_filtered_4FGL_J0929.3+5014_daily_bin1262.fits" evtable="EVENTS" scfile=/scratch/kocevski/246255/ft2_4FGL_J0929.3+5014_daily_bin1262.fits sctable="SC_DATA" outfile=/scratch/kocevski/246255/ltcube_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.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/246255/ft2_4FGL_J0929.3+5014_daily_bin1262.fits
.....................!
real 12.69
user 12.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/246255/ft1_filtered_4FGL_J0929.3+5014_daily_bin1262.fits evtable="EVENTS" scfile=/scratch/kocevski/246255/ft2_4FGL_J0929.3+5014_daily_bin1262.fits sctable="SC_DATA" expcube=/scratch/kocevski/246255/ltcube_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.fits outfile=/scratch/kocevski/246255/expmap_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.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/246255/ltcube_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.fits
.....................!
real 189.98
user 185.37
sys 4.17

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/246255/ft1_filtered_4FGL_J0929.3+5014_daily_bin1262.fits scfile=/scratch/kocevski/246255/ft2_4FGL_J0929.3+5014_daily_bin1262.fits outfile=/scratch/kocevski/246255/cmap_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.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.54
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11285E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .45840E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.522       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8187       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.214       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10605E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9684       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .71447       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    21.066       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10389E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5598       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5527       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12564E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    29.094       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.647       1.0000         .10000E-03   10000.    
    25 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    60.083       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.9561       1.0000         .10000E-03   10000.    
    29 'norm      '    3.4581       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .23820E-01   1.0000         .10000E-03   10000.    
    32 'norm      '    6.6748       1.0000         .10000E-03   10000.    
    33 'Prefactor '    22.240       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .61207       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=   2900.719     FROM MIGRAD    STATUS=CONVERGED   1009 CALLS     5878 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.720        10.984       -.86566E-06    .61138E-04
   2  Prefactor     .10000E-03    124.53        .20522E-04** at limit **
   3  Prefactor     .10000E-03    6.2187       -.10843E-08** at limit **
   4  norm          .10000E-03    10.902        .25134E-05** at limit **
   5  norm          .10000E-03    3.3689       -.74186E-07** at limit **
   6  Prefactor     32.519        26.636       -.22624E-08    .15826E-04
   7  Prefactor     4.8163        5.2024       -.23051E-09    .98496E-04
   8  Prefactor     .10000E-03    11.230       -.20963E-06** at limit **
   9  Prefactor     24.266        148.51       -.20360E-05   -.40667E-04
  10  Prefactor     .10000E-03    30.482       -.13665E-06** at limit **
  11  Prefactor     5.9695        5.9245       -.10870E-06    .13749E-03
  12  Prefactor     .10000E-03    18.720       -.66428E-06** at limit **
  13  norm          .71453        .62588       -.21202E-07    .33812E-03
  14  Prefactor     .10000E-03    4.8454        .41342E-07** at limit **
  15  norm          21.072        15.717       -.36643E-06   -.14495E-03
  16  Prefactor     .10000E-03    1.7877       -.11857E-06** at limit **
  17  Prefactor     .10000E-03    12.347       -.15931E-06** at limit **
  18  Prefactor     1.5605        5.9476       -.22848E-05   -.52342E-04
  19  Prefactor     2.5561        80.605       -.28869E-05    .24664E-04
  20  Prefactor     .10000E-03    132.73        .60123E-05** at limit **
  21  norm          .10000E-03    7.6731       -.31626E-07** at limit **
  22  Prefactor     .10000E-03    8.7552       -.34330E-07** at limit **
  23  Prefactor     29.084        23.841        .63396E-06   -.90314E-04
  24  Prefactor     13.648        16.675        .12473E-05    .21399E-03
  25  norm          .10000E-03    7.5752        .39853E-07** at limit **
  26  Prefactor     60.067        48.501       -.43955E-06    .16296E-04
  27  Prefactor     .10000E-03    19.671        .40559E-06** at limit **
  28  norm          1.9561        .90842       -.62290E-08    .51548E-03
  29  norm          3.4574        34.367       -.12303E-05    .46354E-04
  30  Prefactor     .10000E-03    23.005       -.17445E-05** at limit **
  31  Prefactor     .10034E-03    86.205       -.10613E-04** at limit **
  32  norm          6.6750        3.6012       -.72481E-08    .17441E-03
  33  Prefactor     22.252        32.923        .12925E-06    .93916E-04
  34  Normalizat    1.1158        .25795        .63520E-06    .26096E-03
  35  Prefactor     .61193        .27542        .14166E-05    .19901E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7202
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 32.5191
  Prefactor  = 4.81627
  Prefactor  = 0.0001
  Prefactor  = 24.2663
  Prefactor  = 0.0001
  Prefactor  = 5.96949
  Prefactor  = 0.0001
  norm       = 0.71453
  Prefactor  = 0.0001
  norm       = 21.0717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.56049
  Prefactor  = 2.55612
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.0844
  Prefactor  = 13.6482
  norm       = 0.0001
  Prefactor  = 60.0673
  Prefactor  = 0.0001
  norm       = 1.95614
  norm       = 3.45743
  Prefactor  = 0.0001
  Prefactor  = 0.000100338
  norm       = 6.67504
  Prefactor  = 22.2521
  Normalizat = 1.11582
  Prefactor  = 0.611933
 **********
 **   18 **HESSE 
 **********

 FCN=   2900.719     FROM HESSE     STATUS=OK           768 CALLS     6646 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.720        10.994        .61184E-03   -1.5053    
   2  Prefactor     .10000E-03    132.88        .53211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.2357        .13118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    35.283        .31957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.3698        .96550E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.519        26.634        .70263E-04   -1.4567    
   7  Prefactor     4.8163        5.1691        .11745E-03   -1.5269    
   8  Prefactor     .10000E-03    11.231        .17630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.266        148.96        .81404E-04   -1.4722    
  10  Prefactor     .10000E-03    30.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.9695        5.9000        .12185E-03   -1.5219    
  12  Prefactor     .10000E-03    18.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .71453        .61758        .37849E-04   -1.5539    
  14  Prefactor     .10000E-03    4.9919        .22953E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          21.072        15.735        .87267E-04   -1.4790    
  16  Prefactor     .10000E-03    1.8041        .70177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.5605        5.9653        .23497E-03   -1.5458    
  19  Prefactor     2.5561        78.732        .25555E-03   -1.5388    
  20  Prefactor     .10000E-03    128.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.6739        .14572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.7558        .15566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     29.084        23.312        .74277E-04   -1.4629    
  24  Prefactor     13.648        16.734        .10843E-03   -1.4969    
  25  norm          .10000E-03    7.5842        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     60.067        48.508        .51762E-04   -1.4156    
  27  Prefactor     .10000E-03    19.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.9561        .90794        .33079E-04   -1.5428    
  29  norm          3.4574        34.188        .21748E-03   -1.5336    
  30  Prefactor     .10000E-03    23.967        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10034E-03    545.72        .80615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          6.6750        3.6016        .72384E-04   -1.5191    
  33  Prefactor     22.252        32.980        .84935E-04   -1.4764    
  34  Normalizat    1.1158        .28784        .22337E-03   -.89246    
  35  Prefactor     .61193        .30140        .33309E-03   -1.0709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10227e-09
Minuit parameter uncertainties:
  1  10.9958
  2  0.000690805
  3  6.92297e-07
  4  0.000388129
  5  5.05064e-07
  6  26.6433
  7  5.16953
  8  9.64832e-06
  9  120.693
  10  3.23004e-05
  11  5.90053
  12  0.000102403
  13  0.617589
  14  1.527e-05
  15  15.7382
  16  4.07738e-06
  17  5.96147e-05
  18  5.96761
  19  28.413
  20  0.00110464
  21  2.14006e-06
  22  3.62575e-06
  23  23.3188
  24  16.7394
  25  4.34075e-06
  26  48.5398
  27  0.000104778
  28  0.907947
  29  21.76
  30  5.32236e-05
  31  0.0274153
  32  3.60175
  33  33.0067
  34  0.288249
  35  0.302204
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  5.961e-05  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:  6.119e-01  3.022e-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.116e+00  2.882e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/246255/likelihoodResults_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.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) = 2900.71903008
delta logL = -0.000383744635656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2900.71864695
delta logL = -6.15021690464e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1226       1.0000          .0000       10.000    
     3 'Normalizat'    1.1156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2900.719     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      198 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1172.5        .90712E-02** at limit **
   2  Index         2.1199        8.7359        .50000        .17370E-05
   3  Normalizat    1.1158        .67753E-01    .37400E-01    .45744E-03
   4  Prefactor     .61193        .77129E-01    .75233E-01    .34836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.11985
  Normalizat = 1.11582
  Prefactor  = 0.611933
 **********
 **   18 **HESSE 
 **********

 FCN=   2900.719     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      225 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1486.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1199        7.1628        .20000       -.61386    
   3  Normalizat    1.1158        .80634E-01    .22337E-03   -.89246    
   4  Prefactor     .61193        .91738E-01    .33309E-03   -1.0709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.06807e-06
Minuit parameter uncertainties:
  1  0.00285788
  2  5003.95
  3  0.0806434
  4  0.0917602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/246255': 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) = 2900.71864634
delta logL = 2.22189555643e-09

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  2.858e-03  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.120e+00  5.004e+03  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:  6.119e-01  9.176e-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:  1.116e+00  8.064e-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/246255/cmap_HighResolution_566438401_566697601_4FGL_J0929.3+5014_daily_bin1262.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.94e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-08-31 12:48:45.184538', job_id='246255', GAL2='0.61', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630439325.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='2.22e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1262' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:48:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 246255: <4FGL_J0929.3+5014_daily_bin1262> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1262 142.327 50.2352 566438401 566697601 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 :                                   763.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             320.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            787 sec.

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

