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


Performing analysis on: 4FGL_J0814.2-1013_daily_bin1441
RA = 123.551, Dec = -10.2172
tmin = 612835201, tmax = 613094401
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='336898', job_status='RUN', time_executed='2021-08-29 13:42:29.217221', time_epoch_executed='1630269749.22' WHERE source_name='4FGL J0814.2-1013' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/336898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/336898/ft1_4FGL_J0814.2-1013_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/336898/ft1_4FGL_J0814.2-1013_daily_bin1441.fits outfile=/scratch/kocevski/336898/ft1_filteredMKT_4FGL_J0814.2-1013_daily_bin1441.fits ra=123.551 dec=-10.2172 rad=12.0 tmin=612835201.0 tmax=613094401.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.59
user 2.67
sys 1.88

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/336898/ltcube_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.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/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits
.....................!
real 14.38
user 11.87
sys 2.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/336898/ltcube_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.fits outfile=/scratch/kocevski/336898/expmap_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.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/336898/ltcube_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.fits
.....................!
real 197.54
user 185.98
sys 7.53

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/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits scfile=/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits outfile=/scratch/kocevski/336898/cmap_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.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 2.41
user 0.39
sys 1.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits scfile=/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits outfile=/scratch/kocevski/336898/cmap_HighResolution_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.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 2.25
user 0.39
sys 1.81

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/336898/Model_4FGL_J0814.2-1013_daily_bin1441.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/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits.....................!
real 120.32
user 116.08
sys 3.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits', '/scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits', expMap='/scratch/kocevski/336898/expmap_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.fits', expCube='/scratch/kocevski/336898/ltcube_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/336898/Model_4FGL_J0814.2-1013_daily_bin1441.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/336898/ft1_filtered_4FGL_J0814.2-1013_daily_bin1441.fits
Spacecraft file(s): /scratch/kocevski/336898/ft2_4FGL_J0814.2-1013_daily_bin1441.fits
Exposure map: /scratch/kocevski/336898/expmap_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.fits
Exposure cube: /scratch/kocevski/336898/ltcube_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/336898/Model_4FGL_J0814.2-1013_daily_bin1441.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) = 9189.20002664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86397       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.942       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3101       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .93084       1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23315E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    10.530       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .53986E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.834       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.4171       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5926       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82991       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=   9189.126     FROM MIGRAD    STATUS=CONVERGED    819 CALLS     2938 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86361        1.3414        .13235E-03   -.31766E-03
   2  Prefactor     24.940        23.885        .80209E-04   -.81358E-04
   3  Prefactor     .10000E-03    13.320        .18142E-02** at limit **
   4  norm          .10000E-03    5.6912        .18142E-02** at limit **
   5  norm          .10000E-03    6.1875        .18142E-02** at limit **
   6  norm          3.3106        2.8796        .14676E-03    .18049E-03
   7  Prefactor     .10000E-03    6.2299        .18142E-02** at limit **
   8  norm          .93514        27.173        .49023E-02   -.39233E-03
   9  norm          .10000E-03    2.7315        .21925E-02** at limit **
  10  Prefactor     .15630E-03    9.6505        .60149E-01** at limit **
  11  norm          10.532        1.9656        .54595E-04   -.10480E-02
  12  Prefactor     .10000E-03    10.505        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.9586        .26939E-02** at limit **
  14  norm          .10009E-03    21.796        .12407    ** at limit **
  15  norm          12.824        9.2071        .11181E-03   -.11530E-03
  16  Prefactor     .10000E-03    11.428        .18142E-02** at limit **
  17  norm          .10000E-03    6.0758        .18142E-02** at limit **
  18  norm          1.4168        1.8903        .14982E-03   -.89387E-04
  19  Prefactor     .10000E-03    4.0543        .18142E-02** at limit **
  20  Normalizat    1.5929        .22063        .34346E-03    .82155E-04
  21  Prefactor     .82993        .86459E-01    .18170E-03   -.68701E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.863605
  Prefactor  = 24.9395
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.31064
  Prefactor  = 0.0001
  norm       = 0.935138
  norm       = 0.000100004
  Prefactor  = 0.000156304
  norm       = 10.5318
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100091
  norm       = 12.8243
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.41679
  Prefactor  = 0.0001
  Normalizat = 1.59287
  Prefactor  = 0.829933
 **********
 **   18 **HESSE 
 **********

 FCN=   9189.126     FROM HESSE     STATUS=OK           317 CALLS     3255 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86361        1.3412        .52939E-05   -1.5522    
   2  Prefactor     24.940        23.884        .32084E-05   -1.4709    
   3  Prefactor     .10000E-03    13.320        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.6914        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.1893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3106        2.8793        .58704E-05   -1.5344    
   7  Prefactor     .10000E-03    6.2317        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .93514        27.165        .19609E-03   -1.5515    
   9  norm          .10000E-03    2.7413        .43851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15630E-03    7.4574        .70419E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.532        1.9655        .10919E-04   -1.5059    
  12  Prefactor     .10000E-03    10.507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.0542        .53877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10009E-03    21.067        .12722       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.824        9.2047        .44724E-05   -1.4992    
  16  Prefactor     .10000E-03    11.429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.0782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4168        1.8902        .59930E-05   -1.5470    
  19  Prefactor     .10000E-03    4.0544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5929        .21988        .13738E-04   -.75201    
  21  Prefactor     .82993        .86460E-01    .72680E-05   -.98634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04268e-09
Minuit parameter uncertainties:
  1  1.34128
  2  23.8933
  3  4.77936e-05
  4  8.29041e-06
  5  2.07556e-05
  6  2.87946
  7  5.22678e-05
  8  10.0849
  9  0.000216572
  10  0.040987
  11  1.96551
  12  0.000114902
  13  0.00013131
  14  0.00277659
  15  9.20574
  16  0.000137838
  17  3.06295e-05
  18  1.89025
  19  6.76534e-07
  20  0.220014
  21  0.0864743
Done.

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

Extracting fit parameters...

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.149e-04  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:  8.299e-01  8.647e-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.593e+00  2.200e-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: 9.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/336898/likelihoodResults_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.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) = 9189.12683818
delta logL = -0.000453794320492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9189.12638831
delta logL = -3.92348556488e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25614E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2130       1.0000          .0000       10.000    
     3 'Normalizat'    1.5934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82978       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.

 FCN=   9189.126     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      215 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10008E-03    .73950        .10728    ** at limit **
   2  Index         2.2186        1.6390        .50000       -.11856E-03
   3  Normalizat    1.5929        .24239E-02    .77616E-01    .55476E-05
   4  Prefactor     .82993        .97022E-03    .44104E-01    .21797E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100082
  Index      = 2.21859
  Normalizat = 1.59287
  Prefactor  = 0.829934
 **********
 **   18 **HESSE 
 **********

 FCN=   9189.126     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      248 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10008E-03    172.90        .39744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2186        6.8596        .50000       -.58990    
   3  Normalizat    1.5929        .16480E-01    .34346E-03   -.75201    
   4  Prefactor     .82993        .66023E-02    .18170E-03   -.98634    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.70404e-08
Minuit parameter uncertainties:
  1  0.0075719
  2  11.3861
  3  0.0164798
  4  0.00660231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/336898': 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) = 9189.12638175
delta logL = 2.63298716163e-06

Extracting fit parameters...

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  1.001e-04  7.572e-03  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.219e+00  1.139e+01  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:  8.299e-01  6.602e-03  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.593e+00  1.648e-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/336898/cmap_HighResolution_612835201_613094401_4FGL_J0814.2-1013_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='9.91e-08', time_completed='2021-08-29 13:57:05.228751', job_id='336898', GAL2='0.83', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1630270625.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.63e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1441' AND source_name='4FGL J0814.2-1013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 13:57:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 336898: <4FGL_J0814.2-1013_daily_bin1441> in cluster <slac> Done

Job <4FGL_J0814.2-1013_daily_bin1441> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 13:40:30 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 13:40:31 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:40:31 2021
Terminated at Sun Aug 29 13:57:06 2021
Results reported at Sun Aug 29 13:57:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.2-1013_daily_bin1441 123.551 -10.2172 612835201 613094401 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 :                                   892.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             306.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            996 sec.

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

