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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1283
RA = 121.3, Dec = -1.181
tmin = 571881601, tmax = 572140801
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='126107', job_status='RUN', time_executed='2021-08-29 01:48:39.276437', time_epoch_executed='1630226919.28' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126107

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126107/ft1_4FGL_J0805.2-0110_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126107/ft1_4FGL_J0805.2-0110_daily_bin1283.fits outfile=/scratch/kocevski/126107/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1283.fits ra=121.3 dec=-1.181 rad=12.0 tmin=571881601.0 tmax=572140801.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.88
user 2.34
sys 0.78

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.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/126107/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1283.fits evtable="EVENTS" outfile="/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.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 2.27
user 0.33
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits" evtable="EVENTS" scfile=/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits sctable="SC_DATA" outfile=/scratch/kocevski/126107/ltcube_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.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/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits
.....................!
real 13.20
user 11.90
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/126107/ltcube_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.fits outfile=/scratch/kocevski/126107/expmap_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.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/126107/ltcube_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.fits
.....................!
real 192.11
user 184.80
sys 5.18

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

Setting source of interest to:
4FGL J0805.2-0110 @ 121.3 -1.181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits scfile=/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits outfile=/scratch/kocevski/126107/cmap_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.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.3 yref=-1.181 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.36
user 0.39
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits scfile=/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits outfile=/scratch/kocevski/126107/cmap_HighResolution_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.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.3 yref=-1.181 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.19
user 0.39
sys 0.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126107/Model_4FGL_J0805.2-0110_daily_bin1283.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/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits....................!
real 44.50
user 41.01
sys 1.84

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits', '/scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits', expMap='/scratch/kocevski/126107/expmap_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.fits', expCube='/scratch/kocevski/126107/ltcube_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126107/Model_4FGL_J0805.2-0110_daily_bin1283.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.2-0110'

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/126107/ft1_filtered_4FGL_J0805.2-0110_daily_bin1283.fits
Spacecraft file(s): /scratch/kocevski/126107/ft2_4FGL_J0805.2-0110_daily_bin1283.fits
Exposure map: /scratch/kocevski/126107/expmap_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.fits
Exposure cube: /scratch/kocevski/126107/ltcube_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126107/Model_4FGL_J0805.2-0110_daily_bin1283.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) = 2607.14443452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    520.06       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.186       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.436       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11194E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.2724       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    32.115       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2571       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    117.91       1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4089       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3104       1.0000         .10000E-03   10000.    
    17 'norm      '    .10224E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    31.253       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.0836       1.0000         .10000E-03   10000.    
    24 'norm      '    6.0546       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .22100       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2607.131     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     3132 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     520.12        225.26       -.88679E-07   -.21034E-04
   2  Prefactor     13.197        22.283        .91182E-07   -.49262E-04
   3  Prefactor     15.441        15.947        .60115E-07   -.20855E-04
   4  Prefactor     .10000E-03    211.60        .15310E-06** at limit **
   5  norm          8.2742        5.6752       -.12256E-06   -.14121E-03
   6  Prefactor     .10000E-03    28.391       -.26389E-07** at limit **
   7  norm          32.128        33.197        .52748E-07   -.32845E-04
   8  norm          .10000E-03    66.591       -.15474E-06** at limit **
   9  norm          1.2578        3.8621        .22148E-06   -.22871E-03
  10  Prefactor     .10000E-03    125.97        .11495E-06** at limit **
  11  Prefactor     .10000E-03    10.433       -.69165E-07** at limit **
  12  Prefactor     117.90        144.26       -.16624E-05   -.75908E-05
  13  norm          .10000E-03    15.806       -.60071E-07** at limit **
  14  norm          .10000E-03    2.9979       -.94034E-07** at limit **
  15  Prefactor     6.4154        12.454       -.64761E-06   -.12198E-03
  16  norm          1.3116        1.5759       -.10426E-06   -.33405E-03
  17  norm          .10000E-03    77.274       -.10758E-06** at limit **
  18  norm          31.257        17.344       -.16222E-06   -.95941E-05
  19  Prefactor     .10000E-03    257.08       -.39590E-06** at limit **
  20  Prefactor     .10000E-03    6.4749       -.28735E-07** at limit **
  21  norm          .10000E-03    40.979        .19209E-07** at limit **
  22  Prefactor     .10000E-03    295.22       -.53054E-06** at limit **
  23  norm          4.0874        5.7414       -.25061E-06   -.93134E-04
  24  norm          6.0155        31.487       -.76887E-06   -.17563E-04
  25  Normalizat    .22115        .42442        .14517E-04   -.37680E-04
  26  Prefactor     1.1411        .19655       -.24981E-05   -.16800E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 520.123
  Prefactor  = 13.1968
  Prefactor  = 15.4411
  Prefactor  = 0.000100001
  norm       = 8.2742
  Prefactor  = 0.0001
  norm       = 32.1281
  norm       = 0.0001
  norm       = 1.25783
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 117.897
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.41539
  norm       = 1.31163
  norm       = 0.0001
  norm       = 31.2572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.08738
  norm       = 6.01551
  Normalizat = 0.221149
  Prefactor  = 1.14109
 **********
 **   18 **HESSE 
 **********

 FCN=   2607.131     FROM HESSE     STATUS=OK           452 CALLS     3584 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     520.12        225.38        .90074E-04   -1.1106    
   2  Prefactor     13.197        22.348        .11031E-03   -1.4981    
   3  Prefactor     15.441        15.972        .10194E-03   -1.4922    
   4  Prefactor     .10000E-03    211.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.2742        5.6800        .95782E-04   -1.5133    
   6  Prefactor     .10000E-03    28.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          32.128        33.350        .70706E-04   -1.4574    
   8  norm          .10000E-03    66.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2578        3.7930        .16705E-03   -1.5484    
  10  Prefactor     .10000E-03    126.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.456        .16110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     117.90        144.31        .18528E-03   -1.3532    
  13  norm          .10000E-03    15.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.0479        .86281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.4154        12.479        .15854E-03   -1.5201    
  16  norm          1.3116        1.5560        .66528E-04   -1.5479    
  17  norm          .10000E-03    77.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          31.257        17.353        .71673E-04   -1.4589    
  19  Prefactor     .10000E-03    257.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.4836        .12686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    41.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    295.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.0874        5.7226        .13442E-03   -1.5304    
  24  norm          6.0155        31.391        .16317E-03   -1.5217    
  25  Normalizat    .22115        .42622        .79676E-03   -1.2790    
  26  Prefactor     1.1411        .19781        .16728E-03   -.88164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31264e-10
Minuit parameter uncertainties:
  1  225.77
  2  22.3623
  3  15.9763
  4  0.00087025
  5  5.6804
  6  1.47175e-06
  7  33.369
  8  0.000119816
  9  3.7937
  10  0.000220853
  11  1.38199e-06
  12  144.746
  13  1.91409e-06
  14  1.44974e-08
  15  12.4839
  16  1.55604
  17  7.41712e-05
  18  17.3553
  19  0.000137979
  20  3.85529e-06
  21  2.74594e-05
  22  0.000527116
  23  5.72336
  24  27.5058
  25  0.432732
  26  0.197941
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  1.914e-06  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.141e+00  1.979e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  2.211e-01  4.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 2.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126107/likelihoodResults_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.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) = 2607.13157839
delta logL = -0.000300051099202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2607.13128113
delta logL = -2.7878381843e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4034       1.0000          .0000       5.0000    
     3 'Normalizat'    .22116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1411       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   2607.131     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      270 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    536.86        .14648E-01** at limit **
   2  alpha         2.3175        3.8282        .18081        .14398E-07
   3  Normalizat    .22115        .63332E-01    .79676E-03    .11108E-04
   4  Prefactor     1.1411        .29130E-01    .16728E-03    .41662E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  alpha      = 2.31745
  Normalizat = 0.22115
  Prefactor  = 1.14109
 **********
 **   18 **HESSE 
 **********

 FCN=   2607.131     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    15.950        .19813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3175        3.7825        .72325E-02   -.73085E-01
   3  Normalizat    .22115        .39195        .31870E-04   -1.2790    
   4  Prefactor     1.1411        .18247        .66911E-05   -.88164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34977e-10
Minuit parameter uncertainties:
  1  0.000799254
  2  496.446
  3  0.396975
  4  0.182569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126107': 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) = 2607.13127834
delta logL = 1.85082171811e-09

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  7.993e-04  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.317e+00  4.964e+02  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.141e+00  1.826e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  2.212e-01  3.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.300 -1.181

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/126107/cmap_HighResolution_571881601_572140801_4FGL_J0805.2-0110_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.18e-05', job_status='DONE', photon_flux_upper_limit='2.25e-07', time_completed='2021-08-29 01:56:36.133834', job_id='126107', GAL2='1.14', fit_tolerance='1e-08', EG2='0.22', EG='0.22', time_epoch_completed='1630227396.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.85e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1283' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:56:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 126107: <4FGL_J0805.2-0110_daily_bin1283> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1283> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:45:50 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:45:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 01:45:52 2021
Terminated at Sun Aug 29 01:56:37 2021
Results reported at Sun Aug 29 01:56:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1283 121.3 -1.181 571881601 572140801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.2-0110 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   472.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             334.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            647 sec.

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

