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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1060
RA = 323.836, Dec = -50.1015
tmin = 514080001, tmax = 514339201
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='606004', job_status='RUN', time_executed='2021-09-26 19:59:10.741135', time_epoch_executed='1632711550.74' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606004

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606004/ft1_4FGL_J2135.3-5006_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606004/ft2_4FGL_J2135.3-5006_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606004/ft1_4FGL_J2135.3-5006_daily_bin1060.fits outfile=/scratch/kocevski/606004/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1060.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=514080001.0 tmax=514339201.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.62
user 3.38
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606004/ft1_filtered_4FGL_J2135.3-5006_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/606004/ft2_4FGL_J2135.3-5006_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/606004/ltcube_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.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/606004/ft2_4FGL_J2135.3-5006_daily_bin1060.fits
.....................!
real 13.43
user 12.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606004/ft1_filtered_4FGL_J2135.3-5006_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/606004/ft2_4FGL_J2135.3-5006_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/606004/ltcube_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.fits outfile=/scratch/kocevski/606004/expmap_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.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/606004/ltcube_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.fits
.....................!
real 192.23
user 186.21
sys 4.73

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/606004/ft1_filtered_4FGL_J2135.3-5006_daily_bin1060.fits scfile=/scratch/kocevski/606004/ft2_4FGL_J2135.3-5006_daily_bin1060.fits outfile=/scratch/kocevski/606004/cmap_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606004/ft1_filtered_4FGL_J2135.3-5006_daily_bin1060.fits scfile=/scratch/kocevski/606004/ft2_4FGL_J2135.3-5006_daily_bin1060.fits outfile=/scratch/kocevski/606004/cmap_HighResolution_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.722       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.067       1.0000         .10000E-03   10000.    
     4 'norm      '    2.9194       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.585       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.329       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.401       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7085       1.0000         .10000E-03   10000.    
    11 'norm      '    4.5450       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2048       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.805       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.695       1.0000         .10000E-03   10000.    
    16 'Prefactor '    196.37       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6942       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11269E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5008       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19056E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3581       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80470       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=   6230.287     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     3222 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.726        45.331        .74842E-06   -.68598E-07
   2  Prefactor     .10000E-03    1.8317        .12938E-06** at limit **
   3  Prefactor     35.067        23.692        .11753E-07   -.11722E-04
   4  norm          2.9194        1.8650        .31671E-07   -.10717E-06
   5  Prefactor     .10000E-03    30.187       -.60150E-08** at limit **
   6  Prefactor     42.467        114.27       -.16824E-05   -.33440E-04
   7  Prefactor     18.015        13.148       -.86534E-07   -.16768E-04
   8  Prefactor     39.326        42.792       -.51256E-06   -.22368E-04
   9  Prefactor     23.395        37.208       -.56082E-06   -.85724E-05
  10  Prefactor     8.7084        5.8426        .21060E-07   -.27448E-04
  11  norm          4.5451        5.1083        .15558E-07   -.35321E-04
  12  Prefactor     1.2066        15.180        .46004E-05    .84265E-04
  13  Prefactor     30.800        41.514       -.59992E-06   -.10759E-04
  14  Prefactor     .10000E-03    4.9067        .39776E-07** at limit **
  15  Prefactor     10.695        5.2004       -.80739E-07    .20174E-04
  16  Prefactor     196.36        131.95       -.78946E-06   -.69363E-05
  17  norm          1.6942        4.8188        .10574E-05    .10454E-03
  18  Prefactor     .10000E-03    4.3002        .40411E-06** at limit **
  19  Prefactor     .10000E-03    4.7334        .36549E-06** at limit **
  20  Prefactor     8.4854        27.483       -.76415E-06    .26866E-05
  21  Prefactor     .10000E-03    5.4171       -.39849E-06** at limit **
  22  Prefactor     .10000E-03    87.199       -.67894E-08** at limit **
  23  Normalizat    1.3583        .26161        .29835E-05   -.15961E-03
  24  Prefactor     .80459        .15589       -.25787E-05    .39023E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7257
  Prefactor  = 0.0001
  Prefactor  = 35.0668
  norm       = 2.9194
  Prefactor  = 0.0001
  Prefactor  = 42.4675
  Prefactor  = 18.015
  Prefactor  = 39.3257
  Prefactor  = 23.3953
  Prefactor  = 8.70844
  norm       = 4.54513
  Prefactor  = 1.20657
  Prefactor  = 30.8003
  Prefactor  = 0.0001
  Prefactor  = 10.6949
  Prefactor  = 196.365
  norm       = 1.69424
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 8.48537
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.35827
  Prefactor  = 0.804585
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.287     FROM HESSE     STATUS=OK           407 CALLS     3629 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.726        45.391        .11230E-03   -1.4994    
   2  Prefactor     .10000E-03    1.8731        .10427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.067        23.695        .67673E-04   -1.4523    
   4  norm          2.9194        1.8635        .82693E-04   -1.5366    
   5  Prefactor     .10000E-03    30.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     42.467        115.04        .30715E-03   -1.4404    
   7  Prefactor     18.015        13.146        .94362E-04   -1.4859    
   8  Prefactor     39.326        42.686        .63914E-04   -1.4453    
   9  Prefactor     23.395        37.278        .82804E-04   -1.4740    
  10  Prefactor     8.7084        5.8396        .13583E-03   -1.5118    
  11  norm          4.5451        5.0864        .17180E-03   -1.5282    
  12  Prefactor     1.2066        16.009        .41296E-03   -1.5488    
  13  Prefactor     30.800        41.591        .72190E-04   -1.4597    
  14  Prefactor     .10000E-03    4.9146        .17057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.695        5.2041        .11914E-03   -1.5054    
  16  Prefactor     196.36        131.87        .28829E-04   -1.2896    
  17  norm          1.6942        4.8182        .28739E-03   -1.5448    
  18  Prefactor     .10000E-03    4.4215        .31932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.526        .32537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.4854        26.753        .13749E-03   -1.5125    
  21  Prefactor     .10000E-03    21.691        .34474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    87.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3583        .28307        .28424E-03   -.81843    
  24  Prefactor     .80459        .16796        .22972E-03   -.99560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04986e-10
Minuit parameter uncertainties:
  1  45.5147
  2  4.23333e-06
  3  23.7012
  4  1.86358
  5  9.16064e-06
  6  115.654
  7  13.1479
  8  42.7192
  9  37.315
  10  5.83995
  11  5.08693
  12  8.79254
  13  41.6297
  14  1.69967e-06
  15  5.20432
  16  132.068
  17  4.81927
  18  1.40197e-06
  19  0.000384205
  20  26.7907
  21  0.000497579
  22  1.83859e-05
  23  0.283394
  24  0.16807
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  8.708e+00  5.840e+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:  8.046e-01  1.681e-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.358e+00  2.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 7.60e-08 +/- 5.09e-08
Energy Flux (Fixed Index): 2.40e-05 +/- 1.61e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6230.23628614
delta logL = 0.0508874000443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6230.23182112
delta logL = 0.0553524195429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6965       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2474       1.0000          .0000       10.000    
     3 'Normalizat'    1.3708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79849       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6230.232     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      290 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6970        6.8541        .12869E-03   -.15352E-02
   2  Index         2.2475        .53181        .73818E-02   -.32713E-03
   3  Normalizat    1.3703        .25434        .28322E-03    .16764E-03
   4  Prefactor     .79875        .16250        .23045E-03    .27193E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.69699
  Index      = 2.24748
  Normalizat = 1.37035
  Prefactor  = 0.798747
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.232     FROM HESSE     STATUS=OK            23 CALLS      313 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6970        6.7743        .51476E-05   -1.5085    
   2  Index         2.2475        .52541        .29527E-03   -.58297    
   3  Normalizat    1.3703        .25444        .56644E-04   -.81490    
   4  Prefactor     .79875        .16257        .46090E-04   -.99775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17723e-09
Minuit parameter uncertainties:
  1  6.77487
  2  0.526805
  3  0.254672
  4  0.162665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606004': 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) = 6230.23181969
delta logL = 0.0553538497188

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  9.697e+00  6.775e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.247e+00  5.268e-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:  7.987e-01  1.627e-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.370e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.26
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.25 +/- 0.53
Photon Flux (Free Index): 6.75e-08 +/- 5.27e-08
Energy Flux (Free Index): 2.78e-05 +/- 2.30e-05

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/606004/cmap_HighResolution_514080001_514339201_4FGL_J2135.3-5006_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.60e-08', energy_flux2='2.78e-05', photon_flux_error='5.09e-08', dlogl='5.54e-02', energy_flux='2.40e-05', photon_flux2='6.75e-08', job_status='DONE', time_completed='2021-09-26 20:10:25.752108', photon_index_error2='0.53', photon_index2='2.25', ts='4.15', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.30e-05', EG='1.36', time_epoch_completed='1632712225.75', return_code='0', job_id='606004', GAL2='0.80', EG2='1.37', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='5.27e-08', ts2='4.26', photon_index='2.43' WHERE bin_id='1060' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:10:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 606004: <4FGL_J2135.3-5006_daily_bin1060> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1060 323.836 -50.1015 514080001 514339201 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 :                                   661.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            900 sec.

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

