/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 43 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_bin1238
RA = 121.3, Dec = -1.181
tmin = 560217601, tmax = 560476801
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='126044', job_status='RUN', time_executed='2021-08-29 01:47:00.692113', time_epoch_executed='1630226820.69' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1238'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126044

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126044/ft1_4FGL_J0805.2-0110_daily_bin1238.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126044/ft1_4FGL_J0805.2-0110_daily_bin1238.fits outfile=/scratch/kocevski/126044/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1238.fits ra=121.3 dec=-1.181 rad=12.0 tmin=560217601.0 tmax=560476801.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.86
user 3.35
sys 0.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126044/ft1_filtered_4FGL_J0805.2-0110_daily_bin1238.fits" evtable="EVENTS" scfile=/scratch/kocevski/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits sctable="SC_DATA" outfile=/scratch/kocevski/126044/ltcube_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.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/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits
.....................!
real 12.11
user 11.37
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126044/ft1_filtered_4FGL_J0805.2-0110_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits sctable="SC_DATA" expcube=/scratch/kocevski/126044/ltcube_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.fits outfile=/scratch/kocevski/126044/expmap_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.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/126044/ltcube_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.fits
.....................!
real 190.29
user 184.47
sys 5.05

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/126044/ft1_filtered_4FGL_J0805.2-0110_daily_bin1238.fits scfile=/scratch/kocevski/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits outfile=/scratch/kocevski/126044/cmap_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.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.96
user 0.36
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126044/ft1_filtered_4FGL_J0805.2-0110_daily_bin1238.fits scfile=/scratch/kocevski/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits outfile=/scratch/kocevski/126044/cmap_HighResolution_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.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.84
user 0.37
sys 0.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126044/ft1_filtered_4FGL_J0805.2-0110_daily_bin1238.fits evtable="EVENTS" scfile=/scratch/kocevski/126044/ft2_4FGL_J0805.2-0110_daily_bin1238.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126044/Model_4FGL_J0805.2-0110_daily_bin1238.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/126044/ft1_filtered_4FGL_J0805.2-0110_daily_bin1238.fits.......................!
real 20.68
user 18.47
sys 1.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    171.69       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .54011E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17587E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    2.9374       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .93425E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1118       1.0000         .10000E-03   10000.    
     8 'norm      '    15.136       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .95681E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .66958       1.0000         .10000E-03   10000.    
    13 'norm      '    .18727E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .85696E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1746       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2681       1.0000         .10000E-03   10000.    
    17 'norm      '    .10789       1.0000         .10000E-03   10000.    
    18 'norm      '    16.207       1.0000         .10000E-03   10000.    
    19 'Prefactor '    197.33       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 '    .11167       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .17170E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98918E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1843       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   582.7340     FROM MIGRAD    STATUS=CONVERGED    138 CALLS      474 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     180.97        304.75        .36671E-06   -.99460E-02
   2  Prefactor     .10010E-03    5.2247        .20758E-06** at limit **
   3  Prefactor     4.4570        1.0064         .0000         .0000    
   4  Prefactor     .10006E-03    50.131        .40201E-05** at limit **
   5  norm          2.9410        9.1116       -.56017E-06   -.10032E-03
   6  Prefactor     .10006E-03    199.63        .47400E-05** at limit **
   7  norm          3.1118        1.0135         .0000         .0000    
   8  norm          15.228        3.3075        .17852E-06   -.43464E-02
   9  norm          2.0246        1.0343         .0000         .0000    
  10  Prefactor     .10001E-03    87.342        .30140E-05** at limit **
  11  Prefactor     .10001E-03    29.002        .11570E-05** at limit **
  12  Prefactor     .10047E-03    62.822        .19032E-05** at limit **
  13  norm          .10000E-03    32.931       -.48332E-06** at limit **
  14  norm          .10002E-03    330.90       -.82590E-05** at limit **
  15  Prefactor     1.1746        1.1454         .0000         .0000    
  16  norm          2.2681        1.0266         .0000         .0000    
  17  norm          .10036E-03    62.719       -.93993E-05** at limit **
  18  norm          16.241        5.3847       -.35964E-06   -.11759E-01
  19  Prefactor     198.96        53.313        .21631E-07    .61190E-01
  20  Prefactor     3.1873        1.0129         .0000         .0000    
  21  norm          8.8284        1.0016         .0000         .0000    
  22  Prefactor     .10000E-03    80.203        .30871E-05** at limit **
  23  norm          .10000E-03    1.9642       -.21694E-06** at limit **
  24  norm          .10000E-03    26.075       -.83968E-06** at limit **
  25  Normalizat    .10361        1.4013        .37132E-04    .32442E-04
  26  Prefactor     1.1782        .57711        .12155E-04    .15007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 180.972
  Prefactor  = 0.000100098
  Prefactor  = 4.45702
  Prefactor  = 0.000100059
  norm       = 2.94102
  Prefactor  = 0.000100061
  norm       = 3.11181
  norm       = 15.2277
  norm       = 2.02463
  Prefactor  = 0.000100013
  Prefactor  = 0.000100008
  Prefactor  = 0.000100472
  norm       = 0.0001
  norm       = 0.000100024
  Prefactor  = 1.17456
  norm       = 2.26809
  norm       = 0.000100358
  norm       = 16.2408
  Prefactor  = 198.959
  Prefactor  = 3.18731
  norm       = 8.8284
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.103606
  Prefactor  = 1.17815
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   582.7340     FROM HESSE     STATUS=FAILED        19 CALLS      493 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     180.97        291.21        .76982E-03   -1.3009    
   2  Prefactor     .10010E-03    65.829        .92896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     537.13        532.62         .0000       -1.5286    
   4  Prefactor     .10006E-03    .20751        .40201E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9410        1.0159       -.56017E-06   -1.5365    
   6  Prefactor     .10006E-03    .22467        .47400E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1118        1.0135         .0000       -1.5355    
   8  norm          15.228        1.0036        .17852E-06   -1.4927    
   9  norm          2.0246        1.0343         .0000       -1.5423    
  10  Prefactor     .10001E-03    .22518        .30140E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    .27353        .11570E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10047E-03    .35668        .19032E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20571       -.48332E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10002E-03    .22292       -.82590E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1746        1.1454         .0000       -1.5491    
  16  norm          2.2681        1.0266         .0000       -1.5407    
  17  norm          .10036E-03    .22795       -.93993E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.241        1.0015       -.35964E-06   -1.4902    
  19  Prefactor     198.96        1.0040        .21631E-07   -1.2877    
  20  Prefactor     3.1873        1.0129         .0000       -1.5351    
  21  norm          8.8284        1.0016         .0000       -1.5114    
  22  Prefactor     .10000E-03    .22880        .30871E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .20571       -.21694E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .20571       -.83968E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10361        .31688        .37132E-04   -1.3769    
  26  Prefactor     1.1782        1.1058        .12155E-04   -.87006    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.85153e-09
Minuit parameter uncertainties:
  1  293.579
  2  0.00508403
  3  1.00643
  4  0.000221114
  5  1.0159
  6  0.000234728
  7  1.01353
  8  1.00357
  9  1.03431
  10  0.00010739
  11  9.63701e-05
  12  0.000820931
  13  5.57662e-06
  14  0.000147666
  15  1.1454
  16  1.02664
  17  0.000571267
  18  1.00153
  19  1.00404
  20  1.01287
  21  1.00161
  22  2.38166e-05
  23  4.71649e-07
  24  3.76225e-06
  25  0.322901
  26  1.12877
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  5.577e-06  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:  1.178e+00  1.129e+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:  1.036e-01  3.229e-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: 7.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.24e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126044/likelihoodResults_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.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) = 582.734093076
delta logL = -0.000127783152266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 582.733967373
delta logL = -2.08072151509e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6563       1.0000          .0000       5.0000    
     3 'Normalizat'    .10359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1782       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=   582.7340     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      278 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2095.7        .89731E-02** at limit **
   2  alpha         1.9621        3.5520        .19553       -.57415E-09
   3  Normalizat    .10360        .13643        .80969E-02   -.11719E-03
   4  Prefactor     1.1781        .98580E-01    .18567E-03   -.55360E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.96213
  Normalizat = 0.103596
  Prefactor  = 1.17814
 **********
 **   18 **HESSE 
 **********

 FCN=   582.7340     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    34.971        .13943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9621        3.9458        .78213E-02   -.21685    
   3  Normalizat    .10360        1.3080        .32387E-03   -1.3769    
   4  Prefactor     1.1781        .51614        .37133E-04   -.87007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05486e-09
Minuit parameter uncertainties:
  1  0.000363187
  2  916.881
  3  0.719784
  4  0.518368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126044': 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) = 582.733965208
delta logL = 8.46748662298e-08

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  1.000e-04  3.632e-04  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  1.962e+00  9.169e+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:  1.178e+00  5.184e-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:  1.036e-01  7.198e-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/126044/cmap_HighResolution_560217601_560476801_4FGL_J0805.2-0110_daily_bin1238.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-04', job_status='DONE', photon_flux_upper_limit='7.01e-07', time_completed='2021-08-29 01:52:35.871348', job_id='126044', GAL2='1.18', fit_tolerance='1e-08', EG2='0.10', EG='0.10', time_epoch_completed='1630227155.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.18', dlogl='8.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1238' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:52:35 PDT 2021


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

Job <4FGL_J0805.2-0110_daily_bin1238> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Aug 29 01:45:46 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:45: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:45:47 2021
Terminated at Sun Aug 29 01:52:36 2021
Results reported at Sun Aug 29 01:52:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1238 121.3 -1.181 560217601 560476801 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 :                                   330.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   409 sec.
    Turnaround time :                            410 sec.

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

