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


Performing analysis on: 4FGL_J0807.1-0541_daily_bin753
RA = 121.78, Dec = -5.6842
tmin = 434505601, tmax = 434764801
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='163623', job_status='RUN', time_executed='2021-08-29 03:53:24.113723', time_epoch_executed='1630234404.11' WHERE source_name='4FGL J0807.1-0541' and cadence='daily' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163623

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163623/ft1_4FGL_J0807.1-0541_daily_bin753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163623/ft1_4FGL_J0807.1-0541_daily_bin753.fits outfile=/scratch/kocevski/163623/ft1_filteredMKT_4FGL_J0807.1-0541_daily_bin753.fits ra=121.78 dec=-5.6842 rad=12.0 tmin=434505601.0 tmax=434764801.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 6.40
user 5.72
sys 0.65

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.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/163623/ft1_filteredMKT_4FGL_J0807.1-0541_daily_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.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.91
user 0.34
sys 0.53

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/163623/ltcube_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.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/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits
.....................!
real 14.97
user 14.17
sys 0.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/163623/ltcube_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.fits outfile=/scratch/kocevski/163623/expmap_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.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/163623/ltcube_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.fits
.....................!
real 192.49
user 186.07
sys 5.97

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/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits scfile=/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits outfile=/scratch/kocevski/163623/cmap_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.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 0.91
user 0.38
sys 0.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits scfile=/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits outfile=/scratch/kocevski/163623/cmap_HighResolution_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.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 0.96
user 0.43
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163623/Model_4FGL_J0807.1-0541_daily_bin753.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/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits.....................!
real 87.95
user 85.94
sys 1.68

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits', '/scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits', expMap='/scratch/kocevski/163623/expmap_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.fits', expCube='/scratch/kocevski/163623/ltcube_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/163623/Model_4FGL_J0807.1-0541_daily_bin753.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/163623/ft1_filtered_4FGL_J0807.1-0541_daily_bin753.fits
Spacecraft file(s): /scratch/kocevski/163623/ft2_4FGL_J0807.1-0541_daily_bin753.fits
Exposure map: /scratch/kocevski/163623/expmap_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.fits
Exposure cube: /scratch/kocevski/163623/ltcube_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/163623/Model_4FGL_J0807.1-0541_daily_bin753.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) = 6179.77849337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.805       1.0000         .10000E-03   10000.    
     2 'norm      '    4.5847       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5351       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    22.875       1.0000         .10000E-03   10000.    
     7 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.7655       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5309       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.771       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1946       1.0000         .10000E-03   10000.    
    15 'norm      '    18.426       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2324       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.504       1.0000         .10000E-03   10000.    
    20 'norm      '    3.0378       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.989       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90463       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0135       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=   6179.778     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2661 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.805        11.026       -.22270E-08   -.36820E-05
   2  norm          4.5846        2.1020        .36793E-07   -.21321E-04
   3  Prefactor     .10000E-03    25.566       -.14637E-06** at limit **
   4  norm          6.5353        2.7623        .39333E-06   -.52219E-03
   5  Prefactor     .10000E-03    16.067       -.40570E-06** at limit **
   6  norm          22.875        20.387        .26867E-07   -.13072E-04
   7  norm          .10000E-03    20.242        .94213E-06** at limit **
   8  norm          4.7655        3.2824        .50576E-07    .14134E-03
   9  Prefactor     1.5315        7.2074        .16473E-05   -.82852E-04
  10  Prefactor     .10000E-03    26.673       -.52571E-06** at limit **
  11  norm          10.772        9.8810       -.12986E-06   -.33106E-04
  12  norm          .10000E-03    1.4114       -.34811E-07** at limit **
  13  Prefactor     .10000E-03    8.3275        .10589E-06** at limit **
  14  norm          2.1948        1.2877        .29403E-07   -.58446E-04
  15  norm          18.426        21.046       -.13072E-06   -.22316E-04
  16  norm          1.2327        4.2119        .12994E-05   -.86528E-04
  17  Prefactor     .10000E-03    4.8211        .70279E-07** at limit **
  18  Prefactor     .10000E-03    2.8113        .13193E-07** at limit **
  19  norm          12.508        19.759        .32689E-06    .61775E-04
  20  norm          3.0381        1.8902        .32834E-07   -.60397E-04
  21  norm          .10000E-03    6.3928       -.41348E-07** at limit **
  22  Prefactor     22.997        39.868        .12172E-05    .91449E-04
  23  Normalizat    .90450        .24726       -.16283E-05   -.14147E-04
  24  Prefactor     1.0135        .10795        .19191E-06   -.94734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8051
  norm       = 4.58456
  Prefactor  = 0.0001
  norm       = 6.53533
  Prefactor  = 0.0001
  norm       = 22.8749
  norm       = 0.000100002
  norm       = 4.76552
  Prefactor  = 1.53152
  Prefactor  = 0.0001
  norm       = 10.7717
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.19482
  norm       = 18.4257
  norm       = 1.23273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.5075
  norm       = 3.0381
  norm       = 0.0001
  Prefactor  = 22.9969
  Normalizat = 0.904501
  Prefactor  = 1.0135
 **********
 **   18 **HESSE 
 **********

 FCN=   6179.778     FROM HESSE     STATUS=OK           399 CALLS     3060 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.805        11.029        .10409E-03   -1.4938    
   2  norm          4.5846        2.1220        .72417E-04   -1.5280    
   3  Prefactor     .10000E-03    26.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5353        2.7620        .40372E-03   -1.5197    
   5  Prefactor     .10000E-03    16.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.875        20.404        .83749E-04   -1.4751    
   7  norm          .10000E-03    21.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7655        3.2881        .11495E-03   -1.5271    
   9  Prefactor     1.5315        7.1700        .34494E-03   -1.5460    
  10  Prefactor     .10000E-03    26.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.772        9.8858        .12208E-03   -1.5051    
  12  norm          .10000E-03    1.4333        .91123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.4990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1948        1.2822        .65422E-04   -1.5412    
  15  norm          18.426        21.067        .93305E-04   -1.4849    
  16  norm          1.2327        4.1932        .28447E-03   -1.5486    
  17  Prefactor     .10000E-03    4.8314        .16851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.8274        .12871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.508        19.797        .11328E-03   -1.5000    
  20  norm          3.0381        1.8920        .81979E-04   -1.5359    
  21  norm          .10000E-03    6.5077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.997        40.520        .83542E-04   -1.4748    
  23  Normalizat    .90450        .27000        .39766E-03   -.96302    
  24  Prefactor     1.0135        .11960        .17245E-03   -.92281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47823e-10
Minuit parameter uncertainties:
  1  11.0303
  2  2.12207
  3  1.6771e-05
  4  2.76206
  5  0.00014877
  6  20.4105
  7  0.000365629
  8  3.2882
  9  6.6286
  10  0.00022073
  11  9.88734
  12  5.29526e-07
  13  2.17658e-05
  14  1.28223
  15  21.0758
  16  4.19417
  17  6.08268e-08
  18  1.50871e-06
  19  19.8071
  20  1.89201
  21  8.25042e-07
  22  40.5683
  23  0.270403
  24  0.11963
Done.

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

Extracting fit parameters...

4FGL J0807.1-0541
   Spectrum: LogParabola
254         norm:  1.000e-04  5.295e-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:  1.013e+00  1.196e-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:  9.045e-01  2.704e-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: 7.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163623/likelihoodResults_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.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) = 6179.78136574
delta logL = -0.00331294379703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6179.7780528
delta logL = 5.35692379344e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1006       1.0000          .0000       5.0000    
     3 'Normalizat'    .90450       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0135       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=   6179.778     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      242 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    159.76        .91122E-03** at limit **
   2  alpha         2.1090        3.9433        .50000       -.12598E-05
   3  Normalizat    .90450        .81241E-01    .39766E-03    .60036E-05
   4  Prefactor     1.0135        .37372E-01    .17245E-03    .94934E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  alpha      = 2.10901
  Normalizat = 0.904501
  Prefactor  = 1.0135
 **********
 **   18 **HESSE 
 **********

 FCN=   6179.778     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6817        .18224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1090        2.6587        .50000       -.15704    
   3  Normalizat    .90450        .24349        .15906E-04   -.96302    
   4  Prefactor     1.0135        .11211        .68978E-05   -.92281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21387e-09
Minuit parameter uncertainties:
  1  0.000229963
  2  161.807
  3  0.243786
  4  0.112136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163623': 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) = 6179.77805279
delta logL = 4.74756234325e-09

Extracting fit parameters...

4FGL J0807.1-0541
   Spectrum: LogParabola
254         norm:  1.000e-04  2.300e-04  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.109e+00  1.618e+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:  1.013e+00  1.121e-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:  9.045e-01  2.438e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/163623/cmap_HighResolution_434505601_434764801_4FGL_J0807.1-0541_daily_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-05', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-08-29 04:04:49.245207', job_id='163623', GAL2='1.01', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630235089.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.75e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='753' AND source_name='4FGL J0807.1-0541' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 04:04:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 163623: <4FGL_J0807.1-0541_daily_bin753> in cluster <slac> Done

Job <4FGL_J0807.1-0541_daily_bin753> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 29 03:50:40 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 03:50:42 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:50:42 2021
Terminated at Sun Aug 29 04:04:49 2021
Results reported at Sun Aug 29 04:04:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0807.1-0541_daily_bin753 121.78 -5.6842 434505601 434764801 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 :                                   688.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

