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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1038
RA = 323.836, Dec = -50.1015
tmin = 508377601, tmax = 508636801
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='605973', job_status='RUN', time_executed='2021-09-26 19:57:13.911442', time_epoch_executed='1632711433.91' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1038'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605973

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605973/ft1_4FGL_J2135.3-5006_daily_bin1038.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605973/ft1_4FGL_J2135.3-5006_daily_bin1038.fits outfile=/scratch/kocevski/605973/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1038.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=508377601.0 tmax=508636801.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.70
user 3.45
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/605973/ft1_filtered_4FGL_J2135.3-5006_daily_bin1038.fits" evtable="EVENTS" scfile=/scratch/kocevski/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits sctable="SC_DATA" outfile=/scratch/kocevski/605973/ltcube_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.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/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits
.....................!
real 15.08
user 14.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605973/ft1_filtered_4FGL_J2135.3-5006_daily_bin1038.fits evtable="EVENTS" scfile=/scratch/kocevski/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits sctable="SC_DATA" expcube=/scratch/kocevski/605973/ltcube_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.fits outfile=/scratch/kocevski/605973/expmap_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.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/605973/ltcube_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.fits
.....................!
real 193.75
user 187.58
sys 5.59

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/605973/ft1_filtered_4FGL_J2135.3-5006_daily_bin1038.fits scfile=/scratch/kocevski/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits outfile=/scratch/kocevski/605973/cmap_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/605973/ft1_filtered_4FGL_J2135.3-5006_daily_bin1038.fits scfile=/scratch/kocevski/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits outfile=/scratch/kocevski/605973/cmap_HighResolution_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=323.836 yref=-50.1015 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/605973/ft1_filtered_4FGL_J2135.3-5006_daily_bin1038.fits evtable="EVENTS" scfile=/scratch/kocevski/605973/ft2_4FGL_J2135.3-5006_daily_bin1038.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/605973/Model_4FGL_J2135.3-5006_daily_bin1038.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/605973/ft1_filtered_4FGL_J2135.3-5006_daily_bin1038.fits.....................!
real 54.20
user 52.83
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0077       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10838E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9872       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.393       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9377       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2641       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.913       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9090       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.667       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    62.791       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96662       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2134       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=   7301.402     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2698 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.247       -.19897E-05** at limit **
   2  Prefactor     4.0075        2.8006       -.67174E-06   -.48116E-03
   3  Prefactor     .10000E-03    9.3853        .14602E-05** at limit **
   4  norm          .10000E-03    .70786       -.10706E-06** at limit **
   5  Prefactor     .10000E-03    11.466       -.58592E-05** at limit **
   6  Prefactor     .10000E-03    121.75        .50198E-04** at limit **
   7  Prefactor     .10000E-03    3.2619        .21180E-06** at limit **
   8  Prefactor     4.9849        37.389       -.35376E-05    .17243E-04
   9  Prefactor     .10000E-03    13.158        .65228E-05** at limit **
  10  Prefactor     .10000E-03    2.4348        .27710E-06** at limit **
  11  norm          14.393        6.0369        .49615E-06    .38328E-03
  12  Prefactor     8.9362        9.9249       -.83314E-06    .15056E-04
  13  Prefactor     3.1527        139.65       -.30617E-03    .22961E-04
  14  Prefactor     .10000E-03    5.2129       -.53425E-06** at limit **
  15  Prefactor     .10000E-03    1.2208       -.26756E-06** at limit **
  16  Prefactor     25.004        84.888        .16099E-03    .14255E-03
  17  norm          .10000E-03    3.1831       -.36128E-06** at limit **
  18  Prefactor     3.9085        4.1033       -.28785E-05    .76992E-04
  19  Prefactor     16.666        7.9292       -.56503E-06    .50817E-03
  20  Prefactor     .10000E-03    39.295       -.52950E-05** at limit **
  21  Prefactor     .10000E-03    4.8653       -.30991E-07** at limit **
  22  Prefactor     62.807        97.473        .17387E-04    .14182E-04
  23  Normalizat    .96689        .21336        .14455E-04    .24121E-03
  24  Prefactor     1.2132        .13775       -.35747E-05    .13752E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.00746
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.98487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.393
  Prefactor  = 8.93623
  Prefactor  = 3.15275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.004
  norm       = 0.0001
  Prefactor  = 3.90855
  Prefactor  = 16.6659
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 62.8068
  Normalizat = 0.96689
  Prefactor  = 1.2132
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.402     FROM HESSE     STATUS=OK           387 CALLS     3085 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0075        2.7961        .11415E-03   -1.5308    
   3  Prefactor     .10000E-03    9.4271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .74055        .14024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    121.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2765        .15067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9849        37.198        .18008E-03   -1.5261    
   9  Prefactor     .10000E-03    13.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4788        .13012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.393        6.0267        .10558E-03   -1.4949    
  12  Prefactor     8.9362        9.9223        .13407E-03   -1.5110    
  13  Prefactor     3.1527        142.57        .22415E-03   -1.5353    
  14  Prefactor     .10000E-03    5.2320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2330        .92180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.004        85.231        .80255E-04   -1.4707    
  17  norm          .10000E-03    3.1876        .14889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.9085        4.1015        .17121E-03   -1.5313    
  19  Prefactor     16.666        7.9574        .98105E-04   -1.4891    
  20  Prefactor     .10000E-03    39.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     62.807        97.459        .50640E-04   -1.4121    
  23  Normalizat    .96689        .24862        .31946E-03   -.94148    
  24  Prefactor     1.2132        .16107        .19655E-03   -.85926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00794e-09
Minuit parameter uncertainties:
  1  1.31099e-05
  2  2.79622
  3  4.20769e-05
  4  1.34785e-05
  5  1.20405e-05
  6  0.000506963
  7  1.70844e-05
  8  27.2577
  9  6.11545e-05
  10  3.79488e-05
  11  6.02696
  12  9.92408
  13  42.51
  14  7.78108e-05
  15  2.23419e-05
  16  85.6504
  17  3.66221e-05
  18  4.10184
  19  7.95788
  20  0.000716105
  21  6.16151e-05
  22  97.7076
  23  0.248912
  24  0.161132
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.795e-05  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.213e+00  1.611e-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.669e-01  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 6.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/605973/likelihoodResults_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.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): 102
logL (Free Index) = 7301.40440684
delta logL = -0.00192273423545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7301.40248417
delta logL = -6.21867002337e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4474       1.0000          .0000       10.000    
     3 'Normalizat'    .96685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2133       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=   7301.398     FROM MIGRAD    STATUS=CONVERGED    143 CALLS      294 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24119E-01    2.0361        .13154E-01   -.32019E-02
   2  Index         4.3311        2.3201        .50000        .80262E-05
   3  Normalizat    .96129        .16863E-01    .31945E-03   -.11150E-03
   4  Prefactor     1.2153        .11524E-01    .19655E-03   -.13578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0241192
  Index      = 4.33111
  Normalizat = 0.961291
  Prefactor  = 1.21535
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.398     FROM HESSE     STATUS=OK            31 CALLS      325 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24119E-01    .89009        .71848E-03   -1.5739    
   2  Index         4.3311        7.0316        .12267E-01   -.13418    
   3  Normalizat    .96129        .23840        .12778E-04   -.94339    
   4  Prefactor     1.2153        .16010        .39309E-04   -.85860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48058e-10
Minuit parameter uncertainties:
  1  0.292437
  2  5.48914
  3  0.238661
  4  0.16016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605973': 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) = 7301.3978991
delta logL = 0.00458500926197

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.412e-02  2.924e-01  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  4.331e+00  5.489e+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.215e+00  1.602e-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.613e-01  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/605973/cmap_HighResolution_508377601_508636801_4FGL_J2135.3-5006_daily_bin1038.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2021-09-26 20:09:51.083745', job_id='605973', GAL2='1.22', fit_tolerance='1e-08', EG2='0.96', EG='0.97', time_epoch_completed='1632712191.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='4.59e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1038' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:09:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 605973: <4FGL_J2135.3-5006_daily_bin1038> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1038 323.836 -50.1015 508377601 508636801 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 :                                   751.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            867 sec.

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

