/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 230 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7491
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1732
RA = 323.836, Dec = -50.1015
tmin = 688262401, tmax = 688521601
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='647543', job_status='RUN', time_executed='2022-10-27 00:39:37.845459', time_epoch_executed='1666856377.85' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647543

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647543/ft1_4FGL_J2135.3-5006_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647543/ft1_4FGL_J2135.3-5006_daily_bin1732.fits outfile=/scratch/kocevski/647543/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1732.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=688262401.0 tmax=688521601.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.20

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

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

Number of photons that the gtmktime cut: 545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647543/ltcube_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.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/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits
.....................!
real 12.40
user 12.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647543/ltcube_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.fits outfile=/scratch/kocevski/647543/expmap_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.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/647543/ltcube_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.fits
.....................!
real 191.28
user 186.18
sys 4.68

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/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits scfile=/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits outfile=/scratch/kocevski/647543/cmap_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits scfile=/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits outfile=/scratch/kocevski/647543/cmap_HighResolution_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647543/Model_4FGL_J2135.3-5006_daily_bin1732.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/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits.....................!
real 47.46
user 46.04
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits', '/scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits', expMap='/scratch/kocevski/647543/expmap_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.fits', expCube='/scratch/kocevski/647543/ltcube_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647543/Model_4FGL_J2135.3-5006_daily_bin1732.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  0.000e+00  1.000e+06 ( 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/647543/ft1_filtered_4FGL_J2135.3-5006_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647543/ft2_4FGL_J2135.3-5006_daily_bin1732.fits
Exposure map: /scratch/kocevski/647543/expmap_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647543/ltcube_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647543/Model_4FGL_J2135.3-5006_daily_bin1732.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) = 5943.42255885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21674       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15739E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2102       1.0000          .0000       .10000E+07
     4 'norm      '    .14821E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3657       1.0000          .0000       .10000E+07
     6 'Prefactor '    22.624       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.6665       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17156E-02   1.0000          .0000       .10000E+07
     9 'norm      '    13.573       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55778E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13635E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .26903E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.2867       1.0000          .0000       .10000E+07
    14 'Prefactor '    109.79       1.0000          .0000       .10000E+07
    15 'norm      '    7.1818       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15296E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .76567E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16363E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1068       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5943.418     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1651 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6356        561.27        .35611E-05   -.16818E-04
   2  Prefactor      .0000        2.6643        .74830E-07** at limit **
   3  Prefactor     1.2387        68.788        .13322E-05   -.26884E-04
   4  norm           .0000        4.5542       -.10430E-06** at limit **
   5  Prefactor     2.3769        10.643        .15545E-06    .20105E-04
   6  Prefactor     22.601        30.533        .18925E-06   -.28549E-05
   7  Prefactor     7.6874        19.087       -.21587E-07    .57010E-04
   8  Prefactor      .0000        10.747       -.55390E-07** at limit **
   9  norm          13.616        6.1765       -.18825E-07    .12454E-03
  10  Prefactor      .0000        6.6416        .10605E-06** at limit **
  11  Prefactor      .0000        11.400       -.13814E-06** at limit **
  12  Prefactor     .55511E-10    65.578       -.19292E-05** at limit **
  13  Prefactor     7.2758        4.0502       -.57321E-08   -.23249E-03
  14  Prefactor     113.19        97.536        .17904E-06    .80357E-04
  15  norm          7.1610        6.2132       -.38694E-07    .18845E-03
  16  Prefactor      .0000        2.1491       -.87982E-07** at limit **
  17  Prefactor      .0000        4.2658        .59865E-08** at limit **
  18  Prefactor      .0000        14.354        .30621E-08** at limit **
  19  Normalizat    1.1062        .22305        .19440E-06   -.31034E-05
  20  Prefactor     .85393        .14406       -.62870E-06    .60111E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.63559
  Prefactor  = 0
  Prefactor  = 1.23869
  norm       = 0
  Prefactor  = 2.37693
  Prefactor  = 22.6005
  Prefactor  = 7.68739
  Prefactor  = 0
  norm       = 13.6164
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 7.27583
  Prefactor  = 113.191
  norm       = 7.16103
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.10615
  Prefactor  = 0.853931
 **********
 **   18 **HESSE 
 **********

 FCN=   5943.418     FROM HESSE     STATUS=OK           343 CALLS     1994 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6356        557.84        .11485E-02   -1.5670    
   2  Prefactor      .0000        2.6472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2387        67.971        .10282E-02   -1.5686    
   4  norm           .0000        4.3602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3769        10.732        .66595E-03   -1.5677    
   6  Prefactor     22.601        30.615        .21030E-03   -1.5613    
   7  Prefactor     7.6874        19.094        .36194E-03   -1.5653    
   8  Prefactor      .0000        10.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.616        6.1856        .27161E-03   -1.5634    
  10  Prefactor      .0000        6.6634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        11.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    8.7982        .60978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2758        4.0528        .37133E-03   -1.5654    
  14  Prefactor     113.19        108.22        .95442E-04   -1.5495    
  15  norm          7.1610        6.2179        .37406E-03   -1.5654    
  16  Prefactor      .0000        2.1521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.2417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        14.213        .17289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1062        .19296        .59680E-01   -.89554    
  20  Prefactor     .85393        .12382        .44424E-01   -.97770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65828e-07
Minuit parameter uncertainties:
  1  90.0771
  2  5.25994e-08
  3  18.3518
  4  1.00632e-06
  5  10.1015
  6  30.6156
  7  19.0938
  8  5.33992e-06
  9  6.18565
  10  3.53278e-06
  11  1.29791e-08
  12  4.12129e-05
  13  4.05275
  14  108.217
  15  6.21794
  16  1.51447e-06
  17  1.46968e-06
  18  8.73874e-07
  19  0.193085
  20  0.123862
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  5.340e-06  0.000e+00  1.000e+06 ( 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.539e-01  1.239e-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.106e+00  1.931e-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: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647543/likelihoodResults_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.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) = 5943.42445435
delta logL = -0.00629263808878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5943.41816252
delta logL = -8.03599505161e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17054E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6994       1.0000          .0000       10.000    
     3 'Normalizat'    1.1061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85398       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5943.418     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      248 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.6982        .42118E-03** at limit **
   2  Index         1.8934        .88903        .83091E-05     .0000    
   3  Normalizat    1.1062        1.1511        .12180E-04   -.28769E-04
   4  Prefactor     .85393        1.2009       -.13505E-04    .46530E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.89339
  Normalizat = 1.10615
  Prefactor  = 0.853931
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5943.418     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .37615        1.5983        .83091E-05   -.67043    
   3  Normalizat    1.1062        1.1511        .12180E-04   -.89555    
   4  Prefactor     .85393        1.2009       -.13505E-04   -.97770    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97178e-12
Minuit parameter uncertainties:
  1  6.48462e-06
  2  0.896845
  3  1.17895
  4  1.24127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647543': 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): 101
logL (Free Index) = 5943.41816171
delta logL = -2.72848410532e-12

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  6.485e-06  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  1.893e+00  8.968e-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.539e-01  1.241e+00  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.106e+00  1.179e+00  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/647543/cmap_HighResolution_688262401_688521601_4FGL_J2135.3-5006_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2022-10-27 00:48:32.407372', job_id='647543', GAL2='0.85', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1666856912.41', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-2.73e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1732' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:48:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 647543: <4FGL_J2135.3-5006_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:35 2022
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:36 2022
Terminated at Thu Oct 27 00:48:33 2022
Results reported at Thu Oct 27 00:48:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1732 323.836 -50.1015 688262401 688521601 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 :                                   537.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

