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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1615
RA = 121.3, Dec = -1.181
tmin = 657936001, tmax = 658195201
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='253031', job_status='RUN', time_executed='2021-12-07 18:38:49.761908', time_epoch_executed='1638931129.76' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253031

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253031/ft1_4FGL_J0805.2-0110_daily_bin1615.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253031/ft1_4FGL_J0805.2-0110_daily_bin1615.fits outfile=/scratch/kocevski/253031/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1615.fits ra=121.3 dec=-1.181 rad=12.0 tmin=657936001.0 tmax=658195201.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.16
user 3.87
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253031/ft1_filtered_4FGL_J0805.2-0110_daily_bin1615.fits" evtable="EVENTS" scfile=/scratch/kocevski/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits sctable="SC_DATA" outfile=/scratch/kocevski/253031/ltcube_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.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/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits
.....................!
real 16.23
user 15.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253031/ft1_filtered_4FGL_J0805.2-0110_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits sctable="SC_DATA" expcube=/scratch/kocevski/253031/ltcube_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.fits outfile=/scratch/kocevski/253031/expmap_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.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/253031/ltcube_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.fits
.....................!
real 195.15
user 187.54
sys 5.16

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/253031/ft1_filtered_4FGL_J0805.2-0110_daily_bin1615.fits scfile=/scratch/kocevski/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits outfile=/scratch/kocevski/253031/cmap_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253031/ft1_filtered_4FGL_J0805.2-0110_daily_bin1615.fits scfile=/scratch/kocevski/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits outfile=/scratch/kocevski/253031/cmap_HighResolution_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253031/ft1_filtered_4FGL_J0805.2-0110_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/253031/ft2_4FGL_J0805.2-0110_daily_bin1615.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253031/Model_4FGL_J0805.2-0110_daily_bin1615.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/253031/ft1_filtered_4FGL_J0805.2-0110_daily_bin1615.fits.....................!
real 84.55
user 82.22
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5561       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.172       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.3167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11140E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .29280E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1021       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6493       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10618E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.931       1.0000         .10000E-03   10000.    
    16 'norm      '    5.7124       1.0000         .10000E-03   10000.    
    17 'norm      '    .10774E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .62462       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7179       1.0000         .10000E-03   10000.    
    21 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .19798E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    47.541       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .99053       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95235       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=   6955.054     FROM MIGRAD    STATUS=CONVERGED    638 CALLS     2682 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4462        80.598       -.17692E-07   -.36000E-04
   2  Prefactor     11.170        9.5382        .87974E-07    .52755E-05
   3  Prefactor     .10000E-03    2.5086        .71991E-08** at limit **
   4  Prefactor     .10000E-03    48.234        .13854E-05** at limit **
   5  norm          3.3164        2.0542        .82987E-07   -.24900E-04
   6  Prefactor     .10000E-03    37.047       -.10101E-05** at limit **
   7  norm          .10000E-03    12.497        .73942E-06** at limit **
   8  norm          .10000E-03    5.6214       -.14373E-06** at limit **
   9  norm          .10015E-03    2.6358       -.14315E-05** at limit **
  10  Prefactor     7.1038        10.063        .23884E-05    .16016E-03
  11  Prefactor     7.6510        9.3628        .17386E-06    .66185E-05
  12  Prefactor     .10000E-03    18.386       -.29346E-06** at limit **
  13  norm          .10000E-03    2.7519       -.22352E-09** at limit **
  14  norm          .10000E-03    1.6583        .26052E-07** at limit **
  15  Prefactor     11.932        8.7701       -.10895E-06    .62654E-04
  16  norm          5.7125        1.6714       -.14462E-07    .12105E-03
  17  norm          .10000E-03    6.2969       -.13839E-07** at limit **
  18  norm          .62522        1.6429        .11365E-05    .95275E-03
  19  Prefactor     .10000E-03    19.396        .64513E-06** at limit **
  20  Prefactor     1.7140        7.9385        .16465E-05    .47502E-05
  21  norm          .10000E-03    11.399       -.34592E-06** at limit **
  22  Prefactor     .10000E-03    13.518       -.65384E-06** at limit **
  23  norm          .10000E-03    .45777        .12501E-07** at limit **
  24  norm          47.545        13.477        .47915E-07   -.30634E-04
  25  Normalizat    .99042        .18910       -.10493E-05    .28438E-04
  26  Prefactor     .95243        .10411        .18139E-08    .16765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44617
  Prefactor  = 11.1696
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 3.31644
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.000100146
  Prefactor  = 7.10376
  Prefactor  = 7.65104
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.9324
  norm       = 5.71246
  norm       = 0.0001
  norm       = 0.62522
  Prefactor  = 0.000100001
  Prefactor  = 1.714
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 47.545
  Normalizat = 0.99042
  Prefactor  = 0.952431
 **********
 **   18 **HESSE 
 **********

 FCN=   6955.054     FROM HESSE     STATUS=OK           458 CALLS     3140 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4462        81.506        .25536E-03   -1.5395    
   2  Prefactor     11.170        9.5451        .11986E-03   -1.5039    
   3  Prefactor     .10000E-03    2.5093        .12900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    48.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3164        2.0470        .88968E-04   -1.5344    
   6  Prefactor     .10000E-03    37.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.6288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10015E-03    14.693        .22948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1038        9.9051        .75262E-03   -1.5175    
  11  Prefactor     7.6510        9.3438        .14499E-03   -1.5155    
  12  Prefactor     .10000E-03    18.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.7552        .13510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6942        .20931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.932        8.7379        .11598E-03   -1.5017    
  16  norm          5.7125        1.6680        .55300E-04   -1.5230    
  17  norm          .10000E-03    6.3059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .62522        1.5659        .18476E-02   -1.5550    
  19  Prefactor     .10000E-03    19.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7140        7.8771        .32057E-03   -1.5446    
  21  norm          .10000E-03    11.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.9164        .10785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          47.545        13.479        .58155E-04   -1.4328    
  25  Normalizat    .99042        .20561        .33290E-03   -.93352    
  26  Prefactor     .95243        .11421        .18656E-03   -.94332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07378e-08
Minuit parameter uncertainties:
  1  28.2817
  2  9.54636
  3  5.91555e-08
  4  0.000882717
  5  2.047
  6  0.000596763
  7  0.00022492
  8  2.13205e-05
  9  0.00293118
  10  9.90739
  11  9.34555
  12  0.000129035
  13  9.05069e-07
  14  1.16338e-06
  15  8.73883
  16  1.66802
  17  5.03743e-06
  18  1.56601
  19  0.000269904
  20  7.35024
  21  4.66086e-05
  22  0.000238156
  23  4.13255e-05
  24  13.4798
  25  0.205778
  26  0.114241
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  9.051e-07  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:  9.524e-01  1.142e-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:  9.904e-01  2.058e-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: 5.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253031/likelihoodResults_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.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) = 6955.05539192
delta logL = -0.00171959060299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6955.05367238
delta logL = -5.43841451872e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3484       1.0000          .0000       5.0000    
     3 'Normalizat'    .99041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95241       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=   6955.054     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      196 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    135.68        .90712E-02** at limit **
   2  alpha         2.3483        3.6267        .41248        .14881E-06
   3  Normalizat    .99042        .40394E-01    .75231E-01    .12047E-04
   4  Prefactor     .95243        .22356E-01    .45670E-01   -.10991E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.34835
  Normalizat = 0.990421
  Prefactor  = 0.952431
 **********
 **   18 **HESSE 
 **********

 FCN=   6955.054     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7671        .13510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3483        3.3927        .16499       -.60699E-01
   3  Normalizat    .99042        .19960        .33290E-03   -.93352    
   4  Prefactor     .95243        .11071        .18656E-03   -.94332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80657e-10
Minuit parameter uncertainties:
  1  2.13414e-06
  2  417.12
  3  0.199751
  4  0.110734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253031': 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) = 6955.05367233
delta logL = 2.36468622461e-11

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  2.134e-06  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.348e+00  4.171e+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:  9.524e-01  1.107e-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:  9.904e-01  1.998e-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/253031/cmap_HighResolution_657936001_658195201_4FGL_J0805.2-0110_daily_bin1615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.64e-05', job_status='DONE', photon_flux_upper_limit='5.14e-08', time_completed='2021-12-07 18:50:45.465806', job_id='253031', GAL2='0.95', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1638931845.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.36e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1615' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 18:50:45 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 253031: <4FGL_J0805.2-0110_daily_bin1615> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1615> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 18:35:16 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 18:36:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 18:36:27 2021
Terminated at Tue Dec  7 18:50:46 2021
Results reported at Tue Dec  7 18:50:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1615 121.3 -1.181 657936001 658195201 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 :                                   708.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            930 sec.

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

