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


Performing analysis on: 4FGL_J0807.1-0541_daily_bin630
RA = 121.78, Dec = -5.6842
tmin = 402624001, tmax = 402883201
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='162281', job_status='RUN', time_executed='2021-08-29 03:47:47.818389', time_epoch_executed='1630234067.82' WHERE source_name='4FGL J0807.1-0541' and cadence='daily' and bin_id='630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162281

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162281/ft1_4FGL_J0807.1-0541_daily_bin630.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162281/ft1_4FGL_J0807.1-0541_daily_bin630.fits outfile=/scratch/kocevski/162281/ft1_filteredMKT_4FGL_J0807.1-0541_daily_bin630.fits ra=121.78 dec=-5.6842 rad=12.0 tmin=402624001.0 tmax=402883201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.31
user 3.35
sys 0.91

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.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/162281/ft1_filteredMKT_4FGL_J0807.1-0541_daily_bin630.fits evtable="EVENTS" outfile="/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.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.19
user 0.32
sys 0.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits" evtable="EVENTS" scfile=/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits sctable="SC_DATA" outfile=/scratch/kocevski/162281/ltcube_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.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/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits
.....................!
real 12.40
user 11.24
sys 1.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits sctable="SC_DATA" expcube=/scratch/kocevski/162281/ltcube_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.fits outfile=/scratch/kocevski/162281/expmap_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.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/162281/ltcube_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.fits
.....................!
real 194.36
user 189.13
sys 4.88

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

Setting source of interest to:
4FGL J0807.1-0541 @ 121.78 -5.6842

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits scfile=/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits outfile=/scratch/kocevski/162281/cmap_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.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.78 yref=-5.6842 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.23
user 0.37
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits scfile=/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits outfile=/scratch/kocevski/162281/cmap_HighResolution_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.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.78 yref=-5.6842 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.21
user 0.37
sys 0.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/162281/Model_4FGL_J0807.1-0541_daily_bin630.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/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits.....................!
real 99.75
user 96.85
sys 2.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits', '/scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits', expMap='/scratch/kocevski/162281/expmap_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.fits', expCube='/scratch/kocevski/162281/ltcube_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/162281/Model_4FGL_J0807.1-0541_daily_bin630.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0807.1-0541'

4FGL J0807.1-0541
   Spectrum: LogParabola
254         norm:  1.114e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.100e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  9.991e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.231e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/162281/ft1_filtered_4FGL_J0807.1-0541_daily_bin630.fits
Spacecraft file(s): /scratch/kocevski/162281/ft2_4FGL_J0807.1-0541_daily_bin630.fits
Exposure map: /scratch/kocevski/162281/expmap_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.fits
Exposure cube: /scratch/kocevski/162281/ltcube_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/162281/Model_4FGL_J0807.1-0541_daily_bin630.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) = 7317.52319508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8803       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.823       1.0000         .10000E-03   10000.    
     4 'norm      '    .47250       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.943       1.0000         .10000E-03   10000.    
     8 'norm      '    4.3411       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.250       1.0000         .10000E-03   10000.    
    11 'norm      '    7.6190       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .95297       1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.5686       1.0000         .10000E-03   10000.    
    16 'norm      '    .12459E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9146       1.0000         .10000E-03   10000.    
    19 'norm      '    6.3655       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1923       1.0000         .10000E-03   10000.    
    21 'norm      '    2.5757       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.4413       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1582       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88069       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7317.514     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2735 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4110       -.14325E-08** at limit **
   2  norm          1.8811        1.5425        .15586E-06   -.85688E-04
   3  Prefactor     11.825        13.347        .30767E-06   -.65413E-06
   4  norm          .47273        1.4002        .78697E-06   -.94700E-04
   5  Prefactor     .10000E-03    8.4245       -.21523E-06** at limit **
   6  norm          .10000E-03    17.765        .13512E-05** at limit **
   7  norm          16.946        18.166        .62793E-06    .10540E-03
   8  norm          4.3412        3.2749        .14136E-07    .69295E-05
   9  Prefactor     14.425        9.8877       -.34260E-06   -.38125E-04
  10  Prefactor     26.236        36.476       -.32919E-05   -.26340E-03
  11  norm          7.6184        10.814        .30912E-05   -.36102E-04
  12  norm          .10000E-03    .66460        .46568E-08** at limit **
  13  Prefactor     .93409        5.5290        .40308E-06   -.16274E-03
  14  norm          .10000E-03    .45861        .89272E-07** at limit **
  15  norm          9.5692        13.723        .59785E-06    .69472E-04
  16  norm          .10008E-03    3.9486       -.13213E-05** at limit **
  17  Prefactor     .10000E-03    8.3370        .34527E-06** at limit **
  18  Prefactor     9.9133        5.4852        .21332E-06    .53275E-03
  19  norm          6.3670        17.947        .88681E-06    .59886E-04
  20  norm          1.1919        1.4656        .13510E-06    .10339E-03
  21  norm          2.5751        6.6391        .57984E-06   -.54483E-04
  22  Prefactor     3.4409        13.705        .31964E-06   -.28274E-04
  23  Normalizat    1.1587        .21395        .16228E-06   -.16435E-04
  24  Prefactor     .88050        .93916E-01   -.86576E-06    .18373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.88114
  Prefactor  = 11.8252
  norm       = 0.472725
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 16.9463
  norm       = 4.34121
  Prefactor  = 14.425
  Prefactor  = 26.2357
  norm       = 7.61838
  norm       = 0.0001
  Prefactor  = 0.934085
  norm       = 0.0001
  norm       = 9.56921
  norm       = 0.000100081
  Prefactor  = 0.0001
  Prefactor  = 9.91334
  norm       = 6.36697
  norm       = 1.19195
  norm       = 2.57508
  Prefactor  = 3.4409
  Normalizat = 1.15866
  Prefactor  = 0.880503
 **********
 **   18 **HESSE 
 **********

 FCN=   7317.514     FROM HESSE     STATUS=OK           411 CALLS     3146 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4450        .15428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8811        1.5511        .89774E-04   -1.5434    
   3  Prefactor     11.825        13.364        .11650E-03   -1.5020    
   4  norm          .47273        1.4050        .16740E-03   -1.5570    
   5  Prefactor     .10000E-03    8.4320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    18.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.946        18.239        .97301E-04   -1.4884    
   8  norm          4.3412        3.2768        .12948E-03   -1.5291    
   9  Prefactor     14.425        9.8873        .10545E-03   -1.4948    
  10  Prefactor     26.236        38.516        .78189E-04   -1.4683    
  11  norm          7.6184        11.114        .72643E-03   -1.5156    
  12  norm          .10000E-03    .66662        .68076E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .93409        27.701        .35503E-02   -1.5515    
  14  norm          .10000E-03    .75107        .11083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.5692        13.756        .12955E-03   -1.5089    
  16  norm          .10008E-03    18.994        .30698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.3864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.9133        5.5634        .12726E-03   -1.5078    
  19  norm          6.3670        17.896        .15909E-03   -1.5203    
  20  norm          1.1919        1.4389        .10971E-03   -1.5490    
  21  norm          2.5751        6.6456        .25431E-03   -1.5387    
  22  Prefactor     3.4409        13.703        .21803E-03   -1.5337    
  23  Normalizat    1.1587        .23873        .33830E-03   -.87890    
  24  Prefactor     .88050        .10519        .17319E-03   -.96826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93576e-09
Minuit parameter uncertainties:
  1  3.0207e-07
  2  1.55108
  3  13.3678
  4  1.40508
  5  3.15314e-05
  6  0.000279092
  7  18.2449
  8  3.27694
  9  9.88837
  10  38.5526
  11  11.1174
  12  1.14859e-07
  13  10.1782
  14  3.07626e-06
  15  13.7601
  16  0.00247612
  17  3.09112e-06
  18  5.56372
  19  17.9107
  20  1.43896
  21  6.64747
  22  13.7155
  23  0.238956
  24  0.10521
Done.

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

Extracting fit parameters...

4FGL J0807.1-0541
   Spectrum: LogParabola
254         norm:  1.000e-04  1.149e-07  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.100e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  9.991e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.231e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.805e-01  1.052e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.159e+00  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.780 -5.684
Photon Flux Upper Limit: 4.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/162281/likelihoodResults_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.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): 102
logL (Free Index) = 7317.51426805
delta logL = -0.000199157959287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7317.5140684
delta logL = 4.93384504807e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0820       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88050       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   7317.514     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      232 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0475        .68428E-02** at limit **
   2  alpha         1.7292        4.1226        .16761E-01   -.89532E-07
   3  Normalizat    1.1587        .21044        .33830E-03    .35913E-03
   4  Prefactor     .88050        .95973E-01    .17319E-03    .81619E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72915
  Normalizat = 1.15866
  Prefactor  = 0.880504
 **********
 **   18 **HESSE 
 **********

 FCN=   7317.514     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .71876        .70791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7292        3.3524        .67045E-03   -.31345    
   3  Normalizat    1.1587        .21052        .67660E-04   -.87890    
   4  Prefactor     .88050        .96011E-01    .34638E-04   -.96826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08137e-10
Minuit parameter uncertainties:
  1  2.43138e-06
  2  107.921
  3  0.210674
  4  0.0960297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162281': 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) = 7317.51406346
delta logL = 5.44037357031e-06

Extracting fit parameters...

4FGL J0807.1-0541
   Spectrum: LogParabola
254         norm:  1.000e-04  2.431e-06  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  1.729e+00  1.079e+02  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  9.991e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.231e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.805e-01  9.603e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.159e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.780 -5.684

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/162281/cmap_HighResolution_402624001_402883201_4FGL_J0807.1-0541_daily_bin630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-05', job_status='DONE', photon_flux_upper_limit='4.69e-08', time_completed='2021-08-29 03:59:52.552549', job_id='162281', GAL2='0.88', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630234792.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='5.44e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='630' AND source_name='4FGL J0807.1-0541' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 03:59:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 162281: <4FGL_J0807.1-0541_daily_bin630> in cluster <slac> Done

Job <4FGL_J0807.1-0541_daily_bin630> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 03:45:37 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 03:45:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 03:45:38 2021
Terminated at Sun Aug 29 03:59:53 2021
Results reported at Sun Aug 29 03:59:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0807.1-0541_daily_bin630 121.78 -5.6842 402624001 402883201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0807.1-0541 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   736.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

