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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1512
RA = 121.3, Dec = -1.181
tmin = 631238401, tmax = 631497601
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='127689', job_status='RUN', time_executed='2021-08-29 01:52:26.040317', time_epoch_executed='1630227146.04' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/127689

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/127689/ft1_4FGL_J0805.2-0110_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/127689/ft1_4FGL_J0805.2-0110_daily_bin1512.fits outfile=/scratch/kocevski/127689/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1512.fits ra=121.3 dec=-1.181 rad=12.0 tmin=631238401.0 tmax=631497601.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.06
user 2.50
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/127689/ft1_filtered_4FGL_J0805.2-0110_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/127689/ltcube_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.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/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits
.....................!
real 13.22
user 12.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/127689/ft1_filtered_4FGL_J0805.2-0110_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/127689/ltcube_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.fits outfile=/scratch/kocevski/127689/expmap_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.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/127689/ltcube_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.fits
.....................!
real 194.16
user 185.74
sys 4.28

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/127689/ft1_filtered_4FGL_J0805.2-0110_daily_bin1512.fits scfile=/scratch/kocevski/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits outfile=/scratch/kocevski/127689/cmap_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.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.66
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/127689/ft1_filtered_4FGL_J0805.2-0110_daily_bin1512.fits scfile=/scratch/kocevski/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits outfile=/scratch/kocevski/127689/cmap_HighResolution_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.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.63
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/127689/ft1_filtered_4FGL_J0805.2-0110_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/127689/ft2_4FGL_J0805.2-0110_daily_bin1512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/127689/Model_4FGL_J0805.2-0110_daily_bin1512.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/127689/ft1_filtered_4FGL_J0805.2-0110_daily_bin1512.fits.........................!
real 28.74
user 27.12
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    563.81       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1007       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.541       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11636E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    17.350       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    53.444       1.0000         .10000E-03   10000.    
     8 'norm      '    .12036E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11182E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.882       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24732       1.0000         .10000E-03   10000.    
    13 'norm      '    40.980       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4884       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8314       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0062       1.0000         .10000E-03   10000.    
    17 'norm      '    70.053       1.0000         .10000E-03   10000.    
    18 'norm      '    .59262       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    21.795       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .60346       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .67028       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=   1205.181     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     3677 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     564.51        638.93       -.64796E-05    .47266E-04
   2  Prefactor     2.1568        166.05        .21282E-05    .40398E-05
   3  Prefactor     18.503        55.713        .10756E-05   -.20011E-04
   4  Prefactor     .10002E-03    486.58       -.55833E-05** at limit **
   5  norm          17.345        22.763       -.53212E-06    .95151E-05
   6  Prefactor     .10000E-03    154.44       -.97054E-07** at limit **
   7  norm          53.447        48.453        .36466E-06   -.48726E-04
   8  norm          .10000E-03    706.26       -.18801E-05** at limit **
   9  norm          1.1479        15.175        .57240E-05    .11301E-03
  10  Prefactor     .10002E-03    443.18       -.55642E-05** at limit **
  11  Prefactor     43.885        44.110       -.23228E-05   -.21913E-04
  12  Prefactor     .10018E-03    8238.9       -.16094E-03** at limit **
  13  norm          40.912        80.510        .24536E-04   -.41676E-04
  14  norm          3.4884        9.7505       -.15273E-06   -.86122E-04
  15  Prefactor     4.8259        20.294        .49429E-06   -.22302E-03
  16  norm          2.0068        3.0064       -.98449E-07   -.34935E-03
  17  norm          70.072        222.53       -.77927E-05   -.20970E-04
  18  norm          .59351        85.437       -.81608E-05   -.19684E-03
  19  Prefactor     .10001E-03    229.87        .34151E-05** at limit **
  20  Prefactor     .10000E-03    9.4891       -.46180E-06** at limit **
  21  norm          .10000E-03    19.138       -.14848E-06** at limit **
  22  Prefactor     .10000E-03    146.10       -.10880E-05** at limit **
  23  norm          .10000E-03    1.9005       -.18052E-06** at limit **
  24  norm          21.789        29.569        .44271E-06   -.16139E-07
  25  Normalizat    .60426        .52972        .66484E-05   -.11009E-03
  26  Prefactor     .66995        .24339       -.39245E-05   -.92924E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 564.514
  Prefactor  = 2.15681
  Prefactor  = 18.5035
  Prefactor  = 0.000100024
  norm       = 17.3453
  Prefactor  = 0.000100001
  norm       = 53.4475
  norm       = 0.000100003
  norm       = 1.1479
  Prefactor  = 0.000100024
  Prefactor  = 43.8845
  Prefactor  = 0.000100184
  norm       = 40.912
  norm       = 3.48844
  Prefactor  = 4.82592
  norm       = 2.00676
  norm       = 70.0719
  norm       = 0.593512
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 21.7889
  Normalizat = 0.60426
  Prefactor  = 0.669948
 **********
 **   18 **HESSE 
 **********

 FCN=   1205.181     FROM HESSE     STATUS=OK           462 CALLS     4139 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     564.51        637.91        .86709E-04   -1.0910    
   2  Prefactor     2.1568        165.39        .28473E-03   -1.5414    
   3  Prefactor     18.503        56.545        .93014E-04   -1.4847    
   4  Prefactor     .10002E-03    486.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          17.345        22.736        .96154E-04   -1.4875    
   6  Prefactor     .10000E-03    154.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          53.447        48.751        .54865E-04   -1.4245    
   8  norm          .10000E-03    706.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1479        15.511        .11383E-02   -1.5494    
  10  Prefactor     .10002E-03    442.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     43.885        44.513        .60520E-04   -1.4382    
  12  Prefactor     .10018E-03    1398.2        .27806       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          40.912        102.42        .62618E-04   -1.4428    
  14  norm          3.4884        9.6003        .13691E-03   -1.5334    
  15  Prefactor     4.8259        19.679        .18302E-03   -1.5269    
  16  norm          2.0068        2.9487        .57775E-04   -1.5425    
  17  norm          70.072        342.33        .47961E-04   -1.4032    
  18  norm          .59351        676.90        .44831E-02   -1.5554    
  19  Prefactor     .10001E-03    229.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.5064        .10439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    19.150        .14837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    146.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.9096        .46731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          21.789        29.568        .85797E-04   -1.4774    
  25  Normalizat    .60426        .57447        .40778E-03   -1.0780    
  26  Prefactor     .66995        .27443        .17368E-03   -1.0472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.39404e-09
Minuit parameter uncertainties:
  1  646.33
  2  37.8821
  3  56.7093
  4  0.00689746
  5  22.7471
  6  0.000645532
  7  48.7877
  8  0.0028039
  9  8.44152
  10  0.00654873
  11  44.5467
  12  0.0328575
  13  102.864
  14  9.6045
  15  19.5011
  16  2.9489
  17  312.688
  18  40.5519
  19  0.00291117
  20  8.04797e-06
  21  9.96184e-06
  22  0.000726267
  23  3.50412e-06
  24  29.5878
  25  0.580284
  26  0.274986
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  4.091e+01  1.029e+02  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:  6.699e-01  2.750e-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.043e-01  5.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 6.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/127689/likelihoodResults_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.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) = 1205.11947908
delta logL = 0.0615880300918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1205.11490676
delta logL = 0.0661603564938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.898       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9316       1.0000          .0000       5.0000    
     3 'Normalizat'    .54890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68299       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=   1205.115     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      259 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.914        67.570        .63458E-04   -.72461E-03
   2  alpha         2.9305        1.6421        .15499E-01   -.13099E-03
   3  Normalizat    .54917        .54477        .42572E-03    .22791E-03
   4  Prefactor     .68283        .23607        .17204E-03    .69172E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 39.9137
  alpha      = 2.93052
  Normalizat = 0.549169
  Prefactor  = 0.682828
 **********
 **   18 **HESSE 
 **********

 FCN=   1205.115     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.914        65.247        .12692E-04   -1.4444    
   2  alpha         2.9305        1.5916        .61994E-03    .17307    
   3  Normalizat    .54917        .54457        .85143E-04   -1.1019    
   4  Prefactor     .68283        .23583        .34408E-04   -1.0420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.9963e-09
Minuit parameter uncertainties:
  1  65.3637
  2  1.73051
  3  0.549996
  4  0.236173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/127689': 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) = 1205.11490637
delta logL = 0.066160746884

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.991e+01  6.536e+01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.931e+00  1.731e+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:  6.828e-01  2.362e-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:  5.492e-01  5.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/127689/cmap_HighResolution_631238401_631497601_4FGL_J0805.2-0110_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-04', job_status='DONE', photon_flux_upper_limit='6.96e-07', time_completed='2021-08-29 02:00:25.915751', job_id='127689', GAL2='0.68', fit_tolerance='1e-08', EG2='0.55', EG='0.60', time_epoch_completed='1630227625.92', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='6.62e-02', ts2='0.64', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1512' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 02:00:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 127689: <4FGL_J0805.2-0110_daily_bin1512> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1512 121.3 -1.181 631238401 631497601 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 :                                   385.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            581 sec.

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

