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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin852
RA = 323.836, Dec = -50.1015
tmin = 460166401, tmax = 460425601
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='604642', job_status='RUN', time_executed='2021-09-26 19:53:42.515632', time_epoch_executed='1632711222.52' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='852'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/604642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/604642/ft1_4FGL_J2135.3-5006_daily_bin852.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/604642/ft1_4FGL_J2135.3-5006_daily_bin852.fits outfile=/scratch/kocevski/604642/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin852.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=460166401.0 tmax=460425601.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.36
user 3.14
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.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/604642/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin852.fits evtable="EVENTS" outfile="/scratch/kocevski/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits" evtable="EVENTS" scfile=/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits sctable="SC_DATA" outfile=/scratch/kocevski/604642/ltcube_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.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/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits
.....................!
real 15.16
user 14.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits sctable="SC_DATA" expcube=/scratch/kocevski/604642/ltcube_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.fits outfile=/scratch/kocevski/604642/expmap_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.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/604642/ltcube_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.fits
.....................!
real 195.31
user 188.27
sys 4.64

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/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits scfile=/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits outfile=/scratch/kocevski/604642/cmap_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits scfile=/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits outfile=/scratch/kocevski/604642/cmap_HighResolution_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/604642/ft2_4FGL_J2135.3-5006_daily_bin852.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/604642/Model_4FGL_J2135.3-5006_daily_bin852.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/604642/ft1_filtered_4FGL_J2135.3-5006_daily_bin852.fits.....................!
real 53.56
user 51.68
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.961       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7323       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10961E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.6156       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.524       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.427       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3023       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.495       1.0000         .10000E-03   10000.    
    11 'norm      '    8.1466       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    56.194       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5461       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9220       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15919E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.123       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11244E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92053       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99192       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=   6915.789     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2728 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.018        64.845        .18581E-05    .30567E-04
   2  Prefactor     1.7327        1.8588        .14767E-06    .78825E-04
   3  Prefactor     .10000E-03    24.594       -.37435E-06** at limit **
   4  norm          7.6149        2.4426        .55724E-07    .14421E-04
   5  Prefactor     14.311        64.703       -.78583E-05   -.86821E-04
   6  Prefactor     27.464        44.450       -.21621E-05   -.81556E-04
   7  Prefactor     6.1114        7.3037        .38362E-05   -.22564E-03
   8  Prefactor     23.415        24.690        .42579E-06    .73534E-04
   9  Prefactor     4.3266        42.358        .56600E-05    .48874E-04
  10  Prefactor     11.496        5.5569       -.19974E-06   -.13035E-03
  11  norm          8.1467        4.4551       -.61981E-07   -.18139E-04
  12  Prefactor     .10000E-03    1.8056        .75929E-08** at limit **
  13  Prefactor     56.141        37.831        .38085E-05    .42003E-03
  14  Prefactor     1.5290        11.057        .23072E-05   -.88343E-04
  15  Prefactor     .10000E-03    .98252        .17333E-07** at limit **
  16  Prefactor     .10000E-03    35.283       -.56218E-06** at limit **
  17  norm          .10000E-03    2.1010        .44582E-07** at limit **
  18  Prefactor     .10000E-03    1.0233        .66520E-07** at limit **
  19  Prefactor     2.9210        4.8806        .59881E-06   -.67500E-04
  20  Prefactor     .10000E-03    63.585        .17885E-06** at limit **
  21  Prefactor     11.115        11.237        .14942E-06   -.76084E-04
  22  Prefactor     .10000E-03    91.453       -.16602E-05** at limit **
  23  Normalizat    .92102        .20646       -.45079E-05    .69313E-04
  24  Prefactor     .99164        .12926        .14894E-05   -.26141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.018
  Prefactor  = 1.73266
  Prefactor  = 0.0001
  norm       = 7.61489
  Prefactor  = 14.311
  Prefactor  = 27.4642
  Prefactor  = 6.11136
  Prefactor  = 23.4154
  Prefactor  = 4.32663
  Prefactor  = 11.4964
  norm       = 8.14671
  Prefactor  = 0.0001
  Prefactor  = 56.1412
  Prefactor  = 1.52903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.92098
  Prefactor  = 0.0001
  Prefactor  = 11.115
  Prefactor  = 0.0001
  Normalizat = 0.921023
  Prefactor  = 0.99164
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.789     FROM HESSE     STATUS=OK           395 CALLS     3123 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.018        64.942        .69795E-04   -1.4558    
   2  Prefactor     1.7327        1.8541        .11335E-03   -1.5445    
   3  Prefactor     .10000E-03    24.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.6149        2.4427        .70071E-04   -1.5156    
   5  Prefactor     14.311        66.296        .10510E-03   -1.4951    
   6  Prefactor     27.464        44.602        .76468E-04   -1.4659    
   7  Prefactor     6.1114        7.5605        .81205E-03   -1.5213    
   8  Prefactor     23.415        24.726        .82758E-04   -1.4740    
   9  Prefactor     4.3266        42.335        .19422E-03   -1.5292    
  10  Prefactor     11.496        5.5579        .11816E-03   -1.5030    
  11  norm          8.1467        4.4538        .12368E-03   -1.5137    
  12  Prefactor     .10000E-03    1.8065        .10913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     56.141        39.267        .53513E-04   -1.4208    
  14  Prefactor     1.5290        11.188        .34271E-03   -1.5461    
  15  Prefactor     .10000E-03    .98638        .80474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1031        .11772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.0267        .82146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9210        4.8790        .22516E-03   -1.5366    
  20  Prefactor     .10000E-03    64.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.115        11.243        .12013E-03   -1.5041    
  22  Prefactor     .10000E-03    91.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92102        .23645        .30117E-03   -.95725    
  24  Prefactor     .99164        .15054        .19918E-03   -.93009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34149e-09
Minuit parameter uncertainties:
  1  65.0815
  2  1.85412
  3  5.9088e-05
  4  2.44273
  5  61.7163
  6  44.6565
  7  7.56168
  8  24.7366
  9  27.0926
  10  5.55816
  11  4.454
  12  3.47623e-07
  13  39.2849
  14  8.27383
  15  1.03858e-06
  16  0.000101438
  17  2.16792e-06
  18  1.84802e-06
  19  4.87962
  20  0.000216226
  21  11.2454
  22  0.000342476
  23  0.236718
  24  0.150604
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.150e+01  5.558e+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:  9.916e-01  1.506e-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:  9.210e-01  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.12
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.00e-07 +/- 4.85e-08
Energy Flux (Fixed Index): 3.16e-05 +/- 1.53e-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) = 6915.32582778
delta logL = 0.463384086434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6915.3244612
delta logL = 0.464750666491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5833       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1121       1.0000          .0000       10.000    
     3 'Normalizat'    .86872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0211       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=   6915.324     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      241 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5833        37.761        .42505E-02    .12847E-02
   2  Index         3.1122        2.9696        .11789        .13823E-03
   3  Normalizat    .86871        .84463E-01    .69818E-01    .22192E-04
   4  Prefactor     1.0211        .52636E-01    .42036E-01    .54534E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.58331
  Index      = 3.11221
  Normalizat = 0.868714
  Prefactor  = 1.02107
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.324     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5833        10.594        .82708E-04   -1.5235    
   2  Index         3.1122        1.3112        .46664E-02   -.38716    
   3  Normalizat    .86871        .22691        .30891E-03   -.97568    
   4  Prefactor     1.0211        .15371        .19663E-03   -.92030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42038e-08
Minuit parameter uncertainties:
  1  10.5977
  2  1.32941
  3  0.227162
  4  0.153777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/604642': 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) = 6915.32446114
delta logL = 0.464750731145

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.583e+00  1.060e+01  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.112e+00  1.329e+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.021e+00  1.538e-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:  8.687e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.20
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 3.11 +/- 1.33
Photon Flux (Free Index): 1.28e-07 +/- 6.10e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.45e-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/604642/cmap_HighResolution_460166401_460425601_4FGL_J2135.3-5006_daily_bin852.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.00e-07', energy_flux2='2.43e-05', photon_flux_error='4.85e-08', dlogl='4.65e-01', energy_flux='3.16e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2021-09-26 20:04:40.889139', photon_index_error2='1.33', photon_index2='3.11', ts='7.12', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.92', time_epoch_completed='1632711880.89', return_code='0', job_id='604642', GAL2='1.02', EG2='0.87', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='6.10e-08', ts2='8.20', photon_index='2.43' WHERE bin_id='852' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:04:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 604642: <4FGL_J2135.3-5006_daily_bin852> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin852> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 19:50:33 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:53:27 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:53:27 2021
Terminated at Sun Sep 26 20:04:41 2021
Results reported at Sun Sep 26 20:04:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin852 323.836 -50.1015 460166401 460425601 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 :                                   648.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            848 sec.

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

