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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1097
RA = 323.836, Dec = -50.1015
tmin = 523670401, tmax = 523929601
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='606058', job_status='RUN', time_executed='2021-09-26 19:58:13.620366', time_epoch_executed='1632711493.62' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1097'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606058

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606058/ft1_4FGL_J2135.3-5006_daily_bin1097.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606058/ft1_4FGL_J2135.3-5006_daily_bin1097.fits outfile=/scratch/kocevski/606058/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1097.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=523670401.0 tmax=523929601.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.58
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606058/ft1_filtered_4FGL_J2135.3-5006_daily_bin1097.fits" evtable="EVENTS" scfile=/scratch/kocevski/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits sctable="SC_DATA" outfile=/scratch/kocevski/606058/ltcube_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.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/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits
.....................!
real 14.77
user 14.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J2135.3-5006_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits sctable="SC_DATA" expcube=/scratch/kocevski/606058/ltcube_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.fits outfile=/scratch/kocevski/606058/expmap_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.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/606058/ltcube_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.fits
.....................!
real 193.02
user 187.13
sys 5.38

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/606058/ft1_filtered_4FGL_J2135.3-5006_daily_bin1097.fits scfile=/scratch/kocevski/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits outfile=/scratch/kocevski/606058/cmap_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J2135.3-5006_daily_bin1097.fits scfile=/scratch/kocevski/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits outfile=/scratch/kocevski/606058/cmap_HighResolution_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606058/ft1_filtered_4FGL_J2135.3-5006_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/606058/ft2_4FGL_J2135.3-5006_daily_bin1097.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606058/Model_4FGL_J2135.3-5006_daily_bin1097.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/606058/ft1_filtered_4FGL_J2135.3-5006_daily_bin1097.fits.....................!
real 48.91
user 47.61
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0984       1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.684       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6824       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .57264       1.0000         .10000E-03   10000.    
    11 'norm      '    11.552       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5058       1.0000         .10000E-03   10000.    
    16 'Prefactor '    55.185       1.0000         .10000E-03   10000.    
    17 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.170       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3632       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2468       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10610E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11902E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1934       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0455       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=   6103.219     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2722 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    69.425        .42536E-06** at limit **
   2  Prefactor     1.0962        3.1145        .13806E-05    .17432E-03
   3  Prefactor     25.671        27.441       -.73174E-06   -.61658E-04
   4  norm          1.6818        2.2268        .29970E-06    .10571E-03
   5  Prefactor     .10000E-03    36.103        .20680E-06** at limit **
   6  Prefactor     .10000E-03    51.463       -.31262E-06** at limit **
   7  Prefactor     .10000E-03    5.1450        .15046E-06** at limit **
   8  Prefactor     .10000E-03    19.044        .17781E-06** at limit **
   9  Prefactor     .10000E-03    7.9515        .42135E-07** at limit **
  10  Prefactor     .56817        2.7681       -.25753E-06    .12243E-03
  11  norm          11.552        6.1782        .45318E-07   -.19048E-05
  12  Prefactor     .10000E-03    3.6943        .67001E-07** at limit **
  13  Prefactor     .10000E-03    72.569        .25826E-06** at limit **
  14  Prefactor     .10000E-03    3.4399       -.59334E-06** at limit **
  15  Prefactor     3.5046        3.2696       -.65073E-07   -.93895E-05
  16  Prefactor     55.144        91.553       -.35324E-06   -.19038E-04
  17  norm          .10000E-03    6.1697       -.29114E-06** at limit **
  18  Prefactor     14.167        6.0659       -.44124E-07    .23462E-04
  19  Prefactor     2.3608        4.4816        .20575E-07    .26991E-04
  20  Prefactor     5.1537        47.074       -.81803E-06   -.11458E-04
  21  Prefactor     .10000E-03    5.8908       -.96208E-06** at limit **
  22  Prefactor     .10000E-03    126.61       -.94799E-06** at limit **
  23  Normalizat    1.1943        .25750        .28042E-05   -.11566E-03
  24  Prefactor     1.0450        .16543       -.24837E-05    .29118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.09623
  Prefactor  = 25.6706
  norm       = 1.68175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.568168
  norm       = 11.5523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.50457
  Prefactor  = 55.1437
  norm       = 0.0001
  Prefactor  = 14.1669
  Prefactor  = 2.36079
  Prefactor  = 5.15368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19429
  Prefactor  = 1.04497
 **********
 **   18 **HESSE 
 **********

 FCN=   6103.219     FROM HESSE     STATUS=OK           397 CALLS     3119 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    69.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0962        3.1817        .22206E-03   -1.5499    
   3  Prefactor     25.671        27.479        .79044E-04   -1.4694    
   4  norm          1.6818        2.2207        .12761E-03   -1.5449    
   5  Prefactor     .10000E-03    36.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    51.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1806        .17305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.9568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .56817        8.3518        .24168E-02   -1.5557    
  11  norm          11.552        6.1796        .11787E-03   -1.5028    
  12  Prefactor     .10000E-03    3.7042        .14666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    73.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.4596        .14167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5046        3.2675        .13155E-03   -1.5334    
  16  Prefactor     55.144        91.567        .53997E-04   -1.4221    
  17  norm          .10000E-03    6.2740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.167        6.0756        .10640E-03   -1.4955    
  19  Prefactor     2.3608        4.4453        .21706E-03   -1.5401    
  20  Prefactor     5.1537        47.521        .17548E-03   -1.5254    
  21  Prefactor     .10000E-03    5.9412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    126.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1943        .27433        .29573E-03   -.86780    
  24  Prefactor     1.0450        .17497        .21027E-03   -.91245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83092e-10
Minuit parameter uncertainties:
  1  0.000205098
  2  3.18223
  3  27.4924
  4  2.22078
  5  7.88297e-05
  6  0.000291797
  7  5.32396e-06
  8  9.82299e-06
  9  1.50353e-06
  10  4.35707
  11  6.17991
  12  2.0911e-06
  13  0.000252434
  14  1.29752e-05
  15  3.26771
  16  91.8022
  17  4.39248e-06
  18  6.07583
  19  4.4459
  20  31.3316
  21  2.65448e-05
  22  0.000111804
  23  0.27466
  24  0.175066
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.682e-01  4.357e+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.045e+00  1.751e-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.194e+00  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/606058/likelihoodResults_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.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) = 6103.18761578
delta logL = 0.0311514923806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6103.18581502
delta logL = 0.0329522516286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46375       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2673       1.0000          .0000       10.000    
     3 'Normalizat'    1.1837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0487       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=   6103.186     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      231 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46265        14.859        .11122E-01    .11045E-02
   2  Index         3.2673        1.3348        .50000       -.27396E-04
   3  Normalizat    1.1837        .18548E-01    .67105E-01   -.42272E-04
   4  Prefactor     1.0488        .12495E-01    .39985E-01   -.12791E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.462645
  Index      = 3.26734
  Normalizat = 1.18373
  Prefactor  = 1.04877
 **********
 **   18 **HESSE 
 **********

 FCN=   6103.186     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46265        5.2949        .17942E-03   -1.5572    
   2  Index         3.2673        3.3916        .67142E-02   -.35387    
   3  Normalizat    1.1837        .25634        .29688E-03   -.87107    
   4  Prefactor     1.0488        .17014        .20994E-03   -.91121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26899e-10
Minuit parameter uncertainties:
  1  3.13028
  2  3.79113
  3  0.256609
  4  0.170226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606058': 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) = 6103.18581471
delta logL = 0.0329525560246

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  4.626e-01  3.130e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.267e+00  3.791e+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:  1.049e+00  1.702e-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.184e+00  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 323.836 -50.102

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/606058/cmap_HighResolution_523670401_523929601_4FGL_J2135.3-5006_daily_bin1097.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.01e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-26 20:09:33.522189', job_id='606058', GAL2='1.05', fit_tolerance='1e-08', EG2='1.18', EG='1.19', time_epoch_completed='1632712173.52', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.30e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1097' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:09:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 606058: <4FGL_J2135.3-5006_daily_bin1097> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1097> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:55:31 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:57:20 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:57:20 2021
Terminated at Sun Sep 26 20:09:34 2021
Results reported at Sun Sep 26 20:09:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1097 323.836 -50.1015 523670401 523929601 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 :                                   675.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            843 sec.

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

