/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 8 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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0929.3+5014_daily_bin159
RA = 142.327, Dec = 50.2352
tmin = 280540801, tmax = 280800001
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='239605', job_status='RUN', time_executed='2021-08-31 12:16:25.785455', time_epoch_executed='1630437385.79' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='159'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/239605

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/239605/ft1_4FGL_J0929.3+5014_daily_bin159.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/239605/ft2_4FGL_J0929.3+5014_daily_bin159.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/239605/ft1_4FGL_J0929.3+5014_daily_bin159.fits outfile=/scratch/kocevski/239605/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin159.fits ra=142.327 dec=50.2352 rad=12.0 tmin=280540801.0 tmax=280800001.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.76
user 2.57
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/239605/ft1_filtered_4FGL_J0929.3+5014_daily_bin159.fits" evtable="EVENTS" scfile=/scratch/kocevski/239605/ft2_4FGL_J0929.3+5014_daily_bin159.fits sctable="SC_DATA" outfile=/scratch/kocevski/239605/ltcube_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.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/239605/ft2_4FGL_J0929.3+5014_daily_bin159.fits
.....................!
real 9.71
user 8.81
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/239605/ft1_filtered_4FGL_J0929.3+5014_daily_bin159.fits evtable="EVENTS" scfile=/scratch/kocevski/239605/ft2_4FGL_J0929.3+5014_daily_bin159.fits sctable="SC_DATA" expcube=/scratch/kocevski/239605/ltcube_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.fits outfile=/scratch/kocevski/239605/expmap_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.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/239605/ltcube_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.fits
.....................!
real 155.35
user 144.87
sys 3.89

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/239605/ft1_filtered_4FGL_J0929.3+5014_daily_bin159.fits scfile=/scratch/kocevski/239605/ft2_4FGL_J0929.3+5014_daily_bin159.fits outfile=/scratch/kocevski/239605/cmap_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.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.46
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/239605/ft1_filtered_4FGL_J0929.3+5014_daily_bin159.fits scfile=/scratch/kocevski/239605/ft2_4FGL_J0929.3+5014_daily_bin159.fits outfile=/scratch/kocevski/239605/cmap_HighResolution_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.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.50
user 0.30
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.189       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.291       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.620       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5043       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .61349E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.839       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11671E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31573E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.011       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0775       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .93569       1.0000         .10000E-03   10000.    
    15 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1001       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.757       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .59864       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .83086       1.0000         .10000E-03   10000.    
    21 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .32851E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.3305       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    15.179       1.0000         .10000E-03   10000.    
    27 'Prefactor '    40.845       1.0000         .10000E-03   10000.    
    28 'norm      '    1.1242       1.0000         .10000E-03   10000.    
    29 'norm      '    11.407       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .71715       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    5.0705       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .83115       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .94334       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=   6254.567     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     4283 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.190        1.2815        .84716E-07   -.17605E-02
   2  Prefactor     .10000E-03    4.2126        .19551E-05** at limit **
   3  Prefactor     .10077E-03    14.669        .94623E-06** at limit **
   4  norm          10.294        1.0536       -.22783E-07   -.33330E-04
   5  norm          .10000E-03    1.7256        .15745E-05** at limit **
   6  Prefactor     22.622        3.4157        .71466E-06    .95110E-03
   7  Prefactor     1.5052        2.7691       -.17543E-05   -.55214E-03
   8  Prefactor     .10000E-03    .62477        .13058E-05** at limit **
   9  Prefactor     21.839        1.1294        .17171E-06   -.86058E-03
  10  Prefactor     .10146E-03    11.692        .13987E-05** at limit **
  11  Prefactor     .10964        26.759       -.71953E-05    .24064E-03
  12  Prefactor     14.965        16.258       -.46419E-05    .24938E-02
  13  norm          1.0765        .70610       -.74095E-06   -.19051E-03
  14  Prefactor     .93815        4.7537        .93659E-05    .17642E-02
  15  norm          .10000E-03    2.8312       -.45257E-07** at limit **
  16  Prefactor     2.0879        2.6841       -.31448E-05   -.11045E-02
  17  Prefactor     10.763        1.1061       -.22876E-06    .13508E-02
  18  Prefactor     .59961        1.7340        .13533E-05    .75460E-04
  19  Prefactor     .10000E-03    4.3352        .24860E-05** at limit **
  20  Prefactor     .80308        1.2732        .82688E-06    .26744E-04
  21  norm          .10001E-03    5.5881       -.89425E-05** at limit **
  22  Prefactor     .10006E-03    .58265        .10385E-05** at limit **
  23  Prefactor     8.3361        1.1421        .86754E-08   -.23936E-04
  24  Prefactor     .10000E-03    3.7082       -.29199E-05** at limit **
  25  norm          .10000E-03    2.3862        .35151E-05** at limit **
  26  Prefactor     15.156        3.3286       -.10548E-05    .39218E-02
  27  Prefactor     40.858        3.9316        .79608E-06   -.59791E-02
  28  norm          1.1245        .42671        .48782E-07    .62318E-06
  29  norm          11.426        4.4169        .94652E-06    .21274E-02
  30  Prefactor     .72136        3.8595       -.24432E-05   -.28565E-02
  31  Prefactor     .10009E-03    6.2325        .48316E-05** at limit **
  32  norm          5.0715        2.5747       -.19246E-06    .55574E-03
  33  Prefactor     .10001E-03    5.8594        .18879E-05** at limit **
  34  Normalizat    .83024        .18945       -.18576E-05   -.84367E-04
  35  Prefactor     .94386        .19935       -.18220E-05   -.76605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.19
  Prefactor  = 0.0001
  Prefactor  = 0.000100765
  norm       = 10.2938
  norm       = 0.0001
  Prefactor  = 22.6219
  Prefactor  = 1.50519
  Prefactor  = 0.000100001
  Prefactor  = 21.8386
  Prefactor  = 0.00010146
  Prefactor  = 0.109636
  Prefactor  = 14.965
  norm       = 1.07649
  Prefactor  = 0.938154
  norm       = 0.0001
  Prefactor  = 2.08793
  Prefactor  = 10.7633
  Prefactor  = 0.599606
  Prefactor  = 0.0001
  Prefactor  = 0.803083
  norm       = 0.000100014
  Prefactor  = 0.000100063
  Prefactor  = 8.33609
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.1562
  Prefactor  = 40.8576
  norm       = 1.12447
  norm       = 11.426
  Prefactor  = 0.721363
  Prefactor  = 0.000100091
  norm       = 5.07151
  Prefactor  = 0.000100012
  Normalizat = 0.830236
  Prefactor  = 0.943864
 **********
 **   18 **HESSE 
 **********

 FCN=   6254.567     FROM HESSE     STATUS=OK           874 CALLS     5157 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.190        7.9750        .24151E-02   -1.4879    
   2  Prefactor     .10000E-03    8.3429        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10077E-03    21.736        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.294        6.7523        .31225E-02   -1.5066    
   5  norm          .10000E-03    1.7241        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.622        17.155        .21055E-02   -1.4756    
   7  Prefactor     1.5052        2.9504        .87246E-02   -1.5463    
   8  Prefactor     .10000E-03    11.907        .10526       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.839        42.948        .21428E-02   -1.4773    
  10  Prefactor     .10146E-03    25.162        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10964        2.1158        .66255E-01   -1.5642    
  12  Prefactor     14.965        19.177        .25844E-02   -1.4934    
  13  norm          1.0765        .82094        .86544E-02   -1.5500    
  14  Prefactor     .93815        5.1642        .39003E-01   -1.5514    
  15  norm          .10000E-03    2.8230        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0879        2.8544        .71194E-02   -1.5419    
  17  Prefactor     10.763        8.1610        .30539E-02   -1.5052    
  18  Prefactor     .59961        1.7115        .39804E-01   -1.5553    
  19  Prefactor     .10000E-03    8.4017        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .80308        12.630        .88159E-01   -1.5529    
  21  norm          .10001E-03    7.1012        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10006E-03    48.790        .10676E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.3361        8.7603        .34724E-02   -1.5130    
  24  Prefactor     .10000E-03    3.5830        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.3842        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     15.156        39.897        .25701E-02   -1.4929    
  27  Prefactor     40.858        26.785        .15680E-02   -1.4429    
  28  norm          1.1245        .42636        .69785E-02   -1.5496    
  29  norm          11.426        15.554        .29655E-02   -1.5032    
  30  Prefactor     .72136        4.4541        .48214E-01   -1.5538    
  31  Prefactor     .10009E-03    42.870        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          5.0715        2.5983        .44641E-02   -1.5258    
  33  Prefactor     .10001E-03    6.7705        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .83024        .18588        .44016E-01   -.98957    
  35  Prefactor     .94386        .17759        .45555E-01   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77271e-07
Minuit parameter uncertainties:
  1  7.97546
  2  7.44228e-05
  3  0.00816099
  4  6.75277
  5  7.19427e-06
  6  17.159
  7  2.9507
  8  0.000166353
  9  43.0086
  10  0.0121285
  11  0.962867
  12  19.1845
  13  0.820952
  14  4.40252
  15  1.39599e-05
  16  2.85462
  17  8.16182
  18  1.71166
  19  0.00010032
  20  6.37086
  21  0.000625882
  22  0.00349752
  23  8.76166
  24  2.1123e-05
  25  1.20904e-05
  26  39.9671
  27  26.7925
  28  0.426365
  29  15.5598
  30  3.58512
  31  0.00396301
  32  2.59835
  33  0.000574715
  34  0.186027
  35  0.177703
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.076e+01  8.162e+00  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  9.439e-01  1.777e-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:  8.302e-01  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.99
Ra Dec: 142.327 50.235
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.91e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.15e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6253.82530106
delta logL = 0.741371108968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6253.64223413
delta logL = 0.924438043393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6981       1.0000         .10000E-03   10000.    
     2 'Index     '    .95116       1.0000          .0000       10.000    
     3 'Normalizat'    .85655       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93593       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=   6253.642     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6865        4.1094        .52503E-02   -.35114E-03
   2  Index         .95031        .44950        .24605       -.39423E-04
   3  Normalizat    .85644        .15396        .44344E-01    .21808E-04
   4  Prefactor     .93605        .17264        .45461E-01    .12172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68646
  Index      = 0.950306
  Normalizat = 0.856436
  Prefactor  = 0.936052
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.642     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6865        6.8017        .14757E-03   -1.5324    
   2  Index         .95031        .75636        .10606E-01   -.94405    
   3  Normalizat    .85644        .17449        .24289E-03   -.98008    
   4  Prefactor     .93605        .19570        .26018E-03   -.94892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91998e-09
Minuit parameter uncertainties:
  1  6.80313
  2  0.765012
  3  0.174603
  4  0.195844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/239605': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6253.64223248
delta logL = 0.924439691608

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  3.686e+00  6.803e+00  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  9.503e-01  7.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  9.361e-01  1.958e-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:  8.564e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.80
Ra Dec: 142.327 50.235
Photon Index (Free Index): 0.95 +/- 0.77
Photon Flux (Free Index): 3.92e-09 +/- 5.06e-09
Energy Flux (Free Index): 6.38e-05 +/- 8.78e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/239605/cmap_HighResolution_280540801_280800001_4FGL_J0929.3+5014_daily_bin159.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.91e-08', energy_flux2='6.38e-05', photon_flux_error='2.21e-08', dlogl='9.24e-01', energy_flux='1.52e-05', photon_flux2='3.92e-09', job_status='DONE', time_completed='2021-08-31 12:29:01.507505', photon_index_error2='0.77', photon_index2='0.95', ts='11.99', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='8.78e-05', EG='0.83', time_epoch_completed='1630438141.51', return_code='0', job_id='239605', GAL2='0.94', EG2='0.86', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='5.06e-09', ts2='13.80', photon_index='2.13' WHERE bin_id='159' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:29:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 239605: <4FGL_J0929.3+5014_daily_bin159> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin159> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 12:15:35 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:15:36 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:15:36 2021
Terminated at Tue Aug 31 12:29:02 2021
Results reported at Tue Aug 31 12:29:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin159 142.327 50.2352 280540801 280800001 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 :                                   740.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

