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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin967
RA = 323.836, Dec = -50.1015
tmin = 489974401, tmax = 490233601
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='605866', job_status='RUN', time_executed='2021-09-26 19:58:27.668521', time_epoch_executed='1632711507.67' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='967'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605866

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605866/ft1_4FGL_J2135.3-5006_daily_bin967.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605866/ft1_4FGL_J2135.3-5006_daily_bin967.fits outfile=/scratch/kocevski/605866/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin967.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=489974401.0 tmax=490233601.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 3.80
user 3.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.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/605866/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin967.fits evtable="EVENTS" outfile="/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.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/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits" evtable="EVENTS" scfile=/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits sctable="SC_DATA" outfile=/scratch/kocevski/605866/ltcube_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.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/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits
.....................!
real 14.42
user 14.08
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits sctable="SC_DATA" expcube=/scratch/kocevski/605866/ltcube_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.fits outfile=/scratch/kocevski/605866/expmap_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.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/605866/ltcube_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.fits
.....................!
real 191.62
user 186.48
sys 4.74

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
Added 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits scfile=/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits outfile=/scratch/kocevski/605866/cmap_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.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=323.836 yref=-50.1015 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits scfile=/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits outfile=/scratch/kocevski/605866/cmap_HighResolution_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.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=323.836 yref=-50.1015 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/605866/Model_4FGL_J2135.3-5006_daily_bin967.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 GAL_V02
Working on...
/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits.....................!
real 57.05
user 55.78
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits', '/scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits', expMap='/scratch/kocevski/605866/expmap_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.fits', expCube='/scratch/kocevski/605866/ltcube_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/605866/Model_4FGL_J2135.3-5006_daily_bin967.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2135.3-5006'

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.639e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/605866/ft1_filtered_4FGL_J2135.3-5006_daily_bin967.fits
Spacecraft file(s): /scratch/kocevski/605866/ft2_4FGL_J2135.3-5006_daily_bin967.fits
Exposure map: /scratch/kocevski/605866/expmap_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.fits
Exposure cube: /scratch/kocevski/605866/ltcube_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/605866/Model_4FGL_J2135.3-5006_daily_bin967.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) = 7357.82846405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.983       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3278       1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.053       1.0000         .10000E-03   10000.    
     4 'norm      '    .70696       1.0000         .10000E-03   10000.    
     5 'Prefactor '    97.680       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6272       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.418       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3485       1.0000         .10000E-03   10000.    
    11 'norm      '    13.165       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4678       1.0000         .10000E-03   10000.    
    13 'Prefactor '    70.434       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .72265       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.6035       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6446       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .46471E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    35.269       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10409E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2121       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71579       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7357.812     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2747 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.974        53.497       -.21529E-06   -.43327E-04
   2  Prefactor     4.3275        2.7598        .10557E-06   -.49457E-04
   3  Prefactor     34.062        20.906        .13010E-06   -.87900E-05
   4  norm          .70647        1.6702        .69585E-06   -.14337E-04
   5  Prefactor     97.688        56.954        .21849E-06    .17382E-04
   6  Prefactor     .10000E-03    47.607       -.11039E-07** at limit **
   7  Prefactor     .10000E-03    5.4921        .13793E-07** at limit **
   8  Prefactor     6.6294        16.456        .40937E-06   -.39478E-05
   9  Prefactor     13.428        22.431        .33579E-06   -.44887E-06
  10  Prefactor     2.3497        2.7254        .14685E-06   -.69979E-04
  11  norm          13.166        5.3123        .67369E-07    .13558E-04
  12  Prefactor     5.4675        7.4786        .36831E-06    .62772E-04
  13  Prefactor     70.464        41.544        .85493E-06    .13338E-03
  14  Prefactor     .10000E-03    2.5401        .38276E-06** at limit **
  15  Prefactor     .72425        2.6126        .16789E-05    .21552E-04
  16  Prefactor     .10000E-03    26.573        .11157E-06** at limit **
  17  norm          3.6037        5.4910        .19334E-06   -.61476E-04
  18  Prefactor     2.6455        2.7382        .11154E-06   -.90825E-05
  19  Prefactor     .10000E-03    2.1583        .99114E-08** at limit **
  20  Prefactor     35.266        26.004        .26395E-06   -.58967E-04
  21  Prefactor     .10000E-03    4.0707       -.82995E-07** at limit **
  22  Prefactor     .10000E-03    32.596       -.36705E-07** at limit **
  23  Normalizat    1.2112        .19732       -.26503E-05   -.28497E-04
  24  Prefactor     .71636        .11880        .12291E-05   -.30091E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.9741
  Prefactor  = 4.32751
  Prefactor  = 34.0625
  norm       = 0.706467
  Prefactor  = 97.6882
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.62944
  Prefactor  = 13.4277
  Prefactor  = 2.34971
  norm       = 13.1661
  Prefactor  = 5.4675
  Prefactor  = 70.4641
  Prefactor  = 0.0001
  Prefactor  = 0.724249
  Prefactor  = 0.0001
  norm       = 3.60369
  Prefactor  = 2.64548
  Prefactor  = 0.000100004
  Prefactor  = 35.2661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21119
  Prefactor  = 0.716362
 **********
 **   18 **HESSE 
 **********

 FCN=   7357.812     FROM HESSE     STATUS=OK           411 CALLS     3158 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.974        53.561        .54096E-04   -1.4224    
   2  Prefactor     4.3275        2.7579        .10784E-03   -1.5292    
   3  Prefactor     34.062        20.887        .68671E-04   -1.4540    
   4  norm          .70647        1.6750        .15865E-03   -1.5540    
   5  Prefactor     97.688        56.960        .40672E-04   -1.3728    
   6  Prefactor     .10000E-03    47.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6557        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6294        16.429        .15588E-03   -1.5193    
   9  Prefactor     13.428        22.412        .10935E-03   -1.4975    
  10  Prefactor     2.3497        2.7152        .14684E-03   -1.5401    
  11  norm          13.166        5.3072        .11040E-03   -1.4982    
  12  Prefactor     5.4675        7.4843        .17184E-03   -1.5240    
  13  Prefactor     70.464        42.031        .47831E-04   -1.4027    
  14  Prefactor     .10000E-03    2.5400        .13334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .72425        2.6396        .25769E-03   -1.5538    
  16  Prefactor     .10000E-03    26.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.6037        5.4756        .21286E-03   -1.5328    
  18  Prefactor     2.6455        2.7368        .14005E-03   -1.5383    
  19  Prefactor     .10000E-03    3.1282        .46548E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     35.266        26.069        .67480E-04   -1.4520    
  21  Prefactor     .10000E-03    4.0822        .16892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    32.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2112        .21569        .25990E-03   -.86258    
  24  Prefactor     .71636        .13177        .21446E-03   -1.0289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52092e-10
Minuit parameter uncertainties:
  1  53.6081
  2  2.75793
  3  20.8916
  4  1.67515
  5  56.9921
  6  5.10216e-05
  7  7.65176e-06
  8  16.4407
  9  22.4255
  10  2.71537
  11  5.30739
  12  7.48559
  13  42.0484
  14  2.92467e-06
  15  2.64006
  16  8.80079e-06
  17  5.47633
  18  2.73697
  19  0.000212378
  20  26.0769
  21  1.43239e-06
  22  1.26272e-06
  23  0.215846
  24  0.131826
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.350e+00  2.715e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  7.164e-01  1.318e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.211e+00  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.56
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 6.46e-06 +/- 7.47e-06

TS (Fixed Index): 1.56
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 8.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/605866/likelihoodResults_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.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) = 7357.78043861
delta logL = 0.0318294687313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7357.77855421
delta logL = 0.033713870509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4982       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1566       1.0000          .0000       10.000    
     3 'Normalizat'    1.2177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7357.779     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      237 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4964        154.84        .64644E-02    .96170E-04
   2  Index         2.1558        6.3586        .24959       -.14343E-04
   3  Normalizat    1.2174        .13079        .58640E-01    .90955E-05
   4  Prefactor     .71398        .60194E-01    .42585E-01    .21130E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.4964
  Index      = 2.15582
  Normalizat = 1.21741
  Prefactor  = 0.71398
 **********
 **   18 **HESSE 
 **********

 FCN=   7357.779     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4964        2.9359        .15484E-03   -1.5392    
   2  Index         2.1558        .99916        .15488E-01   -.60509    
   3  Normalizat    1.2174        .19719        .25934E-03   -.86067    
   4  Prefactor     .71398        .12847        .21478E-03   -1.0298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26543e-12
Minuit parameter uncertainties:
  1  2.93604
  2  1.00927
  3  0.197311
  4  0.128524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605866': 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) = 7357.77855274
delta logL = 0.0337153373321

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.496e+00  2.936e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.156e+00  1.009e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  7.140e-01  1.285e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.217e+00  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.16 +/- 1.01
Photon Flux (Free Index): 1.56e-08 +/- 2.49e-08
Energy Flux (Free Index): 7.64e-06 +/- 1.14e-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/605866/cmap_HighResolution_489974401_490233601_4FGL_J2135.3-5006_daily_bin967.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='7.64e-06', photon_flux_error='2.37e-08', dlogl='3.37e-02', energy_flux='6.46e-06', photon_flux2='1.56e-08', job_status='DONE', time_completed='2021-09-26 20:11:18.746028', photon_index_error2='1.01', photon_index2='2.16', ts='1.56', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='8.60e-08', energy_flux_error2='1.14e-05', EG='1.21', time_epoch_completed='1632712278.75', return_code='0', job_id='605866', GAL2='0.71', EG2='1.22', return_code2='0', energy_flux_error='7.47e-06', photon_flux_error2='2.49e-08', ts2='1.63', photon_index='2.43' WHERE bin_id='967' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:11:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 605866: <4FGL_J2135.3-5006_daily_bin967> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin967> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:55:15 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:55:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 19:55:44 2021
Terminated at Sun Sep 26 20:11:19 2021
Results reported at Sun Sep 26 20:11:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin967 323.836 -50.1015 489974401 490233601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2135.3-5006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   761.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            964 sec.

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

