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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1350
RA = 121.3, Dec = -1.181
tmin = 589248001, tmax = 589507201
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='126180', job_status='RUN', time_executed='2021-08-29 01:47:56.751502', time_epoch_executed='1630226876.75' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126180

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126180/ft1_4FGL_J0805.2-0110_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126180/ft1_4FGL_J0805.2-0110_daily_bin1350.fits outfile=/scratch/kocevski/126180/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1350.fits ra=121.3 dec=-1.181 rad=12.0 tmin=589248001.0 tmax=589507201.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 3.52
user 2.92
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/126180/ltcube_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.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/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits
.....................!
real 12.68
user 12.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/126180/ltcube_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.fits outfile=/scratch/kocevski/126180/expmap_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.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/126180/ltcube_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.fits
.....................!
real 190.82
user 185.23
sys 4.74

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/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits scfile=/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits outfile=/scratch/kocevski/126180/cmap_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.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 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits scfile=/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits outfile=/scratch/kocevski/126180/cmap_HighResolution_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.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 0.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126180/Model_4FGL_J0805.2-0110_daily_bin1350.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/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits.....................!
real 90.45
user 88.91
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits', '/scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits', expMap='/scratch/kocevski/126180/expmap_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.fits', expCube='/scratch/kocevski/126180/ltcube_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126180/Model_4FGL_J0805.2-0110_daily_bin1350.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/126180/ft1_filtered_4FGL_J0805.2-0110_daily_bin1350.fits
Spacecraft file(s): /scratch/kocevski/126180/ft2_4FGL_J0805.2-0110_daily_bin1350.fits
Exposure map: /scratch/kocevski/126180/expmap_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.fits
Exposure cube: /scratch/kocevski/126180/ltcube_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126180/Model_4FGL_J0805.2-0110_daily_bin1350.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) = 6858.86150918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.597       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.561       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.4972       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    121.93       1.0000         .10000E-03   10000.    
    13 'norm      '    1.6019       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6589       1.0000         .10000E-03   10000.    
    16 'norm      '    4.9334       1.0000         .10000E-03   10000.    
    17 'norm      '    .12489E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11251E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.300       1.0000         .10000E-03   10000.    
    23 'norm      '    .66480E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2679       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .86406       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=   6858.843     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     3066 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.600        32.876        .46219E-06   -.84240E-06
   2  Prefactor     .10000E-03    4.0019        .16009E-06** at limit **
   3  Prefactor     20.566        13.877        .29808E-06   -.23065E-04
   4  Prefactor     .10000E-03    29.318        .25297E-06** at limit **
   5  norm          1.4969        1.4835        .65047E-07    .14320E-04
   6  Prefactor     .10000E-03    10.507        .52928E-07** at limit **
   7  norm          .10000E-03    27.226        .45202E-06** at limit **
   8  norm          .10000E-03    28.656       -.23682E-07** at limit **
   9  norm          .10000E-03    1.6207        .85012E-07** at limit **
  10  Prefactor     .10000E-03    5.1099       -.98331E-07** at limit **
  11  Prefactor     .10000E-03    12.349        .24764E-06** at limit **
  12  Prefactor     121.87        52.081       -.97365E-06   -.69137E-04
  13  norm          1.5848        34.760        .85709E-06    .29747E-04
  14  norm          .10000E-03    .79406        .47455E-07** at limit **
  15  Prefactor     4.6582        8.4538        .34900E-06    .23162E-04
  16  norm          4.9332        1.5994       -.22127E-07   -.68853E-04
  17  norm          .10000E-03    17.913       -.23892E-05** at limit **
  18  norm          .10000E-03    4.8248       -.13963E-05** at limit **
  19  Prefactor     .10000E-03    23.523       -.55618E-06** at limit **
  20  Prefactor     .10000E-03    4.2551        .61869E-07** at limit **
  21  norm          .10000E-03    13.259        .88260E-07** at limit **
  22  Prefactor     14.295        18.027       -.23077E-06   -.20335E-05
  23  norm          .10001E-03    .60436       -.90884E-07** at limit **
  24  norm          .10000E-03    10.312        .30753E-06** at limit **
  25  Normalizat    1.2689        .25454        .45719E-05   -.86793E-06
  26  Prefactor     .86369        .11898       -.25631E-05    .15972E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5998
  Prefactor  = 0.0001
  Prefactor  = 20.5664
  Prefactor  = 0.0001
  norm       = 1.49689
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 121.869
  norm       = 1.58478
  norm       = 0.0001
  Prefactor  = 4.65817
  norm       = 4.93325
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.2948
  norm       = 0.000100007
  norm       = 0.0001
  Normalizat = 1.26888
  Prefactor  = 0.863685
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.843     FROM HESSE     STATUS=OK           458 CALLS     3524 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.600        32.874        .98313E-04   -1.4893    
   2  Prefactor     .10000E-03    4.0299        .16182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.566        13.889        .88331E-04   -1.4801    
   4  Prefactor     .10000E-03    29.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4969        1.4686        .96147E-04   -1.5463    
   6  Prefactor     .10000E-03    10.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    28.067        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    29.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6388        .10296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     121.87        52.211        .18224E-03   -1.3496    
  13  norm          1.5848        35.228        .33493E-03   -1.5456    
  14  norm          .10000E-03    .79751        .72034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.6582        8.4370        .18645E-03   -1.5276    
  16  norm          4.9332        1.5989        .56586E-04   -1.5264    
  17  norm          .10000E-03    18.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0472        .18010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2652        .16680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    13.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.295        18.024        .10592E-03   -1.4952    
  23  norm          .10001E-03    1.4038        .22733E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    10.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.2689        .26193        .33064E-03   -.84500    
  26  Prefactor     .86369        .12131        .18986E-03   -.97422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31348e-10
Minuit parameter uncertainties:
  1  32.9094
  2  7.7836e-06
  3  13.8909
  4  8.67394e-06
  5  1.46864
  6  3.25453e-06
  7  9.86796e-05
  8  2.64422e-05
  9  2.9589e-06
  10  1.16962e-05
  11  5.39856e-06
  12  52.2309
  13  14.9533
  14  1.89766e-07
  15  8.43918
  16  1.5989
  17  0.000176742
  18  4.94137e-05
  19  3.67464e-05
  20  9.52576e-07
  21  6.34976e-06
  22  18.0309
  23  0.000204058
  24  4.37875e-06
  25  0.262206
  26  0.121348
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.585e+00  1.495e+01  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:  8.637e-01  1.213e-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:  1.269e+00  2.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126180/likelihoodResults_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.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) = 6858.6043663
delta logL = 0.238478219649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6858.5747546
delta logL = 0.268089920524

Fit tolerance = 1e-08

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

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

 FCN=   6858.575     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      253 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5085        222.34        .47479E-02    .39479E-03
   2  alpha         3.4119        2.8224        .45327        .46506E-04
   3  Normalizat    1.2130        .75370E-01    .76153E-01   -.24130E-04
   4  Prefactor     .87734        .37046E-01    .44716E-01   -.45772E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50852
  alpha      = 3.41194
  Normalizat = 1.21304
  Prefactor  = 0.877335
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.575     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5085        11.586        .18991E-03   -1.5283    
   2  alpha         3.4119        1.5410        .27867E-01    .37339    
   3  Normalizat    1.2130        .24946        .33704E-03   -.86201    
   4  Prefactor     .87734        .11666        .18852E-03   -.96938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82625e-08
Minuit parameter uncertainties:
  1  11.5922
  2  1.68413
  3  0.249708
  4  0.116689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126180': 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) = 6858.57475241
delta logL = 0.268092107176

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  4.509e+00  1.159e+01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  3.412e+00  1.684e+00  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:  8.773e-01  1.167e-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:  1.213e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/126180/cmap_HighResolution_589248001_589507201_4FGL_J0805.2-0110_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-05', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-08-29 02:00:01.774910', job_id='126180', GAL2='0.88', fit_tolerance='1e-08', EG2='1.21', EG='1.27', time_epoch_completed='1630227601.77', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.68e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1350' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 02:00:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 126180: <4FGL_J0805.2-0110_daily_bin1350> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1350> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:45:57 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:45:58 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:58 2021
Terminated at Sun Aug 29 02:00:02 2021
Results reported at Sun Aug 29 02:00:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1350 121.3 -1.181 589248001 589507201 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 :                                   718.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            845 sec.

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

