/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 0 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2135.3-5006_daily_bin361
RA = 323.836, Dec = -50.1015
tmin = 332899201, tmax = 333158401
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='602871', job_status='RUN', time_executed='2021-09-26 19:46:06.307472', time_epoch_executed='1632710766.31' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/602871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/602871/ft1_4FGL_J2135.3-5006_daily_bin361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/602871/ft1_4FGL_J2135.3-5006_daily_bin361.fits outfile=/scratch/kocevski/602871/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin361.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=332899201.0 tmax=333158401.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.24
user 3.98
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.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/602871/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin361.fits evtable="EVENTS" outfile="/scratch/kocevski/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits" evtable="EVENTS" scfile=/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits sctable="SC_DATA" outfile=/scratch/kocevski/602871/ltcube_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.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/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits
.....................!
real 15.15
user 14.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/602871/ltcube_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.fits outfile=/scratch/kocevski/602871/expmap_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.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/602871/ltcube_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.fits
.....................!
real 192.30
user 186.69
sys 5.05

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/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits scfile=/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits outfile=/scratch/kocevski/602871/cmap_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.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.55
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits scfile=/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits outfile=/scratch/kocevski/602871/cmap_HighResolution_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/602871/Model_4FGL_J2135.3-5006_daily_bin361.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/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits.....................!
real 65.61
user 63.04
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits', '/scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits', expMap='/scratch/kocevski/602871/expmap_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.fits', expCube='/scratch/kocevski/602871/ltcube_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/602871/Model_4FGL_J2135.3-5006_daily_bin361.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/602871/ft1_filtered_4FGL_J2135.3-5006_daily_bin361.fits
Spacecraft file(s): /scratch/kocevski/602871/ft2_4FGL_J2135.3-5006_daily_bin361.fits
Exposure map: /scratch/kocevski/602871/expmap_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.fits
Exposure cube: /scratch/kocevski/602871/ltcube_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/602871/Model_4FGL_J2135.3-5006_daily_bin361.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) = 9057.00070785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.4313       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0749       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.057       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22414       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5943       1.0000         .10000E-03   10000.    
    11 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .89296E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .50317       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0711       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.443       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    70.508       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0386       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0467       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=   9056.995     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     2810 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.967        .44128E-06** at limit **
   2  Prefactor     .10000E-03    1.1279       -.68533E-07** at limit **
   3  Prefactor     .10000E-03    14.052        .24826E-06** at limit **
   4  norm          4.4309        1.5689       -.59171E-08    .96352E-04
   5  Prefactor     .10000E-03    18.461       -.24499E-06** at limit **
   6  Prefactor     .10000E-03    21.675        .58283E-06** at limit **
   7  Prefactor     1.0726        6.2924       -.87544E-06   -.70829E-05
   8  Prefactor     17.035        21.422        .40554E-05    .42536E-03
   9  Prefactor     .12395        23.944        .54638E-05   -.16073E-03
  10  Prefactor     2.5966        2.8446       -.42707E-07    .12846E-04
  11  norm          .10001E-03    2.2055        .18892E-06** at limit **
  12  Prefactor     .10000E-03    2.7594       -.19238E-06** at limit **
  13  Prefactor     .10000E-03    9.1336        .57166E-07** at limit **
  14  Prefactor     .10000E-03    31.662        .12146E-04** at limit **
  15  Prefactor     .10000E-03    1.1206        .13859E-06** at limit **
  16  Prefactor     .10000E-03    69.364        .59987E-06** at limit **
  17  norm          .50127        1.6233        .21001E-05   -.10640E-02
  18  Prefactor     1.0709        2.3092        .45191E-06    .38923E-03
  19  Prefactor     .10000E-03    2.9041        .35016E-06** at limit **
  20  Prefactor     15.451        20.972       -.64701E-06   -.64364E-04
  21  Prefactor     .10000E-03    5.2072        .15741E-05** at limit **
  22  Prefactor     70.389        67.118        .37908E-05    .73045E-04
  23  Normalizat    1.0387        .17085        .26192E-06    .27432E-03
  24  Prefactor     1.0467        .11101        .67970E-07    .39742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.43094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.07264
  Prefactor  = 17.0347
  Prefactor  = 0.123954
  Prefactor  = 2.59656
  norm       = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.501268
  Prefactor  = 1.07088
  Prefactor  = 0.0001
  Prefactor  = 15.4509
  Prefactor  = 0.0001
  Prefactor  = 70.3889
  Normalizat = 1.03875
  Prefactor  = 1.04672
 **********
 **   18 **HESSE 
 **********

 FCN=   9056.995     FROM HESSE     STATUS=OK           407 CALLS     3217 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.0141        .19449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.4309        1.5670        .68159E-04   -1.5287    
   5  Prefactor     .10000E-03    18.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0726        6.4387        .45083E-03   -1.5501    
   8  Prefactor     17.035        22.012        .96977E-04   -1.4882    
   9  Prefactor     .12395        22.478        .10493       -1.5638    
  10  Prefactor     2.5966        2.8292        .16097E-03   -1.5386    
  11  norm          .10001E-03    3.9681        .24427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7741        .15441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.1400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.399        .37735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.1275        .98319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    69.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .50127        9.8324        .22567E-02   -1.5566    
  18  Prefactor     1.0709        2.0379        .20558E-02   -1.5501    
  19  Prefactor     .10000E-03    2.9422        .15815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.451        21.162        .10192E-03   -1.4922    
  21  Prefactor     .10000E-03    5.1901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     70.389        67.228        .23903E-03   -1.4028    
  23  Normalizat    1.0387        .19844        .28278E-03   -.91743    
  24  Prefactor     1.0467        .13109        .19309E-03   -.91188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.80495e-09
Minuit parameter uncertainties:
  1  1.90474e-05
  2  4.47469e-05
  3  2.03242e-05
  4  1.56698
  5  2.81774e-05
  6  3.47918e-05
  7  5.2566
  8  22.0222
  9  3.33831
  10  2.82933
  11  0.000439556
  12  2.50993e-06
  13  1.27064e-06
  14  0.000448757
  15  1.02915e-06
  16  2.53603e-05
  17  4.44052
  18  2.03802
  19  6.98871e-06
  20  21.1718
  21  2.7331e-05
  22  67.3008
  23  0.198578
  24  0.131128
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.597e+00  2.829e+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:  1.047e+00  1.311e-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.039e+00  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 2.27e-08 +/- 2.47e-08
Energy Flux (Fixed Index): 7.14e-06 +/- 7.78e-06

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

Saving results to:
/scratch/kocevski/602871/likelihoodResults_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.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) = 9056.97820702
delta logL = 0.0164154444356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9056.97550156
delta logL = 0.019120895593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8111       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2552       1.0000          .0000       10.000    
     3 'Normalizat'    1.0431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0448       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=   9056.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      206 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8112        113.19        .60652E-02    .44782E-03
   2  Index         2.2555        5.5164        .24501        .23127E-04
   3  Normalizat    1.0432        .71628E-01    .63810E-01    .19734E-04
   4  Prefactor     1.0448        .41479E-01    .40225E-01    .40193E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.81116
  Index      = 2.2555
  Normalizat = 1.04317
  Prefactor  = 1.04476
 **********
 **   18 **HESSE 
 **********

 FCN=   9056.976     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8112        3.2109        .16996E-03   -1.5373    
   2  Index         2.2555        .87156        .13548E-01   -.58105    
   3  Normalizat    1.0432        .18935        .28224E-03   -.91598    
   4  Prefactor     1.0448        .12966        .19324E-03   -.91252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73241e-10
Minuit parameter uncertainties:
  1  3.21113
  2  0.878001
  3  0.189474
  4  0.129695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/602871': 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) = 9056.97550148
delta logL = 0.0191209850727

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.811e+00  3.211e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.255e+00  8.780e-01  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:  1.045e+00  1.297e-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.043e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.26 +/- 0.88
Photon Flux (Free Index): 1.97e-08 +/- 2.61e-08
Energy Flux (Free Index): 8.04e-06 +/- 1.07e-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/602871/cmap_HighResolution_332899201_333158401_4FGL_J2135.3-5006_daily_bin361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', comment='SUCCESS', photon_flux='2.27e-08', energy_flux2='8.04e-06', photon_flux_error='2.47e-08', dlogl='1.91e-02', energy_flux='7.14e-06', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-09-26 20:00:41.111966', photon_index_error2='0.88', photon_index2='2.26', ts='1.37', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='8.28e-08', energy_flux_error2='1.07e-05', EG='1.04', time_epoch_completed='1632711641.11', return_code='0', job_id='602871', GAL2='1.04', EG2='1.04', return_code2='0', energy_flux_error='7.78e-06', photon_flux_error2='2.61e-08', ts2='1.41', photon_index='2.43' WHERE bin_id='361' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:00:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 602871: <4FGL_J2135.3-5006_daily_bin361> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin361> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:45:27 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:45:56 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:45:56 2021
Terminated at Sun Sep 26 20:00:41 2021
Results reported at Sun Sep 26 20:00:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin361 323.836 -50.1015 332899201 333158401 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 :                                   867.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            914 sec.

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

