/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 17 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 = 7492
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1723.6-7714_daily_bin1506
RA = 260.922, Dec = -77.2376
tmin = 629683201, tmax = 629942401
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='657257', job_status='RUN', time_executed='2021-09-17 07:55:56.075877', time_epoch_executed='1631890556.08' WHERE source_name='4FGL J1723.6-7714' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657257

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657257/ft1_4FGL_J1723.6-7714_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657257/ft1_4FGL_J1723.6-7714_daily_bin1506.fits outfile=/scratch/kocevski/657257/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1506.fits ra=260.922 dec=-77.2376 rad=12.0 tmin=629683201.0 tmax=629942401.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.59
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/657257/ft1_filtered_4FGL_J1723.6-7714_daily_bin1506.fits" evtable="EVENTS" scfile=/scratch/kocevski/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits sctable="SC_DATA" outfile=/scratch/kocevski/657257/ltcube_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.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/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits
.....................!
real 11.85
user 11.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657257/ft1_filtered_4FGL_J1723.6-7714_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/657257/ltcube_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.fits outfile=/scratch/kocevski/657257/expmap_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.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/657257/ltcube_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.fits
.....................!
real 194.38
user 189.51
sys 4.54

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/657257/ft1_filtered_4FGL_J1723.6-7714_daily_bin1506.fits scfile=/scratch/kocevski/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits outfile=/scratch/kocevski/657257/cmap_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657257/ft1_filtered_4FGL_J1723.6-7714_daily_bin1506.fits scfile=/scratch/kocevski/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits outfile=/scratch/kocevski/657257/cmap_HighResolution_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/657257/ft1_filtered_4FGL_J1723.6-7714_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/657257/ft2_4FGL_J1723.6-7714_daily_bin1506.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/657257/Model_4FGL_J1723.6-7714_daily_bin1506.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/657257/ft1_filtered_4FGL_J1723.6-7714_daily_bin1506.fits.....................!
real 137.13
user 135.67
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10888E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    93.507       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1755       1.0000         .10000E-03   10000.    
     4 'norm      '    .10681E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.797       1.0000         .10000E-03   10000.    
     7 'norm      '    .12551E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.099       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22327E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.968       1.0000         .10000E-03   10000.    
    11 'norm      '    16.656       1.0000         .10000E-03   10000.    
    12 'norm      '    41.819       1.0000         .10000E-03   10000.    
    13 'norm      '    50.686       1.0000         .10000E-03   10000.    
    14 'norm      '    14.202       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0603       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .96559       1.0000         .10000E-03   10000.    
    17 'norm      '    .10744E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83334       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=   10686.46     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     1617 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    30.842       -.25971E-04** at limit **
   2  norm          93.488        6.8335       -.79827E-05    .40888E-02
   3  Prefactor     1.1759        3.1803        .16503E-05   -.20646E-03
   4  norm          .10000E-03    9.1939        .14574E-06** at limit **
   5  Prefactor     .10000E-03    10.794       -.22457E-05** at limit **
   6  norm          10.799        1.2733        .68282E-06   -.17562E-02
   7  norm          .10000E-03    3.2992       -.14818E-05** at limit **
   8  Prefactor     30.180        24.781        .49546E-04    .71490E-02
   9  Prefactor     .10002E-03    59.668        .45932E-04** at limit **
  10  norm          12.975        6.7659       -.12565E-04   -.20673E-02
  11  norm          16.595        22.146       -.62404E-04    .76376E-02
  12  norm          41.784        8.7538       -.14250E-04   -.66394E-02
  13  norm          50.692        1.7573        .22055E-05    .29734E-02
  14  norm          14.203        1.5473       -.50037E-06    .37981E-02
  15  Prefactor     3.0565        1.8498        .84775E-05    .26665E-02
  16  Prefactor     1.0274        6.4992       -.15790E-04   -.16085E-03
  17  norm          .10001E-03    23.663        .12681E-04** at limit **
  18  Normalizat    1.3844        .30105        .64498E-05   -.42407E-03
  19  Prefactor     .83333        .90215E-01   -.10904E-05   -.11575E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  norm       = 93.488
  Prefactor  = 1.17585
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 10.7992
  norm       = 0.000100001
  Prefactor  = 30.1804
  Prefactor  = 0.000100022
  norm       = 12.9752
  norm       = 16.5953
  norm       = 41.7837
  norm       = 50.6916
  norm       = 14.2027
  Prefactor  = 3.05652
  Prefactor  = 1.02745
  norm       = 0.000100005
  Normalizat = 1.3844
  Prefactor  = 0.833328
 **********
 **   18 **HESSE 
 **********

 FCN=   10686.46     FROM HESSE     STATUS=OK           322 CALLS     1939 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    30.823        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          93.488        47.909        .10390E-02   -1.3771    
   3  Prefactor     1.1759        3.2081        .10561E-01   -1.5491    
   4  norm          .10000E-03    9.1363        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.629        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.799        7.4852        .30482E-02   -1.5051    
   7  norm          .10000E-03    .41709        .39321E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.180        32.090        .18257E-02   -1.4609    
   9  Prefactor     .10002E-03    62.832        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.975        6.9906        .27808E-02   -1.4987    
  11  norm          16.595        58.342        .24534E-02   -1.4893    
  12  norm          41.784        25.777        .15497E-02   -1.4414    
  13  norm          50.692        17.024        .14083E-02   -1.4283    
  14  norm          14.203        7.3955        .26571E-02   -1.4954    
  15  Prefactor     3.0565        10.259        .57974E-02   -1.5358    
  16  Prefactor     1.0274        11.765        .19259       -1.5505    
  17  norm          .10001E-03    23.747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3844        .25672        .92594E-01   -.81081    
  19  Prefactor     .83333        .74198E-01    .44150E-01   -.98511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57328e-06
Minuit parameter uncertainties:
  1  0.000874393
  2  47.9288
  3  3.20856
  4  0.000259383
  5  9.06019e-05
  6  7.48586
  7  3.52997e-05
  8  32.1086
  9  0.00235684
  10  6.991
  11  58.5432
  12  25.7839
  13  17.0257
  14  7.39602
  15  10.2653
  16  6.95501
  17  0.000718175
  18  0.256955
  19  0.0742074
Done.

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

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  1.298e+01  6.991e+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.333e-01  7.421e-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.384e+00  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.44
Ra Dec: 260.922 -77.238
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 8.31e-08 +/- 4.47e-08
Energy Flux (Fixed Index): 3.52e-05 +/- 1.90e-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) = 10685.9509982
delta logL = 0.508936653747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10685.9457875
delta logL = 0.514147393427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.574       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6770       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84378       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=   10685.95     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      271 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.578        73.216        .30803E-02    .23621E-03
   2  alpha         2.6775        3.7936        .32098        .90729E-04
   3  Normalizat    1.3228        .11790        .94324E-01    .27467E-04
   4  Prefactor     .84372        .28364E-01    .44284E-01    .71506E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5775
  alpha      = 2.67748
  Normalizat = 1.32282
  Prefactor  = 0.843723
 **********
 **   18 **HESSE 
 **********

 FCN=   10685.95     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.578        6.9831        .12321E-03   -1.5057    
   2  alpha         2.6775        .52314        .11741E-01    .71052E-01
   3  Normalizat    1.3228        .30769        .41781E-03   -.82888    
   4  Prefactor     .84372        .90989E-01    .15263E-03   -.98136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53854e-12
Minuit parameter uncertainties:
  1  6.98362
  2  0.527058
  3  0.308118
  4  0.0910057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657257': 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) = 10685.9457852
delta logL = 0.514149679244

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  1.058e+01  6.984e+00  1.000e-04  1.000e+04 ( 1.000e-12)
524        alpha:  2.677e+00  5.271e-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.437e-01  9.101e-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.323e+00  3.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.50
Ra Dec: 260.922 -77.238
Photon Index (Free Index): 2.68 +/- 0.53
Photon Flux (Free Index): 1.29e-07 +/- 6.96e-08
Energy Flux (Free Index): 3.34e-05 +/- 1.58e-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/657257/cmap_HighResolution_629683201_629942401_4FGL_J1723.6-7714_daily_bin1506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.31e-08', energy_flux2='3.34e-05', photon_flux_error='4.47e-08', dlogl='5.14e-01', energy_flux='3.52e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-09-17 08:10:56.125247', photon_index_error2='0.53', photon_index2='2.68', ts='6.44', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.38', time_epoch_completed='1631891456.13', return_code='0', job_id='657257', GAL2='0.84', EG2='1.32', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='6.96e-08', ts2='7.50', photon_index='2.18' WHERE bin_id='1506' AND source_name='4FGL J1723.6-7714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 08:10:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 657257: <4FGL_J1723.6-7714_daily_bin1506> in cluster <slac> Done

Job <4FGL_J1723.6-7714_daily_bin1506> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 17 07:55:29 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 07:55:30 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:55:30 2021
Terminated at Fri Sep 17 08:10:56 2021
Results reported at Fri Sep 17 08:10:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1723.6-7714_daily_bin1506 260.922 -77.2376 629683201 629942401 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 :                                   895.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             350.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            927 sec.

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

