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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1311
RA = 323.836, Dec = -50.1015
tmin = 579139201, tmax = 579398401
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='607532', job_status='RUN', time_executed='2021-09-26 20:03:17.015180', time_epoch_executed='1632711797.02' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607532

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607532/ft1_4FGL_J2135.3-5006_daily_bin1311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607532/ft1_4FGL_J2135.3-5006_daily_bin1311.fits outfile=/scratch/kocevski/607532/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1311.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=579139201.0 tmax=579398401.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.52
user 3.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.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/607532/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1311.fits evtable="EVENTS" outfile="/scratch/kocevski/607532/ft1_filtered_4FGL_J2135.3-5006_daily_bin1311.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.50
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607532/ft1_filtered_4FGL_J2135.3-5006_daily_bin1311.fits" evtable="EVENTS" scfile=/scratch/kocevski/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.fits sctable="SC_DATA" outfile=/scratch/kocevski/607532/ltcube_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.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/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.fits
.....................!
real 14.05
user 13.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607532/ft1_filtered_4FGL_J2135.3-5006_daily_bin1311.fits evtable="EVENTS" scfile=/scratch/kocevski/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.fits sctable="SC_DATA" expcube=/scratch/kocevski/607532/ltcube_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.fits outfile=/scratch/kocevski/607532/expmap_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.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/607532/ltcube_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.fits
.....................!
real 193.75
user 187.92
sys 5.38

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

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

This is gtbin version HEAD
real 0.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607532/ft1_filtered_4FGL_J2135.3-5006_daily_bin1311.fits scfile=/scratch/kocevski/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.fits outfile=/scratch/kocevski/607532/cmap_HighResolution_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.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/607532/ft1_filtered_4FGL_J2135.3-5006_daily_bin1311.fits evtable="EVENTS" scfile=/scratch/kocevski/607532/ft2_4FGL_J2135.3-5006_daily_bin1311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607532/Model_4FGL_J2135.3-5006_daily_bin1311.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/607532/ft1_filtered_4FGL_J2135.3-5006_daily_bin1311.fits.....................!
real 58.59
user 57.23
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    6.6204       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    18.041       1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.800       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7279       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4538       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.589       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0864       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.973       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24332       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    46.102       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3971       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.0381       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97275       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88428       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=   7877.972     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2662 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.114       -.15696E-06** at limit **
   2  Prefactor     6.6203        3.0888        .29667E-06   -.37374E-04
   3  Prefactor     .10000E-03    9.1004       -.10351E-05** at limit **
   4  norm          18.041        3.0636        .14495E-06   -.36343E-04
   5  Prefactor     46.795        39.932        .72827E-06   -.22031E-04
   6  Prefactor     3.6924        123.83        .16166E-04   -.25646E-04
   7  Prefactor     .10000E-03    4.3760       -.15032E-06** at limit **
   8  Prefactor     4.4526        27.752        .65678E-06   -.14384E-05
   9  Prefactor     .10000E-03    10.074        .11215E-05** at limit **
  10  Prefactor     .10000E-03    1.6211       -.77825E-08** at limit **
  11  norm          18.588        5.9054       -.12652E-06   -.39224E-04
  12  Prefactor     2.0860        7.0718        .81118E-05   -.54997E-04
  13  Prefactor     32.977        25.884       -.62203E-06   -.10944E-03
  14  Prefactor     .22820        4.6021        .41569E-06    .37163E-04
  15  Prefactor     .10000E-03    2.0538        .10938E-06** at limit **
  16  Prefactor     46.128        55.039       -.50805E-05   -.82033E-04
  17  norm          .10000E-03    4.0444        .12642E-06** at limit **
  18  Prefactor     6.3968        3.7450        .12995E-06   -.65362E-04
  19  Prefactor     9.0373        5.7893        .17187E-06   -.10837E-03
  20  Prefactor     .10000E-03    16.866       -.32859E-06** at limit **
  21  Prefactor     .10000E-03    5.2360        .15422E-06** at limit **
  22  Prefactor     .10000E-03    31.497        .31018E-06** at limit **
  23  Normalizat    .97282        .17602       -.17925E-05   -.24789E-03
  24  Prefactor     .88426        .11546        .51966E-08   -.22643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.6203
  Prefactor  = 0.0001
  norm       = 18.0405
  Prefactor  = 46.795
  Prefactor  = 3.69244
  Prefactor  = 0.0001
  Prefactor  = 4.45264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.5884
  Prefactor  = 2.086
  Prefactor  = 32.9766
  Prefactor  = 0.228196
  Prefactor  = 0.0001
  Prefactor  = 46.1281
  norm       = 0.0001
  Prefactor  = 6.39684
  Prefactor  = 9.03734
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.97282
  Prefactor  = 0.884259
 **********
 **   18 **HESSE 
 **********

 FCN=   7877.972     FROM HESSE     STATUS=OK           395 CALLS     3057 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6203        3.0903        .50815E-03   -1.5193    
   3  Prefactor     .10000E-03    9.1309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          18.041        3.0664        .60739E-04   -1.4858    
   5  Prefactor     46.795        39.938        .58612E-04   -1.4339    
   6  Prefactor     3.6924        123.43        .20914E-03   -1.5324    
   7  Prefactor     .10000E-03    4.4317        .18123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4526        27.530        .19080E-03   -1.5286    
   9  Prefactor     .10000E-03    10.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.6400        .11031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.588        5.8879        .92895E-04   -1.4845    
  12  Prefactor     2.0860        7.0802        .14292E-02   -1.5419    
  13  Prefactor     32.977        25.864        .69782E-04   -1.4559    
  14  Prefactor     .22820        25.795        .35050E-02   -1.5612    
  15  Prefactor     .10000E-03    2.0925        .12410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.128        55.571        .59051E-04   -1.4349    
  17  norm          .10000E-03    4.0923        .17433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.3968        3.7498        .12647E-03   -1.5202    
  19  Prefactor     9.0373        5.8236        .13332E-03   -1.5107    
  20  Prefactor     .10000E-03    16.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.2758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    31.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97282        .20278        .29347E-03   -.93947    
  24  Prefactor     .88426        .13371        .20797E-03   -.96693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73188e-10
Minuit parameter uncertainties:
  1  1.47942e-06
  2  3.09037
  3  8.22831e-06
  4  3.06647
  5  39.9609
  6  42.793
  7  2.04647e-07
  8  22.1581
  9  2.58619e-05
  10  1.39197e-06
  11  5.8881
  12  7.08304
  13  25.8728
  14  4.85342
  15  1.19272e-05
  16  55.6338
  17  1.05449e-05
  18  3.74994
  19  5.824
  20  3.79281e-05
  21  7.25245e-06
  22  1.63163e-07
  23  0.202944
  24  0.133756
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.392e-06  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.843e-01  1.338e-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.728e-01  2.029e-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: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/607532/likelihoodResults_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.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) = 7877.97457321
delta logL = -0.00290490446787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7877.971668
delta logL = 3.08285052597e-07

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 'Index     '    2.4143       1.0000          .0000       10.000    
     3 'Normalizat'    .97282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88426       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=   7877.972     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      254 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3348        .11143E-01** at limit **
   2  Index         2.0796        5.0249        .50000       -.25233E-05
   3  Normalizat    .97282        .89534E-02    .29347E-03    .55009E-04
   4  Prefactor     .88426        .61163E-02    .20797E-03    .98725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.07964
  Normalizat = 0.972822
  Prefactor  = 0.884259
 **********
 **   18 **HESSE 
 **********

 FCN=   7877.972     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      281 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    86.038        .11725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0796        5.6623        .50000       -.62374    
   3  Normalizat    .97282        .32008E-01    .11739E-04   -.93947    
   4  Prefactor     .88426        .21866E-01    .83188E-05   -.96693    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15855e-07
Minuit parameter uncertainties:
  1  0.000200607
  2  460.591
  3  0.0320086
  4  0.0218658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607532': 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): 102
logL (Free Index) = 7877.97166477
delta logL = 3.53313589585e-06

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.006e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.080e+00  4.606e+02  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.843e-01  2.187e-02  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.728e-01  3.201e-02  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/607532/cmap_HighResolution_579139201_579398401_4FGL_J2135.3-5006_daily_bin1311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2021-09-26 20:16:26.880321', job_id='607532', GAL2='0.88', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632712586.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.53e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1311' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:16:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 607532: <4FGL_J2135.3-5006_daily_bin1311> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1311> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep 26 20:00:42 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 20:01:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 20:01:55 2021
Terminated at Sun Sep 26 20:16:27 2021
Results reported at Sun Sep 26 20:16:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1311 323.836 -50.1015 579139201 579398401 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 :                                   776.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            945 sec.

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

