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


Performing analysis on: 4FGL_J1435.9-8348_daily_bin1109
RA = 218.978, Dec = -83.8017
tmin = 526780801, tmax = 527040001
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='620771', job_status='RUN', time_executed='2021-09-10 00:48:00.072202', time_epoch_executed='1631260080.07' WHERE source_name='4FGL J1435.9-8348' and cadence='daily' and bin_id='1109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620771

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620771/ft1_4FGL_J1435.9-8348_daily_bin1109.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620771/ft1_4FGL_J1435.9-8348_daily_bin1109.fits outfile=/scratch/kocevski/620771/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1109.fits ra=218.978 dec=-83.8017 rad=12.0 tmin=526780801.0 tmax=527040001.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.39
user 4.14
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.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/620771/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1109.fits evtable="EVENTS" outfile="/scratch/kocevski/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.fits" evtable="EVENTS" scfile=/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits sctable="SC_DATA" outfile=/scratch/kocevski/620771/ltcube_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.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/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits
.....................!
real 12.02
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits sctable="SC_DATA" expcube=/scratch/kocevski/620771/ltcube_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.fits outfile=/scratch/kocevski/620771/expmap_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.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/620771/ltcube_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.fits
.....................!
real 191.17
user 185.47
sys 5.16

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/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.fits scfile=/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits outfile=/scratch/kocevski/620771/cmap_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.fits scfile=/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits outfile=/scratch/kocevski/620771/cmap_HighResolution_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.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.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/620771/ft2_4FGL_J1435.9-8348_daily_bin1109.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/620771/Model_4FGL_J1435.9-8348_daily_bin1109.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/620771/ft1_filtered_4FGL_J1435.9-8348_daily_bin1109.fits.....................!
real 133.04
user 131.50
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13701       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33497E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6002       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .73450E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    2.7884       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .63024E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .39466E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3746       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1824       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25719E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .23805       1.0000         .10000E-03   10000.    
    15 'norm      '    7.3230       1.0000         .10000E-03   10000.    
    16 'norm      '    5.3229       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .44454E-01   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2001       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94358       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=   9437.447     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1386 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.162        .57064E-05** at limit **
   2  Prefactor     .10000E-03    7.4579        .36776E-05** at limit **
   3  Prefactor     2.6789        73.581        .13129E-03   -.34311E-04
   4  Prefactor     .10000E-03    47.311        .20699E-04** at limit **
   5  norm          2.8228        5.1462        .18310E-05   -.69882E-03
   6  Prefactor     .10001E-03    3.1368       -.13632E-06** at limit **
   7  Prefactor     .10000E-03    65.020        .97095E-05** at limit **
   8  norm          .10000E-03    12.279        .49533E-05** at limit **
   9  Prefactor     2.4030        5.5484        .23880E-05   -.92102E-03
  10  Prefactor     .10000E-03    4.2347        .42621E-07** at limit **
  11  norm          1.1830        1.1289        .12474E-06   -.11391E-02
  12  Prefactor     .10000E-03    12.615        .11278E-05** at limit **
  13  norm          .10000E-03    2.5922        .55911E-07** at limit **
  14  norm          .10000E-03    44.686        .55550E-05** at limit **
  15  norm          7.5003        8.1336        .16719E-05   -.15525E-03
  16  norm          5.3438        6.1003        .11281E-05   -.25089E-03
  17  Prefactor     .10000E-03    31.831       -.25209E-04** at limit **
  18  Normalizat    1.1988        .28669       -.48507E-05   -.29179E-03
  19  Prefactor     .94364        .75514E-01   -.51425E-06   -.74156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.6789
  Prefactor  = 0.0001
  norm       = 2.82284
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.40297
  Prefactor  = 0.0001
  norm       = 1.18298
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.50035
  norm       = 5.34381
  Prefactor  = 0.0001
  Normalizat = 1.19884
  Prefactor  = 0.943639
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.194        .19372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.4499        .21343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6789        72.644        .25301E-03   -1.5381    
   4  Prefactor     .10000E-03    47.691        .18621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.8228        5.1207        .24367E-03   -1.5372    
   6  Prefactor     .10001E-03    34.227        .32111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    65.621        .18667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.287        .21270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4030        5.4528        .26587E-03   -1.5398    
  10  Prefactor     .10000E-03    4.2427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1830        1.1049        .95327E-04   -1.5490    
  12  Prefactor     .10000E-03    12.622        .19989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6092        .15272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    44.740        .20300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5003        8.1295        .14822E-03   -1.5160    
  16  norm          5.3438        6.0899        .17420E-03   -1.5246    
  17  Prefactor     .10000E-03    31.862        .18486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1988        .32364        .45684E-03   -.86639    
  19  Prefactor     .94364        .86714E-01    .14088E-03   -.94632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9003e-09
Minuit parameter uncertainties:
  1  9.65054e-07
  2  0.000111562
  3  27.9374
  4  0.000192132
  5  5.12146
  6  0.00107376
  7  0.000136151
  8  9.42246e-06
  9  5.4539
  10  7.0782e-06
  11  1.10489
  12  1.15577e-05
  13  8.66964e-06
  14  4.33616e-05
  15  8.13074
  16  6.09057
  17  2.16742e-06
  18  0.324184
  19  0.0867267
Done.

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

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  2.403e+00  5.454e+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.436e-01  8.673e-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.199e+00  3.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 218.978 -83.802
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/620771/likelihoodResults_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.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) = 9436.16303346
delta logL = 1.28355860082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9435.94725025
delta logL = 1.49934181206

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21383E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.3381       1.0000          .0000       10.000    
     3 'Normalizat'    1.0685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96863       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=   9435.947     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      354 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20853E-02    .18321E-01    .72400E-03** at limit **
   2  Index         7.3510        2.3088        .16403        .20794E-03
   3  Normalizat    1.0684        .63845E-01    .10836        .43058E-04
   4  Prefactor     .96869        .17780E-01    .31497E-01   -.11828E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00208529
  Index      = 7.35101
  Normalizat = 1.06836
  Prefactor  = 0.968693
 **********
 **   18 **HESSE 
 **********

 FCN=   9435.947     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      389 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20853E-02    .49114E-01    .30590E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3510        7.6325        .62216E-02    .48952    
   3  Normalizat    1.0684        .23991        .48032E-03   -.90774    
   4  Prefactor     .96869        .65928E-01    .13918E-03   -.93780    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25468e-10
Minuit parameter uncertainties:
  1  0.019749
  2  4.90574
  3  0.240155
  4  0.065933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620771': 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) = 9435.94724539
delta logL = 1.49934667241

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  2.085e-03  1.975e-02  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  7.351e+00  4.906e+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:  9.687e-01  6.593e-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.068e+00  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 218.978 -83.802
Photon Index (Free Index): 7.35 +/- 4.91
Photon Flux (Free Index): 1.12e-07 +/- 7.36e-08
Energy Flux (Free Index): 1.33e-05 +/- 9.45e-06

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/620771/cmap_HighResolution_526780801_527040001_4FGL_J1435.9-8348_daily_bin1109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', energy_flux2='1.33e-05', dlogl='1.50e+00', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-10 01:02:03.985264', photon_index_error2='4.91', photon_index2='7.35', ts='0.22', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='9.45e-06', EG='1.20', time_epoch_completed='1631260923.99', return_code='0', job_id='620771', GAL2='0.97', EG2='1.07', return_code2='102', photon_flux_error2='7.36e-08', ts2='3.46', photon_index='2.55' WHERE bin_id='1109' AND source_name='4FGL J1435.9-8348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 01:02:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 620771: <4FGL_J1435.9-8348_daily_bin1109> in cluster <slac> Done

Job <4FGL_J1435.9-8348_daily_bin1109> 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) <bullet0098>, 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:04 2021
Results reported at Fri Sep 10 01:02:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1435.9-8348_daily_bin1109 218.978 -83.8017 526780801 527040001 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 :                                   836.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            947 sec.

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

