/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 8 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7466
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1723.6-7714_daily_bin442
RA = 260.922, Dec = -77.2376
tmin = 353894401, tmax = 354153601
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='649285', job_status='RUN', time_executed='2021-09-17 07:31:06.139482', time_epoch_executed='1631889066.14' WHERE source_name='4FGL J1723.6-7714' and cadence='daily' and bin_id='442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649285/ft1_4FGL_J1723.6-7714_daily_bin442.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649285/ft1_4FGL_J1723.6-7714_daily_bin442.fits outfile=/scratch/kocevski/649285/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin442.fits ra=260.922 dec=-77.2376 rad=12.0 tmin=353894401.0 tmax=354153601.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.46
user 3.27
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits" evtable="EVENTS" scfile=/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits sctable="SC_DATA" outfile=/scratch/kocevski/649285/ltcube_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.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/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits
.....................!
real 12.08
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits evtable="EVENTS" scfile=/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits sctable="SC_DATA" expcube=/scratch/kocevski/649285/ltcube_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.fits outfile=/scratch/kocevski/649285/expmap_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.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/649285/ltcube_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.fits
.....................!
real 189.76
user 185.74
sys 3.57

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_archive_v18/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/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits scfile=/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits outfile=/scratch/kocevski/649285/cmap_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits scfile=/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits outfile=/scratch/kocevski/649285/cmap_HighResolution_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.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.54
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits evtable="EVENTS" scfile=/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649285/Model_4FGL_J1723.6-7714_daily_bin442.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/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits.....................!
real 143.94
user 142.46
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits', '/scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits', expMap='/scratch/kocevski/649285/expmap_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.fits', expCube='/scratch/kocevski/649285/ltcube_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649285/Model_4FGL_J1723.6-7714_daily_bin442.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  1.000e-04  1.000e+04 ( 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  0.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/649285/ft1_filtered_4FGL_J1723.6-7714_daily_bin442.fits
Spacecraft file(s): /scratch/kocevski/649285/ft2_4FGL_J1723.6-7714_daily_bin442.fits
Exposure map: /scratch/kocevski/649285/expmap_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.fits
Exposure cube: /scratch/kocevski/649285/ltcube_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649285/Model_4FGL_J1723.6-7714_daily_bin442.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) = 10961.4668798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12034E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .98494       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6253       1.0000         .10000E-03   10000.    
     4 'norm      '    9.0975       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.915       1.0000         .10000E-03   10000.    
     6 'norm      '    .15406E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    59.122       1.0000         .10000E-03   10000.    
    10 'norm      '    10.004       1.0000         .10000E-03   10000.    
    11 'norm      '    .10823E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10526E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.0040       1.0000         .10000E-03   10000.    
    14 'norm      '    .10242E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .80647       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7359       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4793       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86221       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.

 FCN=   10961.42     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     1966 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    133.92       -.18209E-06** at limit **
   2  norm          1.0065        16.558        .53441E-07    .64385E-04
   3  Prefactor     2.6253        3.1773       -.21745E-06    .11997E-03
   4  norm          9.1006        15.845        .16036E-06    .53830E-05
   5  Prefactor     24.914        11.729        .17790E-06    .77211E-04
   6  norm          .10000E-03    92.098        .11648E-04** at limit **
   7  norm          .10000E-03    .27771       -.27229E-06** at limit **
   8  Prefactor     .10000E-03    9.5281       -.79370E-07** at limit **
   9  Prefactor     59.090        92.604        .73497E-07    .58063E-05
  10  norm          10.004        5.7494        .28430E-07    .94938E-04
  11  norm          .10000E-03    62.767        .15021E-06** at limit **
  12  norm          .10000E-03    30.258       -.55064E-06** at limit **
  13  norm          5.0047        12.910       -.39060E-06    .29421E-04
  14  norm          .10000E-03    7.1558       -.13904E-05** at limit **
  15  Prefactor     .79355        36.210        .74797E-05    .52526E-05
  16  Prefactor     .10000E-03    12.913       -.51906E-06** at limit **
  17  norm          1.9234        637.38        .15589E-04    .18203E-04
  18  Normalizat    1.4793        .28463        .37378E-05    .26510E-03
  19  Prefactor     .86210        .86473E-01   -.11585E-05    .62191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.00648
  Prefactor  = 2.6253
  norm       = 9.10065
  Prefactor  = 24.9136
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.0904
  norm       = 10.0041
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.00473
  norm       = 0.0001
  Prefactor  = 0.793554
  Prefactor  = 0.0001
  norm       = 1.92343
  Normalizat = 1.47933
  Prefactor  = 0.862104
 **********
 **   18 **HESSE 
 **********

 FCN=   10961.42     FROM HESSE     STATUS=OK           284 CALLS     2250 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    138.18        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0065        129.66        .72838E-02   -1.5507    
   3  Prefactor     2.6253        3.1679        .19808E-03   -1.5384    
   4  norm          9.1006        15.852        .13288E-03   -1.5105    
   5  Prefactor     24.914        11.707        .80253E-04   -1.4709    
   6  norm          .10000E-03    5.1344        .83192E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .41079        .10008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.5394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     59.090        92.572        .52178E-04   -1.4169    
  10  norm          10.004        5.7448        .12669E-03   -1.5075    
  11  norm          .10000E-03    63.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    30.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.0047        12.760        .17977E-03   -1.5261    
  14  norm          .10000E-03    7.1868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .79355        37.202        .48636E-02   -1.5530    
  16  Prefactor     .10000E-03    12.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9234        638.48        .31852E-02   -1.5431    
  18  Normalizat    1.4793        .29927        .40162E-03   -.78361    
  19  Prefactor     .86210        .90137E-01    .15214E-03   -.97478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75742e-10
Minuit parameter uncertainties:
  1  0.000350549
  2  22.8971
  3  3.16813
  4  15.8595
  5  11.7082
  6  0.00015219
  7  6.03975e-06
  8  1.51591e-06
  9  92.7988
  10  5.74511
  11  0.000111586
  12  1.92256e-05
  13  12.7667
  14  0.000111823
  15  10.8734
  16  2.23025e-05
  17  70.8612
  18  0.299633
  19  0.0901521
Done.

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

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  1.000e+01  5.745e+00  1.000e-04  1.000e+04 ( 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  0.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.621e-01  9.015e-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.479e+00  2.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.03
Ra Dec: 260.922 -77.238
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.56e-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) = 10961.3160297
delta logL = 0.107864654097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10961.3142007
delta logL = 0.109693746857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9284       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3946       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86410       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=   10961.31     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      232 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9284        102.42        .33535E-02    .90426E-03
   2  alpha         2.3946        3.6891        .36093        .32313E-04
   3  Normalizat    1.4674        .11316        .90986E-01   -.81150E-04
   4  Prefactor     .86410        .30549E-01    .44546E-01    .17313E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.92839
  alpha      = 2.39461
  Normalizat = 1.46742
  Prefactor  = 0.864096
 **********
 **   18 **HESSE 
 **********

 FCN=   10961.31     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9284        6.0116        .13414E-03   -1.5110    
   2  alpha         2.3946        .47559        .13572E-01   -.42168E-01
   3  Normalizat    1.4674        .29447        .40292E-03   -.78698    
   4  Prefactor     .86410        .88393E-01    .15198E-03   -.97407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62935e-10
Minuit parameter uncertainties:
  1  6.01204
  2  0.478513
  3  0.294816
  4  0.0884077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649285': 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) = 10961.3142006
delta logL = 0.109693750037

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  8.928e+00  6.012e+00  1.000e-04  1.000e+04 ( 1.000e-12)
524        alpha:  2.395e+00  4.785e-01  0.000e+00  5.000e+00 ( 1.000e+00)
525         beta:  9.863e-02  0.000e+00  0.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.641e-01  8.841e-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.467e+00  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.25
Ra Dec: 260.922 -77.238
Photon Index (Free Index): 2.39 +/- 0.48
Photon Flux (Free Index): 7.43e-08 +/- 4.50e-08
Energy Flux (Free Index): 2.45e-05 +/- 1.50e-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/649285/cmap_HighResolution_353894401_354153601_4FGL_J1723.6-7714_daily_bin442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='2.45e-05', photon_flux_error='3.68e-08', dlogl='1.10e-01', energy_flux='2.71e-05', photon_flux2='7.43e-08', job_status='DONE', time_completed='2021-09-17 07:47:09.133584', photon_index_error2='0.48', photon_index2='2.39', ts='5.03', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='1.48', time_epoch_completed='1631890029.13', return_code='0', job_id='649285', GAL2='0.86', EG2='1.47', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='4.50e-08', ts2='5.25', photon_index='2.18' WHERE bin_id='442' AND source_name='4FGL J1723.6-7714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 07:47:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 649285: <4FGL_J1723.6-7714_daily_bin442> in cluster <slac> Done

Job <4FGL_J1723.6-7714_daily_bin442> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 17 07:30:48 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 07:30:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 07:30:49 2021
Terminated at Fri Sep 17 07:47:14 2021
Results reported at Fri Sep 17 07:47:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1723.6-7714_daily_bin442 260.922 -77.2376 353894401 354153601 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 :                                   956.20 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             391.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            986 sec.

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

