/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 144 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 = 7353
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0808.2-0751_daily_bin41
RA = 122.065, Dec = -7.8556
tmin = 249955201, tmax = 250214401
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='215633', job_status='RUN', time_executed='2021-08-29 06:58:09.827800', time_epoch_executed='1630245489.83' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='41'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215633/ft1_4FGL_J0808.2-0751_daily_bin41.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215633/ft1_4FGL_J0808.2-0751_daily_bin41.fits outfile=/scratch/kocevski/215633/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin41.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=249955201.0 tmax=250214401.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.17
user 1.25
sys 0.90

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.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/215633/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin41.fits evtable="EVENTS" outfile="/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.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.22
user 0.32
sys 0.89

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits" evtable="EVENTS" scfile=/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits sctable="SC_DATA" outfile=/scratch/kocevski/215633/ltcube_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.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/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits
.....................!
real 13.34
user 12.17
sys 1.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits sctable="SC_DATA" expcube=/scratch/kocevski/215633/ltcube_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.fits outfile=/scratch/kocevski/215633/expmap_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.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/215633/ltcube_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.fits
.....................!
real 191.51
user 185.78
sys 5.32

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

Setting source of interest to:
4FGL J0808.2-0751 @ 122.065 -7.8556

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits scfile=/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits outfile=/scratch/kocevski/215633/cmap_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.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=122.065 yref=-7.8556 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.27
user 0.35
sys 0.89

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits scfile=/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits outfile=/scratch/kocevski/215633/cmap_HighResolution_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.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=122.065 yref=-7.8556 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.32
user 0.38
sys 0.87

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215633/Model_4FGL_J0808.2-0751_daily_bin41.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/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits.....................!
real 122.71
user 120.16
sys 2.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits', '/scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits', expMap='/scratch/kocevski/215633/expmap_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.fits', expCube='/scratch/kocevski/215633/ltcube_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/215633/Model_4FGL_J0808.2-0751_daily_bin41.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0808.2-0751'

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.268e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.112e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/215633/ft1_filtered_4FGL_J0808.2-0751_daily_bin41.fits
Spacecraft file(s): /scratch/kocevski/215633/ft2_4FGL_J0808.2-0751_daily_bin41.fits
Exposure map: /scratch/kocevski/215633/expmap_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.fits
Exposure cube: /scratch/kocevski/215633/ltcube_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/215633/Model_4FGL_J0808.2-0751_daily_bin41.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) = 9381.70183577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2496       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4768       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.115       1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .22385E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    3.9755       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.6894       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .76954       1.0000         .10000E-03   10000.    
    13 'norm      '    .10950E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13731E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.742       1.0000         .10000E-03   10000.    
    17 'norm      '    .11790       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1006       1.0000         .10000E-03   10000.    
    19 'norm      '    32.343       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .94804       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9381.642     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2293 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2500        1.8240        .34969E-09   -.36445E-03
   2  Prefactor     .10000E-03    4.1431        .21303E-07** at limit **
   3  norm          3.4770        2.5103        .20386E-06   -.27202E-03
   4  Prefactor     36.083        25.601       -.13112E-04   -.14900E-05
   5  norm          .10000E-03    4.6671        .66984E-07** at limit **
   6  norm          .10109E-03    6.5015        .20321E-05** at limit **
   7  norm          3.9768        3.0731       -.16893E-06   -.11308E-03
   8  Prefactor     .10000E-03    2.8283        .39531E-07** at limit **
   9  norm          5.6926        9.3016       -.39576E-07   -.13348E-03
  10  norm          .10000E-03    1.2410        .30579E-07** at limit **
  11  Prefactor     .10000E-03    7.1287       -.26674E-07** at limit **
  12  norm          .76950        .73437        .82355E-08    .13334E-03
  13  norm          .10000E-03    2.4475        .20903E-06** at limit **
  14  Prefactor     .10001E-03    5.9318       -.19216E-05** at limit **
  15  Prefactor     .10000E-03    1.5720        .17399E-07** at limit **
  16  norm          12.730        21.382        .47018E-05    .28140E-03
  17  norm          .28937        5.9602       -.91173E-06   -.10770E-03
  18  Prefactor     8.1103        25.556        .21875E-04   -.69377E-05
  19  norm          32.350        13.152        .21258E-06   -.34675E-04
  20  Normalizat    .94770        .19591       -.21692E-05    .76783E-04
  21  Prefactor     1.0478        .82071E-01    .31931E-06   -.29191E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.25005
  Prefactor  = 0.0001
  norm       = 3.47699
  Prefactor  = 36.0832
  norm       = 0.0001
  norm       = 0.000101094
  norm       = 3.97676
  Prefactor  = 0.0001
  norm       = 5.69263
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.769498
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 12.7302
  norm       = 0.289366
  Prefactor  = 8.11031
  norm       = 32.3504
  Normalizat = 0.947695
  Prefactor  = 1.04776
 **********
 **   18 **HESSE 
 **********

 FCN=   9381.642     FROM HESSE     STATUS=OK           325 CALLS     2618 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2500        1.8384        .66058E-04   -1.5208    
   2  Prefactor     .10000E-03    4.1658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4770        2.5050        .12577E-03   -1.5335    
   4  Prefactor     36.083        25.580        .66687E-04   -1.4506    
   5  norm          .10000E-03    4.6696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10109E-03    73.797        .46425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.9768        3.0736        .14432E-03   -1.5309    
   8  Prefactor     .10000E-03    2.8393        .15907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.6926        9.2740        .16840E-03   -1.5231    
  10  norm          .10000E-03    1.2693        .10526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.2217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .76950        .71451        .77901E-04   -1.5533    
  13  norm          .10000E-03    9.3136        .29285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    34.248        .41623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5801        .11858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.730        20.049        .11221E-03   -1.4994    
  17  norm          .28937        47.387        .45797E-02   -1.5600    
  18  Prefactor     8.1103        25.437        .14087E-03   -1.5138    
  19  norm          32.350        13.160        .70457E-04   -1.4570    
  20  Normalizat    .94770        .20869        .40587E-03   -.94804    
  21  Prefactor     1.0478        .87986E-01    .16494E-03   -.91154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73297e-08
Minuit parameter uncertainties:
  1  1.83843
  2  5.91141e-06
  3  2.50512
  4  25.5881
  5  3.86598e-06
  6  0.0179886
  7  3.0737
  8  6.64526e-06
  9  9.27637
  10  3.7573e-06
  11  2.30391e-05
  12  0.714516
  13  3.61849e-05
  14  0.00112199
  15  8.00869e-07
  16  20.0598
  17  7.41069
  18  25.4711
  19  13.1608
  20  0.208873
  21  0.0879983
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  7.695e-01  7.145e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.112e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.048e+00  8.800e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.477e-01  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.71
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.87e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.18e-05

TS (Fixed Index): 2.71
Ra Dec: 122.065 -7.856
Photon Flux Upper Limit: 9.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215633/likelihoodResults_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.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) = 9381.57727674
delta logL = 0.0643022159838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9381.55859782
delta logL = 0.0829811351723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59810       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7163       1.0000          .0000       5.0000    
     3 'Normalizat'    .95704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0471       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9381.559     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59777        .62947        .11665E-01    .74587E-05
   2  alpha         1.7154        .59264        .44054       -.49878E-04
   3  Normalizat    .95706        .18183        .91250E-01    .33946E-04
   4  Prefactor     1.0471        .77507E-01    .40080E-01    .56226E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.597768
  alpha      = 1.71541
  Normalizat = 0.957059
  Prefactor  = 1.04714
 **********
 **   18 **HESSE 
 **********

 FCN=   9381.559     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59777        .82259        .74016E-04   -1.5553    
   2  alpha         1.7154        .94570        .22954E-01   -.31923    
   3  Normalizat    .95706        .19559        .40416E-03   -.94483    
   4  Prefactor     1.0471        .83434E-01    .16499E-03   -.91174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02137e-11
Minuit parameter uncertainties:
  1  0.822602
  2  0.972697
  3  0.195735
  4  0.0834448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215633': 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) = 9381.55859738
delta logL = 0.0829815730285

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  5.978e-01  8.226e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  1.715e+00  9.727e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.047e+00  8.344e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.571e-01  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 1.72 +/- 0.97
Photon Flux (Free Index): 1.66e-08 +/- 2.95e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.85e-05

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/215633/cmap_HighResolution_249955201_250214401_4FGL_J0808.2-0751_daily_bin41.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-05', comment='SUCCESS', photon_flux='2.87e-08', energy_flux2='1.52e-05', photon_flux_error='2.66e-08', dlogl='8.30e-02', energy_flux='1.27e-05', photon_flux2='1.66e-08', job_status='DONE', time_completed='2021-08-29 07:10:58.277801', photon_index_error2='0.97', photon_index2='1.72', ts='2.71', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='9.70e-08', energy_flux_error2='1.85e-05', EG='0.95', time_epoch_completed='1630246258.28', return_code='0', job_id='215633', GAL2='1.05', EG2='0.96', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.95e-08', ts2='2.87', photon_index='2.11' WHERE bin_id='41' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:10:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 215633: <4FGL_J0808.2-0751_daily_bin41> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin41> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 06:55:21 2021
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 06:55:23 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:55:23 2021
Terminated at Sun Aug 29 07:10:58 2021
Results reported at Sun Aug 29 07:10:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin41 122.065 -7.8556 249955201 250214401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0808.2-0751 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   779.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

