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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin738
RA = 122.065, Dec = -7.8556
tmin = 430617601, tmax = 430876801
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='219979', job_status='RUN', time_executed='2021-08-29 07:10:50.373181', time_epoch_executed='1630246250.37' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219979

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219979/ft1_4FGL_J0808.2-0751_daily_bin738.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219979/ft1_4FGL_J0808.2-0751_daily_bin738.fits outfile=/scratch/kocevski/219979/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin738.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=430617601.0 tmax=430876801.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.58
user 5.06
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.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/219979/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin738.fits evtable="EVENTS" outfile="/scratch/kocevski/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.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.76
user 0.34
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits" evtable="EVENTS" scfile=/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits sctable="SC_DATA" outfile=/scratch/kocevski/219979/ltcube_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.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/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits
.....................!
real 12.27
user 11.60
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits sctable="SC_DATA" expcube=/scratch/kocevski/219979/ltcube_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.fits outfile=/scratch/kocevski/219979/expmap_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.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/219979/ltcube_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.fits
.....................!
real 190.96
user 184.80
sys 4.80

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits scfile=/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits outfile=/scratch/kocevski/219979/cmap_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.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 0.75
user 0.36
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits scfile=/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits outfile=/scratch/kocevski/219979/cmap_HighResolution_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.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 0.75
user 0.36
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219979/Model_4FGL_J0808.2-0751_daily_bin738.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/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits.....................!
real 98.60
user 96.43
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits', '/scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits', expMap='/scratch/kocevski/219979/expmap_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.fits', expCube='/scratch/kocevski/219979/ltcube_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/219979/Model_4FGL_J0808.2-0751_daily_bin738.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/219979/ft1_filtered_4FGL_J0808.2-0751_daily_bin738.fits
Spacecraft file(s): /scratch/kocevski/219979/ft2_4FGL_J0808.2-0751_daily_bin738.fits
Exposure map: /scratch/kocevski/219979/expmap_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.fits
Exposure cube: /scratch/kocevski/219979/ltcube_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/219979/Model_4FGL_J0808.2-0751_daily_bin738.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) = 7388.47694144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7503       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.440       1.0000         .10000E-03   10000.    
     3 'norm      '    .18617E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.5682       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .25231E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.834       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9810       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.0537       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5708       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0855       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9362       1.0000         .10000E-03   10000.    
    16 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .85338       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0637       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88738       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=   7388.416     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     1916 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7502        2.0083       -.10795E-07    .80524E-04
   2  Prefactor     12.437        16.007       -.15934E-05    .14711E-04
   3  norm          .10001E-03    1.5170       -.53343E-06** at limit **
   4  Prefactor     .10000E-03    9.7411       -.63066E-06** at limit **
   5  norm          5.5682        9.3644        .30116E-07   -.15614E-04
   6  norm          .10000E-03    3.9998        .23485E-06** at limit **
   7  norm          .10022E-03    1.7734       -.46191E-06** at limit **
   8  Prefactor     .10000E-03    2.7962        .38465E-07** at limit **
   9  norm          12.832        13.859       -.44720E-06    .73710E-05
  10  norm          1.9808        3.0251        .53801E-07   -.10804E-04
  11  Prefactor     .10000E-03    3.1834       -.12197E-06** at limit **
  12  norm          2.0538        1.3805        .47522E-08   -.50906E-05
  13  norm          3.5706        3.3953        .10484E-05    .60238E-05
  14  Prefactor     5.0825        10.877       -.15878E-06   -.11134E-03
  15  Prefactor     8.9361        5.7510       -.10021E-07   -.28788E-04
  16  norm          .10000E-03    15.828        .87773E-05** at limit **
  17  norm          .10000E-03    8.6570        .81344E-05** at limit **
  18  Prefactor     .10000E-03    11.325       -.11746E-04** at limit **
  19  norm          .83550        .99251        .54428E-07   -.43743E-03
  20  Normalizat    1.0638        .21028       -.48126E-08    .83400E-04
  21  Prefactor     .88739        .88258E-01    .29830E-06    .14071E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.75024
  Prefactor  = 12.4373
  norm       = 0.000100008
  Prefactor  = 0.0001
  norm       = 5.56823
  norm       = 0.0001
  norm       = 0.000100224
  Prefactor  = 0.0001
  norm       = 12.8321
  norm       = 1.98077
  Prefactor  = 0.0001
  norm       = 2.0538
  norm       = 3.57055
  Prefactor  = 5.08252
  Prefactor  = 8.93607
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.835499
  Normalizat = 1.06383
  Prefactor  = 0.887391
 **********
 **   18 **HESSE 
 **********

 FCN=   7388.416     FROM HESSE     STATUS=OK           323 CALLS     2239 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7502        2.0362        .94887E-04   -1.5376    
   2  Prefactor     12.437        16.049        .11357E-03   -1.5002    
   3  norm          .10001E-03    6.6370        .20459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.7439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.5682        9.3665        .85127E-03   -1.5236    
   6  norm          .10000E-03    4.0123        .16787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10022E-03    39.837        .21965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.7998        .14035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.832        13.900        .11181E-03   -1.4991    
  10  norm          1.9808        2.9858        .16949E-03   -1.5426    
  11  Prefactor     .10000E-03    3.1918        .14971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0538        1.3634        .74055E-04   -1.5421    
  13  norm          3.5706        3.3948        .14907E-03   -1.5330    
  14  Prefactor     5.0825        10.872        .89147E-03   -1.5257    
  15  Prefactor     8.9361        5.7503        .67040E-03   -1.5110    
  16  norm          .10000E-03    15.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.7142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .83550        15.764        .25275E-02   -1.5525    
  20  Normalizat    1.0638        .23504        .37058E-03   -.90922    
  21  Prefactor     .88739        .98919E-01    .16410E-03   -.96583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44193e-09
Minuit parameter uncertainties:
  1  2.03629
  2  16.0547
  3  0.000473892
  4  1.10518e-06
  5  9.36892
  6  1.40507e-06
  7  0.00598091
  8  1.85452e-07
  9  13.9031
  10  2.98607
  11  1.64892e-07
  12  1.36344
  13  3.39497
  14  10.8763
  15  5.75069
  16  1.03808e-05
  17  3.88519e-05
  18  6.4731e-07
  19  7.26006
  20  0.23527
  21  0.0989385
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.054e+00  1.363e+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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.874e-01  9.894e-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:  1.064e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.11
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 7.65e-08 +/- 5.08e-08
Energy Flux (Fixed Index): 3.39e-05 +/- 2.25e-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) = 7388.28101373
delta logL = 0.134801861076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7388.28054522
delta logL = 0.135270366995

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0876       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4131       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89169       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7388.281     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      242 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0877        1.2126        .65774E-04   -.41535E-03
   2  alpha         2.4132        .56903        .13918E-01   -.23825E-04
   3  Normalizat    1.0386        .22699        .37417E-03   -.20023E-04
   4  Prefactor     .89166        .91050E-01    .16368E-03    .93755E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.0877
  alpha      = 2.41317
  Normalizat = 1.0386
  Prefactor  = 0.891657
 **********
 **   18 **HESSE 
 **********

 FCN=   7388.281     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0877        1.1978        .26309E-05   -1.5419    
   2  alpha         2.4132        .56177        .55673E-03   -.34740E-01
   3  Normalizat    1.0386        .22708        .14967E-04   -.91748    
   4  Prefactor     .89166        .91064E-01    .32735E-04   -.96433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29086e-11
Minuit parameter uncertainties:
  1  1.19785
  2  0.566612
  3  0.227288
  4  0.0910794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219979': 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) = 7388.28054512
delta logL = 0.135270469295

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.088e+00  1.198e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.413e+00  5.666e-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:  8.917e-01  9.108e-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:  1.039e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.42
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 2.41 +/- 0.57
Photon Flux (Free Index): 1.05e-07 +/- 7.63e-08
Energy Flux (Free Index): 3.24e-05 +/- 1.82e-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/219979/cmap_HighResolution_430617601_430876801_4FGL_J0808.2-0751_daily_bin738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.65e-08', energy_flux2='3.24e-05', photon_flux_error='5.08e-08', dlogl='1.35e-01', energy_flux='3.39e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-08-29 07:20:43.784916', photon_index_error2='0.57', photon_index2='2.41', ts='7.11', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='1.06', time_epoch_completed='1630246843.78', return_code='0', job_id='219979', GAL2='0.89', EG2='1.04', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='7.63e-08', ts2='7.42', photon_index='2.11' WHERE bin_id='738' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:20:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 219979: <4FGL_J0808.2-0751_daily_bin738> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin738> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 07:10:33 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:10:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 07:10:35 2021
Terminated at Sun Aug 29 07:20:44 2021
Results reported at Sun Aug 29 07:20:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin738 122.065 -7.8556 430617601 430876801 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 :                                   592.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             341.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            611 sec.

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

