aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 175 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 = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1774
RA = 323.836, Dec = -50.1015
tmin = 699148801, tmax = 699408001
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='696630', job_status='RUN', time_executed='2023-03-02 01:38:23.648112', time_epoch_executed='1677749903.65' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696630

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696630/ft1_4FGL_J2135.3-5006_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696630/ft1_4FGL_J2135.3-5006_daily_bin1774.fits outfile=/scratch/kocevski/696630/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1774.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.82
user 2.62
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.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/696630/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/696630/ft1_filtered_4FGL_J2135.3-5006_daily_bin1774.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696630/ft1_filtered_4FGL_J2135.3-5006_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/696630/ltcube_699148801_699408001_4FGL_J2135.3-5006_daily_bin1774.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/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.fits
.....................!
real 12.25
user 11.92
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696630/ft1_filtered_4FGL_J2135.3-5006_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/696630/ltcube_699148801_699408001_4FGL_J2135.3-5006_daily_bin1774.fits outfile=/scratch/kocevski/696630/expmap_699148801_699408001_4FGL_J2135.3-5006_daily_bin1774.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/696630/ltcube_699148801_699408001_4FGL_J2135.3-5006_daily_bin1774.fits
.....................!
real 189.68
user 184.94
sys 4.41

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

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

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696630/ft1_filtered_4FGL_J2135.3-5006_daily_bin1774.fits scfile=/scratch/kocevski/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.fits outfile=/scratch/kocevski/696630/cmap_HighResolution_699148801_699408001_4FGL_J2135.3-5006_daily_bin1774.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696630/ft1_filtered_4FGL_J2135.3-5006_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696630/ft2_4FGL_J2135.3-5006_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696630/Model_4FGL_J2135.3-5006_daily_bin1774.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/696630/ft1_filtered_4FGL_J2135.3-5006_daily_bin1774.fits.....................!
real 18.73
user 17.52
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82178E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31398E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .81341E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .68257E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .63908E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    108.76       1.0000          .0000       .10000E+07
     7 'Prefactor '    .67250E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    12256.       1.0000          .0000       .10000E+07
     9 'norm      '    .26460       1.0000          .0000       .10000E+07
    10 'Prefactor '    .89011       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34382E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27468E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22227E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .52523       1.0000          .0000       .10000E+07
    15 'norm      '    .89041E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .30568E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.921       1.0000          .0000       .10000E+07
    18 'Prefactor '    30.730       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .42160       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=   858.4496     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1563 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    38.278       -.27076E-05** at limit **
   2  Prefactor      .0000        3.7826        .16483E-05** at limit **
   3  Prefactor      .0000        10.281       -.16798E-05** at limit **
   4  norm           .0000        .96637       -.10580E-05** at limit **
   5  Prefactor      .0000        27.210       -.94324E-06** at limit **
   6  Prefactor     104.19        132.37       -.42162E-05    .31941    
   7  Prefactor     .12836E-03    355.68       -.30157E-05** at limit **
   8  Prefactor     12257.        4.8519        .13758E-07   -.31427    
   9  norm          .61001E-06    399.61        .29344E-05** at limit **
  10  Prefactor     .31734E-01    771.46       -.18613E-04** at limit **
  11  Prefactor     .88907E-06    167.46       -.41341E-05** at limit **
  12  Prefactor     .55511E-10    18.867       -.21275E-05** at limit **
  13  Prefactor      .0000        3.5650        .22515E-06** at limit **
  14  Prefactor     .63172E-07    144.74        .65602E-05** at limit **
  15  norm           .0000        10.326       -.98305E-06** at limit **
  16  Prefactor      .0000        8.3831       -.10105E-05** at limit **
  17  Prefactor     12.942        16.940        .17204E-05   -.43598E-03
  18  Prefactor     30.722        1.6690        .87999E-07    .29263E-02
  19  Normalizat    .10000E-01    .51993E-01   -.88065E-04** at limit **
  20  Prefactor     .42199        .11665       -.89686E-05    .10041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 104.189
  Prefactor  = 0.00012836
  Prefactor  = 12256.6
  norm       = 6.10012e-07
  Prefactor  = 0.0317343
  Prefactor  = 8.89067e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.31717e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 12.9422
  Prefactor  = 30.7224
  Normalizat = 0.01
  Prefactor  = 0.421992
 **********
 **   18 **HESSE 
 **********

 FCN=   858.4496     FROM HESSE     STATUS=OK           315 CALLS     1878 TOTAL
                     EDM=   .11E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    38.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.7757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .96577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        27.213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     104.19        221.48        .95897E-04   -1.5504    
   7  Prefactor     .12836E-03    357.45        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12257.        2132.6        .90886E-05   -1.3489    
   9  norm          .61001E-06    405.71        .10723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31734E-01    1194.9        .46446E-03   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88907E-06    167.50        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    18.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.5657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .63172E-07    144.83        .76211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        10.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        8.3832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.942        17.195        .27841E-03   -1.5636    
  18  Prefactor     30.722        32.117        .18042E-03   -1.5597    
  19  Normalizat    .10000E-01    .51820E-01    .93427E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .42199        .12308        .38562E-01   -1.1570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00011103
Minuit parameter uncertainties:
  1  0.00038914
  2  1.4949e-05
  3  2.87132e-05
  4  5.39661e-06
  5  6.16269e-06
  6  221.499
  7  0.42843
  8  2132.7
  9  0.0314652
  10  12.3182
  11  0.0244068
  12  4.98178e-05
  13  1.97254e-06
  14  0.00604835
  15  1.58711e-05
  16  1.64013e-05
  17  17.195
  18  32.1172
  19  3.16713e-07
  20  0.123158
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.226e+04  2.133e+03  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:  4.220e-01  1.232e-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.000e-02  3.167e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 105.70
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.07e-04 +/- 1.86e-05
Energy Flux (Fixed Index): 3.37e-02 +/- 5.87e-03

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) = 843.567296898
delta logL = 14.8823289135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 843.503356831
delta logL = 14.9462689807

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1582.9       1.0000          .0000       .10000E+07
     2 'Index     '    4.0730       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50229       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=   843.5034     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      256 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1583.2        1084.5        .50310E-05   -.62572E-02
   2  Index         4.0729        .42638        .62193E-04   -.19976E-02
   3  Normalizat    .10000E-01    .49895E-01    .19932E-02** at limit **
   4  Prefactor     .50229        .12384        .15199E-03    .78087E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1583.2
  Index      = 4.07288
  Normalizat = 0.01
  Prefactor  = 0.502292
 **********
 **   18 **HESSE 
 **********

 FCN=   843.5034     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1583.2        1080.2        .10062E-05   -1.4912    
   2  Index         4.0729        .42469        .12439E-04   -.18650    
   3  Normalizat    .10000E-01    .49892E-01    .39864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50229        .12380        .30399E-04   -1.1187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48174e-09
Minuit parameter uncertainties:
  1  1080.31
  2  0.425223
  3  2.09716e-06
  4  0.123869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696630': 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) = 843.50335676
delta logL = 14.946269051

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.583e+03  1.080e+03  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  4.073e+00  4.252e-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:  5.023e-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.000e-02  2.097e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 135.50
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 4.07 +/- 0.43
Photon Flux (Free Index): 1.68e-04 +/- 3.03e-05
Energy Flux (Free Index): 2.49e-02 +/- 4.37e-03

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/696630/cmap_HighResolution_699148801_699408001_4FGL_J2135.3-5006_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-04', energy_flux2='2.49e-02', photon_flux_error='1.86e-05', dlogl='1.49e+01', energy_flux='3.37e-02', photon_flux2='1.68e-04', job_status='DONE', time_completed='2023-03-02 01:44:00.008786', photon_index_error2='0.43', photon_index2='4.07', ts='105.70', fit_tolerance='1e-08', GAL='0.42', photon_index_error='0.00', energy_flux_error2='4.37e-03', EG='0.01', time_epoch_completed='1677750240.01', return_code='0', job_id='696630', GAL2='0.50', EG2='0.01', return_code2='0', energy_flux_error='5.87e-03', photon_flux_error2='3.03e-05', ts2='135.50', photon_index='2.43' WHERE bin_id='1774' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:44:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 696630: <4FGL_J2135.3-5006_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar  2 01:35:18 2023
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:35:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:35:19 2023
Terminated at Thu Mar  2 01:44:00 2023
Results reported at Thu Mar  2 01:44:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1774 323.836 -50.1015 699148801 699408001 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 :                                   339.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            522 sec.

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

