/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 56 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_J0807.7-1206_daily_bin1033
RA = 121.934, Dec = -12.1043
tmin = 507081601, tmax = 507340801
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='210410', job_status='RUN', time_executed='2021-08-29 06:37:13.207743', time_epoch_executed='1630244233.21' WHERE source_name='4FGL J0807.7-1206' and cadence='daily' and bin_id='1033'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210410

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210410/ft1_4FGL_J0807.7-1206_daily_bin1033.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210410/ft1_4FGL_J0807.7-1206_daily_bin1033.fits outfile=/scratch/kocevski/210410/ft1_filteredMKT_4FGL_J0807.7-1206_daily_bin1033.fits ra=121.934 dec=-12.1043 rad=12.0 tmin=507081601.0 tmax=507340801.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 5.54
user 4.30
sys 1.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.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/210410/ft1_filteredMKT_4FGL_J0807.7-1206_daily_bin1033.fits evtable="EVENTS" outfile="/scratch/kocevski/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.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.45
user 0.33
sys 1.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits" evtable="EVENTS" scfile=/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits sctable="SC_DATA" outfile=/scratch/kocevski/210410/ltcube_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.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/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits
.....................!
real 12.81
user 11.38
sys 1.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits evtable="EVENTS" scfile=/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits sctable="SC_DATA" expcube=/scratch/kocevski/210410/ltcube_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.fits outfile=/scratch/kocevski/210410/expmap_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.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/210410/ltcube_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.fits
.....................!
real 191.20
user 184.75
sys 5.98

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/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits scfile=/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits outfile=/scratch/kocevski/210410/cmap_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.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 1.40
user 0.37
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits scfile=/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits outfile=/scratch/kocevski/210410/cmap_HighResolution_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.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 1.48
user 0.38
sys 1.09

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits evtable="EVENTS" scfile=/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210410/Model_4FGL_J0807.7-1206_daily_bin1033.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/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits.....................!
real 107.07
user 104.28
sys 2.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits', '/scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits', expMap='/scratch/kocevski/210410/expmap_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.fits', expCube='/scratch/kocevski/210410/ltcube_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/210410/Model_4FGL_J0807.7-1206_daily_bin1033.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/210410/ft1_filtered_4FGL_J0807.7-1206_daily_bin1033.fits
Spacecraft file(s): /scratch/kocevski/210410/ft2_4FGL_J0807.7-1206_daily_bin1033.fits
Exposure map: /scratch/kocevski/210410/expmap_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.fits
Exposure cube: /scratch/kocevski/210410/ltcube_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/210410/Model_4FGL_J0807.7-1206_daily_bin1033.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) = 7669.9897344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7175       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.914       1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.904       1.0000         .10000E-03   10000.    
     4 'norm      '    19.138       1.0000         .10000E-03   10000.    
     5 'norm      '    24.533       1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    17.254       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4256       1.0000         .10000E-03   10000.    
     9 'norm      '    7.9407       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9792       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7547       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3352       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.8222       1.0000         .10000E-03   10000.    
    17 'norm      '    5.4959       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.211       1.0000         .10000E-03   10000.    
    19 'norm      '    7.0866       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78611       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0091       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=   7669.980     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2196 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7174        2.0771       -.19618E-06   -.15190E-03
   2  Prefactor     14.912        16.106       -.29913E-05    .17964E-03
   3  Prefactor     44.904        45.330       -.33493E-06   -.12965E-05
   4  norm          19.135        24.727       -.48549E-05    .17157E-03
   5  norm          24.531        15.322       -.16772E-05    .23333E-03
   6  norm          .10000E-03    1.1189        .20860E-07** at limit **
   7  norm          17.249        39.664       -.11513E-04    .14485E-03
   8  Prefactor     1.4250        10.100       -.31634E-05   -.47047E-03
   9  norm          7.9408        8.8192       -.25941E-06    .52131E-04
  10  norm          1.9796        2.6458       -.14115E-05   -.58314E-04
  11  Prefactor     1.7464        18.314       -.16895E-04   -.20238E-04
  12  norm          1.3345        1.5343        .11222E-06   -.24865E-03
  13  Prefactor     .10000E-03    5.4384        .74038E-07** at limit **
  14  Prefactor     .10000E-03    2.0582       -.47964E-07** at limit **
  15  norm          .10000E-03    13.755        .24902E-06** at limit **
  16  norm          6.8222        6.3006       -.44289E-06   -.11382E-03
  17  norm          5.4961        8.4572       -.10279E-05   -.91792E-04
  18  Prefactor     39.211        34.604        .24164E-06   -.28538E-04
  19  norm          7.0875        11.703       -.38641E-06   -.10010E-03
  20  Normalizat    .78604        .24677        .79348E-05    .14968E-03
  21  Prefactor     1.0092        .73589E-01    .32927E-06    .34161E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.71737
  Prefactor  = 14.9118
  Prefactor  = 44.9043
  norm       = 19.1352
  norm       = 24.5314
  norm       = 0.0001
  norm       = 17.2492
  Prefactor  = 1.42502
  norm       = 7.94082
  norm       = 1.97959
  Prefactor  = 1.74642
  norm       = 1.33449
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.82216
  norm       = 5.49612
  Prefactor  = 39.2111
  norm       = 7.08753
  Normalizat = 0.786039
  Prefactor  = 1.00915
 **********
 **   18 **HESSE 
 **********

 FCN=   7669.980     FROM HESSE     STATUS=OK           325 CALLS     2521 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7174        2.0869        .79242E-04   -1.5274    
   2  Prefactor     14.912        16.081        .10371E-03   -1.4935    
   3  Prefactor     44.904        45.317        .59830E-04   -1.4367    
   4  norm          19.135        24.650        .91555E-04   -1.4833    
   5  norm          24.531        15.334        .80874E-04   -1.4717    
   6  norm          .10000E-03    1.1205        .90463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.249        39.352        .96420E-04   -1.4877    
   8  Prefactor     1.4250        10.546        .36206E-03   -1.5469    
   9  norm          7.9408        8.7978        .14229E-03   -1.5144    
  10  norm          1.9796        2.6120        .15532E-03   -1.5427    
  11  Prefactor     1.7464        19.637        .31644E-03   -1.5444    
  12  norm          1.3345        1.5009        .10769E-03   -1.5477    
  13  Prefactor     .10000E-03    5.4559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.0622        .12267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    13.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.8222        6.3004        .15361E-03   -1.5186    
  17  norm          5.4961        8.4648        .17139E-03   -1.5239    
  18  Prefactor     39.211        34.683        .64010E-04   -1.4455    
  19  norm          7.0875        11.708        .15069E-03   -1.5175    
  20  Normalizat    .78604        .25796        .51277E-03   -1.0059    
  21  Prefactor     1.0092        .77867E-01    .14776E-03   -.92425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64116e-09
Minuit parameter uncertainties:
  1  2.0869
  2  16.0858
  3  45.3514
  4  24.6627
  5  15.3363
  6  6.84516e-06
  7  39.4113
  8  7.75507
  9  8.79923
  10  2.61219
  11  11.7168
  12  1.50093
  13  3.71058e-05
  14  1.36909e-05
  15  3.39587e-08
  16  6.30104
  17  8.46669
  18  34.7007
  19  11.7116
  20  0.258366
  21  0.0778759
Done.

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

Extracting fit parameters...

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  1.746e+00  1.172e+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.009e+00  7.788e-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:  7.860e-01  2.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/210410/likelihoodResults_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.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) = 7669.64691306
delta logL = 0.332589272869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7669.63623866
delta logL = 0.34326367577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4562       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2954       1.0000          .0000       10.000    
     3 'Normalizat'    .78972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0077       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.

 FCN=   7669.636     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      231 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4709        3.9359        .65245E-02    .29525E-03
   2  Index         1.2966        .45153        .22611       -.13663E-03
   3  Normalizat    .78970        .21872        .11524        .18235E-04
   4  Prefactor     1.0077        .71067E-01    .33446E-01   -.62865E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.47094
  Index      = 1.29656
  Normalizat = 0.789701
  Prefactor  = 1.00775
 **********
 **   18 **HESSE 
 **********

 FCN=   7669.636     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4709        5.8041        .21246E-03   -1.5394    
   2  Index         1.2966        .81598        .11453E-01   -.83409    
   3  Normalizat    .78970        .22508        .51131E-03   -1.0045    
   4  Prefactor     1.0077        .73454E-01    .14780E-03   -.92472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28847e-11
Minuit parameter uncertainties:
  1  5.80544
  2  0.824229
  3  0.225348
  4  0.0734615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210410': 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) = 7669.63623516
delta logL = 0.34326717073

Extracting fit parameters...

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  2.471e+00  5.805e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  1.297e+00  8.242e-01  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.008e+00  7.346e-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:  7.897e-01  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/210410/cmap_HighResolution_507081601_507340801_4FGL_J0807.7-1206_daily_bin1033.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2021-08-29 06:48:57.798009', job_id='210410', GAL2='1.01', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630244937.8', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.43e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1033' AND source_name='4FGL J0807.7-1206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 06:48:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 210410: <4FGL_J0807.7-1206_daily_bin1033> in cluster <slac> Done

Job <4FGL_J0807.7-1206_daily_bin1033> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 06:35:50 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 06:35:52 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:35:52 2021
Terminated at Sun Aug 29 06:48:58 2021
Results reported at Sun Aug 29 06:48:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0807.7-1206_daily_bin1033 121.934 -12.1043 507081601 507340801 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 :                                   715.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

