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


Performing analysis on: 4FGL_J0814.2-1013_daily_bin1016
RA = 123.551, Dec = -10.2172
tmin = 502675201, tmax = 502934401
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='333815', job_status='RUN', time_executed='2021-08-29 13:32:39.231023', time_epoch_executed='1630269159.23' WHERE source_name='4FGL J0814.2-1013' and cadence='daily' and bin_id='1016'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/333815

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/333815/ft1_4FGL_J0814.2-1013_daily_bin1016.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/333815/ft1_4FGL_J0814.2-1013_daily_bin1016.fits outfile=/scratch/kocevski/333815/ft1_filteredMKT_4FGL_J0814.2-1013_daily_bin1016.fits ra=123.551 dec=-10.2172 rad=12.0 tmin=502675201.0 tmax=502934401.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 9.28
user 3.36
sys 5.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.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/333815/ft1_filteredMKT_4FGL_J0814.2-1013_daily_bin1016.fits evtable="EVENTS" outfile="/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.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 6.24
user 0.34
sys 5.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits" evtable="EVENTS" scfile=/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits sctable="SC_DATA" outfile=/scratch/kocevski/333815/ltcube_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.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/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits
.....................!
real 18.74
user 12.00
sys 6.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits sctable="SC_DATA" expcube=/scratch/kocevski/333815/ltcube_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.fits outfile=/scratch/kocevski/333815/expmap_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.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/333815/ltcube_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.fits
.....................!
real 197.60
user 185.15
sys 11.99

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0814.2-1013 @ 123.551 -10.2172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits scfile=/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits outfile=/scratch/kocevski/333815/cmap_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.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=123.551 yref=-10.2172 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 5.95
user 0.38
sys 5.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits scfile=/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits outfile=/scratch/kocevski/333815/cmap_HighResolution_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.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=123.551 yref=-10.2172 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 7.53
user 0.39
sys 5.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/333815/Model_4FGL_J0814.2-1013_daily_bin1016.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/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits.....................!
real 111.66
user 98.39
sys 8.60

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits', '/scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits', expMap='/scratch/kocevski/333815/expmap_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.fits', expCube='/scratch/kocevski/333815/ltcube_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/333815/Model_4FGL_J0814.2-1013_daily_bin1016.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0814.2-1013'

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  3.187e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.113e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.815e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/333815/ft1_filtered_4FGL_J0814.2-1013_daily_bin1016.fits
Spacecraft file(s): /scratch/kocevski/333815/ft2_4FGL_J0814.2-1013_daily_bin1016.fits
Exposure map: /scratch/kocevski/333815/expmap_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.fits
Exposure cube: /scratch/kocevski/333815/ltcube_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/333815/Model_4FGL_J0814.2-1013_daily_bin1016.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) = 7372.47114438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7644       1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.713       1.0000         .10000E-03   10000.    
     4 'norm      '    .11511E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .92469       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1957       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.5784       1.0000         .10000E-03   10000.    
    18 'norm      '    .16293E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .99995       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0198       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7372.468     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2307 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3408        1.8204       -.10146E-06   -.10826E-03
   2  Prefactor     1.7658        3.5714        .96469E-06   -.52896E-03
   3  Prefactor     45.705        45.945       -.81942E-05   -.12316E-04
   4  norm          .37459        10.870        .17765E-06   -.51512E-04
   5  norm          .10000E-03    13.988        .10786E-05** at limit **
   6  norm          .10000E-03    2.4052        .45834E-06** at limit **
   7  Prefactor     .10000E-03    2.4054       -.16866E-06** at limit **
   8  norm          .10000E-03    3.2796       -.25559E-06** at limit **
   9  norm          .10000E-03    .80984       -.55624E-07** at limit **
  10  Prefactor     .10000E-03    3.3542        .29090E-06** at limit **
  11  norm          .10000E-03    .35106       -.41306E-07** at limit **
  12  Prefactor     .10000E-03    3.9704        .42662E-06** at limit **
  13  Prefactor     .92586        4.1196       -.36702E-06   -.15554E-03
  14  norm          .10000E-03    8.1311       -.97522E-06** at limit **
  15  norm          1.1942        13.127       -.46973E-05   -.59245E-04
  16  Prefactor     .10000E-03    14.897        .24421E-06** at limit **
  17  norm          8.5814        8.8254        .85237E-06    .13345E-03
  18  norm          .10000E-03    2.8628       -.52848E-06** at limit **
  19  Prefactor     .10000E-03    32.078       -.56796E-06** at limit **
  20  Normalizat    1.0003        .20460        .15512E-05    .71332E-04
  21  Prefactor     1.0195        .86157E-01   -.12246E-06    .14484E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3408
  Prefactor  = 1.7658
  Prefactor  = 45.7052
  norm       = 0.374589
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.925859
  norm       = 0.0001
  norm       = 1.19416
  Prefactor  = 0.0001
  norm       = 8.58137
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00029
  Prefactor  = 1.01946
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.468     FROM HESSE     STATUS=OK           315 CALLS     2622 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3408        1.8319        .95591E-04   -1.5402    
   2  Prefactor     1.7658        17.677        .15769E-02   -1.5442    
   3  Prefactor     45.705        45.953        .59301E-04   -1.4355    
   4  norm          .37459        72.091        .54956E-02   -1.5586    
   5  norm          .10000E-03    14.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.5042        .25976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4087        .13004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.2920        .15184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .81717        .75443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.3670        .15350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .36167        .99290E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.9824        .16703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .92586        4.0986        .33909E-03   -1.5516    
  14  norm          .10000E-03    8.1397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1942        13.504        .41581E-03   -1.5489    
  16  Prefactor     .10000E-03    14.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.5814        8.7401        .13686E-03   -1.5122    
  18  norm          .10000E-03    6.1267        .27610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    32.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0003        .22291        .37993E-03   -.93021    
  21  Prefactor     1.0195        .95698E-01    .15766E-03   -.92084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1273e-08
Minuit parameter uncertainties:
  1  1.83197
  2  11.1779
  3  45.9889
  4  10.4045
  5  1.53358e-05
  6  4.78222e-06
  7  8.31579e-07
  8  1.01025e-06
  9  3.24934e-07
  10  2.34056e-06
  11  4.8105e-07
  12  1.89785e-06
  13  3.89625
  14  3.79152e-06
  15  8.03333
  16  1.33608e-05
  17  8.74143
  18  1.29769e-05
  19  6.72229e-05
  20  0.22312
  21  0.0957144
Done.

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

Extracting fit parameters...

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.898e-06  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.113e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.815e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.019e+00  9.571e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.000e+00  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.551 -10.217
Photon Flux Upper Limit: 7.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/333815/likelihoodResults_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.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) = 7372.46935654
delta logL = -0.00119625025218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7372.46816018
delta logL = 1.11428562377e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0967       1.0000          .0000       10.000    
     3 'Normalizat'    1.0003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+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=   7372.468     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      244 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10051E-03    31.778        .16872E-02** at limit **
   2  Index         2.0623        5.3819        .50000        .28005E-04
   3  Normalizat    1.0003        .16911E-01    .37993E-03   -.66728E-05
   4  Prefactor     1.0195        .71291E-02    .15766E-03   -.16296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100513
  Index      = 2.06227
  Normalizat = 1.00029
  Prefactor  = 1.01946
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.468     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10051E-03    144.19        .33745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0623        8.5503        .50000       -.62802    
   3  Normalizat    1.0003        .37204E-01    .15197E-04   -.93021    
   4  Prefactor     1.0195        .15683E-01    .63066E-05   -.92084    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.05935e-08
Minuit parameter uncertainties:
  1  0.0172472
  2  323.958
  3  0.0372053
  4  0.0156831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/333815': 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): 102
logL (Free Index) = 7372.46815997
delta logL = 3.18168531521e-07

Extracting fit parameters...

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  1.005e-04  1.725e-02  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.062e+00  3.240e+02  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.815e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.019e+00  1.568e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.000e+00  3.721e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.551 -10.217

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/333815/cmap_HighResolution_502675201_502934401_4FGL_J0814.2-1013_daily_bin1016.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2021-08-29 13:45:40.427607', job_id='333815', GAL2='1.02', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630269940.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1016' AND source_name='4FGL J0814.2-1013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 13:45:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 333815: <4FGL_J0814.2-1013_daily_bin1016> in cluster <slac> Done

Job <4FGL_J0814.2-1013_daily_bin1016> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 29 13:30:47 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 13:30:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 13:30:48 2021
Terminated at Sun Aug 29 13:45:42 2021
Results reported at Sun Aug 29 13:45:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.2-1013_daily_bin1016 123.551 -10.2172 502675201 502934401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0814.2-1013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   859.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

