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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin634
RA = 323.836, Dec = -50.1015
tmin = 403660801, tmax = 403920001
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='603304', job_status='RUN', time_executed='2021-09-26 19:49:38.043861', time_epoch_executed='1632710978.04' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='634'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/603304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/603304/ft1_4FGL_J2135.3-5006_daily_bin634.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/603304/ft1_4FGL_J2135.3-5006_daily_bin634.fits outfile=/scratch/kocevski/603304/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin634.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=403660801.0 tmax=403920001.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 7.81
user 7.47
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/603304/ft1_filtered_4FGL_J2135.3-5006_daily_bin634.fits" evtable="EVENTS" scfile=/scratch/kocevski/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits sctable="SC_DATA" outfile=/scratch/kocevski/603304/ltcube_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.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/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits
.....................!
real 12.86
user 12.05
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/603304/ft1_filtered_4FGL_J2135.3-5006_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits sctable="SC_DATA" expcube=/scratch/kocevski/603304/ltcube_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.fits outfile=/scratch/kocevski/603304/expmap_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.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/603304/ltcube_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.fits
.....................!
real 191.96
user 186.35
sys 4.90

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/603304/ft1_filtered_4FGL_J2135.3-5006_daily_bin634.fits scfile=/scratch/kocevski/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits outfile=/scratch/kocevski/603304/cmap_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=323.836 yref=-50.1015 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/603304/ft1_filtered_4FGL_J2135.3-5006_daily_bin634.fits scfile=/scratch/kocevski/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits outfile=/scratch/kocevski/603304/cmap_HighResolution_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/603304/ft1_filtered_4FGL_J2135.3-5006_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/603304/ft2_4FGL_J2135.3-5006_daily_bin634.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/603304/Model_4FGL_J2135.3-5006_daily_bin634.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/603304/ft1_filtered_4FGL_J2135.3-5006_daily_bin634.fits.....................!
real 33.56
user 32.21
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11140E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30460E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.1969       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31489E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .53921E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.894       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4038       1.0000         .10000E-03   10000.    
    11 'norm      '    .11968E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1237       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.902       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9861       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10758E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.786       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14490E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .53030       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1477       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=   3387.687     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     3180 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    125.07        .43717E-07** at limit **
   2  Prefactor     .10000E-03    2.0417       -.11393E-06** at limit **
   3  Prefactor     .10000E-03    18.465       -.17307E-06** at limit **
   4  norm          4.1976        2.7251       -.46773E-07    .58968E-04
   5  Prefactor     .10000E-03    430.72       -.27433E-05** at limit **
   6  Prefactor     .10000E-03    32.901       -.13193E-07** at limit **
   7  Prefactor     .10000E-03    12.511       -.60471E-06** at limit **
   8  Prefactor     .10000E-03    30.006       -.10043E-06** at limit **
   9  Prefactor     30.894        37.473       -.46324E-06    .12878E-04
  10  Prefactor     2.4049        4.8623        .16995E-06    .29317E-04
  11  norm          .10018E-03    4.8994        .10057E-05** at limit **
  12  Prefactor     .10000E-03    5.8179       -.35347E-07** at limit **
  13  Prefactor     3.2372        267.87       -.24017E-04   -.10556E-04
  14  Prefactor     27.874        20.572        .27780E-05    .92508E-04
  15  Prefactor     3.9849        4.5011       -.15774E-06    .47936E-05
  16  Prefactor     .10000E-03    77.852       -.79725E-07** at limit **
  17  norm          .10000E-03    4.0611       -.63006E-07** at limit **
  18  Prefactor     .10000E-03    2.5775        .91535E-07** at limit **
  19  Prefactor     19.785        12.510        .17897E-06    .37846E-04
  20  Prefactor     .10000E-03    140.03       -.20442E-05** at limit **
  21  Prefactor     .10000E-03    16.594       -.33390E-06** at limit **
  22  Prefactor     .10000E-03    62.722       -.10023E-06** at limit **
  23  Normalizat    .53030        .29014       -.97974E-07    .17689E-04
  24  Prefactor     1.1475        .18117        .44075E-06    .14868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.19762
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 30.894
  Prefactor  = 2.40495
  norm       = 0.000100178
  Prefactor  = 0.0001
  Prefactor  = 3.23719
  Prefactor  = 27.8744
  Prefactor  = 3.98487
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7854
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.5303
  Prefactor  = 1.14753
 **********
 **   18 **HESSE 
 **********

 FCN=   3387.687     FROM HESSE     STATUS=OK           397 CALLS     3577 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    125.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.735        .15987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1976        2.7175        .73470E-04   -1.5298    
   5  Prefactor     .10000E-03    436.10        .21369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    40.102        .38678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.894        37.378        .36043E-03   -1.4596    
  10  Prefactor     2.4049        4.8192        .17402E-03   -1.5398    
  11  norm          .10018E-03    40.946        .23901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8276        .13711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2372        269.35        .22940E-03   -1.5348    
  14  Prefactor     27.874        20.556        .75844E-04   -1.4652    
  15  Prefactor     3.9849        4.4918        .12537E-03   -1.5309    
  16  Prefactor     .10000E-03    77.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.0626        .11456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5828        .91236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.785        12.483        .90043E-04   -1.4818    
  20  Prefactor     .10000E-03    142.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    62.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .53030        .31474        .36540E-03   -1.1103    
  24  Prefactor     1.1475        .20110        .17352E-03   -.87962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28238e-09
Minuit parameter uncertainties:
  1  6.34535e-05
  2  6.50217e-05
  3  4.90535e-06
  4  2.71757
  5  0.000523699
  6  1.28687e-05
  7  0.000381831
  8  4.35107e-05
  9  37.4059
  10  4.81997
  11  0.00540805
  12  2.95396e-06
  13  59.334
  14  20.5609
  15  4.49215
  16  6.11678e-05
  17  1.8872e-06
  18  6.1375e-07
  19  12.4847
  20  0.000350892
  21  1.74688e-05
  22  4.91781e-05
  23  0.315808
  24  0.201231
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.405e+00  4.820e+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.148e+00  2.012e-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:  5.303e-01  3.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/603304/likelihoodResults_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.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) = 3387.61520392
delta logL = 0.0713479510455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3387.61211585
delta logL = 0.0744360172393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6922       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8975       1.0000          .0000       10.000    
     3 'Normalizat'    .54221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1422       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=   3387.612     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6947        6.5827        .62076E-02   -.96294E-04
   2  Index         1.8938        1.2289        .26415       -.18439E-04
   3  Normalizat    .54272        .26265        .81599E-01    .45996E-04
   4  Prefactor     1.1419        .17823        .36165E-01    .49265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.69472
  Index      = 1.89384
  Normalizat = 0.542723
  Prefactor  = 1.14193
 **********
 **   18 **HESSE 
 **********

 FCN=   3387.612     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6947        4.9334        .16709E-03   -1.5380    
   2  Index         1.8938        1.1590        .13173E-01   -.67031    
   3  Normalizat    .54272        .28860        .36139E-03   -1.1047    
   4  Prefactor     1.1419        .19730        .17386E-03   -.88137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.21388e-10
Minuit parameter uncertainties:
  1  4.9341
  2  1.17657
  3  0.289403
  4  0.197423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/603304': 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) = 3387.61210907
delta logL = 0.0744427991572

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.695e+00  4.934e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.894e+00  1.177e+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.142e+00  1.974e-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:  5.427e-01  2.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/603304/cmap_HighResolution_403660801_403920001_4FGL_J2135.3-5006_daily_bin634.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2021-09-26 19:58:58.466112', job_id='603304', GAL2='1.14', fit_tolerance='1e-08', EG2='0.54', EG='0.53', time_epoch_completed='1632711538.47', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='7.44e-02', ts2='0.49', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='634' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:58:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 603304: <4FGL_J2135.3-5006_daily_bin634> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin634> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:45:59 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:47: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:47:35 2021
Terminated at Sun Sep 26 19:58:59 2021
Results reported at Sun Sep 26 19:58:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin634 323.836 -50.1015 403660801 403920001 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 :                                   548.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            780 sec.

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

