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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1034
RA = 323.836, Dec = -50.1015
tmin = 507340801, tmax = 507600001
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='605967', job_status='RUN', time_executed='2021-09-26 19:57:24.029440', time_epoch_executed='1632711444.03' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1034'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605967

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605967/ft1_4FGL_J2135.3-5006_daily_bin1034.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605967/ft1_4FGL_J2135.3-5006_daily_bin1034.fits outfile=/scratch/kocevski/605967/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1034.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=507340801.0 tmax=507600001.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.56
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.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/605967/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1034.fits evtable="EVENTS" outfile="/scratch/kocevski/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.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.52
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.fits" evtable="EVENTS" scfile=/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits sctable="SC_DATA" outfile=/scratch/kocevski/605967/ltcube_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.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/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits
.....................!
real 14.11
user 13.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits sctable="SC_DATA" expcube=/scratch/kocevski/605967/ltcube_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.fits outfile=/scratch/kocevski/605967/expmap_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.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/605967/ltcube_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.fits
.....................!
real 191.32
user 186.04
sys 4.79

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/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.fits scfile=/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits outfile=/scratch/kocevski/605967/cmap_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.fits scfile=/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits outfile=/scratch/kocevski/605967/cmap_HighResolution_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/605967/ft2_4FGL_J2135.3-5006_daily_bin1034.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/605967/Model_4FGL_J2135.3-5006_daily_bin1034.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/605967/ft1_filtered_4FGL_J2135.3-5006_daily_bin1034.fits.....................!
real 61.31
user 59.96
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2980       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5105       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.543       1.0000         .10000E-03   10000.    
     4 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.815       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0464       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.806       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1818       1.0000         .10000E-03   10000.    
    11 'norm      '    17.321       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2420       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3555       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.311       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82316       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1072       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=   8464.303     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2719 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0844        400.06        .18197E-04   -.10649E-04
   2  Prefactor     4.5100        2.5686        .10781E-06   -.10394E-04
   3  Prefactor     18.539        16.708        .20789E-06   -.11789E-04
   4  norm          .10000E-03    .51454        .29216E-07** at limit **
   5  Prefactor     .10000E-03    15.820        .13950E-06** at limit **
   6  Prefactor     10.785        84.415        .22398E-05   -.17681E-04
   7  Prefactor     2.0427        6.8133        .65337E-05   -.22123E-03
   8  Prefactor     .10000E-03    21.629        .83603E-06** at limit **
   9  Prefactor     24.801        22.027        .26580E-06   -.22733E-04
  10  Prefactor     2.1852        3.5459        .93352E-07   -.25263E-04
  11  norm          17.321        5.1730       -.38286E-07    .97276E-04
  12  Prefactor     .10000E-03    2.4092        .11128E-06** at limit **
  13  Prefactor     .10000E-03    30.603        .20147E-06** at limit **
  14  Prefactor     .10000E-03    8.7973        .92739E-07** at limit **
  15  Prefactor     2.2433        3.3456        .27810E-06   -.14416E-03
  16  Prefactor     .10000E-03    31.780       -.67733E-06** at limit **
  17  norm          .10000E-03    1.8203       -.16576E-08** at limit **
  18  Prefactor     .10000E-03    .77671       -.52998E-08** at limit **
  19  Prefactor     6.3552        5.9623       -.35209E-07   -.65287E-03
  20  Prefactor     .10000E-03    30.128        .72657E-07** at limit **
  21  Prefactor     17.308        9.7402       -.58331E-06   -.10768E-02
  22  Prefactor     .10000E-03    21.868       -.28382E-07** at limit **
  23  Normalizat    .82304        .17370       -.21216E-05   -.45020E-03
  24  Prefactor     1.1073        .11565       -.93518E-07   -.51827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08442
  Prefactor  = 4.51001
  Prefactor  = 18.5392
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7845
  Prefactor  = 2.04266
  Prefactor  = 0.000100001
  Prefactor  = 24.8012
  Prefactor  = 2.18521
  norm       = 17.321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.24332
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.35519
  Prefactor  = 0.0001
  Prefactor  = 17.3081
  Prefactor  = 0.0001
  Normalizat = 0.823041
  Prefactor  = 1.10733
 **********
 **   18 **HESSE 
 **********

 FCN=   8464.303     FROM HESSE     STATUS=OK           397 CALLS     3116 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0844        415.02        .19403E-02   -1.5500    
   2  Prefactor     4.5100        2.5653        .10604E-03   -1.5283    
   3  Prefactor     18.539        16.704        .93010E-04   -1.4847    
   4  norm          .10000E-03    .92678        .12802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.785        84.601        .12183E-03   -1.5051    
   7  Prefactor     2.0427        6.8392        .14451E-02   -1.5422    
   8  Prefactor     .10000E-03    21.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.801        22.021        .80429E-04   -1.4712    
  10  Prefactor     2.1852        3.5290        .20920E-03   -1.5412    
  11  norm          17.321        5.1719        .96235E-04   -1.4875    
  12  Prefactor     .10000E-03    2.4163        .13948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.0717        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2433        3.3341        .19446E-03   -1.5408    
  16  Prefactor     .10000E-03    31.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.8210        .12122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .77923        .79172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3552        5.9891        .15921E-03   -1.5204    
  20  Prefactor     .10000E-03    30.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.308        9.8880        .96264E-04   -1.4876    
  22  Prefactor     .10000E-03    21.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82304        .19822        .31136E-03   -.99220    
  24  Prefactor     1.1073        .13313        .18922E-03   -.89233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07656e-09
Minuit parameter uncertainties:
  1  42.7286
  2  2.56535
  3  16.7078
  4  1.63236e-06
  5  3.55659e-05
  6  60.5292
  7  6.84184
  8  0.00034247
  9  22.0286
  10  3.5293
  11  5.172
  12  1.38131e-05
  13  4.1575e-05
  14  2.58837e-05
  15  3.33433
  16  9.97465e-05
  17  8.63148e-08
  18  2.95065e-07
  19  5.9897
  20  0.000246558
  21  9.88895
  22  9.35621e-06
  23  0.198399
  24  0.133174
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.185e+00  3.529e+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.107e+00  1.332e-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:  8.230e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/605967/likelihoodResults_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.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) = 8464.30282628
delta logL = 0.000113663454613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8464.30278153
delta logL = 0.000158417693456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2135       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4045       1.0000          .0000       10.000    
     3 'Normalizat'    .82382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1069       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=   8464.303     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      218 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2180        72.214        .69112E-02    .92358E-03
   2  Index         2.4060        3.1403        .36095        .20703E-04
   3  Normalizat    .82352        .33122E-01    .70347E-01   -.59605E-06
   4  Prefactor     1.1071        .22750E-01    .37332E-01   -.38061E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.21805
  Index      = 2.40601
  Normalizat = 0.823518
  Prefactor  = 1.10711
 **********
 **   18 **HESSE 
 **********

 FCN=   8464.303     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2180        4.1587        .21119E-03   -1.5410    
   2  Index         2.4060        1.3768        .10236E-01   -.54544    
   3  Normalizat    .82352        .18955        .31128E-03   -.99202    
   4  Prefactor     1.1071        .13114        .18923E-03   -.89240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22496e-09
Minuit parameter uncertainties:
  1  4.1592
  2  1.40181
  3  0.189698
  4  0.131175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605967': 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) = 8464.30277766
delta logL = 0.000162285825354

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.218e+00  4.159e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.406e+00  1.402e+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.107e+00  1.312e-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:  8.235e-01  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
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/605967/cmap_HighResolution_507340801_507600001_4FGL_J2135.3-5006_daily_bin1034.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.82e-08', time_completed='2021-09-26 20:10:50.211521', job_id='605967', GAL2='1.11', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632712250.21', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.62e-04', ts2='0.47', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1034' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:10:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 605967: <4FGL_J2135.3-5006_daily_bin1034> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1034> 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) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:56:34 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:34 2021
Terminated at Sun Sep 26 20:10:51 2021
Results reported at Sun Sep 26 20:10:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1034 323.836 -50.1015 507340801 507600001 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 :                                   804.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            927 sec.

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

