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 23 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_J1723.6-7714_daily_bin1765
RA = 260.922, Dec = -77.2376
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='641672', job_status='RUN', time_executed='2023-02-03 01:21:42.897170', time_epoch_executed='1675416102.9' WHERE source_name='4FGL J1723.6-7714' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641672

Creating custom pfile directory:
/scratch/kocevski/641672/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/641672/ft1_4FGL_J1723.6-7714_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/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641672/ft1_4FGL_J1723.6-7714_daily_bin1765.fits outfile=/scratch/kocevski/641672/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1765.fits ra=260.922 dec=-77.2376 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.73
user 3.46
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_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/641672/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/641672/ft1_filtered_4FGL_J1723.6-7714_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.55
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 1067

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/641672/ltcube_696816001_697075201_4FGL_J1723.6-7714_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/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits
.....................!
real 17.19
user 16.79
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/641672/ltcube_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.fits outfile=/scratch/kocevski/641672/expmap_696816001_697075201_4FGL_J1723.6-7714_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/641672/ltcube_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.fits
.....................!
real 194.72
user 188.77
sys 5.50

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/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits scfile=/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits outfile=/scratch/kocevski/641672/cmap_696816001_697075201_4FGL_J1723.6-7714_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=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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits scfile=/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits outfile=/scratch/kocevski/641672/cmap_HighResolution_696816001_697075201_4FGL_J1723.6-7714_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=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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641672/Model_4FGL_J1723.6-7714_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 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/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits.....................!
real 140.21
user 138.71
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits', '/scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits', expMap='/scratch/kocevski/641672/expmap_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.fits', expCube='/scratch/kocevski/641672/ltcube_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641672/Model_4FGL_J1723.6-7714_daily_bin1765.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/641672/ft1_filtered_4FGL_J1723.6-7714_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/641672/ft2_4FGL_J1723.6-7714_daily_bin1765.fits
Exposure map: /scratch/kocevski/641672/expmap_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.fits
Exposure cube: /scratch/kocevski/641672/ltcube_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641672/Model_4FGL_J1723.6-7714_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) = 10859.1551541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12912E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .46678E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.445       1.0000          .0000       .10000E+07
     4 'norm      '    .29641E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .77081       1.0000          .0000       .10000E+07
     6 'norm      '    .71887E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .80430E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15671E-06   1.0000          .0000       .10000E+07
     9 'norm      '    6.9364       1.0000          .0000       .10000E+07
    10 'norm      '    .43989E-01   1.0000          .0000       .10000E+07
    11 'norm      '    13.958       1.0000          .0000       .10000E+07
    12 'norm      '    2.7393       1.0000          .0000       .10000E+07
    13 'norm      '    .57454E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.949       1.0000          .0000       .10000E+07
    15 'Prefactor '    .78515E-06   1.0000          .0000       .10000E+07
    16 'norm      '    38.349       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4135       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78494       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=   10859.01     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1097 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53468E-06    9.1925        .10079E-06** at limit **
   2  norm          .55256E-06    9.5024        .55107E-07** at limit **
   3  Prefactor     12.434        4.7152        .53887E-07   -.26572E-04
   4  norm          .88818E-09    75.119       -.28209E-08** at limit **
   5  Prefactor     1.0161        15.839        .28056E-08   -.73498E-02
   6  norm           .0000        1.9394        .66402E-08** at limit **
   7  norm           .0000        2.0711       -.10931E-06** at limit **
   8  Prefactor     .55511E-10    9.3865       -.37940E-07** at limit **
   9  norm          6.9369        5.0803       -.84023E-07   -.10696E-03
  10  norm          .84699E-06    22.191        .30993E-06** at limit **
  11  norm          14.403        25.445        .73927E-07    .77740E-02
  12  norm          2.5874        10.334        .22672E-06   -.50150E-02
  13  norm           .0000        2.9621        .50972E-09** at limit **
  14  Prefactor     25.713        5.0959        .16990E-07   -.16150E-01
  15  Prefactor     .55511E-10    5.7732       -.37950E-07** at limit **
  16  norm          35.172        42.524       -.13189E-06    .77013E-03
  17  Normalizat    1.4142        .27909        .10104E-05    .27293E-05
  18  Prefactor     .78482        .82041E-01   -.63006E-06    .56232E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.34683e-07
  norm       = 5.52558e-07
  Prefactor  = 12.4345
  norm       = 8.88178e-10
  Prefactor  = 1.01614
  norm       = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 6.93687
  norm       = 8.46989e-07
  norm       = 14.4027
  norm       = 2.58742
  norm       = 0
  Prefactor  = 25.7132
  Prefactor  = 5.55112e-11
  norm       = 35.172
  Normalizat = 1.41423
  Prefactor  = 0.784824
 **********
 **   18 **HESSE 
 **********

 FCN=   10859.01     FROM HESSE     STATUS=OK           292 CALLS     1389 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53468E-06    16.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55256E-06    16.711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.434        4.7185        .28370E-03   -1.5637    
   4  norm          .88818E-09    9.6312        .12131E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0161        18.190        .55136E-03   -1.5688    
   6  norm           .0000        1.9379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .44363        .21441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    9.3990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9369        5.0866        .38069E-03   -1.5655    
  10  norm          .84699E-06    85.300        .15788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.403        26.242        .26783E-03   -1.5632    
  12  norm          2.5874        15.629        .61491E-03   -1.5676    
  13  norm           .0000        2.9572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.713        17.454        .19635E-03   -1.5607    
  15  Prefactor     .55511E-10    5.7855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          35.172        42.633        .16150E-03   -1.5589    
  17  Normalizat    1.4142        .23846        .86500E-01   -.80218    
  18  Prefactor     .78482        .69271E-01    .33454E-01   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03655e-07
Minuit parameter uncertainties:
  1  0.00591046
  2  0.00607742
  3  4.71854
  4  0.000182634
  5  8.59846
  6  4.54046e-07
  7  2.25872e-07
  8  4.46286e-05
  9  5.08662
  10  0.0170001
  11  26.2426
  12  12.7182
  13  4.15673e-07
  14  17.4543
  15  3.73832e-05
  16  42.6335
  17  0.238646
  18  0.0692787
Done.

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

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  6.937e+00  5.087e+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:  7.848e-01  6.928e-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.414e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.80
Ra Dec: 260.922 -77.238
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.38e-05

TS (Fixed Index): 2.80
Ra Dec: 260.922 -77.238
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641672/likelihoodResults_696816001_697075201_4FGL_J1723.6-7714_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) = 10859.0089794
delta logL = 0.000536843555892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10859.0088411
delta logL = 0.000675172417687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8527       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78505       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.

 FCN=   10859.01     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      233 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8468        127.84        .38303E-03    .26948E-02
   2  alpha         2.2091        3.1037        .41503        .33934E-04
   3  Normalizat    1.4127        .12412        .86538E-01    .21961E-04
   4  Prefactor     .78513        .26853E-01    .33448E-01   -.20370E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.84676
  alpha      = 2.20913
  Normalizat = 1.41274
  Prefactor  = 0.785129
 **********
 **   18 **HESSE 
 **********

 FCN=   10859.01     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8468        5.8112        .15321E-04   -1.5656    
   2  alpha         2.2091        .75878        .20180E-01   -.11661    
   3  Normalizat    1.4127        .27519        .38316E-03   -.80261    
   4  Prefactor     .78513        .81883E-01    .14779E-03   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43942e-12
Minuit parameter uncertainties:
  1  5.81118
  2  0.771111
  3  0.275479
  4  0.0818955
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641672': 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) = 10859.0088312
delta logL = 0.000685092067215

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  6.847e+00  5.811e+00  0.000e+00  1.000e+06 ( 1.000e-12)
524        alpha:  2.209e+00  7.711e-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:  7.851e-01  8.190e-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.413e+00  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 260.922 -77.238
Photon Index (Free Index): 2.21 +/- 0.77
Photon Flux (Free Index): 4.53e-08 +/- 3.96e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.65e-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/641672/cmap_HighResolution_696816001_697075201_4FGL_J1723.6-7714_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-05', comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='1.85e-05', photon_flux_error='3.25e-08', dlogl='6.85e-04', energy_flux='1.88e-05', photon_flux2='4.53e-08', job_status='DONE', time_completed='2023-02-03 01:36:32.242189', photon_index_error2='0.77', photon_index2='2.21', ts='2.80', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.65e-05', EG='1.41', time_epoch_completed='1675416992.24', return_code='0', job_id='641672', GAL2='0.79', EG2='1.41', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.96e-08', ts2='2.80', photon_index='2.18' WHERE bin_id='1765' AND source_name='4FGL J1723.6-7714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:36:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 641672: <4FGL_J1723.6-7714_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1723.6-7714_daily_bin1765> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Feb  3 01:20:25 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:21:09 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:21:09 2023
Terminated at Fri Feb  3 01:36:33 2023
Results reported at Fri Feb  3 01:36:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1723.6-7714_daily_bin1765 260.922 -77.2376 696816001 697075201 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 :                                   891.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             356.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            968 sec.

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

