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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1771
RA = 323.836, Dec = -50.1015
tmin = 698371201, tmax = 698630401
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='568547', job_status='RUN', time_executed='2023-02-21 02:13:31.796654', time_epoch_executed='1676974411.8' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/568547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/568547/ft1_4FGL_J2135.3-5006_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/568547/ft2_4FGL_J2135.3-5006_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/568547/ft1_4FGL_J2135.3-5006_daily_bin1771.fits outfile=/scratch/kocevski/568547/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1771.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=698371201.0 tmax=698630401.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.10
user 2.89
sys 0.20

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

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

Number of photons that the gtmktime cut: 222

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/568547/ft1_filtered_4FGL_J2135.3-5006_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/568547/ft2_4FGL_J2135.3-5006_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/568547/ltcube_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.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/568547/ft2_4FGL_J2135.3-5006_daily_bin1771.fits
.....................!
real 12.82
user 12.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/568547/ft1_filtered_4FGL_J2135.3-5006_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/568547/ft2_4FGL_J2135.3-5006_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/568547/ltcube_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.fits outfile=/scratch/kocevski/568547/expmap_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.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/568547/ltcube_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.fits
.....................!
real 190.74
user 185.59
sys 4.78

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/568547/ft1_filtered_4FGL_J2135.3-5006_daily_bin1771.fits scfile=/scratch/kocevski/568547/ft2_4FGL_J2135.3-5006_daily_bin1771.fits outfile=/scratch/kocevski/568547/cmap_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59922E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .29671       1.0000          .0000       .10000E+07
     3 'Prefactor '    21.950       1.0000          .0000       .10000E+07
     4 'norm      '    .46002E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.1101       1.0000          .0000       .10000E+07
     6 'Prefactor '    97.960       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23000E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    11.083       1.0000          .0000       .10000E+07
     9 'norm      '    .34017E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16178E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    141.51       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24910E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.917       1.0000          .0000       .10000E+07
    14 'Prefactor '    .79363E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .10411E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .97601E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55425E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    43.217       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1524       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=   2392.690     FROM MIGRAD    STATUS=CONVERGED    223 CALLS     1599 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        36.305       -.32738E-07** at limit **
   2  Prefactor     .26960        12.485        .29784E-06    .14198E-03
   3  Prefactor     24.090        34.620        .24148E-07    .63742E-03
   4  norm           .0000        1.1564       -.45269E-08** at limit **
   5  Prefactor     8.3893        21.163        .11657E-07    .31143E-02
   6  Prefactor     103.27        78.201       -.27955E-06    .66856E-01
   7  Prefactor     .27200E-08    120.64        .39171E-06** at limit **
   8  Prefactor     10.957        10.274       -.75471E-09   -.15243E-03
   9  norm           .0000        6.7247       -.95389E-08** at limit **
  10  Prefactor      .0000        19.140       -.54275E-07** at limit **
  11  Prefactor     148.89        138.06        .14765E-06   -.11104E-01
  12  Prefactor      .0000        8.7053        .22021E-08** at limit **
  13  Prefactor     14.136        11.293       -.17149E-07    .28292E-04
  14  Prefactor      .0000        98.520       -.77489E-07** at limit **
  15  norm           .0000        15.476       -.87739E-08** at limit **
  16  Prefactor     .38397E-06    173.96        .12320E-05** at limit **
  17  Prefactor     .16653E-09    19.344        .49297E-07** at limit **
  18  Prefactor     40.327        45.734        .30995E-06    .71765E-01
  19  Normalizat    1.1080        .49213       -.21725E-05    .22095E-05
  20  Prefactor     1.1552        .27823        .43332E-06    .36470E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.269596
  Prefactor  = 24.0902
  norm       = 0
  Prefactor  = 8.38934
  Prefactor  = 103.268
  Prefactor  = 2.72005e-09
  Prefactor  = 10.9565
  norm       = 0
  Prefactor  = 0
  Prefactor  = 148.886
  Prefactor  = 0
  Prefactor  = 14.1364
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.83971e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 40.327
  Normalizat = 1.10796
  Prefactor  = 1.1552
 **********
 **   18 **HESSE 
 **********

 FCN=   2392.690     FROM HESSE     STATUS=OK           329 CALLS     1928 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        36.054        .15165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26960        3.6434        .48047E-02   -1.5698    
   3  Prefactor     24.090        34.641        .21350E-03   -1.5610    
   4  norm           .0000        1.1569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.3893        21.222        .33182E-03   -1.5650    
   6  Prefactor     103.27        93.499        .10104E-03   -1.5505    
   7  Prefactor     .27200E-08    120.84        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.957        10.321        .30069E-03   -1.5642    
   9  norm           .0000        6.6835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        19.153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     148.89        138.51        .84070E-04   -1.5464    
  12  Prefactor      .0000        8.6947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.136        11.278        .26823E-03   -1.5633    
  14  Prefactor      .0000        98.730        .14521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        15.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38397E-06    174.11        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    19.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.327        82.685        .15213E-03   -1.5581    
  19  Normalizat    1.1080        .42632        .78006E-01   -.89497    
  20  Prefactor     1.1552        .23846        .35868E-01   -.87721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28261e-06
Minuit parameter uncertainties:
  1  1.44747e-05
  2  1.98218
  3  34.6414
  4  2.20647e-08
  5  21.2224
  6  93.5008
  7  0.0011455
  8  10.3206
  9  4.6358e-06
  10  7.75606e-06
  11  138.51
  12  2.05351e-06
  13  11.2781
  14  7.38049e-06
  15  2.39556e-05
  16  0.0163537
  17  0.000104826
  18  82.6873
  19  0.427653
  20  0.238678
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.096e+01  1.032e+01  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.155e+00  2.387e-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.108e+00  4.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 9.56e-08 +/- 9.00e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 2.84e-05

TS (Fixed Index): 1.67
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 3.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/568547/likelihoodResults_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.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) = 2392.48014646
delta logL = 0.20997083383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2392.46060506
delta logL = 0.229512233451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.890       1.0000          .0000       .10000E+07
     2 'Index     '    2.0105       1.0000          .0000       10.000    
     3 'Normalizat'    1.1334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1415       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=   2392.461     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      229 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 19.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.891        12.327        .30638E-06   -.12233E-01
   2  Index         2.0104        .48495       -.94319E-05   -.40135E-03
   3  Normalizat    1.1334        .39665        .74269E-06    .37671E-05
   4  Prefactor     1.1415        .23711       -.68409E-06    .89782E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8912
  Index      = 2.01037
  Normalizat = 1.1334
  Prefactor  = 1.14152
 **********
 **   18 **HESSE 
 **********

 FCN=   2392.461     FROM HESSE     STATUS=OK            29 CALLS      258 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.891        13.036        .10372E-04   -1.5631    
   2  Index         2.0104        .55670        .60664E-02   -.64091    
   3  Normalizat    1.1334        .45832        .34179E-03   -.88687    
   4  Prefactor     1.1415        .27444        .20264E-03   -.88150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06185e-09
Minuit parameter uncertainties:
  1  13.0355
  2  0.558507
  3  0.459944
  4  0.27478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/568547': 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) = 2392.46060503
delta logL = 0.229512256213

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.489e+01  1.304e+01  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.010e+00  5.585e-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:  1.142e+00  2.748e-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.133e+00  4.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.14
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 2.01 +/- 0.56
Photon Flux (Free Index): 7.98e-08 +/- 7.60e-08
Energy Flux (Free Index): 5.38e-05 +/- 6.90e-05

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/568547/cmap_HighResolution_698371201_698630401_4FGL_J2135.3-5006_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.36e-02', comment='SUCCESS', photon_flux='9.56e-08', energy_flux2='5.38e-05', photon_flux_error='9.00e-08', dlogl='2.30e-01', energy_flux='3.01e-05', photon_flux2='7.98e-08', job_status='DONE', time_completed='2023-02-21 02:20:21.889005', photon_index_error2='0.56', photon_index2='2.01', ts='1.67', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='3.04e-07', energy_flux_error2='6.90e-05', EG='1.11', time_epoch_completed='1676974821.89', return_code='0', job_id='568547', GAL2='1.14', EG2='1.13', return_code2='0', energy_flux_error='2.84e-05', photon_flux_error2='7.60e-08', ts2='2.14', photon_index='2.43' WHERE bin_id='1771' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:20:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 568547: <4FGL_J2135.3-5006_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 02:10:22 2023
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:10:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:10:23 2023
Terminated at Tue Feb 21 02:20:22 2023
Results reported at Tue Feb 21 02:20:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1771 323.836 -50.1015 698371201 698630401 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 :                                   412.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             240.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            600 sec.

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

