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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1112
RA = 121.3, Dec = -1.181
tmin = 527558401, tmax = 527817601
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='124504', job_status='RUN', time_executed='2021-08-29 01:41:27.891998', time_epoch_executed='1630226487.89' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124504/ft1_4FGL_J0805.2-0110_daily_bin1112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124504/ft1_4FGL_J0805.2-0110_daily_bin1112.fits outfile=/scratch/kocevski/124504/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1112.fits ra=121.3 dec=-1.181 rad=12.0 tmin=527558401.0 tmax=527817601.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.80
user 3.29
sys 0.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124504/ft1_filtered_4FGL_J0805.2-0110_daily_bin1112.fits" evtable="EVENTS" scfile=/scratch/kocevski/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits sctable="SC_DATA" outfile=/scratch/kocevski/124504/ltcube_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.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/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits
.....................!
real 12.23
user 11.43
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124504/ft1_filtered_4FGL_J0805.2-0110_daily_bin1112.fits evtable="EVENTS" scfile=/scratch/kocevski/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits sctable="SC_DATA" expcube=/scratch/kocevski/124504/ltcube_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.fits outfile=/scratch/kocevski/124504/expmap_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.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/124504/ltcube_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.fits
.....................!
real 192.74
user 187.30
sys 4.98

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/124504/ft1_filtered_4FGL_J0805.2-0110_daily_bin1112.fits scfile=/scratch/kocevski/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits outfile=/scratch/kocevski/124504/cmap_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.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.81
user 0.37
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124504/ft1_filtered_4FGL_J0805.2-0110_daily_bin1112.fits scfile=/scratch/kocevski/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits outfile=/scratch/kocevski/124504/cmap_HighResolution_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.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.99
user 0.38
sys 0.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124504/ft1_filtered_4FGL_J0805.2-0110_daily_bin1112.fits evtable="EVENTS" scfile=/scratch/kocevski/124504/ft2_4FGL_J0805.2-0110_daily_bin1112.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124504/Model_4FGL_J0805.2-0110_daily_bin1112.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/124504/ft1_filtered_4FGL_J0805.2-0110_daily_bin1112.fits.....................!
real 116.05
user 112.33
sys 1.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0329       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32353       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.983       1.0000         .10000E-03   10000.    
     5 'norm      '    6.5449       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.5490       1.0000         .10000E-03   10000.    
     8 'norm      '    9.6534       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0538       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18875E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.5342       1.0000         .10000E-03   10000.    
    14 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .89462       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2756       1.0000         .10000E-03   10000.    
    17 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.5719       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2299       1.0000         .10000E-03   10000.    
    21 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    20.156       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .68687       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .98243       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10071.98     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     2674 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10015E-03    21.578         .0000    ** at limit **
   2  Prefactor     6.0342        5.9895         .0000        .39407E-03
   3  Prefactor     .38015        5.4489         .0000        .22457E-02
   4  Prefactor     17.987        24.035         .0000       -.10984E-02
   5  norm          6.5455        2.0232         .0000        .70924E-03
   6  Prefactor     .10003E-03    16.383         .0000    ** at limit **
   7  norm          8.5507        11.137         .0000        .21050E-03
   8  norm          9.6575        11.313         .0000        .17445E-03
   9  norm          .10000E-03    .98789         .0000    ** at limit **
  10  Prefactor     .10000E-03    6.4675         .0000    ** at limit **
  11  Prefactor     4.0549        5.2708         .0000        .51262E-02
  12  Prefactor     .10095E-03    74.201         .0000    ** at limit **
  13  norm          3.5351        6.9551         .0000        .72700E-02
  14  norm          .10000E-03    1.0745         .0000    ** at limit **
  15  Prefactor     .90644        6.6747         .0000        .52501E-01
  16  norm          2.2756        1.0591         .0000       -.47277E-03
  17  norm          .10007E-03    8.3061         .0000    ** at limit **
  18  norm          9.5700        4.1506         .0000       -.92715E-02
  19  Prefactor     .10001E-03    13.320         .0000    ** at limit **
  20  Prefactor     1.2281        10.341         .0000        .22553E-01
  21  norm          .10009E-03    7.7441         .0000    ** at limit **
  22  Prefactor     .10002E-03    14.084         .0000    ** at limit **
  23  norm          20.156        2.0836         .0000       -.24034E-03
  24  norm          .10000E-03    4.7901         .0000    ** at limit **
  25  Normalizat    .68673        .16619         .0000       -.21211E-03
  26  Prefactor     .98235        .89302E-01     .0000       -.41374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100153
  Prefactor  = 6.03416
  Prefactor  = 0.380152
  Prefactor  = 17.9868
  norm       = 6.54546
  Prefactor  = 0.000100032
  norm       = 8.5507
  norm       = 9.65754
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.05488
  Prefactor  = 0.000100954
  norm       = 3.53514
  norm       = 0.0001
  Prefactor  = 0.906439
  norm       = 2.27564
  norm       = 0.000100068
  norm       = 9.56999
  Prefactor  = 0.000100005
  Prefactor  = 1.22807
  norm       = 0.000100085
  Prefactor  = 0.000100025
  norm       = 20.1562
  norm       = 0.0001
  Normalizat = 0.686732
  Prefactor  = 0.98235
 **********
 **   18 **HESSE 
 **********

 FCN=   10071.98     FROM HESSE     STATUS=OK           458 CALLS     3132 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10015E-03    21.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0342        5.9999        .16347E-03   -1.5217    
   3  Prefactor     .38015        62.063        .44252E-02   -1.5585    
   4  Prefactor     17.987        24.028        .94447E-04   -1.4859    
   5  norm          6.5455        2.0214        .74826E-04   -1.5196    
   6  Prefactor     .10003E-03    16.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.5507        11.154        .13710E-03   -1.5123    
   8  norm          9.6575        11.299        .12898E-03   -1.5086    
   9  norm          .10000E-03    1.0044        .97383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.4913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0549        5.2413        .10013E-02   -1.5305    
  12  Prefactor     .10095E-03    76.867        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5351        6.9313        .10751E-02   -1.5332    
  14  norm          .10000E-03    2.9361        .19931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .90644        6.7112        .24181E-02   -1.5518    
  16  norm          2.2756        1.0494        .27221E-04   -1.5406    
  17  norm          .10007E-03    8.3255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.5700        4.1480        .12905E-03   -1.5089    
  19  Prefactor     .10001E-03    13.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2281        10.218        .20278E-02   -1.5486    
  21  norm          .10009E-03    7.7530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10002E-03    14.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          20.156        2.0853        .44384E-04   -1.4810    
  24  norm          .10000E-03    4.8448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .68673        .18116        .39301E-03   -1.0442    
  26  Prefactor     .98235        .10038        .17970E-03   -.93320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62231e-07
Minuit parameter uncertainties:
  1  0.00363353
  2  6.00053
  3  9.72355
  4  24.0412
  5  2.02141
  6  0.00144749
  7  11.1567
  8  11.3015
  9  6.85204e-06
  10  0.000246159
  11  5.24188
  12  0.0171449
  13  6.93289
  14  1.76595e-05
  15  4.93335
  16  1.04944
  17  0.00150105
  18  4.14816
  19  0.000521604
  20  7.08613
  21  0.00162382
  22  0.00118144
  23  2.08531
  24  2.6549e-05
  25  0.181315
  26  0.100402
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.535e+00  6.933e+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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.824e-01  1.004e-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.867e-01  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 121.300 -1.181
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124504/likelihoodResults_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.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) = 10071.9661946
delta logL = 0.0143414790364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10071.9658653
delta logL = 0.014670843726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6837       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1344       1.0000          .0000       5.0000    
     3 'Normalizat'    .68900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98160       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10071.97     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      271 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6837        6.9708        .10522E-02   -.36970E-03
   2  alpha         2.1344        1.1669        .41644E-01   -.61840E-04
   3  Normalizat    .68899        .17298        .39240E-03   -.53889E-05
   4  Prefactor     .98161        .93557E-01    .17976E-03   -.14293E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.68373
  alpha      = 2.13442
  Normalizat = 0.688992
  Prefactor  = 0.981608
 **********
 **   18 **HESSE 
 **********

 FCN=   10071.97     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6837        6.9752        .42087E-04   -1.5324    
   2  alpha         2.1344        1.1689        .83287E-02   -.14676    
   3  Normalizat    .68899        .17307        .15696E-04   -1.0433    
   4  Prefactor     .98161        .93588E-01    .71904E-05   -.93345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89965e-10
Minuit parameter uncertainties:
  1  6.9767
  2  1.21743
  3  0.173203
  4  0.0936037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124504': 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) = 10071.9658652
delta logL = 0.0146708510329

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  3.684e+00  6.977e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.134e+00  1.217e+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:  9.816e-01  9.360e-02  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.890e-01  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/124504/cmap_HighResolution_527558401_527817601_4FGL_J0805.2-0110_daily_bin1112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.41e-05', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-08-29 01:56:22.797927', job_id='124504', GAL2='0.98', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1630227382.8', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.47e-02', ts2='0.36', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1112' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:56:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 124504: <4FGL_J0805.2-0110_daily_bin1112> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1112> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 01:40:45 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:40:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 01:40:47 2021
Terminated at Sun Aug 29 01:56:23 2021
Results reported at Sun Aug 29 01:56:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1112 121.3 -1.181 527558401 527817601 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 :                                   888.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

