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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1278
RA = 121.3, Dec = -1.181
tmin = 570585601, tmax = 570844801
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='126100', job_status='RUN', time_executed='2021-08-29 01:47:26.511550', time_epoch_executed='1630226846.51' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126100/ft1_4FGL_J0805.2-0110_daily_bin1278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126100/ft1_4FGL_J0805.2-0110_daily_bin1278.fits outfile=/scratch/kocevski/126100/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1278.fits ra=121.3 dec=-1.181 rad=12.0 tmin=570585601.0 tmax=570844801.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.17
user 2.77
sys 0.86

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126100/ft1_filtered_4FGL_J0805.2-0110_daily_bin1278.fits" evtable="EVENTS" scfile=/scratch/kocevski/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits sctable="SC_DATA" outfile=/scratch/kocevski/126100/ltcube_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.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/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits
.....................!
real 13.31
user 12.08
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126100/ft1_filtered_4FGL_J0805.2-0110_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits sctable="SC_DATA" expcube=/scratch/kocevski/126100/ltcube_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.fits outfile=/scratch/kocevski/126100/expmap_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.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/126100/ltcube_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.fits
.....................!
real 193.04
user 187.05
sys 5.22

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/126100/ft1_filtered_4FGL_J0805.2-0110_daily_bin1278.fits scfile=/scratch/kocevski/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits outfile=/scratch/kocevski/126100/cmap_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.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 1.29
user 0.38
sys 0.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126100/ft1_filtered_4FGL_J0805.2-0110_daily_bin1278.fits scfile=/scratch/kocevski/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits outfile=/scratch/kocevski/126100/cmap_HighResolution_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.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 1.26
user 0.37
sys 0.88

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126100/ft1_filtered_4FGL_J0805.2-0110_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/126100/ft2_4FGL_J0805.2-0110_daily_bin1278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126100/Model_4FGL_J0805.2-0110_daily_bin1278.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/126100/ft1_filtered_4FGL_J0805.2-0110_daily_bin1278.fits.....................!
real 66.48
user 64.02
sys 2.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.316       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.969       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.449       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.1089       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.032       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.623       1.0000         .10000E-03   10000.    
    16 'norm      '    .28311E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.2586       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.630       1.0000         .10000E-03   10000.    
    21 'norm      '    14.379       1.0000         .10000E-03   10000.    
    22 'Prefactor '    77.864       1.0000         .10000E-03   10000.    
    23 'norm      '    4.8633       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .56534       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .91805       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=   4274.104     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     3121 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.241        126.18       -.19531E-05   -.21222E-04
   2  Prefactor     10.497        10.900       -.71030E-07    .31911E-04
   3  Prefactor     20.965        15.162       -.61847E-07    .32029E-04
   4  Prefactor     .10000E-03    31.666       -.38519E-06** at limit **
   5  norm          11.448        4.2807        .48583E-07    .57405E-04
   6  Prefactor     .10000E-03    12.999        .58941E-07** at limit **
   7  norm          .10000E-03    6.2853        .77526E-07** at limit **
   8  norm          .10000E-03    42.321        .20937E-06** at limit **
   9  norm          5.1083        3.9464        .57139E-08    .48988E-04
  10  Prefactor     .10000E-03    34.082       -.59232E-07** at limit **
  11  Prefactor     .10000E-03    6.3806        .10706E-06** at limit **
  12  Prefactor     .10000E-03    27.299        .43963E-07** at limit **
  13  norm          11.031        20.611       -.25552E-06   -.81977E-05
  14  norm          .10000E-03    2.4038        .20533E-06** at limit **
  15  Prefactor     11.625        10.652        .14563E-06   -.59376E-05
  16  norm          .10000E-03    1.0219        .19706E-06** at limit **
  17  norm          .10000E-03    37.470       -.19942E-06** at limit **
  18  norm          8.2575        8.7136        .19375E-05   -.27750E-04
  19  Prefactor     .10000E-03    84.182       -.32576E-06** at limit **
  20  Prefactor     19.633        12.580       -.30091E-07   -.29661E-04
  21  norm          14.380        19.842        .19792E-07   -.43244E-05
  22  Prefactor     77.838        121.03        .17049E-07   -.11065E-04
  23  norm          4.8630        3.7455        .78127E-07   -.47427E-05
  24  norm          .10000E-03    8.5556        .52145E-07** at limit **
  25  Normalizat    .56521        .32383       -.51561E-05   -.14845E-04
  26  Prefactor     .91815        .13367        .12660E-05   -.14971E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2406
  Prefactor  = 10.4968
  Prefactor  = 20.965
  Prefactor  = 0.0001
  norm       = 11.4482
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.10832
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0311
  norm       = 0.0001
  Prefactor  = 11.6246
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.2575
  Prefactor  = 0.0001
  Prefactor  = 19.6331
  norm       = 14.3803
  Prefactor  = 77.8375
  norm       = 4.86304
  norm       = 0.0001
  Normalizat = 0.565207
  Prefactor  = 0.918152
 **********
 **   18 **HESSE 
 **********

 FCN=   4274.104     FROM HESSE     STATUS=OK           458 CALLS     3579 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.241        127.53        .99155E-04   -1.4902    
   2  Prefactor     10.497        10.914        .12366E-03   -1.5060    
   3  Prefactor     20.965        15.235        .87469E-04   -1.4792    
   4  Prefactor     .10000E-03    31.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.448        4.2712        .76495E-04   -1.5031    
   6  Prefactor     .10000E-03    13.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.2966        .16008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    42.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.1083        3.9547        .10867E-03   -1.5256    
  10  Prefactor     .10000E-03    34.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.4017        .16126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.031        20.575        .12062E-03   -1.5044    
  14  norm          .10000E-03    2.4675        .19783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.625        10.625        .11750E-03   -1.5026    
  16  norm          .10000E-03    3.5188        .12530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    37.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.2575        8.8045        .69752E-03   -1.5133    
  19  Prefactor     .10000E-03    84.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.633        12.535        .90401E-04   -1.4821    
  21  norm          14.380        19.828        .10563E-03   -1.4949    
  22  Prefactor     77.838        121.02        .22755E-03   -1.3941    
  23  norm          4.8630        3.7411        .10481E-03   -1.5267    
  24  norm          .10000E-03    8.5620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .56521        .33462        .48381E-03   -1.0948    
  26  Prefactor     .91815        .14225        .16503E-03   -.95510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10972e-10
Minuit parameter uncertainties:
  1  91.2885
  2  10.9161
  3  15.2377
  4  3.93895e-05
  5  4.27132
  6  2.75782e-06
  7  4.98027e-07
  8  0.000119495
  9  3.95493
  10  3.62188e-05
  11  4.32992e-06
  12  3.78178e-05
  13  20.588
  14  3.38949e-06
  15  10.6269
  16  4.88831e-05
  17  2.32441e-05
  18  8.80589
  19  2.4321e-05
  20  12.5365
  21  19.8375
  22  121.409
  23  3.74124
  24  2.63289e-06
  25  0.335821
  26  0.142304
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.103e+01  2.059e+01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.349e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  1.330e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  5.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.182e-01  1.423e-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.652e-01  3.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126100/likelihoodResults_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.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) = 4273.84582166
delta logL = 0.257953151307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4273.8451704
delta logL = 0.258604415214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3722       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5548       1.0000          .0000       5.0000    
     3 'Normalizat'    .50334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93589       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=   4273.845     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      271 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3921        241.38        .39751E-02    .17481E-03
   2  alpha         3.5542        2.6305        .47143        .32280E-04
   3  Normalizat    .50294        .10387        .11531        .31583E-04
   4  Prefactor     .93596        .44671E-01    .45461E-01    .60041E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.39208
  alpha      = 3.5542
  Normalizat = 0.502935
  Prefactor  = 0.935963
 **********
 **   18 **HESSE 
 **********

 FCN=   4273.845     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3921        42.048        .15900E-03   -1.5202    
   2  alpha         3.5542        4.2309        .22728E-01    .43530    
   3  Normalizat    .50294        .32670        .51147E-03   -1.1228    
   4  Prefactor     .93596        .13649        .16360E-03   -.94896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89032e-11
Minuit parameter uncertainties:
  1  32.822
  2  3.92934
  3  0.327955
  4  0.136536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126100': 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) = 4273.84516808
delta logL = 0.258606734746

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  6.392e+00  3.282e+01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  3.554e+00  3.929e+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.360e-01  1.365e-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.029e-01  3.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/126100/cmap_HighResolution_570585601_570844801_4FGL_J0805.2-0110_daily_bin1278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-05', job_status='DONE', photon_flux_upper_limit='2.03e-07', time_completed='2021-08-29 01:57:05.996749', job_id='126100', GAL2='0.94', fit_tolerance='1e-08', EG2='0.50', EG='0.57', time_epoch_completed='1630227426.0', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.59e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1278' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:57:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 126100: <4FGL_J0805.2-0110_daily_bin1278> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1278 121.3 -1.181 570585601 570844801 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 :                                   581.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            679 sec.

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

