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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin835
RA = 323.836, Dec = -50.1015
tmin = 455760001, tmax = 456019201
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='604619', job_status='RUN', time_executed='2021-09-26 19:53:14.927255', time_epoch_executed='1632711194.93' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='835'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/604619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/604619/ft1_4FGL_J2135.3-5006_daily_bin835.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/604619/ft2_4FGL_J2135.3-5006_daily_bin835.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/604619/ft1_4FGL_J2135.3-5006_daily_bin835.fits outfile=/scratch/kocevski/604619/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin835.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=455760001.0 tmax=456019201.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.37
user 3.15
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/604619/ft1_filtered_4FGL_J2135.3-5006_daily_bin835.fits" evtable="EVENTS" scfile=/scratch/kocevski/604619/ft2_4FGL_J2135.3-5006_daily_bin835.fits sctable="SC_DATA" outfile=/scratch/kocevski/604619/ltcube_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.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/604619/ft2_4FGL_J2135.3-5006_daily_bin835.fits
.....................!
real 13.76
user 13.34
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/604619/ft1_filtered_4FGL_J2135.3-5006_daily_bin835.fits evtable="EVENTS" scfile=/scratch/kocevski/604619/ft2_4FGL_J2135.3-5006_daily_bin835.fits sctable="SC_DATA" expcube=/scratch/kocevski/604619/ltcube_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.fits outfile=/scratch/kocevski/604619/expmap_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.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/604619/ltcube_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.fits
.....................!
real 193.48
user 188.02
sys 4.84

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/604619/ft1_filtered_4FGL_J2135.3-5006_daily_bin835.fits scfile=/scratch/kocevski/604619/ft2_4FGL_J2135.3-5006_daily_bin835.fits outfile=/scratch/kocevski/604619/cmap_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/604619/ft1_filtered_4FGL_J2135.3-5006_daily_bin835.fits scfile=/scratch/kocevski/604619/ft2_4FGL_J2135.3-5006_daily_bin835.fits outfile=/scratch/kocevski/604619/cmap_HighResolution_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.761       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .81931       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .96285       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3365       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.992       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15458E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.870       1.0000         .10000E-03   10000.    
    17 'norm      '    7.4270       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9957       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9314       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1727       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0777       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=   7619.851     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2780 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.762        70.035        .42961E-07    .11248E-05
   2  Prefactor     .10000E-03    1.9345        .19845E-06** at limit **
   3  Prefactor     .10000E-03    8.1690        .11269E-06** at limit **
   4  norm          .81986        1.3273        .64801E-06    .95390E-03
   5  Prefactor     .10000E-03    27.365        .18008E-06** at limit **
   6  Prefactor     .10000E-03    88.377        .82026E-07** at limit **
   7  Prefactor     .96964        3.8752       -.12385E-05    .57868E-03
   8  Prefactor     .10000E-03    20.984       -.39320E-06** at limit **
   9  Prefactor     .10000E-03    11.092        .24631E-06** at limit **
  10  Prefactor     3.3365        3.4230        .60816E-07    .90933E-04
  11  norm          .10000E-03    1.8889        .24386E-07** at limit **
  12  Prefactor     14.991        10.662        .61090E-06   -.64251E-05
  13  Prefactor     .10000E-03    18.276       -.11539E-06** at limit **
  14  Prefactor     .10000E-03    10.860       -.40018E-05** at limit **
  15  Prefactor     .10000E-03    2.0418       -.25859E-06** at limit **
  16  Prefactor     19.810        73.139       -.29302E-05   -.57977E-04
  17  norm          7.4277        7.6902        .19388E-05   -.98455E-04
  18  Prefactor     1.9955        2.9438        .30618E-06   -.19202E-04
  19  Prefactor     2.9310        3.0586        .48781E-07    .13764E-03
  20  Prefactor     .10000E-03    4.5586       -.40860E-07** at limit **
  21  Prefactor     .10000E-03    3.2019       -.50419E-08** at limit **
  22  Prefactor     .10000E-03    27.724        .14073E-06** at limit **
  23  Normalizat    1.1730        .19515        .11138E-05    .86346E-04
  24  Prefactor     1.0775        .13119       -.14106E-05    .28912E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.819858
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.96964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.33647
  norm       = 0.0001
  Prefactor  = 14.9906
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8101
  norm       = 7.42771
  Prefactor  = 1.99545
  Prefactor  = 2.93096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17305
  Prefactor  = 1.07748
 **********
 **   18 **HESSE 
 **********

 FCN=   7619.851     FROM HESSE     STATUS=OK           393 CALLS     3173 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.762        70.058        .56289E-04   -1.4282    
   2  Prefactor     .10000E-03    1.9972        .23698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.1840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .81986        1.2114        .12919E-02   -1.5527    
   5  Prefactor     .10000E-03    27.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    88.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .96964        10.614        .30988E-02   -1.5511    
   8  Prefactor     .10000E-03    21.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3365        3.4131        .15714E-03   -1.5343    
  11  norm          .10000E-03    1.9141        .11712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.991        10.699        .51722E-03   -1.4933    
  13  Prefactor     .10000E-03    18.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.750        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1046        .24332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.810        73.404        .89853E-04   -1.4818    
  17  norm          7.4277        7.6812        .73583E-03   -1.5163    
  18  Prefactor     1.9955        2.9360        .17589E-03   -1.5425    
  19  Prefactor     2.9310        3.0572        .15166E-03   -1.5366    
  20  Prefactor     .10000E-03    4.5602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2175        .15254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1730        .22690        .28343E-03   -.87440    
  24  Prefactor     1.0775        .15279        .20287E-03   -.90190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23201e-09
Minuit parameter uncertainties:
  1  70.1725
  2  1.78554e-06
  3  6.05776e-06
  4  1.21143
  5  3.93004e-05
  6  0.000113323
  7  6.41729
  8  0.000161134
  9  5.58223e-05
  10  3.4133
  11  1.2304e-06
  12  10.7007
  13  0.000108311
  14  7.1965e-05
  15  3.93807e-06
  16  73.7412
  17  7.6822
  18  2.93624
  19  3.05736
  20  1.82345e-07
  21  5.3132e-08
  22  7.12028e-05
  23  0.227087
  24  0.152851
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  3.336e+00  3.413e+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.077e+00  1.529e-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.173e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 2.91e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 9.18e-06 +/- 9.39e-06

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

Saving results to:
/scratch/kocevski/604619/likelihoodResults_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.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) = 7619.38978799
delta logL = 0.460816678047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7619.38329379
delta logL = 0.467310870827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5922       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7720       1.0000          .0000       10.000    
     3 'Normalizat'    1.1911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0702       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=   7619.383     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      201 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5922        4.0613        .53301E-02    .15062E-02
   2  Index         1.7719        .52312        .27292       -.46921E-04
   3  Normalizat    1.1911        .18505        .63642E-01    .12354E-04
   4  Prefactor     1.0702        .12793        .38848E-01    .45562E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.59225
  Index      = 1.77192
  Normalizat = 1.19106
  Prefactor  = 1.07021
 **********
 **   18 **HESSE 
 **********

 FCN=   7619.383     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5922        3.7816        .15594E-03   -1.5329    
   2  Index         1.7719        .61803        .99770E-02   -.70183    
   3  Normalizat    1.1911        .21740        .28152E-03   -.86879    
   4  Prefactor     1.0702        .15057        .20341E-03   -.90425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1148e-09
Minuit parameter uncertainties:
  1  3.78182
  2  0.620759
  3  0.21756
  4  0.150628
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/604619': 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) = 7619.38329376
delta logL = 0.467310899729

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  3.592e+00  3.782e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.772e+00  6.208e-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.070e+00  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:  1.191e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 1.77 +/- 0.62
Photon Flux (Free Index): 1.56e-08 +/- 2.03e-08
Energy Flux (Free Index): 2.04e-05 +/- 2.89e-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/604619/cmap_HighResolution_455760001_456019201_4FGL_J2135.3-5006_daily_bin835.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-03', comment='SUCCESS', photon_flux='2.91e-08', energy_flux2='2.04e-05', photon_flux_error='2.98e-08', dlogl='4.67e-01', energy_flux='9.18e-06', photon_flux2='1.56e-08', job_status='DONE', time_completed='2021-09-26 20:06:06.269505', photon_index_error2='0.62', photon_index2='1.77', ts='1.72', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='2.89e-05', EG='1.17', time_epoch_completed='1632711966.27', return_code='0', job_id='604619', GAL2='1.07', EG2='1.19', return_code2='0', energy_flux_error='9.39e-06', photon_flux_error2='2.03e-08', ts2='2.66', photon_index='2.43' WHERE bin_id='835' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:06:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 604619: <4FGL_J2135.3-5006_daily_bin835> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin835 323.836 -50.1015 455760001 456019201 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 :                                   769.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            936 sec.

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

