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


Performing analysis on: 4FGL_J1723.6-7714_daily_bin1763
RA = 260.922, Dec = -77.2376
tmin = 696297601, tmax = 696556801
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='288164', job_status='RUN', time_executed='2023-01-28 01:17:15.420268', time_epoch_executed='1674897435.42' WHERE source_name='4FGL J1723.6-7714' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288164

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288164/ft1_4FGL_J1723.6-7714_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288164/ft1_4FGL_J1723.6-7714_daily_bin1763.fits outfile=/scratch/kocevski/288164/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1763.fits ra=260.922 dec=-77.2376 rad=12.0 tmin=696297601.0 tmax=696556801.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.67
user 3.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.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/288164/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.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.56
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 1115

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/288164/ltcube_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.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/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits
.....................!
real 12.81
user 12.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/288164/ltcube_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.fits outfile=/scratch/kocevski/288164/expmap_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.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/288164/ltcube_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.fits
.....................!
real 192.35
user 186.52
sys 5.31

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
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Added 235 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1723.6-7714 @ 260.922 -77.2376

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits scfile=/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits outfile=/scratch/kocevski/288164/cmap_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.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=260.922 yref=-77.2376 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits scfile=/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits outfile=/scratch/kocevski/288164/cmap_HighResolution_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.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=260.922 yref=-77.2376 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/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/288164/Model_4FGL_J1723.6-7714_daily_bin1763.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 FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1356-645
adding source HESS J1507-622
adding source MSH 15-52
adding source RCW 86
Working on...
/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits.....................!
real 146.32
user 144.59
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits', '/scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits', expMap='/scratch/kocevski/288164/expmap_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.fits', expCube='/scratch/kocevski/288164/ltcube_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/288164/Model_4FGL_J1723.6-7714_daily_bin1763.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1723.6-7714'

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  6.492e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
524        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
525         beta:  9.863e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
526           Eb:  7.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/288164/ft1_filtered_4FGL_J1723.6-7714_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/288164/ft2_4FGL_J1723.6-7714_daily_bin1763.fits
Exposure map: /scratch/kocevski/288164/expmap_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.fits
Exposure cube: /scratch/kocevski/288164/ltcube_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/288164/Model_4FGL_J1723.6-7714_daily_bin1763.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) = 11374.2648041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.253       1.0000          .0000       .10000E+07
     2 'norm      '    .34913E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.727       1.0000          .0000       .10000E+07
     4 'norm      '    14.408       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28549E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .17581E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .40021       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37700E-02   1.0000          .0000       .10000E+07
     9 'norm      '    10.216       1.0000          .0000       .10000E+07
    10 'norm      '    .14336E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .95760E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .46609E-03   1.0000          .0000       .10000E+07
    13 'norm      '    6.9280       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.2492       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.468       1.0000          .0000       .10000E+07
    16 'norm      '    .11039E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2230       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86611       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11374.22     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1067 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.463        9.1085        .18990E-06    .56690E-01
   2  norm          .11963E-06    22.511       -.58939E-06** at limit **
   3  Prefactor     11.715        4.3616       -.12199E-07   -.19461E-03
   4  norm          14.409        2.3118       -.14711E-07    .25817E-01
   5  Prefactor      .0000        3.9404        .27194E-07** at limit **
   6  norm          .74940E-08    15.216        .91195E-07** at limit **
   7  norm          .39861        .76725       -.88656E-07   -.37854E-03
   8  Prefactor     .55511E-10    7.8765       -.63094E-06** at limit **
   9  norm          10.280        5.5884        .37979E-07    .66728E-03
  10  norm          .22826E-06    44.262       -.20394E-05** at limit **
  11  norm          .55511E-10    5.5084       -.35068E-06** at limit **
  12  norm           .0000        3.2028        .13443E-06** at limit **
  13  norm          6.9028        5.7312       -.20796E-07    .26914E-03
  14  Prefactor     5.3169        10.467        .23092E-06    .76300E-02
  15  Prefactor     16.518        1.0134        .14209E-08    .84260E-03
  16  norm          .60507E-07    17.137       -.37129E-06** at limit **
  17  Normalizat    1.2223        .29129        .26167E-05    .10643E-04
  18  Prefactor     .86616        .86777E-01   -.11302E-05    .68789E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4632
  norm       = 1.19627e-07
  Prefactor  = 11.7151
  norm       = 14.4091
  Prefactor  = 0
  norm       = 7.49401e-09
  norm       = 0.39861
  Prefactor  = 5.55112e-11
  norm       = 10.2804
  norm       = 2.28262e-07
  norm       = 5.55112e-11
  norm       = 0
  norm       = 6.90284
  Prefactor  = 5.31693
  Prefactor  = 16.5179
  norm       = 6.05072e-08
  Normalizat = 1.22227
  Prefactor  = 0.866163
 **********
 **   18 **HESSE 
 **********

 FCN=   11374.22     FROM HESSE     STATUS=OK           282 CALLS     1349 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.463        30.018        .24086E-03   -1.5622    
   2  norm          .11963E-06    23.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.715        4.3772        .29228E-03   -1.5640    
   4  norm          14.409        12.949        .26361E-03   -1.5632    
   5  Prefactor      .0000        3.9328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .74940E-08    15.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .39861        .77753        .89463E-03   -1.5695    
   8  Prefactor     .55511E-10    7.8732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.280        5.6037        .31325E-03   -1.5644    
  10  norm          .22826E-06    45.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    5.5141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        3.2069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.9028        5.7452        .38092E-03   -1.5655    
  14  Prefactor     5.3169        10.588        .43848E-03   -1.5662    
  15  Prefactor     16.518        19.515        .24654E-03   -1.5627    
  16  norm          .60507E-07    17.585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2223        .24581        .93961E-01   -.85917    
  18  Prefactor     .86616        .72570E-01    .33047E-01   -.97334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83417e-07
Minuit parameter uncertainties:
  1  30.0179
  2  0.00333732
  3  4.37718
  4  12.9493
  5  1.00765e-05
  6  0.000673668
  7  0.77753
  8  3.39696e-05
  9  5.60371
  10  0.00644575
  11  2.57747e-05
  12  6.45912e-06
  13  5.74522
  14  10.5882
  15  19.5148
  16  0.00206277
  17  0.246045
  18  0.0725784
Done.

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

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  1.028e+01  5.604e+00  0.000e+00  1.000e+06 ( 1.000e-12)
524        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
525         beta:  9.863e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
526           Eb:  7.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
802    Prefactor:  8.662e-01  7.258e-02  0.000e+00  1.000e+01 ( 1.000e+00)
803        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
804        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
797   Normalization:  1.222e+00  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.45
Ra Dec: 260.922 -77.238
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 6.58e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 2.79e-05 +/- 1.52e-05

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) = 11374.2024321
delta logL = 0.0219873639107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11374.1990335
delta logL = 0.0253859479253

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8395       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2909       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8170E+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=   11374.20     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      265 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8392        5.9212        .12768E-04   -.39176E-04
   2  alpha         2.2910        .49732        .15418E-01    .23585E-03
   3  Normalizat    1.2137        .28825        .41746E-03   -.27124E-04
   4  Prefactor     .86773        .86792E-01    .14590E-03    .13870E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.83915
  alpha      = 2.291
  Normalizat = 1.21365
  Prefactor  = 0.867728
 **********
 **   18 **HESSE 
 **********

 FCN=   11374.20     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8392        5.8074        .51074E-06   -1.5645    
   2  alpha         2.2910        .48768        .30837E-02   -.83698E-01
   3  Normalizat    1.2137        .28837        .16699E-04   -.86182    
   4  Prefactor     .86773        .86842E-01    .58358E-05   -.97278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.5032e-12
Minuit parameter uncertainties:
  1  5.8074
  2  0.490849
  3  0.288749
  4  0.086856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288164': 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) = 11374.1990335
delta logL = 0.0253859633649

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  9.839e+00  5.807e+00  0.000e+00  1.000e+06 ( 1.000e-12)
524        alpha:  2.291e+00  4.908e-01  0.000e+00  5.000e+00 ( 1.000e+00)
525         beta:  9.863e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
526           Eb:  7.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
802    Prefactor:  8.677e-01  8.686e-02  0.000e+00  1.000e+01 ( 1.000e+00)
803        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
804        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
797   Normalization:  1.214e+00  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.50
Ra Dec: 260.922 -77.238
Photon Index (Free Index): 2.29 +/- 0.49
Photon Flux (Free Index): 7.18e-08 +/- 4.62e-08
Energy Flux (Free Index): 2.65e-05 +/- 1.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/288164/cmap_HighResolution_696297601_696556801_4FGL_J1723.6-7714_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.58e-08', energy_flux2='2.65e-05', photon_flux_error='3.59e-08', dlogl='2.54e-02', energy_flux='2.79e-05', photon_flux2='7.18e-08', job_status='DONE', time_completed='2023-01-28 01:30:50.321987', photon_index_error2='0.49', photon_index2='2.29', ts='6.45', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='1.22', time_epoch_completed='1674898250.32', return_code='0', job_id='288164', GAL2='0.87', EG2='1.21', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='4.62e-08', ts2='6.50', photon_index='2.18' WHERE bin_id='1763' AND source_name='4FGL J1723.6-7714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:30:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 288164: <4FGL_J1723.6-7714_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1723.6-7714_daily_bin1763> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Jan 28 01:15:21 2023
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:16:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:16:55 2023
Terminated at Sat Jan 28 01:30:51 2023
Results reported at Sat Jan 28 01:30:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1723.6-7714_daily_bin1763 260.922 -77.2376 696297601 696556801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1723.6-7714 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   816.27 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             359.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            930 sec.

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

