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


Performing analysis on: 4FGL_J1435.9-8348_daily_bin1445
RA = 218.978, Dec = -83.8017
tmin = 613872001, tmax = 614131201
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='623803', job_status='RUN', time_executed='2021-09-10 00:59:03.470216', time_epoch_executed='1631260743.47' WHERE source_name='4FGL J1435.9-8348' and cadence='daily' and bin_id='1445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623803

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623803/ft1_4FGL_J1435.9-8348_daily_bin1445.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623803/ft1_4FGL_J1435.9-8348_daily_bin1445.fits outfile=/scratch/kocevski/623803/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1445.fits ra=218.978 dec=-83.8017 rad=12.0 tmin=613872001.0 tmax=614131201.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 2.27
user 2.05
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623803/ft1_filtered_4FGL_J1435.9-8348_daily_bin1445.fits" evtable="EVENTS" scfile=/scratch/kocevski/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits sctable="SC_DATA" outfile=/scratch/kocevski/623803/ltcube_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.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/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits
.....................!
real 12.73
user 12.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623803/ft1_filtered_4FGL_J1435.9-8348_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits sctable="SC_DATA" expcube=/scratch/kocevski/623803/ltcube_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.fits outfile=/scratch/kocevski/623803/expmap_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.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/623803/ltcube_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.fits
.....................!
real 191.73
user 185.77
sys 5.29

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/623803/ft1_filtered_4FGL_J1435.9-8348_daily_bin1445.fits scfile=/scratch/kocevski/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits outfile=/scratch/kocevski/623803/cmap_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.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.64
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623803/ft1_filtered_4FGL_J1435.9-8348_daily_bin1445.fits scfile=/scratch/kocevski/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits outfile=/scratch/kocevski/623803/cmap_HighResolution_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623803/ft1_filtered_4FGL_J1435.9-8348_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/623803/ft2_4FGL_J1435.9-8348_daily_bin1445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623803/Model_4FGL_J1435.9-8348_daily_bin1445.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/623803/ft1_filtered_4FGL_J1435.9-8348_daily_bin1445.fits.....................!
real 139.76
user 137.65
sys 1.53

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.120       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.492       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.271       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .42778E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6816       1.0000         .10000E-03   10000.    
     8 'norm      '    3.6680       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.786       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    28.670       1.0000         .10000E-03   10000.    
    14 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.1980       1.0000         .10000E-03   10000.    
    16 'norm      '    .25563E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.6864       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .77267       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=   9410.532     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     1977 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.202        60.622        .98745E-04   -.14846E-05
   2  Prefactor     41.502        30.251        .36552E-04    .66759E-04
   3  Prefactor     5.0615        79.401       -.45231E-04   -.97421E-04
   4  Prefactor     22.280        23.406       -.50590E-05   -.10274E-03
   5  norm          .10000E-03    1.1568        .64611E-07** at limit **
   6  Prefactor     .10000E-03    2.4513        .13722E-05** at limit **
   7  Prefactor     7.6914        40.422       -.26845E-05   -.60890E-04
   8  norm          3.6704        83.949       -.10895E-05   -.56743E-05
   9  Prefactor     11.787        5.8579        .72928E-06   -.38901E-03
  10  Prefactor     .10000E-03    34.810       -.20696E-04** at limit **
  11  norm          .10000E-03    1.0270        .27149E-06** at limit **
  12  Prefactor     .10000E-03    15.268        .11684E-06** at limit **
  13  norm          28.669        11.566        .11210E-05   -.16128E-04
  14  norm          .10000E-03    43.343        .26123E-05** at limit **
  15  norm          8.1968        9.5487        .25088E-05   -.94231E-04
  16  norm          .10000E-03    3.1207       -.11691E-05** at limit **
  17  Prefactor     .10000E-03    33.918        .16956E-04** at limit **
  18  Normalizat    1.6866        .28165       -.12732E-04    .31958E-03
  19  Prefactor     .77263        .70044E-01    .12672E-05   -.90785E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2019
  Prefactor  = 41.5015
  Prefactor  = 5.06151
  Prefactor  = 22.2799
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 7.69141
  norm       = 3.67045
  Prefactor  = 11.787
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 28.6686
  norm       = 0.0001
  norm       = 8.19684
  norm       = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.68662
  Prefactor  = 0.772632
 **********
 **   18 **HESSE 
 **********

 FCN=   9410.532     FROM HESSE     STATUS=OK           268 CALLS     2245 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.202        60.645        .91598E-04   -1.4831    
   2  Prefactor     41.502        30.206        .62232E-04   -1.4419    
   3  Prefactor     5.0615        79.238        .17666E-03   -1.5258    
   4  Prefactor     22.280        23.458        .84876E-04   -1.4764    
   5  norm          .10000E-03    1.1664        .10187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.186        .28819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6914        40.581        .14469E-03   -1.5153    
   8  norm          3.6704        84.115        .21090E-03   -1.5325    
   9  Prefactor     11.787        5.8460        .11669E-03   -1.5021    
  10  Prefactor     .10000E-03    35.730        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0695        .19171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          28.669        11.568        .74823E-04   -1.4637    
  14  norm          .10000E-03    43.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.1968        9.5415        .14002E-03   -1.5135    
  16  norm          .10000E-03    9.6882        .33160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    33.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.6866        .33160        .40569E-03   -.72661    
  19  Prefactor     .77263        .83392E-01    .15172E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61184e-09
Minuit parameter uncertainties:
  1  60.8406
  2  30.217
  3  40.116
  4  23.4678
  5  8.31495e-06
  6  0.000428941
  7  35.3715
  8  35.1974
  9  5.84629
  10  0.000763186
  11  2.14687e-05
  12  1.83911e-05
  13  11.5692
  14  7.78452e-06
  15  9.54322
  16  0.00036131
  17  0.000216102
  18  0.332038
  19  0.0834059
Done.

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

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.179e+01  5.846e+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:  7.726e-01  8.341e-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.687e+00  3.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.85
Ra Dec: 218.978 -83.802
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 1.39e-07 +/- 6.89e-08
Energy Flux (Fixed Index): 3.84e-05 +/- 1.91e-05

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) = 9410.52945844
delta logL = 0.00252201048897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9410.52801733
delta logL = 0.00396311118311

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.138       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5048       1.0000          .0000       10.000    
     3 'Normalizat'    1.6915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77183       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=   9410.528     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      240 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.138        7.3068        .11498E-03    .39906E-03
   2  Index         2.5049        .47103        .63917E-02    .71734E-04
   3  Normalizat    1.6913        .31415        .40526E-03   -.11558E-04
   4  Prefactor     .77186        .82539E-01    .15179E-03   -.39696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1376
  Index      = 2.50487
  Normalizat = 1.69129
  Prefactor  = 0.771862
 **********
 **   18 **HESSE 
 **********

 FCN=   9410.528     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.138        7.0869        .45992E-05   -1.5011    
   2  Index         2.5049        .45640        .25567E-03   -.52247    
   3  Normalizat    1.6913        .31422        .16210E-04   -.72536    
   4  Prefactor     .77186        .82569E-01    .60715E-05   -1.0077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08617e-11
Minuit parameter uncertainties:
  1  7.08736
  2  0.457248
  3  0.314591
  4  0.0825818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623803': 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) = 9410.52801714
delta logL = 0.00396330618241

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.214e+01  7.087e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  2.505e+00  4.572e-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:  7.719e-01  8.258e-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.691e+00  3.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.84
Ra Dec: 218.978 -83.802
Photon Index (Free Index): 2.50 +/- 0.46
Photon Flux (Free Index): 1.35e-07 +/- 7.95e-08
Energy Flux (Free Index): 3.91e-05 +/- 2.06e-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/623803/cmap_HighResolution_613872001_614131201_4FGL_J1435.9-8348_daily_bin1445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-07', energy_flux2='3.91e-05', photon_flux_error='6.89e-08', dlogl='3.96e-03', energy_flux='3.84e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-10 01:12:40.462829', photon_index_error2='0.46', photon_index2='2.50', ts='6.85', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='1.69', time_epoch_completed='1631261560.46', return_code='0', job_id='623803', GAL2='0.77', EG2='1.69', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='7.95e-08', ts2='6.84', photon_index='2.55' WHERE bin_id='1445' AND source_name='4FGL J1435.9-8348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 01:12:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 623803: <4FGL_J1435.9-8348_daily_bin1445> in cluster <slac> Done

Job <4FGL_J1435.9-8348_daily_bin1445> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 00:56:06 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:56:10 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:56:10 2021
Terminated at Fri Sep 10 01:12:41 2021
Results reported at Fri Sep 10 01:12:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1435.9-8348_daily_bin1445 218.978 -83.8017 613872001 614131201 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 :                                   800.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            995 sec.

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

