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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1203
RA = 121.3, Dec = -1.181
tmin = 551145601, tmax = 551404801
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='125978', job_status='RUN', time_executed='2021-08-29 01:49:12.766790', time_epoch_executed='1630226952.77' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/125978

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/125978/ft1_4FGL_J0805.2-0110_daily_bin1203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/125978/ft1_4FGL_J0805.2-0110_daily_bin1203.fits outfile=/scratch/kocevski/125978/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1203.fits ra=121.3 dec=-1.181 rad=12.0 tmin=551145601.0 tmax=551404801.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.11
user 3.35
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.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/125978/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1203.fits evtable="EVENTS" outfile="/scratch/kocevski/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.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.79
user 0.30
sys 0.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.fits" evtable="EVENTS" scfile=/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits sctable="SC_DATA" outfile=/scratch/kocevski/125978/ltcube_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.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/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits
.....................!
real 12.44
user 11.41
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.fits evtable="EVENTS" scfile=/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits sctable="SC_DATA" expcube=/scratch/kocevski/125978/ltcube_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.fits outfile=/scratch/kocevski/125978/expmap_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.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/125978/ltcube_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.fits
.....................!
real 193.87
user 187.29
sys 5.20

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/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.fits scfile=/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits outfile=/scratch/kocevski/125978/cmap_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.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.82
user 0.36
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.fits scfile=/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits outfile=/scratch/kocevski/125978/cmap_HighResolution_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.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.80
user 0.37
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.fits evtable="EVENTS" scfile=/scratch/kocevski/125978/ft2_4FGL_J0805.2-0110_daily_bin1203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/125978/Model_4FGL_J0805.2-0110_daily_bin1203.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/125978/ft1_filtered_4FGL_J0805.2-0110_daily_bin1203.fits...................................!
real 19.76
user 17.35
sys 1.59

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 473.819200292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 471.495414692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54087       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .48285E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    206.46       1.0000         .10000E-03   10000.    
     5 'norm      '    2.6141       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8030       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1118       1.0000         .10000E-03   10000.    
     8 'norm      '    .13129E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.0246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19359E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11579E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28026E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .80076E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .33977E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1746       1.0000         .10000E-03   10000.    
    16 'norm      '    .16375       1.0000         .10000E-03   10000.    
    17 'norm      '    .11671E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6842       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .49938E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1873       1.0000         .10000E-03   10000.    
    21 'norm      '    8.8284       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23363E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .51837       1.0000         .10000E-03   10000.    
    24 'norm      '    1.5176       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .54621E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    .84955       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   471.4839     FROM MIGRAD    STATUS=CONVERGED    281 CALLS      729 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    147.45        .11437E-01** at limit **
   2  Prefactor     .10001E-03    242.98        .92617E-02** at limit **
   3  Prefactor     .15638E-01    6554.5        .52243E-02    .17741E-02
   4  Prefactor     207.73        157.24        .70326E-03    .79260E-02
   5  norm          2.5765        6.8984        .63070E-02    .20216    
   6  Prefactor     44.682        494.10        .45893E-02    .93725E-03
   7  norm          3.1118        1.0135         .0000         .0000    
   8  norm          .10000E-03    .20571        .18475E-06** at limit **
   9  norm          2.0246        1.0343         .0000         .0000    
  10  Prefactor     .10000E-03    .20571       -.74764E-07** at limit **
  11  Prefactor     .10000E-03    .26685        .10714E-06** at limit **
  12  Prefactor     .10000E-03    .28671        .72635E-06** at limit **
  13  norm          .10000E-03    .21334       -.16207E-05** at limit **
  14  norm          .10000E-03    .24229        .50207E-05** at limit **
  15  Prefactor     1.1746        1.1454         .0000         .0000    
  16  norm          .10054E-03    .24063        .52220E-05** at limit **
  17  norm          .10000E-03    .26670        .41351E-06** at limit **
  18  norm          3.0390        1.0837        .16120E-05    .68044E-05
  19  Prefactor     .10000E-03    .23050        .51354E-06** at limit **
  20  Prefactor     3.1873        1.0129         .0000         .0000    
  21  norm          8.8284        1.0016         .0000         .0000    
  22  Prefactor     .10000E-03    .20571        .97114E-04** at limit **
  23  norm          .52993        .82579        .24738E-06   -.58593E-04
  24  norm          2.1695        1.2773        .20296E-05    .62981E-05
  25  Normalizat    .75201E-01    .26331        .11085E-04   -.80964E-05
  26  Prefactor     .82663        1.1818       -.93013E-05   -.50771E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0156382
  Prefactor  = 207.726
  norm       = 2.57646
  Prefactor  = 44.682
  norm       = 3.11181
  norm       = 0.0001
  norm       = 2.02463
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.17456
  norm       = 0.000100535
  norm       = 0.0001
  norm       = 3.03903
  Prefactor  = 0.0001
  Prefactor  = 3.18731
  norm       = 8.8284
  Prefactor  = 0.000100003
  norm       = 0.529925
  norm       = 2.16954
  Normalizat = 0.0752012
  Prefactor  = 0.826628
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   471.4839     FROM HESSE     STATUS=FAILED        21 CALLS      750 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    147.45        .11437E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    242.98        .92617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .15638E-01    6554.5        .52243E-02   -1.5683    
   4  Prefactor     207.73        157.24        .70326E-03   -1.2815    
   5  norm          2.5765        6.8984        .63070E-02   -1.5387    
   6  Prefactor     44.682        494.10        .45893E-02   -1.4370    
   7  norm          552.89        549.70         .0000       -1.5355    
   8  norm          .10000E-03    .20571        .18475E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0246        1.0343         .0000       -1.5423    
  10  Prefactor     .10000E-03    .20571       -.74764E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .26685        .10714E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .28671        .72635E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .21334       -.16207E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .24229        .50207E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1746        1.1454         .0000       -1.5491    
  16  norm          .10054E-03    .24063        .52220E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .26670        .41351E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.0390        1.0837        .16120E-05   -1.5359    
  19  Prefactor     .10000E-03    .23050        .51354E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.1873        1.0129         .0000       -1.5351    
  21  norm          8.8284        1.0016         .0000       -1.5114    
  22  Prefactor     .10000E-03    .20571        .97114E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .52993        .82579        .24738E-06   -1.5562    
  24  norm          2.1695        1.2773        .20296E-05   -1.5413    
  25  Normalizat    .75201E-01    .26331        .11085E-04   -1.4090    
  26  Prefactor     .82663        1.1818       -.93013E-05   -.98754    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.19269e-11
Minuit parameter uncertainties:
  1  7.98921e-05
  2  0.00260564
  3  14.7768
  4  157.557
  5  6.9005
  6  300.37
  7  1.01353
  8  6.43263e-07
  9  1.03431
  10  4.7916e-07
  11  1.34529e-06
  12  2.68146e-06
  13  4.14643e-07
  14  4.68467e-06
  15  1.1454
  16  0.000717634
  17  1.94611e-06
  18  1.08371
  19  2.6874e-06
  20  1.01287
  21  1.00161
  22  4.56876e-05
  23  0.82581
  24  1.27736
  25  0.264102
  26  1.22151
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 471.48385595

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  4.146e-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:  8.266e-01  1.222e+00  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:  7.520e-02  2.641e-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.93e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.89e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/125978/likelihoodResults_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.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) = 471.483992565
delta logL = -0.000136615321765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 471.483858635
delta logL = -2.68572898676e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11126E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6109       1.0000          .0000       5.0000    
     3 'Normalizat'    .75200E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82663       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=   471.4839     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      274 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2192.4        .76056E-02** at limit **
   2  alpha         1.9089        2.5714        .19220       -.23069E-08
   3  Normalizat    .75191E-01    .11342        .69382E-03   -.17602E-03
   4  Prefactor     .82662        .84145E-01    .15035E-03   -.79814E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.9089
  Normalizat = 0.075191
  Prefactor  = 0.826624
 **********
 **   18 **HESSE 
 **********

 FCN=   471.4839     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.917        .11796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9089        3.3550        .76880E-02   -.23870    
   3  Normalizat    .75191E-01    1.2726        .27753E-04   -1.4091    
   4  Prefactor     .82662        .43536        .30071E-04   -.98754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45956e-09
Minuit parameter uncertainties:
  1  0.000149666
  2  843.653
  3  0.591173
  4  0.437191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/125978': 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) = 471.483855825
delta logL = 1.248667445e-07

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  1.497e-04  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  1.909e+00  8.437e+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:  8.266e-01  4.372e-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:  7.519e-02  5.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/125978/cmap_HighResolution_551145601_551404801_4FGL_J0805.2-0110_daily_bin1203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.89e-04', job_status='DONE', photon_flux_upper_limit='5.93e-07', time_completed='2021-08-29 01:54:50.874059', job_id='125978', GAL2='0.83', fit_tolerance='1e-08', EG2='0.08', EG='0.08', time_epoch_completed='1630227290.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.83', dlogl='1.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1203' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:54:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 125978: <4FGL_J0805.2-0110_daily_bin1203> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1203> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:45:43 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:45:44 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:44 2021
Terminated at Sun Aug 29 01:54:51 2021
Results reported at Sun Aug 29 01:54:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1203 121.3 -1.181 551145601 551404801 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 :                                   333.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             329.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   547 sec.
    Turnaround time :                            548 sec.

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

