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


Performing analysis on: 4FGL_J1435.9-8348_daily_bin1171
RA = 218.978, Dec = -83.8017
tmin = 542851201, tmax = 543110401
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='620861', job_status='RUN', time_executed='2021-09-10 00:47:25.732908', time_epoch_executed='1631260045.73' WHERE source_name='4FGL J1435.9-8348' and cadence='daily' and bin_id='1171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620861

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

Retrieving the FT1 file...

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

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

Retrieving 4 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620861/ft1_4FGL_J1435.9-8348_daily_bin1171.fits


Retrieving the FT1 file...

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

Retrieving 4 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620861/ft1_4FGL_J1435.9-8348_daily_bin1171.fits outfile=/scratch/kocevski/620861/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1171.fits ra=218.978 dec=-83.8017 rad=12.0 tmin=542851201.0 tmax=543110401.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 0.75
user 0.58
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.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/620861/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1171.fits evtable="EVENTS" outfile="/scratch/kocevski/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.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.47
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.fits" evtable="EVENTS" scfile=/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits sctable="SC_DATA" outfile=/scratch/kocevski/620861/ltcube_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.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/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits
.....................!
real 1.81
user 1.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits sctable="SC_DATA" expcube=/scratch/kocevski/620861/ltcube_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.fits outfile=/scratch/kocevski/620861/expmap_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.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/620861/ltcube_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.fits
.....................!
real 191.20
user 185.48
sys 5.36

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/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.fits scfile=/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits outfile=/scratch/kocevski/620861/cmap_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.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.51
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.fits scfile=/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits outfile=/scratch/kocevski/620861/cmap_HighResolution_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.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.51
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/620861/ft2_4FGL_J1435.9-8348_daily_bin1171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/620861/Model_4FGL_J1435.9-8348_daily_bin1171.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/620861/ft1_filtered_4FGL_J1435.9-8348_daily_bin1171.fits....................................!
real 18.46
user 17.17
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10689E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    615.68       1.0000         .10000E-03   10000.    
     4 'Prefactor '    473.78       1.0000         .10000E-03   10000.    
     5 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18769E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    563.27       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.512       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .69394E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10385E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    427.38       1.0000         .10000E-03   10000.    
    15 'norm      '    .19794E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    43.096       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14088E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10054E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0653       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   352.7171     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1555 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14706E-03    50.131       -.59943E-05** at limit **
   2  Prefactor     .10603E-03    59.966       -.56083E-05** at limit **
   3  Prefactor     615.67        1.0885       -.41253E-08    .38680E-02
   4  Prefactor     473.79        1.0576        .37097E-08   -.27346E-02
   5  norm          .10001E-03    26.170       -.31244E-05** at limit **
   6  Prefactor     .10001E-03    23.457       -.12360E-06** at limit **
   7  Prefactor     .10800E-03    64.431       -.52611E-05** at limit **
   8  norm          563.27        1.0492       -.31665E-08    .27391E-02
   9  Prefactor     17.514        1.0116        .13639E-07    .43292E-04
  10  Prefactor     .19868E-03    2.7618       -.80660E-06** at limit **
  11  norm          .10000E-03    6.6912        .29253E-05** at limit **
  12  Prefactor     .12765E-03    38.249       -.68723E-05** at limit **
  13  norm          .10000E-03    17.925        .32738E-05** at limit **
  14  norm          427.38        1.3381        .10125E-07   -.67295E-02
  15  norm          .11871E-03    79.890       -.75064E-05** at limit **
  16  norm          43.103        1.2352        .29189E-07   -.82376E-03
  17  Prefactor     .44952E-03    60.244       -.43662E-05** at limit **
  18  Normalizat    .10000E-01    6.4676        .15719E-04** at limit **
  19  Prefactor     1.0656        .24129        .11725E-04    .10318E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000147057
  Prefactor  = 0.000106029
  Prefactor  = 615.672
  Prefactor  = 473.787
  norm       = 0.000100015
  Prefactor  = 0.000100007
  Prefactor  = 0.000108
  norm       = 563.272
  Prefactor  = 17.5136
  Prefactor  = 0.000198676
  norm       = 0.0001
  Prefactor  = 0.000127652
  norm       = 0.0001
  norm       = 427.383
  norm       = 0.000118706
  norm       = 43.1033
  Prefactor  = 0.000449522
  Normalizat = 0.01
  Prefactor  = 1.06562
 **********
 **   18 **HESSE 
 **********

 FCN=   352.7171     FROM HESSE     STATUS=OK           292 CALLS     1847 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14706E-03    188.52        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10603E-03    223.02        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     615.67        602.85        .41603E-03   -1.0693    
   4  Prefactor     473.79        401.59        .47071E-03   -1.1320    
   5  norm          .10001E-03    26.173        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    23.456        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10800E-03    257.20        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          563.27        507.82        .43374E-03   -1.0916    
   9  Prefactor     17.514        31.010        .23927E-02   -1.4871    
  10  Prefactor     .19868E-03    742.98        .10492E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.6002        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12765E-03    128.57        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    17.920        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          427.38        592.34        .49440E-03   -1.1543    
  15  norm          .11871E-03    103.92        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          43.103        45.849        .15267E-02   -1.4394    
  17  Prefactor     .44952E-03    363.60        .90712E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .10000E-01    6.1632        .32095       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0656        .30370        .39087E-01   -.90573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.5297e-06
Minuit parameter uncertainties:
  1  0.18897
  2  0.073613
  3  609.358
  4  404.02
  5  0.00124334
  6  0.000834891
  7  0.0911166
  8  512.015
  9  31.0385
  10  0.548473
  11  4.09144e-05
  12  0.119509
  13  2.27655e-05
  14  601.149
  15  0.0883341
  16  45.8862
  17  0.717372
  18  4.37101e-06
  19  0.304188
Done.

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

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.751e+01  3.104e+01  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.066e+00  3.042e-01  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.000e-02  4.371e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 218.978 -83.802
Photon Flux Upper Limit: 1.42e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/620861/likelihoodResults_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.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) = 352.715964149
delta logL = 0.0011138958883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 352.714932562
delta logL = 0.00214548366296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.726       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6527       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0649       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=   352.7149     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      258 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.682        41.437        .10100E-03   -.63935E-04
   2  Index         2.6539        1.7089        .44556E-02   -.18197E-04
   3  Normalizat    .10000E-01    6.4446        .14723E-01** at limit **
   4  Prefactor     1.0649        .24565        .14366E-03   -.19084E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6822
  Index      = 2.6539
  Normalizat = 0.01
  Prefactor  = 1.06491
 **********
 **   18 **HESSE 
 **********

 FCN=   352.7149     FROM HESSE     STATUS=OK            23 CALLS      281 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.682        39.731        .40400E-05   -1.4916    
   2  Index         2.6539        1.6416        .17822E-03   -.48841    
   3  Normalizat    .10000E-01    6.4452        .29446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0649        .24548        .28733E-04   -.90596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18267e-10
Minuit parameter uncertainties:
  1  39.7978
  2  1.68203
  3  6.14456e-05
  4  0.245743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620861': 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) = 352.71493182
delta logL = 0.00214622534492

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.568e+01  3.980e+01  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  2.654e+00  1.682e+00  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.065e+00  2.457e-01  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.000e-02  6.145e-05  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/620861/cmap_HighResolution_542851201_543110401_4FGL_J1435.9-8348_daily_bin1171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-01', job_status='DONE', photon_flux_upper_limit='1.42e-06', time_completed='2021-09-10 00:52:42.193987', job_id='620861', GAL2='1.06', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631260362.19', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.15e-03', ts2='0.49', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1171' AND source_name='4FGL J1435.9-8348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:52:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 620861: <4FGL_J1435.9-8348_daily_bin1171> in cluster <slac> Done

Job <4FGL_J1435.9-8348_daily_bin1171> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 00:46:22 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:46:24 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:24 2021
Terminated at Fri Sep 10 00:52:42 2021
Results reported at Fri Sep 10 00:52:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1435.9-8348_daily_bin1171 218.978 -83.8017 542851201 543110401 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 :                                   319.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   378 sec.
    Turnaround time :                            380 sec.

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

