/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 229 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7544
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0807.7-1206_daily_bin1510
RA = 121.934, Dec = -12.1043
tmin = 630720001, tmax = 630979201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='214246', job_status='RUN', time_executed='2021-08-29 06:54:24.270725', time_epoch_executed='1630245264.27' WHERE source_name='4FGL J0807.7-1206' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214246/ft1_4FGL_J0807.7-1206_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214246/ft1_4FGL_J0807.7-1206_daily_bin1510.fits outfile=/scratch/kocevski/214246/ft1_filteredMKT_4FGL_J0807.7-1206_daily_bin1510.fits ra=121.934 dec=-12.1043 rad=12.0 tmin=630720001.0 tmax=630979201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.98
user 2.78
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/214246/ft1_filteredMKT_4FGL_J0807.7-1206_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/214246/ltcube_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits
.....................!
real 12.19
user 11.84
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/214246/ltcube_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits outfile=/scratch/kocevski/214246/expmap_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/214246/ltcube_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits
.....................!
real 190.32
user 184.87
sys 5.11

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0807.7-1206 @ 121.934 -12.1043

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits scfile=/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits outfile=/scratch/kocevski/214246/cmap_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=121.934 yref=-12.1043 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits scfile=/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits outfile=/scratch/kocevski/214246/cmap_HighResolution_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=121.934 yref=-12.1043 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214246/Model_4FGL_J0807.7-1206_daily_bin1510.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits.....................!
real 79.67
user 78.35
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits', '/scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits', expMap='/scratch/kocevski/214246/expmap_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits', expCube='/scratch/kocevski/214246/ltcube_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214246/Model_4FGL_J0807.7-1206_daily_bin1510.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0807.7-1206'

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  1.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.671e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/214246/ft1_filtered_4FGL_J0807.7-1206_daily_bin1510.fits
Spacecraft file(s): /scratch/kocevski/214246/ft2_4FGL_J0807.7-1206_daily_bin1510.fits
Exposure map: /scratch/kocevski/214246/expmap_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits
Exposure cube: /scratch/kocevski/214246/ltcube_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214246/Model_4FGL_J0807.7-1206_daily_bin1510.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0180       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    125.97       1.0000         .10000E-03   10000.    
     5 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.7425       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10680E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3042       1.0000         .10000E-03   10000.    
    12 'norm      '    8.6657       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17038E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10345E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .80600       1.0000         .10000E-03   10000.    
    17 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.222       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .59018       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5447.256     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2234 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0169        3.1249        .14485E-05   -.31688E-04
   2  Prefactor     .10000E-03    30.966        .36650E-06** at limit **
   3  Prefactor     .10000E-03    110.12        .36609E-06** at limit **
   4  norm          126.08        69.607        .16560E-06    .39237E-04
   5  norm          .10000E-03    5.5722       -.11414E-07** at limit **
   6  norm          .10000E-03    4.2143        .30998E-06** at limit **
   7  norm          8.7263        60.267        .67755E-06   -.90147E-05
   8  Prefactor     .10000E-03    9.2570        .62018E-07** at limit **
   9  norm          .10000E-03    16.005        .94851E-08** at limit **
  10  norm          .10000E-03    2.6534        .84995E-07** at limit **
  11  Prefactor     4.2416        27.461        .20565E-07   -.17784E-04
  12  norm          8.6657        3.5539        .19671E-08   -.81688E-04
  13  Prefactor     .10000E-03    48.650        .41182E-06** at limit **
  14  Prefactor     .10000E-03    4.4481        .11666E-06** at limit **
  15  norm          .10000E-03    36.861       -.14592E-06** at limit **
  16  norm          .80382        3.8766        .16905E-05   -.12099E-04
  17  norm          .10000E-03    9.9227       -.23801E-06** at limit **
  18  Prefactor     39.210        67.069       -.47804E-06   -.58154E-05
  19  norm          .10000E-03    6.6732       -.16912E-06** at limit **
  20  Normalizat    .59098        .36448        .29266E-05   -.44655E-04
  21  Prefactor     1.1218        .97076E-01   -.96928E-06   -.10547E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01686
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 126.078
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.72628
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.24163
  norm       = 8.66572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.803817
  norm       = 0.0001
  Prefactor  = 39.2104
  norm       = 0.0001
  Normalizat = 0.590978
  Prefactor  = 1.12178
 **********
 **   18 **HESSE 
 **********

 FCN=   5447.256     FROM HESSE     STATUS=OK           313 CALLS     2547 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0169        3.1290        .21323E-03   -1.5506    
   2  Prefactor     .10000E-03    30.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    110.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          126.08        69.559        .17933E-03   -1.3458    
   5  norm          .10000E-03    5.5780        .17014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.2422        .14792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.7263        60.544        .13556E-03   -1.5117    
   8  Prefactor     .10000E-03    9.2591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    16.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.6598        .11738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2416        26.479        .19418E-03   -1.5296    
  12  norm          8.6657        3.5404        .83888E-04   -1.5119    
  13  Prefactor     .10000E-03    49.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4858        .15188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    36.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .80382        3.8640        .28068E-03   -1.5529    
  17  norm          .10000E-03    10.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.210        66.901        .64001E-04   -1.4455    
  19  norm          .10000E-03    6.6916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .59098        .35540        .65996E-03   -1.0837    
  21  Prefactor     1.1218        .97710E-01    .14365E-03   -.88774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06889e-11
Minuit parameter uncertainties:
  1  3.12953
  2  1.15357e-05
  3  2.69431e-05
  4  69.6037
  5  1.64137e-07
  6  1.09225e-06
  7  46.0372
  8  1.5143e-06
  9  3.23896e-06
  10  6.10962e-07
  11  21.2093
  12  3.5405
  13  1.78763e-05
  14  6.89436e-07
  15  3.17594e-05
  16  3.52488
  17  1.85332e-05
  18  67.0297
  19  1.65219e-07
  20  0.356786
  21  0.0977259
Done.

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

Extracting fit parameters...

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  4.242e+00  2.121e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.671e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.122e+00  9.773e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  5.910e-01  3.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 121.934 -12.104
Photon Flux Upper Limit: 3.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.58e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214246/likelihoodResults_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5447.23134317
delta logL = 0.0244250591595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5447.23039478
delta logL = 0.025373449469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1212       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1300       1.0000          .0000       10.000    
     3 'Normalizat'    .57678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1233       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+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=   5447.230     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      277 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1163        20.366        .19857E-03   -.67535E-03
   2  Index         3.1330        2.3044        .95567E-02   -.24897E-03
   3  Normalizat    .57732        .32584        .66714E-03   -.11282E-02
   4  Prefactor     1.1232        .91900E-01    .14356E-03   -.35557E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.11634
  Index      = 3.13303
  Normalizat = 0.577318
  Prefactor  = 1.12323
 **********
 **   18 **HESSE 
 **********

 FCN=   5447.230     FROM HESSE     STATUS=OK            23 CALLS      300 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1163        17.121        .79428E-05   -1.5302    
   2  Index         3.1330        2.1263        .38227E-03   -.38266    
   3  Normalizat    .57732        .32603        .13343E-03   -1.0896    
   4  Prefactor     1.1232        .91901E-01    .28711E-04   -.88728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79956e-08
Minuit parameter uncertainties:
  1  16.7982
  2  2.20885
  3  0.32712
  4  0.0919143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214246': 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) = 5447.23039015
delta logL = 0.0253780861958

Extracting fit parameters...

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  4.116e+00  1.680e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  3.133e+00  2.209e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.123e+00  9.191e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  5.773e-01  3.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 121.934 -12.104

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/214246/cmap_HighResolution_630720001_630979201_4FGL_J0807.7-1206_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.58e-02', job_status='DONE', photon_flux_upper_limit='3.28e-07', time_completed='2021-08-29 07:04:13.546579', job_id='214246', GAL2='1.12', fit_tolerance='1e-08', EG2='0.58', EG='0.59', time_epoch_completed='1630245853.55', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.54e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1510' AND source_name='4FGL J0807.7-1206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:04:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 214246: <4FGL_J0807.7-1206_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0807.7-1206_daily_bin1510> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 29 06:50:25 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 06:50:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 06:50:27 2021
Terminated at Sun Aug 29 07:04:14 2021
Results reported at Sun Aug 29 07:04:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0807.7-1206_daily_bin1510 121.934 -12.1043 630720001 630979201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0807.7-1206 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   578.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            829 sec.

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

