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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1765
RA = 323.836, Dec = -50.1015
tmin = 696816001, tmax = 697075201
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='647037', job_status='RUN', time_executed='2023-02-03 01:44:52.259583', time_epoch_executed='1675417492.26' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647037/ft1_4FGL_J2135.3-5006_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647037/ft1_4FGL_J2135.3-5006_daily_bin1765.fits outfile=/scratch/kocevski/647037/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1765.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=696816001.0 tmax=697075201.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.68
user 3.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.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/647037/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/647037/ft1_filtered_4FGL_J2135.3-5006_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 522

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647037/ft1_filtered_4FGL_J2135.3-5006_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/647037/ltcube_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.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/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.fits
.....................!
real 19.23
user 18.78
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647037/ft1_filtered_4FGL_J2135.3-5006_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/647037/ltcube_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.fits outfile=/scratch/kocevski/647037/expmap_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.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/647037/ltcube_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.fits
.....................!
real 195.80
user 188.55
sys 5.48

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/647037/ft1_filtered_4FGL_J2135.3-5006_daily_bin1765.fits scfile=/scratch/kocevski/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.fits outfile=/scratch/kocevski/647037/cmap_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.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.72
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647037/ft1_filtered_4FGL_J2135.3-5006_daily_bin1765.fits scfile=/scratch/kocevski/647037/ft2_4FGL_J2135.3-5006_daily_bin1765.fits outfile=/scratch/kocevski/647037/cmap_HighResolution_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.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.68
user 0.40
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15389E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .63496E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18414E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .63102       1.0000          .0000       .10000E+07
     5 'Prefactor '    .50295E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35379E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.152       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48266       1.0000          .0000       .10000E+07
     9 'norm      '    .13206E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.9618       1.0000          .0000       .10000E+07
    11 'Prefactor '    75.804       1.0000          .0000       .10000E+07
    12 'Prefactor '    .87737E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.9074       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47096E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .77498E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70251E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.0802       1.0000          .0000       .10000E+07
    18 'Prefactor '    .22647E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0560       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1186       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=   5685.733     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1518 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76661E-07    30.806        .70492E-07** at limit **
   2  Prefactor      .0000        1.9588        .38480E-07** at limit **
   3  Prefactor     .21544E-06    18.517       -.31890E-06** at limit **
   4  norm          .63503        2.0377       -.16266E-07    .31270E-03
   5  Prefactor     .11102E-09    8.7471        .96051E-07** at limit **
   6  Prefactor     .48406E-06    11.396       -.24337E-06** at limit **
   7  Prefactor     10.190        1.9350        .14446E-07    .37011E-01
   8  Prefactor     .49619        12.887        .13102E-05    .19607E-02
   9  norm           .0000        4.4424        .44824E-07** at limit **
  10  Prefactor     9.9582        1.2392       -.32713E-07    .26219E-01
  11  Prefactor     75.730        1.2392        .22928E-09    .30520E-01
  12  Prefactor      .0000        6.4712       -.14762E-06** at limit **
  13  Prefactor     6.9124        4.7927        .68427E-08    .44242E-03
  14  Prefactor     .92870E-07    31.272        .67428E-07** at limit **
  15  norm           .0000        2.4504       -.20933E-07** at limit **
  16  Prefactor      .0000        2.3555       -.17124E-07** at limit **
  17  Prefactor     7.1423        6.5969       -.15049E-06    .72590E-03
  18  Prefactor     .80269E-07    31.738        .15830E-07** at limit **
  19  Normalizat    1.0557        .25836        .24590E-05    .34339E-04
  20  Prefactor     1.1186        .16913       -.15152E-05    .32784E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.66609e-08
  Prefactor  = 0
  Prefactor  = 2.15439e-07
  norm       = 0.63503
  Prefactor  = 1.11022e-10
  Prefactor  = 4.84057e-07
  Prefactor  = 10.1897
  Prefactor  = 0.496189
  norm       = 0
  Prefactor  = 9.95817
  Prefactor  = 75.7302
  Prefactor  = 0
  Prefactor  = 6.91238
  Prefactor  = 9.28702e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.14226
  Prefactor  = 8.02691e-08
  Normalizat = 1.05569
  Prefactor  = 1.11864
 **********
 **   18 **HESSE 
 **********

 FCN=   5685.733     FROM HESSE     STATUS=OK           331 CALLS     1849 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76661E-07    62.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.9535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21544E-06    28.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63503        2.0565        .66494E-03   -1.5692    
   5  Prefactor     .11102E-09    8.7200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .48406E-06    29.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.190        19.483        .31424E-03   -1.5644    
   8  Prefactor     .49619        4.4443        .52211E-02   -1.5694    
   9  norm           .0000        4.4299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9582        11.553        .31724E-03   -1.5645    
  11  Prefactor     75.730        59.103        .11486E-03   -1.5534    
  12  Prefactor      .0000        6.4523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.9124        4.7750        .38150E-03   -1.5655    
  14  Prefactor     .92870E-07    62.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.4546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.3540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.1423        6.5811        .37676E-03   -1.5655    
  18  Prefactor     .80269E-07    33.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0557        .23008        .68863E-01   -.91187    
  20  Prefactor     1.1186        .14612        .36921E-01   -.88873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39721e-07
Minuit parameter uncertainties:
  1  0.00436138
  2  7.29931e-06
  3  0.00495008
  4  2.05647
  5  6.69406e-05
  6  0.00749926
  7  19.4828
  8  2.97
  9  9.83576e-06
  10  11.5531
  11  59.1031
  12  1.90833e-05
  13  4.77499
  14  0.00480602
  15  5.82479e-06
  16  4.31858e-07
  17  6.58115
  18  0.00327212
  19  0.230298
  20  0.14617
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  4.962e-01  2.970e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.119e+00  1.462e-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.056e+00  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/647037/likelihoodResults_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.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) = 5685.73134908
delta logL = 0.00179855075839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5685.7313421
delta logL = 0.0018055350165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49619       1.0000          .0000       .10000E+07
     2 'Index     '    2.5827       1.0000          .0000       10.000    
     3 'Normalizat'    1.0548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1189       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=   5685.731     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      263 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50252        11.957        .31638E-04   -.53542E-03
   2  Index         2.5798        2.5227        .13748E-01   -.15275E-04
   3  Normalizat    1.0547        .25048        .30480E-03   -.55837E-04
   4  Prefactor     1.1189        .16721        .19853E-03   -.19253E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.50252
  Index      = 2.5798
  Normalizat = 1.05473
  Prefactor  = 1.11888
 **********
 **   18 **HESSE 
 **********

 FCN=   5685.731     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50252        10.509        .12655E-05   -1.5694    
   2  Index         2.5798        2.3858        .54993E-03   -.50526    
   3  Normalizat    1.0547        .25073        .12192E-04   -.91219    
   4  Prefactor     1.1189        .16733        .39707E-04   -.88865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28167e-10
Minuit parameter uncertainties:
  1  4.59603
  2  2.52341
  3  0.251014
  4  0.167408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647037': 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) = 5685.73134083
delta logL = 0.00180679957339

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.025e-01  4.596e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.580e+00  2.523e+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.119e+00  1.674e-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.055e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/647037/cmap_HighResolution_696816001_697075201_4FGL_J2135.3-5006_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.94e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2023-02-03 01:54:07.883611', job_id='647037', GAL2='1.12', fit_tolerance='1e-08', EG2='1.05', EG='1.06', time_epoch_completed='1675418047.88', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.81e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1765' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:54:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 647037: <4FGL_J2135.3-5006_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:40:15 2023
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:41:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:41:14 2023
Terminated at Fri Feb  3 01:54:08 2023
Results reported at Fri Feb  3 01:54:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1765 323.836 -50.1015 696816001 697075201 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 :                                   555.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            833 sec.

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

