/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 21 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 = 7686
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1435.9-8348_daily_bin114
RA = 218.978, Dec = -83.8017
tmin = 268876801, tmax = 269136001
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='616121', job_status='RUN', time_executed='2021-09-10 00:32:05.411421', time_epoch_executed='1631259125.41' WHERE source_name='4FGL J1435.9-8348' and cadence='daily' and bin_id='114'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/616121

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/616121/ft1_4FGL_J1435.9-8348_daily_bin114.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/616121/ft1_4FGL_J1435.9-8348_daily_bin114.fits outfile=/scratch/kocevski/616121/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin114.fits ra=218.978 dec=-83.8017 rad=12.0 tmin=268876801.0 tmax=269136001.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 1.66
user 1.48
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.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/616121/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin114.fits evtable="EVENTS" outfile="/scratch/kocevski/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits" evtable="EVENTS" scfile=/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits sctable="SC_DATA" outfile=/scratch/kocevski/616121/ltcube_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.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/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits
.....................!
real 12.49
user 12.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits sctable="SC_DATA" expcube=/scratch/kocevski/616121/ltcube_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.fits outfile=/scratch/kocevski/616121/expmap_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.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/616121/ltcube_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.fits
.....................!
real 191.03
user 185.84
sys 4.82

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/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits scfile=/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits outfile=/scratch/kocevski/616121/cmap_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits scfile=/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits outfile=/scratch/kocevski/616121/cmap_HighResolution_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/616121/Model_4FGL_J1435.9-8348_daily_bin114.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/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits.....................!
real 148.48
user 146.91
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits', '/scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits', expMap='/scratch/kocevski/616121/expmap_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.fits', expCube='/scratch/kocevski/616121/ltcube_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/616121/Model_4FGL_J1435.9-8348_daily_bin114.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/616121/ft1_filtered_4FGL_J1435.9-8348_daily_bin114.fits
Spacecraft file(s): /scratch/kocevski/616121/ft2_4FGL_J1435.9-8348_daily_bin114.fits
Exposure map: /scratch/kocevski/616121/expmap_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.fits
Exposure cube: /scratch/kocevski/616121/ltcube_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/616121/Model_4FGL_J1435.9-8348_daily_bin114.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) = 10637.7367213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9627       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.4842       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2558       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.7634       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8694       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-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 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10686E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    25.988       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4213       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93005       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=   10637.68     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1645 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9677        139.42        .27251E-05   -.19345E-04
   2  Prefactor     .10000E-03    24.196        .24689E-06** at limit **
   3  Prefactor     .10000E-03    11.737        .37961E-07** at limit **
   4  Prefactor     .10000E-03    7.0187        .70168E-07** at limit **
   5  norm          4.4841        3.8644       -.17867E-06   -.40097E-04
   6  Prefactor     1.2554        5.7700        .12861E-04   -.14915E-03
   7  Prefactor     .10000E-03    16.561        .12475E-06** at limit **
   8  norm          8.5751        30.598        .63769E-06   -.82130E-04
   9  Prefactor     1.8696        2.7983       -.22949E-06   -.17115E-03
  10  Prefactor     .10000E-03    5.0171       -.39582E-06** at limit **
  11  norm          .10000E-03    .33218        .10451E-06** at limit **
  12  Prefactor     .10000E-03    7.2917        .21552E-09** at limit **
  13  norm          .10000E-03    2.5541        .15413E-06** at limit **
  14  norm          .10001E-03    116.49       -.10132E-06** at limit **
  15  norm          .10000E-03    8.8758        .31103E-06** at limit **
  16  norm          25.989        9.0213        .78461E-07   -.44084E-03
  17  Prefactor     .10000E-03    55.455        .53056E-06** at limit **
  18  Normalizat    1.4211        .27219       -.60416E-05    .36334E-05
  19  Prefactor     .93015        .70977E-01    .13297E-05    .13875E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.48413
  Prefactor  = 1.25539
  Prefactor  = 0.0001
  norm       = 8.5751
  Prefactor  = 1.86962
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100013
  norm       = 0.0001
  norm       = 25.9891
  Prefactor  = 0.0001
  Normalizat = 1.42111
  Prefactor  = 0.930148
 **********
 **   18 **HESSE 
 **********

 FCN=   10637.68     FROM HESSE     STATUS=OK           264 CALLS     1909 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9677        140.68        .13388E-03   -1.5109    
   2  Prefactor     .10000E-03    24.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.0250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.4841        3.8668        .18252E-03   -1.5284    
   6  Prefactor     1.2554        5.8366        .19925E-02   -1.5484    
   7  Prefactor     .10000E-03    16.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.5751        30.659        .13540E-03   -1.5122    
   9  Prefactor     1.8696        2.7777        .20386E-03   -1.5434    
  10  Prefactor     .10000E-03    5.0430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .50901        .11482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.2927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5666        .16098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    116.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.0316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          25.989        9.0339        .78582E-04   -1.4688    
  17  Prefactor     .10000E-03    55.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4211        .31103        .44630E-03   -.80020    
  19  Prefactor     .93015        .82737E-01    .14682E-03   -.95095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94123e-09
Minuit parameter uncertainties:
  1  71.236
  2  0.000148618
  3  2.14385e-05
  4  1.08747e-05
  5  3.86705
  6  5.41441
  7  1.64098e-05
  8  30.7153
  9  2.77789
  10  7.35374e-05
  11  6.27886e-06
  12  6.22776e-06
  13  2.0422e-05
  14  0.00249706
  15  7.17182e-05
  16  9.03433
  17  6.19168e-06
  18  0.311443
  19  0.0827478
Done.

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

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.870e+00  2.778e+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

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.301e-01  8.275e-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:  1.421e+00  3.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 218.978 -83.802
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/616121/likelihoodResults_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.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): 0
logL (Free Index) = 10635.7166494
delta logL = 1.95864991429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10635.6895119
delta logL = 1.98578746275

Fit tolerance = 1e-08

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

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

 FCN=   10635.69     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      221 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4526        2.2819        .65315E-02   -.13775E-03
   2  Index         1.2928        .32443        .25583       -.10581E-03
   3  Normalizat    1.4408        .25731        .10011        .23433E-04
   4  Prefactor     .92607        .70718E-01    .33276E-01   -.61361E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45261
  Index      = 1.29283
  Normalizat = 1.44077
  Prefactor  = 0.926074
 **********
 **   18 **HESSE 
 **********

 FCN=   10635.69     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4526        3.0354        .14613E-03   -1.5395    
   2  Index         1.2928        .50155        .97144E-02   -.83520    
   3  Normalizat    1.4408        .29491        .44354E-03   -.79456    
   4  Prefactor     .92607        .81286E-01    .14703E-03   -.95236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0985e-12
Minuit parameter uncertainties:
  1  3.03554
  2  0.503437
  3  0.29526
  4  0.081297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/616121': 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) = 10635.6895117
delta logL = 1.98578766336

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  2.453e+00  3.036e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  1.293e+00  5.034e-01  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:  9.261e-01  8.130e-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:  1.441e+00  2.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.72
Ra Dec: 218.978 -83.802
Photon Index (Free Index): 1.29 +/- 0.50
Photon Flux (Free Index): 1.02e-08 +/- 1.16e-08
Energy Flux (Free Index): 6.40e-05 +/- 8.48e-05

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/616121/cmap_HighResolution_268876801_269136001_4FGL_J1435.9-8348_daily_bin114.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-03', comment='SUCCESS', energy_flux2='6.40e-05', dlogl='1.99e+00', photon_flux2='1.02e-08', job_status='DONE', time_completed='2021-09-10 00:47:10.677392', photon_index_error2='0.50', photon_index2='1.29', ts='0.75', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='8.48e-05', EG='1.42', time_epoch_completed='1631260030.68', return_code='0', job_id='616121', GAL2='0.93', EG2='1.44', return_code2='0', photon_flux_error2='1.16e-08', ts2='4.72', photon_index='2.55' WHERE bin_id='114' AND source_name='4FGL J1435.9-8348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:47:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 616121: <4FGL_J1435.9-8348_daily_bin114> in cluster <slac> Done

Job <4FGL_J1435.9-8348_daily_bin114> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:31:30 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:31:32 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:31:32 2021
Terminated at Fri Sep 10 00:47:11 2021
Results reported at Fri Sep 10 00:47:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1435.9-8348_daily_bin114 218.978 -83.8017 268876801 269136001 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 :                                   904.17 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             360.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            941 sec.

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

