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


Performing analysis on: 4FGL_J1435.9-8348_daily_bin1110
RA = 218.978, Dec = -83.8017
tmin = 527040001, tmax = 527299201
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='620772', job_status='RUN', time_executed='2021-09-10 00:47:21.977758', time_epoch_executed='1631260041.98' WHERE source_name='4FGL J1435.9-8348' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620772

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620772/ft1_4FGL_J1435.9-8348_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620772/ft1_4FGL_J1435.9-8348_daily_bin1110.fits outfile=/scratch/kocevski/620772/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1110.fits ra=218.978 dec=-83.8017 rad=12.0 tmin=527040001.0 tmax=527299201.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 6.00
user 5.67
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.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/620772/ft1_filteredMKT_4FGL_J1435.9-8348_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.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/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/620772/ltcube_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.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/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits
.....................!
real 12.09
user 11.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/620772/ltcube_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.fits outfile=/scratch/kocevski/620772/expmap_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.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/620772/ltcube_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.fits
.....................!
real 191.18
user 186.12
sys 4.57

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/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.fits scfile=/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits outfile=/scratch/kocevski/620772/cmap_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=218.978 yref=-83.8017 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.fits scfile=/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits outfile=/scratch/kocevski/620772/cmap_HighResolution_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.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/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/620772/ft2_4FGL_J1435.9-8348_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/620772/Model_4FGL_J1435.9-8348_daily_bin1110.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/620772/ft1_filtered_4FGL_J1435.9-8348_daily_bin1110.fits.....................!
real 105.23
user 103.58
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.323       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .18539       1.0000         .10000E-03   10000.    
     5 'norm      '    3.8182       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.535       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10209E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.938       1.0000         .10000E-03   10000.    
    11 'norm      '    .15280E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.861       1.0000         .10000E-03   10000.    
    13 'norm      '    17.777       1.0000         .10000E-03   10000.    
    14 'norm      '    .11450E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    17.984       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .32326E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1411       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94212       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=   6934.551     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1734 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11822E-03    216.55        .24284E-04** at limit **
   2  Prefactor     .10000E-03    9.1653       -.55266E-06** at limit **
   3  Prefactor     17.340        2.6225       -.38138E-06   -.75878E-03
   4  Prefactor     .48317        279.59       -.26156E-05    .67756E-03
   5  norm          3.8180        4.0005        .18888E-06   -.29216E-04
   6  Prefactor     16.528        9.6606       -.87914E-06   -.10064E-03
   7  Prefactor     .10000E-03    10.405       -.19373E-05** at limit **
   8  norm          .10000E-03    20.149       -.77572E-05** at limit **
   9  Prefactor     .10000E-03    2.4009        .30780E-05** at limit **
  10  Prefactor     10.962        16.533       -.25023E-05   -.51050E-03
  11  norm          .10000E-03    40.185        .18321E-04** at limit **
  12  Prefactor     57.190        37.223        .28408E-05   -.56870E-02
  13  norm          17.782        11.580       -.40047E-06   -.20359E-03
  14  norm          .10032E-03    119.99        .12051E-04** at limit **
  15  norm          .10000E-03    11.430        .42758E-05** at limit **
  16  norm          17.974        10.060       -.19406E-05   -.27703E-03
  17  Prefactor     .10030E-03    4.9219        .35356E-05** at limit **
  18  Normalizat    1.1410        .38507        .19323E-05    .33226E-05
  19  Prefactor     .94214        .10201        .25088E-05    .12723E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000118218
  Prefactor  = 0.0001
  Prefactor  = 17.3404
  Prefactor  = 0.483171
  norm       = 3.81799
  Prefactor  = 16.528
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9616
  norm       = 0.0001
  Prefactor  = 57.1896
  norm       = 17.7823
  norm       = 0.000100318
  norm       = 0.0001
  norm       = 17.9741
  Prefactor  = 0.000100296
  Normalizat = 1.14097
  Prefactor  = 0.942135
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.551     FROM HESSE     STATUS=OK           320 CALLS     2054 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11822E-03    277.58        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.1513        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.340        25.415        .24058E-02   -1.4875    
   4  Prefactor     .48317        23.518        .12935       -1.5569    
   5  norm          3.8180        3.9967        .51639E-02   -1.5317    
   6  Prefactor     16.528        9.6668        .24624E-02   -1.4895    
   7  Prefactor     .10000E-03    10.333        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    20.081        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3770        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.962        16.663        .30284E-02   -1.5046    
  11  norm          .10000E-03    .84969        .59352E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     57.190        62.219        .13300E-02   -1.4194    
  13  norm          17.782        11.698        .23748E-02   -1.4864    
  14  norm          .10032E-03    120.90        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.269        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          17.974        10.057        .23611E-02   -1.4860    
  17  Prefactor     .10030E-03    394.28        .10679E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1410        .34706        .10963       -.88447    
  19  Prefactor     .94214        .90198E-01    .32760E-01   -.94684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95977e-07
Minuit parameter uncertainties:
  1  0.142894
  2  7.3039e-06
  3  25.4305
  4  6.74397
  5  3.99703
  6  9.66768
  7  8.28719e-06
  8  0.000118228
  9  4.03923e-08
  10  16.6705
  11  1.07257e-05
  12  62.2894
  13  11.6993
  14  0.0124341
  15  8.11039e-06
  16  10.0581
  17  0.0217387
  18  0.347761
  19  0.0902122
Done.

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

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.000e-04  4.039e-08  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.421e-01  9.021e-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.141e+00  3.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/620772/likelihoodResults_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6934.55290285
delta logL = -0.00198687739885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6934.55091482
delta logL = 1.1504835129e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5073       1.0000          .0000       10.000    
     3 'Normalizat'    1.1410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94214       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=   6934.213     FROM MIGRAD    STATUS=CONVERGED    143 CALLS      301 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3147        2.8622        .35527E-01    .76156E-04
   2  Index         1.1160        .47680        .29785       -.77633E-05
   3  Normalizat    1.1413        .36646        .48604E-03   -.38407E-04
   4  Prefactor     .94019        .10126        .14476E-03   -.42253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31472
  Index      = 1.11605
  Normalizat = 1.14128
  Prefactor  = 0.94019
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.213     FROM HESSE     STATUS=OK            31 CALLS      332 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3147        2.7297        .19759E-02   -1.5479    
   2  Index         1.1160        .72179        .12038E-01   -.88955    
   3  Normalizat    1.1413        .36666        .19442E-04   -.88437    
   4  Prefactor     .94019        .10133        .57903E-05   -.94751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31305e-10
Minuit parameter uncertainties:
  1  2.72992
  2  0.728266
  3  0.367487
  4  0.10135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620772': 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) = 6934.21311016
delta logL = 0.337805809491

Extracting fit parameters...

4FGL J1435.9-8348
   Spectrum: PowerLaw
408    Prefactor:  1.315e+00  2.730e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        Index:  1.116e+00  7.283e-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.402e-01  1.014e-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.141e+00  3.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/620772/cmap_HighResolution_527040001_527299201_4FGL_J1435.9-8348_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-10 01:00:05.939959', job_id='620772', GAL2='0.94', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631260805.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.38e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1110' AND source_name='4FGL J1435.9-8348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 01:00:05 PDT 2021


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

Job <4FGL_J1435.9-8348_daily_bin1110> 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) <bullet0295>, 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:00:06 2021
Results reported at Fri Sep 10 01:00:06 2021

Your job looked like:

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

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

