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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1415
RA = 323.836, Dec = -50.1015
tmin = 606096001, tmax = 606355201
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='607698', job_status='RUN', time_executed='2021-09-26 20:04:05.715175', time_epoch_executed='1632711845.72' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607698

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607698/ft1_4FGL_J2135.3-5006_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607698/ft1_4FGL_J2135.3-5006_daily_bin1415.fits outfile=/scratch/kocevski/607698/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1415.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=606096001.0 tmax=606355201.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.68
user 3.42
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607698/ft1_filtered_4FGL_J2135.3-5006_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/607698/ltcube_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.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/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits
.....................!
real 14.31
user 13.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607698/ft1_filtered_4FGL_J2135.3-5006_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/607698/ltcube_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.fits outfile=/scratch/kocevski/607698/expmap_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.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/607698/ltcube_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.fits
.....................!
real 193.09
user 186.29
sys 6.39

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/607698/ft1_filtered_4FGL_J2135.3-5006_daily_bin1415.fits scfile=/scratch/kocevski/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits outfile=/scratch/kocevski/607698/cmap_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607698/ft1_filtered_4FGL_J2135.3-5006_daily_bin1415.fits scfile=/scratch/kocevski/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits outfile=/scratch/kocevski/607698/cmap_HighResolution_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/607698/ft1_filtered_4FGL_J2135.3-5006_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/607698/ft2_4FGL_J2135.3-5006_daily_bin1415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607698/Model_4FGL_J2135.3-5006_daily_bin1415.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/607698/ft1_filtered_4FGL_J2135.3-5006_daily_bin1415.fits.....................!
real 54.41
user 53.11
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1148       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3893       1.0000         .10000E-03   10000.    
     4 'norm      '    9.1330       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11385E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4059       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.913       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9564       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2734       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2045       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.363       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1534       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10450E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4911       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0937       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    139.86       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0692       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0540       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=   7122.069     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2788 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    195.99       -.63882E-07** at limit **
   2  Prefactor     5.1146        3.1163        .16047E-07   -.27576E-05
   3  Prefactor     8.3964        23.097        .90820E-07    .49306E-05
   4  norm          9.1332        2.8165        .44932E-07   -.18332E-04
   5  Prefactor     .10000E-03    19.632        .28758E-07** at limit **
   6  Prefactor     .10000E-03    192.94        .42657E-06** at limit **
   7  Prefactor     8.4034        8.3626        .88387E-07   -.45018E-05
   8  Prefactor     .10000E-03    13.120       -.39919E-07** at limit **
   9  Prefactor     58.909        36.422       -.21610E-06   -.16104E-04
  10  Prefactor     8.9551        6.1278       -.56912E-07   -.40031E-06
  11  norm          3.2730        3.3945        .43728E-07    .17488E-04
  12  Prefactor     2.2054        7.0577       -.59835E-06    .17646E-04
  13  Prefactor     .10000E-03    30.017       -.79958E-07** at limit **
  14  Prefactor     25.357        11.194       -.38923E-06   -.14186E-03
  15  Prefactor     1.1508        2.3883        .15962E-05    .22880E-03
  16  Prefactor     .10000E-03    42.269       -.13128E-06** at limit **
  17  norm          .10000E-03    4.3950       -.99228E-07** at limit **
  18  Prefactor     3.4903        4.1076       -.61064E-07   -.32209E-04
  19  Prefactor     4.0906        5.4775       -.36482E-06   -.18871E-03
  20  Prefactor     .10000E-03    132.70        .52482E-05** at limit **
  21  Prefactor     .10000E-03    35.569        .49885E-05** at limit **
  22  Prefactor     139.75        120.64       -.17169E-07   -.46116E-04
  23  Normalizat    1.0698        .24051       -.30268E-05   -.10323E-03
  24  Prefactor     1.0536        .14930        .17262E-05   -.45399E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 5.11459
  Prefactor  = 8.39636
  norm       = 9.13321
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 8.40336
  Prefactor  = 0.0001
  Prefactor  = 58.9092
  Prefactor  = 8.95514
  norm       = 3.27297
  Prefactor  = 2.20544
  Prefactor  = 0.0001
  Prefactor  = 25.357
  Prefactor  = 1.1508
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.49025
  Prefactor  = 4.09059
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 139.747
  Normalizat = 1.06978
  Prefactor  = 1.05364
 **********
 **   18 **HESSE 
 **********

 FCN=   7122.069     FROM HESSE     STATUS=OK           405 CALLS     3193 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    197.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1146        3.1116        .11012E-03   -1.5256    
   3  Prefactor     8.3964        23.056        .13841E-03   -1.5128    
   4  norm          9.1332        2.8170        .74685E-04   -1.5103    
   5  Prefactor     .10000E-03    19.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    195.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4034        8.3663        .13827E-03   -1.5128    
   8  Prefactor     .10000E-03    13.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     58.909        36.518        .52270E-04   -1.4171    
  10  Prefactor     8.9551        6.1232        .13393E-03   -1.5109    
  11  norm          3.2730        3.3944        .15339E-03   -1.5346    
  12  Prefactor     2.2054        7.0243        .27708E-03   -1.5411    
  13  Prefactor     .10000E-03    30.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.357        11.356        .79542E-04   -1.4700    
  15  Prefactor     1.1508        2.4040        .21117E-02   -1.5493    
  16  Prefactor     .10000E-03    42.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.4287        .17280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4903        4.1107        .17796E-03   -1.5334    
  19  Prefactor     4.0906        5.5035        .19926E-03   -1.5303    
  20  Prefactor     .10000E-03    129.57        .68773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    36.338        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     139.75        120.69        .17031E-03   -1.3338    
  23  Normalizat    1.0698        .26865        .32180E-03   -.90728    
  24  Prefactor     1.0536        .16689        .21559E-03   -.90962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32787e-10
Minuit parameter uncertainties:
  1  0.00204154
  2  3.11172
  3  23.0804
  4  2.81708
  5  1.52804e-05
  6  0.0016882
  7  8.36748
  8  1.27108e-05
  9  36.5315
  10  6.12367
  11  3.39463
  12  7.02694
  13  3.71137e-05
  14  11.3567
  15  2.40418
  16  9.73056e-05
  17  6.56145e-07
  18  4.111
  19  5.50416
  20  0.000341317
  21  1.97437e-05
  22  120.901
  23  0.268996
  24  0.166977
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  8.955e+00  6.124e+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.054e+00  1.670e-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.070e+00  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.09
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 7.81e-08 +/- 5.34e-08
Energy Flux (Fixed Index): 2.46e-05 +/- 1.68e-05

TS (Fixed Index): 3.09
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 1.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/607698/likelihoodResults_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.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) = 7121.89902818
delta logL = 0.169691833878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7121.88908814
delta logL = 0.179631871053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8041       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7835       1.0000          .0000       10.000    
     3 'Normalizat'    1.0465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   7121.889     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      261 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8065        80.631        .38455E-02    .36457E-03
   2  Index         2.7837        3.3255        .17330        .11191E-03
   3  Normalizat    1.0464        .78723E-01    .73396E-01    .18295E-04
   4  Prefactor     1.0645        .50489E-01    .39121E-01   -.55265E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.8065
  Index      = 2.78373
  Normalizat = 1.04643
  Prefactor  = 1.0645
 **********
 **   18 **HESSE 
 **********

 FCN=   7121.889     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8065        6.8824        .13190E-03   -1.5186    
   2  Index         2.7837        .68746        .61200E-02   -.45923    
   3  Normalizat    1.0464        .25001        .32480E-03   -.91491    
   4  Prefactor     1.0645        .16484        .21460E-03   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09929e-11
Minuit parameter uncertainties:
  1  6.88321
  2  0.690188
  3  0.25029
  4  0.164916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607698': 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) = 7121.88908599
delta logL = 0.179634022712

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  6.807e+00  6.883e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.784e+00  6.902e-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.065e+00  1.649e-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.046e+00  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.78 +/- 0.69
Photon Flux (Free Index): 9.61e-08 +/- 6.41e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.51e-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/607698/cmap_HighResolution_606096001_606355201_4FGL_J2135.3-5006_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', photon_flux='7.81e-08', energy_flux2='2.18e-05', photon_flux_error='5.34e-08', dlogl='1.80e-01', energy_flux='2.46e-05', photon_flux2='9.61e-08', job_status='DONE', time_completed='2021-09-26 20:17:19.212141', photon_index_error2='0.69', photon_index2='2.78', ts='3.09', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.83e-07', energy_flux_error2='1.51e-05', EG='1.07', time_epoch_completed='1632712639.21', return_code='0', job_id='607698', GAL2='1.06', EG2='1.05', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='6.41e-08', ts2='3.48', photon_index='2.43' WHERE bin_id='1415' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:17:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 607698: <4FGL_J2135.3-5006_daily_bin1415> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1415> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep 26 20:00:57 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 20:03:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 20:03:22 2021
Terminated at Sun Sep 26 20:17:19 2021
Results reported at Sun Sep 26 20:17:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1415 323.836 -50.1015 606096001 606355201 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 :                                   746.03 sec.
    Max Memory :                                 1014 MB
    Average Memory :                             302.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            982 sec.

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

