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


Performing analysis on: 4FGL_J1435.9-8348_daily_bin1108
RA = 218.978, Dec = -83.8017
tmin = 526521601, tmax = 526780801
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='620769', job_status='RUN', time_executed='2021-09-10 00:46:39.330767', time_epoch_executed='1631259999.33' WHERE source_name='4FGL J1435.9-8348' and cadence='daily' and bin_id='1108'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620769

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620769/ft1_4FGL_J1435.9-8348_daily_bin1108.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620769/ft1_4FGL_J1435.9-8348_daily_bin1108.fits outfile=/scratch/kocevski/620769/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1108.fits ra=218.978 dec=-83.8017 rad=12.0 tmin=526521601.0 tmax=526780801.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.37
user 4.14
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.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/620769/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1108.fits evtable="EVENTS" outfile="/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.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.50
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits" evtable="EVENTS" scfile=/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits sctable="SC_DATA" outfile=/scratch/kocevski/620769/ltcube_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.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/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits
.....................!
real 11.78
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits sctable="SC_DATA" expcube=/scratch/kocevski/620769/ltcube_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.fits outfile=/scratch/kocevski/620769/expmap_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.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/620769/ltcube_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.fits
.....................!
real 190.49
user 185.26
sys 4.50

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
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Added 204 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1435.9-8348 @ 218.978 -83.8017

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits scfile=/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits outfile=/scratch/kocevski/620769/cmap_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.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=218.978 yref=-83.8017 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits scfile=/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits outfile=/scratch/kocevski/620769/cmap_HighResolution_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.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=218.978 yref=-83.8017 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits evtable="EVENTS" scfile=/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/620769/Model_4FGL_J1435.9-8348_daily_bin1108.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 FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1507-622
adding source RCW 86
Working on...
/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits.....................!
real 142.23
user 140.80
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits', '/scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits', expMap='/scratch/kocevski/620769/expmap_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.fits', expCube='/scratch/kocevski/620769/ltcube_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/620769/Model_4FGL_J1435.9-8348_daily_bin1108.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1435.9-8348'

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.034e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
410        Scale:  7.726e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/620769/ft1_filtered_4FGL_J1435.9-8348_daily_bin1108.fits
Spacecraft file(s): /scratch/kocevski/620769/ft2_4FGL_J1435.9-8348_daily_bin1108.fits
Exposure map: /scratch/kocevski/620769/expmap_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.fits
Exposure cube: /scratch/kocevski/620769/ltcube_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/620769/Model_4FGL_J1435.9-8348_daily_bin1108.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) = 10279.2058213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.410       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7094       1.0000         .10000E-03   10000.    
     5 'norm      '    6.9330       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2727       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9704       1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.4091       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.3008       1.0000         .10000E-03   10000.    
    16 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    129.10       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .72083       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10279.20     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1891 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.988        .15335E-06** at limit **
   2  Prefactor     11.409        15.327       -.38014E-06   -.91810E-05
   3  Prefactor     .10000E-03    65.810        .48152E-07** at limit **
   4  Prefactor     5.7108        23.136       -.65365E-06   -.71746E-05
   5  norm          6.9336        6.4979        .57018E-06   -.14413E-05
   6  Prefactor     1.2741        6.8696       -.63582E-06   -.28064E-03
   7  Prefactor     .10000E-03    8.3390        .62032E-08** at limit **
   8  norm          .10000E-03    11.936       -.39694E-07** at limit **
   9  Prefactor     .10000E-03    1.9200       -.41203E-07** at limit **
  10  Prefactor     1.9717        4.9386        .18957E-05   -.12231E-02
  11  norm          .10000E-03    .33728       -.14582E-06** at limit **
  12  Prefactor     .10000E-03    16.919       -.74376E-07** at limit **
  13  norm          9.4077        7.0708        .22648E-06    .40093E-04
  14  norm          .10000E-03    109.68        .22545E-06** at limit **
  15  norm          6.3014        6.8090       -.51674E-06   -.71484E-04
  16  norm          .10000E-03    2.1816        .22346E-06** at limit **
  17  Prefactor     129.07        82.486       -.16169E-04   -.13885E-03
  18  Normalizat    .72072        .28214        .18878E-05    .41188E-04
  19  Prefactor     1.0316        .76298E-01   -.14178E-06    .15339E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.4089
  Prefactor  = 0.0001
  Prefactor  = 5.71081
  norm       = 6.93357
  Prefactor  = 1.27406
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.97166
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.40765
  norm       = 0.0001
  norm       = 6.30142
  norm       = 0.0001
  Prefactor  = 129.071
  Normalizat = 0.720721
  Prefactor  = 1.03157
 **********
 **   18 **HESSE 
 **********

 FCN=   10279.20     FROM HESSE     STATUS=OK           268 CALLS     2159 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.409        15.324        .11860E-03   -1.5032    
   3  Prefactor     .10000E-03    66.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7108        23.065        .16810E-03   -1.5230    
   5  norm          6.9336        6.4835        .15237E-03   -1.5181    
   6  Prefactor     1.2741        6.9832        .39417E-03   -1.5482    
   7  Prefactor     .10000E-03    8.3431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.9518        .13710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9717        15.248        .14770E-02   -1.5427    
  11  norm          .10000E-03    .51541        .11268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.4077        7.0432        .13065E-03   -1.5094    
  14  norm          .10000E-03    110.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.3014        6.8037        .15991E-03   -1.5206    
  16  norm          .10000E-03    2.2006        .14642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     129.07        83.132        .17717E-03   -1.3431    
  18  Normalizat    .72072        .29466        .54975E-03   -1.0308    
  19  Prefactor     1.0316        .81253E-01    .13346E-03   -.91685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.76385e-09
Minuit parameter uncertainties:
  1  2.73042e-05
  2  15.3294
  3  1.67392e-05
  4  22.9689
  5  6.48414
  6  5.96644
  7  1.06952e-06
  8  3.08488e-06
  9  2.20282e-06
  10  10.9697
  11  3.66314e-06
  12  8.77966e-06
  13  7.04386
  14  6.47671e-05
  15  6.8045
  16  4.24195e-05
  17  83.2073
  18  0.295315
  19  0.0812628
Done.

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

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.000e-04  2.203e-06  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
410        Scale:  7.726e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  1.032e+00  8.126e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  7.207e-01  2.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 218.978 -83.802
Photon Flux Upper Limit: 8.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/620769/likelihoodResults_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.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) = 10279.2069399
delta logL = -0.00244261403168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10279.2044973
delta logL = 6.260961527e-09

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.5392       1.0000          .0000       10.000    
     3 'Normalizat'    .72072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7020E+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=   10279.20     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10041E-03    54.754        .13736E-02** at limit **
   2  Index         2.4925        5.4163        .50000        .22467E-04
   3  Normalizat    .72072        .34436E-01    .54974E-03   -.16130E-05
   4  Prefactor     1.0316        .99429E-02    .13346E-03   -.14822E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100414
  Index      = 2.49252
  Normalizat = 0.720721
  Prefactor  = 1.03157
 **********
 **   18 **HESSE 
 **********

 FCN=   10279.20     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10041E-03    216.52        .27471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4925        5.6177        .50000       -.52533    
   3  Normalizat    .72072        .77872E-01    .21990E-04   -1.0308    
   4  Prefactor     1.0316        .22468E-01    .53385E-05   -.91685    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.9127e-08
Minuit parameter uncertainties:
  1  0.0190009
  2  922.954
  3  0.0778838
  4  0.0224678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620769': 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) = 10279.2044971
delta logL = 2.16483385884e-07

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.004e-04  1.900e-02  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  2.493e+00  9.230e+02  0.000e+00  1.000e+01 (-1.000e+00)
410        Scale:  7.726e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  1.032e+00  2.247e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  7.207e-01  7.788e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.978 -83.802

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/620769/cmap_HighResolution_526521601_526780801_4FGL_J1435.9-8348_daily_bin1108.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.17e-08', time_completed='2021-09-10 01:02:18.401953', job_id='620769', GAL2='1.03', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1631260938.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1108' AND source_name='4FGL J1435.9-8348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 01:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 620769: <4FGL_J1435.9-8348_daily_bin1108> in cluster <slac> Done

Job <4FGL_J1435.9-8348_daily_bin1108> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 00:46:17 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:46:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 00:46:19 2021
Terminated at Fri Sep 10 01:02:18 2021
Results reported at Fri Sep 10 01:02:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1435.9-8348_daily_bin1108 218.978 -83.8017 526521601 526780801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1435.9-8348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   934.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             355.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

