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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1090
RA = 323.836, Dec = -50.1015
tmin = 521856001, tmax = 522115201
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='606048', job_status='RUN', time_executed='2021-09-26 19:58:42.887838', time_epoch_executed='1632711522.89' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606048

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606048/ft1_4FGL_J2135.3-5006_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606048/ft1_4FGL_J2135.3-5006_daily_bin1090.fits outfile=/scratch/kocevski/606048/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1090.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=521856001.0 tmax=522115201.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.79
user 3.52
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606048/ft1_filtered_4FGL_J2135.3-5006_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/606048/ltcube_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.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/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits
.....................!
real 14.18
user 13.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606048/ft1_filtered_4FGL_J2135.3-5006_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/606048/ltcube_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.fits outfile=/scratch/kocevski/606048/expmap_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.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/606048/ltcube_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.fits
.....................!
real 193.93
user 186.91
sys 5.48

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/606048/ft1_filtered_4FGL_J2135.3-5006_daily_bin1090.fits scfile=/scratch/kocevski/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits outfile=/scratch/kocevski/606048/cmap_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606048/ft1_filtered_4FGL_J2135.3-5006_daily_bin1090.fits scfile=/scratch/kocevski/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits outfile=/scratch/kocevski/606048/cmap_HighResolution_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.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.63
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606048/ft1_filtered_4FGL_J2135.3-5006_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/606048/ft2_4FGL_J2135.3-5006_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606048/Model_4FGL_J2135.3-5006_daily_bin1090.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/606048/ft1_filtered_4FGL_J2135.3-5006_daily_bin1090.fits.....................!
real 55.76
user 53.79
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10317       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.043       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.427       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9892       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5875       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2516       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8868       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9390       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6894       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.6592       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7100       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1449       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18806E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1801       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84172       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=   7373.093     FROM MIGRAD    STATUS=CONVERGED    612 CALLS     2868 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    803.66        .22694E-04** at limit **
   2  Prefactor     .10000E-03    1.5784       -.36455E-07** at limit **
   3  Prefactor     .10000E-03    18.193       -.21351E-06** at limit **
   4  norm          .10000E-03    .66426       -.12759E-06** at limit **
   5  Prefactor     29.032        37.528       -.16053E-06    .14910E-04
   6  Prefactor     .10000E-03    43.571        .12874E-05** at limit **
   7  Prefactor     10.427        7.2993       -.84076E-07    .90842E-05
   8  Prefactor     3.9931        15.988       -.24835E-06   -.54185E-05
   9  Prefactor     1.5964        76.750       -.29520E-06    .12049E-05
  10  Prefactor     5.2521        4.1888        .12597E-06    .42952E-04
  11  norm          1.8855        4.8328        .98380E-07    .20288E-07
  12  Prefactor     1.9403        7.8167        .72030E-05    .17941E-04
  13  Prefactor     .10000E-03    58.951       -.25533E-05** at limit **
  14  Prefactor     3.6922        7.5021        .13271E-07   -.79730E-04
  15  Prefactor     .10000E-03    4.6230       -.24330E-06** at limit **
  16  Prefactor     .10000E-03    150.83        .15159E-04** at limit **
  17  norm          4.6592        4.5702       -.69202E-08   -.22886E-04
  18  Prefactor     3.7104        3.5513        .60789E-07   -.32770E-06
  19  Prefactor     3.1452        3.3271        .34354E-07   -.21787E-04
  20  Prefactor     .10000E-03    19.544        .57139E-07** at limit **
  21  Prefactor     .10001E-03    5.8668        .95899E-06** at limit **
  22  Prefactor     .10000E-03    247.04       -.39648E-04** at limit **
  23  Normalizat    1.1800        .17644       -.50321E-06    .20777E-04
  24  Prefactor     .84173        .11121        .13544E-06    .18678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.0322
  Prefactor  = 0.0001
  Prefactor  = 10.4274
  Prefactor  = 3.99308
  Prefactor  = 1.59641
  Prefactor  = 5.25213
  norm       = 1.88546
  Prefactor  = 1.94029
  Prefactor  = 0.0001
  Prefactor  = 3.69222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65919
  Prefactor  = 3.71041
  Prefactor  = 3.14516
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Normalizat = 1.17999
  Prefactor  = 0.841727
 **********
 **   18 **HESSE 
 **********

 FCN=   7373.093     FROM HESSE     STATUS=OK           405 CALLS     3273 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    828.54        .38105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4251        .20736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.1142        .13520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.032        37.369        .74343E-04   -1.4630    
   6  Prefactor     .10000E-03    43.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.427        7.2968        .12408E-03   -1.5062    
   8  Prefactor     3.9931        15.852        .20193E-03   -1.5308    
   9  Prefactor     1.5964        76.521        .33687E-03   -1.5455    
  10  Prefactor     5.2521        4.1821        .14852E-03   -1.5250    
  11  norm          1.8855        4.7803        .27788E-03   -1.5433    
  12  Prefactor     1.9403        7.8364        .14909E-02   -1.5429    
  13  Prefactor     .10000E-03    59.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.6922        7.5138        .21027E-03   -1.5324    
  15  Prefactor     .10000E-03    4.8126        .35950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    151.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.6592        4.5729        .17733E-03   -1.5276    
  18  Prefactor     3.7104        3.5482        .15281E-03   -1.5323    
  19  Prefactor     3.1452        3.3277        .15628E-03   -1.5353    
  20  Prefactor     .10000E-03    19.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    31.779        .39804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    248.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1800        .20501        .25699E-03   -.87223    
  24  Prefactor     .84173        .12990        .19889E-03   -.98208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91079e-10
Minuit parameter uncertainties:
  1  0.00587451
  2  1.55835e-05
  3  8.14556e-06
  4  5.30486e-06
  5  37.3996
  6  8.28932e-06
  7  7.29739
  8  15.8685
  9  22.1345
  10  4.18235
  11  4.78122
  12  7.80025
  13  7.12419e-05
  14  7.51569
  15  9.723e-06
  16  0.000206817
  17  4.57322
  18  3.54838
  19  3.32786
  20  1.41531e-05
  21  0.00136149
  22  0.000591657
  23  0.205145
  24  0.129947
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.252e+00  4.182e+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:  8.417e-01  1.299e-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.180e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.57
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.58e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.15e-05

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

Saving results to:
/scratch/kocevski/606048/likelihoodResults_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.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) = 7372.88045171
delta logL = 0.212982760879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7372.87529749
delta logL = 0.218136979312

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7711       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9185       1.0000          .0000       10.000    
     3 'Normalizat'    1.1562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85124       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=   7372.875     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      272 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7701        57.224        .51973E-02    .43147E-03
   2  Index         2.9183        6.4434        .14590        .12817E-03
   3  Normalizat    1.1563        .71584E-01    .58604E-01    .11700E-04
   4  Prefactor     .85131        .42007E-01    .44380E-01    .10115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.77014
  Index      = 2.91826
  Normalizat = 1.1563
  Prefactor  = 0.851305
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.875     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7701        4.6942        .11121E-03   -1.5320    
   2  Index         2.9183        .90297        .75314E-02   -.42942    
   3  Normalizat    1.1563        .19865        .25918E-03   -.87964    
   4  Prefactor     .85131        .13007        .19787E-03   -.97864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59066e-11
Minuit parameter uncertainties:
  1  4.69468
  2  0.909019
  3  0.198779
  4  0.130118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606048': 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) = 7372.87529599
delta logL = 0.21813847572

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  3.770e+00  4.695e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.918e+00  9.090e-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:  8.513e-01  1.301e-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.156e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.04
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.92 +/- 0.91
Photon Flux (Free Index): 6.47e-08 +/- 4.98e-08
Energy Flux (Free Index): 1.35e-05 +/- 9.90e-06

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/606048/cmap_HighResolution_521856001_522115201_4FGL_J2135.3-5006_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.55e-03', comment='SUCCESS', photon_flux='4.58e-08', energy_flux2='1.35e-05', photon_flux_error='3.65e-08', dlogl='2.18e-01', energy_flux='1.44e-05', photon_flux2='6.47e-08', job_status='DONE', time_completed='2021-09-26 20:11:53.380202', photon_index_error2='0.91', photon_index2='2.92', ts='2.57', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='9.90e-06', EG='1.18', time_epoch_completed='1632712313.38', return_code='0', job_id='606048', GAL2='0.85', EG2='1.16', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='4.98e-08', ts2='3.04', photon_index='2.43' WHERE bin_id='1090' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:11:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 606048: <4FGL_J2135.3-5006_daily_bin1090> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1090> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:55:30 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:57:15 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:57:15 2021
Terminated at Sun Sep 26 20:11:54 2021
Results reported at Sun Sep 26 20:11:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1090 323.836 -50.1015 521856001 522115201 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 :                                   768.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             308.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            984 sec.

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

