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


Performing analysis on: 4FGL_J0805.2-0110_daily_bin1072
RA = 121.3, Dec = -1.181
tmin = 517190401, tmax = 517449601
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='124446', job_status='RUN', time_executed='2021-08-29 01:42:23.332181', time_epoch_executed='1630226543.33' WHERE source_name='4FGL J0805.2-0110' and cadence='daily' and bin_id='1072'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124446/ft1_4FGL_J0805.2-0110_daily_bin1072.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124446/ft2_4FGL_J0805.2-0110_daily_bin1072.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124446/ft1_4FGL_J0805.2-0110_daily_bin1072.fits outfile=/scratch/kocevski/124446/ft1_filteredMKT_4FGL_J0805.2-0110_daily_bin1072.fits ra=121.3 dec=-1.181 rad=12.0 tmin=517190401.0 tmax=517449601.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.93
user 4.46
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124446/ft1_filtered_4FGL_J0805.2-0110_daily_bin1072.fits" evtable="EVENTS" scfile=/scratch/kocevski/124446/ft2_4FGL_J0805.2-0110_daily_bin1072.fits sctable="SC_DATA" outfile=/scratch/kocevski/124446/ltcube_517190401_517449601_4FGL_J0805.2-0110_daily_bin1072.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/124446/ft2_4FGL_J0805.2-0110_daily_bin1072.fits
.....................!
real 11.85
user 11.19
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124446/ft1_filtered_4FGL_J0805.2-0110_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/124446/ft2_4FGL_J0805.2-0110_daily_bin1072.fits sctable="SC_DATA" expcube=/scratch/kocevski/124446/ltcube_517190401_517449601_4FGL_J0805.2-0110_daily_bin1072.fits outfile=/scratch/kocevski/124446/expmap_517190401_517449601_4FGL_J0805.2-0110_daily_bin1072.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/124446/ltcube_517190401_517449601_4FGL_J0805.2-0110_daily_bin1072.fits
.....................!
real 190.25
user 185.25
sys 4.34

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/124446/ft1_filtered_4FGL_J0805.2-0110_daily_bin1072.fits scfile=/scratch/kocevski/124446/ft2_4FGL_J0805.2-0110_daily_bin1072.fits outfile=/scratch/kocevski/124446/cmap_517190401_517449601_4FGL_J0805.2-0110_daily_bin1072.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.77
user 0.36
sys 0.38

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124446/ft1_filtered_4FGL_J0805.2-0110_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/124446/ft2_4FGL_J0805.2-0110_daily_bin1072.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124446/Model_4FGL_J0805.2-0110_daily_bin1072.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/124446/ft1_filtered_4FGL_J0805.2-0110_daily_bin1072.fits.....................!
real 75.24
user 70.99
sys 1.51

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.043       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.002       1.0000         .10000E-03   10000.    
     4 'Prefactor '    67.806       1.0000         .10000E-03   10000.    
     5 'norm      '    .53931E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.682       1.0000         .10000E-03   10000.    
     7 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .62988       1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8729       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.899       1.0000         .10000E-03   10000.    
    14 'norm      '    2.4049       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4354       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4588       1.0000         .10000E-03   10000.    
    17 'norm      '    .10349E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    65.994       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9795       1.0000         .10000E-03   10000.    
    21 'norm      '    15.185       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.602       1.0000         .10000E-03   10000.    
    23 'norm      '    .45640       1.0000         .10000E-03   10000.    
    24 'norm      '    21.585       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .88289       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90944       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5621.296     FROM MIGRAD    STATUS=FAILED      1091 CALLS     4271 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.046        45.930        .78498E-04    .20276E-05
   2  Prefactor     .10000E-03    2.5547        .11692E-02** at limit **
   3  Prefactor     18.003        15.478        .94398E-04   -.25652E-04
   4  Prefactor     67.806        37.987        .48743E-04    .29807E-04
   5  norm          .44209E-02    1.0599        .23234E-01    .39568E-03
   6  Prefactor     16.684        33.269        .98060E-04    .24347E-05
   7  norm          .10000E-03    12.866        .18142E-02** at limit **
   8  norm          .68877        113.52        .56778E-02    .83489E-03
   9  norm          .10000E-03    4.6269        .30966E-03** at limit **
  10  Prefactor     .10000E-03    8.7663        .18142E-02** at limit **
  11  Prefactor     1.8722        6.7609        .15215E-02    .15141E-03
  12  Prefactor     .10000E-03    37.353        .18142E-02** at limit **
  13  norm          21.900        14.861        .85593E-04    .79694E-04
  14  norm          2.4050        2.3632        .10934E-03   -.29008E-04
  15  Prefactor     4.4380        13.264        .19121E-03   -.12367E-04
  16  norm          2.4589        1.5024        .67462E-04   -.72632E-04
  17  norm          .10000E-03    20.166        .18142E-02** at limit **
  18  norm          .10000E-03    4.9657        .31966E-03** at limit **
  19  Prefactor     65.940        51.079        .49404E-04    .10355E-04
  20  Prefactor     6.9783        12.842        .75927E-03    .14973E-04
  21  norm          15.186        15.488        .10278E-03    .22122E-06
  22  Prefactor     16.602        23.281        .98296E-04    .41174E-04
  23  norm          .45662        .93736        .10061E-03   -.35155E-03
  24  norm          21.585        10.486        .86212E-04    .85451E-04
  25  Normalizat    .88283        .25494        .34194E-03    .93725E-04
  26  Prefactor     .90944        .12929        .18164E-03    .58748E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5621.296     FROM SIMPLEX   STATUS=UNCHANGED   1522 CALLS     5793 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.046        45.930        .73071E-06   -1.4687    
   2  Prefactor     .10000E-03    2.5547        .28551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.003        15.478        .71977E-06   -1.4859    
   4  Prefactor     67.806        37.987        .68092E-06   -1.4059    
   5  norm          .44209E-02    1.0599        .76050E-06   -1.5695    
   6  Prefactor     16.684        33.269        .72146E-06   -1.4891    
   7  norm          .10000E-03    12.866        .21148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .68877        113.52        .75473E-06   -1.5542    
   9  norm          .10000E-03    4.6269        .13232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7663        .76064E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8722        6.7609        .74764E-06   -1.5434    
  12  Prefactor     .10000E-03    37.353        .90010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.900        14.861        .71572E-06   -1.4772    
  14  norm          2.4050        2.3632        .74594E-06   -1.5398    
  15  Prefactor     4.4380        13.264        .74242E-06   -1.5287    
  16  norm          2.4589        1.5024        .74602E-06   -1.5394    
  17  norm          .10000E-03    20.166        .24680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.9657        .21364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     65.940        51.079        .68625E-06   -1.4082    
  20  Prefactor     6.9783        12.842        .73349E-06   -1.5180    
  21  norm          15.186        15.488        .71830E-06   -1.4928    
  22  Prefactor     16.602        23.281        .72683E-06   -1.4893    
  23  norm          .45662        .93736        .75705E-06   -1.5573    
  24  norm          21.585        10.486        .71644E-06   -1.4778    
  25  Normalizat    .88283        .25494        .47019E-06   -.97066    
  26  Prefactor     .90944        .12929        .46411E-06   -.95812    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5621.296     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     6240 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.046        45.905        .31399E-05   -.14483E-05
   2  Prefactor     .10000E-03    2.5548        .23385E-03** at limit **
   3  Prefactor     18.003        15.478        .37759E-05   -.12043E-05
   4  Prefactor     67.806        37.986        .97487E-05   -.41982E-05
   5  norm          .44214E-02    .99271        .24599E-01    .35432E-03
   6  Prefactor     16.685        33.262        .39224E-05   -.11594E-05
   7  norm          .10000E-03    12.868        .36285E-03** at limit **
   8  norm          .68882        114.84        .11356E-02    .33767E-04
   9  norm          .10000E-03    4.6271        .61933E-04** at limit **
  10  Prefactor     .10000E-03    8.7667        .36285E-03** at limit **
  11  Prefactor     1.8722        6.7544        .60861E-04   -.18680E-06
  12  Prefactor     .10000E-03    37.360        .36285E-03** at limit **
  13  norm          21.900        14.852        .34237E-05   -.13282E-05
  14  norm          2.4050        2.3628        .43738E-05    .10397E-06
  15  Prefactor     4.4380        13.254        .76483E-05   -.29729E-06
  16  norm          2.4589        1.5021        .26985E-05   -.84260E-06
  17  norm          .10000E-03    20.171        .36285E-03** at limit **
  18  norm          .10000E-03    4.9660        .63932E-04** at limit **
  19  Prefactor     65.940        51.067        .19761E-05   -.23012E-05
  20  Prefactor     6.9783        12.832        .30371E-04    .28898E-05
  21  norm          15.186        15.487        .41113E-05     .0000    
  22  Prefactor     16.602        23.283        .39318E-05   -.46263E-06
  23  norm          .45663        .93707        .40242E-05   -.56502E-06
  24  norm          21.585        10.485        .34485E-05   -.65934E-06
  25  Normalizat    .88284        .25437        .13678E-04   -.96418E-05
  26  Prefactor     .90944        .12933        .36328E-04   -.17212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0465
  Prefactor  = 0.0001
  Prefactor  = 18.0029
  Prefactor  = 67.8064
  norm       = 0.00442138
  Prefactor  = 16.6846
  norm       = 0.0001
  norm       = 0.68882
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.87219
  Prefactor  = 0.0001
  norm       = 21.8999
  norm       = 2.40501
  Prefactor  = 4.43802
  norm       = 2.45893
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 65.9396
  Prefactor  = 6.97829
  norm       = 15.1862
  Prefactor  = 16.6021
  norm       = 0.456628
  norm       = 21.5848
  Normalizat = 0.882837
  Prefactor  = 0.909437
 **********
 **   18 **HESSE 
 **********

 FCN=   5621.296     FROM HESSE     STATUS=OK           442 CALLS     6682 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.046        45.719        .62799E-06   -1.4687    
   2  Prefactor     .10000E-03    2.5548        .46770E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.003        15.481        .75518E-06   -1.4859    
   4  Prefactor     67.806        37.973        .19497E-05   -1.4059    
   5  norm          .44214E-02    1.0028        .24379E-01   -1.5695    
   6  Prefactor     16.685        33.193        .78448E-06   -1.4891    
   7  norm          .10000E-03    12.868        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .68882        114.70        .22711E-03   -1.5542    
   9  norm          .10000E-03    4.6272        .12387E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7667        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8722        6.7557        .24345E-05   -1.5434    
  12  Prefactor     .10000E-03    37.360        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.900        14.851        .68474E-06   -1.4772    
  14  norm          2.4050        2.3628        .43738E-05   -1.5398    
  15  Prefactor     4.4380        13.239        .15297E-05   -1.5287    
  16  norm          2.4589        1.5020        .53970E-06   -1.5394    
  17  norm          .10000E-03    20.171        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.9660        .12786E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     65.940        51.484        .39523E-06   -1.4082    
  20  Prefactor     6.9783        12.831        .30371E-04   -1.5180    
  21  norm          15.186        15.487        .41113E-05   -1.4928    
  22  Prefactor     16.602        23.307        .39318E-05   -1.4893    
  23  norm          .45663        .93696        .80484E-06   -1.5573    
  24  norm          21.585        10.487        .68970E-06   -1.4778    
  25  Normalizat    .88284        .25409        .27355E-05   -.97066    
  26  Prefactor     .90944        .12940        .72656E-05   -.95812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33377e-11
Minuit parameter uncertainties:
  1  45.7808
  2  1.55408e-07
  3  15.4843
  4  37.9866
  5  0.13166
  6  33.2297
  7  1.69666e-06
  8  17.8111
  9  2.90445e-07
  10  4.96029e-07
  11  6.75842
  12  7.52219e-07
  13  14.8537
  14  2.36288
  15  13.2481
  16  1.50206
  17  1.02418e-07
  18  8.33904e-08
  19  51.5186
  20  12.8361
  21  15.4912
  22  23.3199
  23  0.936993
  24  10.4884
  25  0.254436
  26  0.129448
Done.

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

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  2.190e+01  1.485e+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.094e-01  1.294e-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:  8.828e-01  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.10
Ra Dec: 121.300 -1.181
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 7.80e-08 +/- 5.29e-08
Energy Flux (Fixed Index): 2.49e-05 +/- 1.69e-05

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) = 5621.07397154
delta logL = 0.222109108379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5621.06946433
delta logL = 0.226616310274

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.187       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8742       1.0000          .0000       5.0000    
     3 'Normalizat'    .91391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90147       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=   5621.069     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      247 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.183        17.749        .89146E-04   -.39024E-04
   2  alpha         1.8739        .72958        .15640E-01    .39393E-04
   3  Normalizat    .91392        .22970        .33674E-03    .50662E-03
   4  Prefactor     .90147        .12160        .18238E-03    .75458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 20.1826
  alpha      = 1.87394
  Normalizat = 0.913917
  Prefactor  = 0.901473
 **********
 **   18 **HESSE 
 **********

 FCN=   5621.069     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.183        18.144        .35658E-05   -1.4809    
   2  alpha         1.8739        .74527        .62560E-03   -.25312    
   3  Normalizat    .91392        .23006        .67347E-04   -.95973    
   4  Prefactor     .90147        .12165        .36477E-04   -.96090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10618e-10
Minuit parameter uncertainties:
  1  18.1492
  2  0.757575
  3  0.230307
  4  0.121686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124446': 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) = 5621.06946429
delta logL = 0.226616356999

Extracting fit parameters...

4FGL J0805.2-0110
   Spectrum: LogParabola
254         norm:  2.018e+01  1.815e+01  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  1.874e+00  7.576e-01  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.015e-01  1.217e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.139e-01  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.50
Ra Dec: 121.300 -1.181
Photon Index (Free Index): 1.87 +/- 0.76
Photon Flux (Free Index): 4.91e-08 +/- 6.03e-08
Energy Flux (Free Index): 2.78e-05 +/- 2.16e-05

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/124446/cmap_HighResolution_517190401_517449601_4FGL_J0805.2-0110_daily_bin1072.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.80e-08', energy_flux2='2.78e-05', photon_flux_error='5.29e-08', dlogl='2.27e-01', energy_flux='2.49e-05', photon_flux2='4.91e-08', job_status='DONE', time_completed='2021-08-29 01:55:14.116958', photon_index_error2='0.76', photon_index2='1.87', ts='6.10', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='0.88', time_epoch_completed='1630227314.12', return_code='0', job_id='124446', GAL2='0.90', EG2='0.91', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='6.03e-08', ts2='6.50', photon_index='2.35' WHERE bin_id='1072' AND source_name='4FGL J0805.2-0110' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 01:55:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 124446: <4FGL_J0805.2-0110_daily_bin1072> in cluster <slac> Done

Job <4FGL_J0805.2-0110_daily_bin1072> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 01:40:42 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 01:40:43 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:43 2021
Terminated at Sun Aug 29 01:55:15 2021
Results reported at Sun Aug 29 01:55:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.2-0110_daily_bin1072 121.3 -1.181 517190401 517449601 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 :                                   765.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            873 sec.

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

