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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1029
RA = 121.3, Dec = -1.181
tmin = 506044801, tmax = 506304001
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='124383', job_status='RUN', time_executed='2021-08-29 01:43:25.424647', time_epoch_executed='1630226605.42' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1029'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124383

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124383/ft1_4FGL_J0805.2-0110_daily_bin1029.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124383/ft1_4FGL_J0805.2-0110_daily_bin1029.fits outfile=/scratch/kocevski/124383/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1029.fits ra=121.3 dec=-1.181 rad=12.0 tmin=506044801.0 tmax=506304001.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.92
user 4.12
sys 0.77

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.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/124383/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1029.fits evtable="EVENTS" outfile="/scratch/kocevski/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.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.49
user 0.31
sys 1.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits" evtable="EVENTS" scfile=/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits sctable="SC_DATA" outfile=/scratch/kocevski/124383/ltcube_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.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/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits
.....................!
real 13.02
user 11.84
sys 1.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits evtable="EVENTS" scfile=/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits sctable="SC_DATA" expcube=/scratch/kocevski/124383/ltcube_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.fits outfile=/scratch/kocevski/124383/expmap_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.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/124383/ltcube_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.fits
.....................!
real 191.60
user 185.24
sys 4.94

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/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits scfile=/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits outfile=/scratch/kocevski/124383/cmap_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.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.49
user 0.37
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits scfile=/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits outfile=/scratch/kocevski/124383/cmap_HighResolution_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.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.73
user 0.38
sys 0.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits evtable="EVENTS" scfile=/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124383/Model_4FGL_J0805.2-0110_daily_bin1029.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/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits.....................!
real 97.80
user 91.23
sys 2.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits', '/scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits', expMap='/scratch/kocevski/124383/expmap_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.fits', expCube='/scratch/kocevski/124383/ltcube_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/124383/Model_4FGL_J0805.2-0110_daily_bin1029.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/124383/ft1_filtered_4FGL_J0805.2-0110_daily_bin1029.fits
Spacecraft file(s): /scratch/kocevski/124383/ft2_4FGL_J0805.2-0110_daily_bin1029.fits
Exposure map: /scratch/kocevski/124383/expmap_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.fits
Exposure cube: /scratch/kocevski/124383/ltcube_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/124383/Model_4FGL_J0805.2-0110_daily_bin1029.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7996.77230991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.103       1.0000         .10000E-03   10000.    
     5 'norm      '    .78562       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.4162       1.0000         .10000E-03   10000.    
     8 'norm      '    12.621       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6591       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.169       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11107E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .82650       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .18055       1.0000         .10000E-03   10000.    
    17 'norm      '    .37612E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    7.5193       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    70.870       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.216       1.0000         .10000E-03   10000.    
    23 'norm      '    .64433       1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .65709       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2200       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=   7996.561     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     2731 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.496        .11494E-04** at limit **
   2  Prefactor     .10000E-03    1.6201       -.92243E-07** at limit **
   3  Prefactor     .10000E-03    6.1713        .83878E-07** at limit **
   4  Prefactor     30.099        31.269       -.24928E-05    .18154E-04
   5  norm          .78585        1.5057       -.45311E-06   -.14387E-02
   6  Prefactor     .10000E-03    13.305       -.24192E-05** at limit **
   7  norm          4.4091        16.756        .14078E-05   -.50186E-04
   8  norm          12.622        18.260       -.12489E-06   -.35113E-04
   9  norm          1.6588        2.2188       -.17388E-06   -.62772E-03
  10  Prefactor     18.170        13.522        .29659E-08   -.33029E-04
  11  Prefactor     .10000E-03    13.405        .10496E-04** at limit **
  12  Prefactor     .10000E-03    99.414       -.48570E-04** at limit **
  13  norm          .10000E-03    11.056       -.16174E-04** at limit **
  14  norm          .82573        1.9273       -.62296E-06   -.15315E-02
  15  Prefactor     .10000E-03    2.9789        .98275E-07** at limit **
  16  norm          .18003        .64589       -.39136E-06   -.12961E-02
  17  norm          .10001E-03    69.475        .68095E-04** at limit **
  18  norm          7.5208        4.1603        .57622E-06    .65903E-04
  19  Prefactor     .10000E-03    29.160       -.10480E-04** at limit **
  20  Prefactor     .10000E-03    2.6309        .50449E-07** at limit **
  21  norm          70.873        29.350        .72970E-06    .65737E-04
  22  Prefactor     15.217        18.816       -.34376E-06   -.51587E-04
  23  norm          .64437        .99039       -.14367E-06   -.48052E-03
  24  norm          .10000E-03    4.8068        .16638E-06** at limit **
  25  Normalizat    .65706        .20107       -.47472E-06    .79612E-05
  26  Prefactor     1.2200        .10758        .30694E-06    .29170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.0986
  norm       = 0.785852
  Prefactor  = 0.0001
  norm       = 4.40911
  norm       = 12.6217
  norm       = 1.65879
  Prefactor  = 18.1703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.825735
  Prefactor  = 0.0001
  norm       = 0.180025
  norm       = 0.00010001
  norm       = 7.52081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 70.8731
  Prefactor  = 15.2169
  norm       = 0.644372
  norm       = 0.0001
  Normalizat = 0.657065
  Prefactor  = 1.22003
 **********
 **   18 **HESSE 
 **********

 FCN=   7996.561     FROM HESSE     STATUS=OK           460 CALLS     3191 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6213        .11115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.1933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.099        31.174        .73025E-04   -1.4610    
   5  norm          .78585        1.4047        .14245E-02   -1.5531    
   6  Prefactor     .10000E-03    13.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.4091        16.798        .19163E-03   -1.5288    
   8  norm          12.622        18.258        .11275E-03   -1.4997    
   9  norm          1.6588        2.1978        .14965E-03   -1.5450    
  10  Prefactor     18.170        13.527        .93962E-04   -1.4855    
  11  Prefactor     .10000E-03    13.884        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    101.71        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .82573        1.7456        .17535E-02   -1.5526    
  15  Prefactor     .10000E-03    3.0002        .15071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .18003        .90362        .12423E-02   -1.5623    
  17  norm          .10001E-03    70.051        .39139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.5208        4.1582        .13083E-03   -1.5159    
  19  Prefactor     .10000E-03    29.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6330        .14161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          70.873        29.259        .47685E-04   -1.4022    
  22  Prefactor     15.217        18.821        .10268E-03   -1.4928    
  23  norm          .64437        .98938        .47386E-04   -1.5547    
  24  norm          .10000E-03    4.8362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .65706        .21334        .41622E-03   -1.0561    
  26  Prefactor     1.2200        .11648        .17066E-03   -.85717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63944e-09
Minuit parameter uncertainties:
  1  3.27846e-06
  2  5.47405e-07
  3  1.09749e-06
  4  31.191
  5  1.40475
  6  4.37024e-06
  7  16.8161
  8  18.2661
  9  2.19792
  10  13.5293
  11  5.93745e-05
  12  0.000381873
  13  4.45295e-05
  14  1.74573
  15  7.18203e-07
  16  0.806454
  17  0.00169128
  18  4.15839
  19  7.30366e-05
  20  3.50376e-07
  21  29.2646
  22  18.8282
  23  0.989407
  24  4.68916e-07
  25  0.213608
  26  0.116502
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  4.453e-05  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.220e+00  1.165e-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:  6.571e-01  2.136e-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: 8.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124383/likelihoodResults_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.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) = 7996.56180773
delta logL = -0.00042719119665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7996.52948416
delta logL = 0.0318963788304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13953       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .63971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2251       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=   7996.529     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      335 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13958        .61060        .96396E-03   -.28241E-02
   2  alpha         5.0000        3.0993        .50000    ** at limit **
   3  Normalizat    .63972        .21632        .42162E-03   -.85370E-04
   4  Prefactor     1.2251        .11404        .17036E-03    .11044E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.139579
  alpha      = 5
  Normalizat = 0.639724
  Prefactor  = 1.22507
 **********
 **   18 **HESSE 
 **********

 FCN=   7996.529     FROM HESSE     STATUS=OK            31 CALLS      366 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13958        .59220        .38558E-04   -1.5633    
   2  alpha         5.0000        3.0890        .50000        1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .63972        .21527        .16865E-04   -1.0632    
   4  Prefactor     1.2251        .11391        .68146E-05   -.85563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10605e-09
Minuit parameter uncertainties:
  1  0.574811
  2  0.0013218
  3  0.215551
  4  0.113937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124383': 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) = 7996.52948414
delta logL = 0.0318964052813

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.396e-01  5.748e-01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  5.000e+00  1.322e-03  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.225e+00  1.139e-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:  6.397e-01  2.156e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/124383/cmap_HighResolution_506044801_506304001_4FGL_J0805.2-0110_daily_bin1029.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='8.77e-08', time_completed='2021-08-29 01:56:20.271259', job_id='124383', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.66', time_epoch_completed='1630227380.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.19e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1029' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:56:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 124383: <4FGL_J0805.2-0110_daily_bin1029> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1029> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 01:40:38 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:40:40 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:40:40 2021
Terminated at Sun Aug 29 01:56:21 2021
Results reported at Sun Aug 29 01:56:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1029 121.3 -1.181 506044801 506304001 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 :                                   772.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            943 sec.

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

