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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1282
RA = 142.327, Dec = 50.2352
tmin = 571622401, tmax = 571881601
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='246290', job_status='RUN', time_executed='2021-08-31 12:39:24.083520', time_epoch_executed='1630438764.08' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/246290

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/246290/ft1_4FGL_J0929.3+5014_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/246290/ft2_4FGL_J0929.3+5014_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/246290/ft1_4FGL_J0929.3+5014_daily_bin1282.fits outfile=/scratch/kocevski/246290/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1282.fits ra=142.327 dec=50.2352 rad=12.0 tmin=571622401.0 tmax=571881601.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.51
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/246290/ft1_filtered_4FGL_J0929.3+5014_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/246290/ft2_4FGL_J0929.3+5014_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/246290/ltcube_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.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/246290/ft2_4FGL_J0929.3+5014_daily_bin1282.fits
.....................!
real 12.46
user 12.12
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/246290/ft1_filtered_4FGL_J0929.3+5014_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/246290/ft2_4FGL_J0929.3+5014_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/246290/ltcube_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.fits outfile=/scratch/kocevski/246290/expmap_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.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/246290/ltcube_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.fits
.....................!
real 189.68
user 185.30
sys 3.80

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/246290/ft1_filtered_4FGL_J0929.3+5014_daily_bin1282.fits scfile=/scratch/kocevski/246290/ft2_4FGL_J0929.3+5014_daily_bin1282.fits outfile=/scratch/kocevski/246290/cmap_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.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.61
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/246290/ft1_filtered_4FGL_J0929.3+5014_daily_bin1282.fits scfile=/scratch/kocevski/246290/ft2_4FGL_J0929.3+5014_daily_bin1282.fits outfile=/scratch/kocevski/246290/cmap_HighResolution_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.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.61
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.309       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1466.2       1.0000         .10000E-03   10000.    
     4 'norm      '    9999.9       1.0000         .10000E-03   10000.    
     5 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .53619E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .30445E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2984       1.0000         .10000E-03   10000.    
    11 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.463       1.0000         .10000E-03   10000.    
    13 'norm      '    .10934E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9996.1       1.0000         .10000E-03   10000.    
    15 'norm      '    29.458       1.0000         .10000E-03   10000.    
    16 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11172E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-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 '    .11651E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    13.067       1.0000         .10000E-03   10000.    
    26 'Prefactor '    4806.1       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .74956E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.3970       1.0000         .10000E-03   10000.    
    29 'norm      '    .23758E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .12050E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    .95851       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   500.7202     FROM MIGRAD    STATUS=CONVERGED    225 CALLS     5148 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        436.89       -.99683E-04** at limit **
   2  Prefactor     27.665        94.425        .28011E-03   -.23228E-02
   3  Prefactor     1466.2        2.0753       -.80814E-06    .33161E-03
   4  norm         10000.0        6383.4       -.20209E-02    .14905E-02
   5  norm         10000.0        914.91        .13376E-02    .21511E-02
   6  Prefactor     .18570E-03    277.52       -.79215E-03** at limit **
   7  Prefactor    10000.0        1610.8        .59124E-03   -.20266E-02
   8  Prefactor     .28092E-03    521.66       -.66032E-03** at limit **
   9  Prefactor     .12708E-03    237.13        .56863E-03** at limit **
  10  Prefactor     7.3848        6.0688        .34048E-04   -.77091E-04
  11  Prefactor    10000.0        152.06        .15751E-03    .23498E-03
  12  Prefactor     17.852        27.074        .99187E-04   -.54084E-03
  13  norm          .17803E-03    289.39        .69436E-03** at limit **
  14  Prefactor    10000.0        9540.4        .32139E-02   -.28408E-03
  15  norm          30.495        72.112        .20301E-03   -.18743E-02
  16  Prefactor    10000.0        34.598       -.13995E-03** at limit **
  17  Prefactor     .10000E-03    69.289       -.83874E-08** at limit **
  18  Prefactor     .10000E-03    11.379       -.32222E-08** at limit **
  19  Prefactor     .10000E-03    92.433       -.20240E-07** at limit **
  20  Prefactor     .10000E-03    11.717        .62351E-10** at limit **
  21  norm          .97128E-03    424.70        .27635E-04** at limit **
  22  Prefactor     .12054E-03    791.86        .10216E-02** at limit **
  23  Prefactor     .10000E-03    10.147       -.28609E-08** at limit **
  24  Prefactor     .10000E-03    16.689       -.72212E-08** at limit **
  25  norm          13.088        2.8543        .19758E-05   -.86151E-04
  26  Prefactor     4805.9        10.135       -.31110E-05    .23830E-02
  27  Prefactor     .10000E-03    241.33        .83975E-04** at limit **
  28  norm          1.3970        1.1984        .35024E-06   -.42264E-03
  29  norm          .10000E-03    189.30       -.13608E-04** at limit **
  30  Prefactor     .10000E-03    10.975       -.19349E-08** at limit **
  31  Prefactor     .10238E-03    260.53        .15103E-03** at limit **
  32  norm          .10000E-03    4.6495       -.23164E-07** at limit **
  33  Prefactor     .10000E-03    56.271       -.69717E-07** at limit **
  34  Normalizat    .10000E-01    .30912        .89627E-07** at limit **
  35  Prefactor     .95884        .36759        .18639E-04   -.68755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 27.665
  Prefactor  = 1466.17
  norm       = 9999.97
  norm       = 9999.99
  Prefactor  = 0.000185698
  Prefactor  = 9999.99
  Prefactor  = 0.000280917
  Prefactor  = 0.000127078
  Prefactor  = 7.3848
  Prefactor  = 9999.99
  Prefactor  = 17.8522
  norm       = 0.000178033
  Prefactor  = 9999.99
  norm       = 30.4954
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000971283
  Prefactor  = 0.000120541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.0878
  Prefactor  = 4805.92
  Prefactor  = 0.000100002
  norm       = 1.39696
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000102377
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.958835
 **********
 **   18 **HESSE 
 **********

 FCN=   500.7202     FROM HESSE     STATUS=OK           812 CALLS     5960 TOTAL
                     EDM=   .20E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        543.16        .90712E-02    1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.665        2285.8        .19526E-02   -1.4656    
   3  Prefactor     1466.2        2882.9        .28270E-03   -.78492    
   4  norm         10000.0        1618.5        .92714E-02    1.5742    
   5  norm         10000.0        1004.1        .10449E-01    1.5724    
   6  Prefactor     .18570E-03    255.69        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        1178.7        .90712E-02    1.5688    
   8  Prefactor     .28092E-03    441.76        .10561E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .12708E-03    1575.8        .99062E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3848        2252.7        .37117E-02   -1.5164    
  11  Prefactor    10000.0        2028.2        .92104E-02    1.5727    
  12  Prefactor     17.852        2258.0        .23961E-02   -1.4863    
  13  norm          .17803E-03    264.58        .90712E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        2005.1        .51268E-02    1.5687    
  15  norm          30.495        2273.9        .18455E-02   -1.4603    
  16  Prefactor    10000.0        1842.7        .10413E-01    1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    67.375        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.326        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    89.073        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.661        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .97128E-03    557.86        .90712E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .12054E-03    1467.1        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.085        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    16.576        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          13.088        37.664        .27702E-02   -1.4984    
  26  Prefactor     4805.9        2865.4        .20015E-03   -.38826E-01
  27  Prefactor     .10000E-03    219.04        .10470E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.3970        1.2062        .49351E-02   -1.5472    
  29  norm          .10000E-03    175.32        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    10.923        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10238E-03    235.62        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    4.6451        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    54.991        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .10000E-01    .26095        .17446       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .95884        .39999        .45746E-01   -.94115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9709e-05
Minuit parameter uncertainties:
  1  1.42784
  2  525.246
  3  3370.06
  4  14.1412
  5  5.01604
  6  0.29733
  7  7.00766
  8  0.569654
  9  0.42483
  10  268.896
  11  8.88621
  12  418.884
  13  0.288655
  14  9.57218
  15  549.982
  16  3.47719
  17  3.11054e-05
  18  3.79463e-07
  19  1.63596e-05
  20  5.37162e-07
  21  1.40765
  22  0.356305
  23  6.59211e-08
  24  2.00033e-06
  25  37.732
  26  3051.58
  27  0.00146159
  28  1.20625
  29  0.000826561
  30  1.63996e-07
  31  0.0475146
  32  1.24783e-07
  33  2.18153e-05
  34  1.09276e-07
  35  0.401232
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  3.111e-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:  9.588e-01  4.012e-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.000e-02  1.093e-07  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.12e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/246290/likelihoodResults_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.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) = 500.72027015
delta logL = -6.82150266584e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 500.720202834
delta logL = -8.99741905869e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14562E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4968       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95884       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=   500.7202     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      279 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10441E-03    54.114        .14992E-01** at limit **
   2  Index         2.3972        5.3690        .50000        .54444E-05
   3  Normalizat    .10000E-01    .66201E-03    .70556E-02** at limit **
   4  Prefactor     .95884        .16694E-01    .26957E-03    .13469E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010441
  Index      = 2.39722
  Normalizat = 0.01
  Prefactor  = 0.958838
 **********
 **   18 **HESSE 
 **********

 FCN=   500.7202     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10441E-03    480.78        .15651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3972        5.8343        .50000       -.54750    
   3  Normalizat    .10000E-01    .60716E-02    .14111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .95884        .50549E-01    .10783E-04   -.94114    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94871e-09
Minuit parameter uncertainties:
  1  0.0928492
  2  722.707
  3  6.27072e-07
  4  0.050552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/246290': 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) = 500.720202233
delta logL = -2.98688178191e-07

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.044e-04  9.285e-02  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.397e+00  7.227e+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:  9.588e-01  5.055e-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.000e-02  6.271e-07  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/246290/cmap_HighResolution_571622401_571881601_4FGL_J0929.3+5014_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.47e-02', job_status='DONE', photon_flux_upper_limit='1.12e-06', time_completed='2021-08-31 12:46:11.422078', job_id='246290', GAL2='0.96', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630439171.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-2.99e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1282' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:46:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 246290: <4FGL_J0929.3+5014_daily_bin1282> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1282 142.327 50.2352 571622401 571881601 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 :                                   403.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             224.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            631 sec.

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

