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


Performing analysis on: 4FGL_J1723.6-7714_daily_bin1256
RA = 260.922, Dec = -77.2376
tmin = 564883201, tmax = 565142401
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='655655', job_status='RUN', time_executed='2021-09-17 07:50:36.140057', time_epoch_executed='1631890236.14' WHERE source_name='4FGL J1723.6-7714' and cadence='daily' and bin_id='1256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/655655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/655655/ft1_4FGL_J1723.6-7714_daily_bin1256.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/655655/ft2_4FGL_J1723.6-7714_daily_bin1256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/655655/ft1_4FGL_J1723.6-7714_daily_bin1256.fits outfile=/scratch/kocevski/655655/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1256.fits ra=260.922 dec=-77.2376 rad=12.0 tmin=564883201.0 tmax=565142401.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.54
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/655655/ft1_filtered_4FGL_J1723.6-7714_daily_bin1256.fits" evtable="EVENTS" scfile=/scratch/kocevski/655655/ft2_4FGL_J1723.6-7714_daily_bin1256.fits sctable="SC_DATA" outfile=/scratch/kocevski/655655/ltcube_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.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/655655/ft2_4FGL_J1723.6-7714_daily_bin1256.fits
.....................!
real 12.30
user 11.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/655655/ft1_filtered_4FGL_J1723.6-7714_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/655655/ft2_4FGL_J1723.6-7714_daily_bin1256.fits sctable="SC_DATA" expcube=/scratch/kocevski/655655/ltcube_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.fits outfile=/scratch/kocevski/655655/expmap_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.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/655655/ltcube_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.fits
.....................!
real 190.31
user 186.09
sys 3.88

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/655655/ft1_filtered_4FGL_J1723.6-7714_daily_bin1256.fits scfile=/scratch/kocevski/655655/ft2_4FGL_J1723.6-7714_daily_bin1256.fits outfile=/scratch/kocevski/655655/cmap_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/655655/ft1_filtered_4FGL_J1723.6-7714_daily_bin1256.fits scfile=/scratch/kocevski/655655/ft2_4FGL_J1723.6-7714_daily_bin1256.fits outfile=/scratch/kocevski/655655/cmap_HighResolution_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2263       1.0000         .10000E-03   10000.    
     4 'norm      '    11.634       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.084       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10470E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.083       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.164       1.0000         .10000E-03   10000.    
    10 'norm      '    4.3932       1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    17.374       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7239       1.0000         .10000E-03   10000.    
    14 'norm      '    5.3281       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.281       1.0000         .10000E-03   10000.    
    17 'norm      '    72.005       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0216       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97738       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=   7932.666     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1862 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.987       -.18344E-06** at limit **
   2  norm          .10000E-03    12.234       -.25257E-07** at limit **
   3  Prefactor     6.2261        4.6182        .49339E-07   -.70406E-04
   4  norm          11.621        19.306        .47120E-06   -.14018E-03
   5  Prefactor     15.084        10.429       -.14768E-07   -.22976E-03
   6  norm          .10000E-03    3.5482       -.49834E-08** at limit **
   7  norm          .10000E-03    .69632        .15544E-05** at limit **
   8  Prefactor     21.107        25.976       -.27903E-05   -.30187E-03
   9  Prefactor     44.131        107.13        .19225E-05   -.88916E-04
  10  norm          4.3931        4.6304        .53233E-06   -.20204E-03
  11  norm          .10000E-03    19.422        .28857E-07** at limit **
  12  norm          17.370        22.419        .19087E-06   -.59573E-04
  13  norm          3.7270        8.6430        .98002E-06   -.29276E-04
  14  norm          5.3276        6.2877        .44985E-06   -.53042E-04
  15  Prefactor     .10000E-03    7.8875        .22826E-07** at limit **
  16  Prefactor     18.276        36.495        .40231E-06   -.47875E-04
  17  norm          71.989        69.068        .75311E-06   -.10789E-03
  18  Normalizat    1.0210        .30211       -.55440E-06   -.22709E-03
  19  Prefactor     .97760        .91268E-01   -.55942E-07   -.68314E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.22606
  norm       = 11.6213
  Prefactor  = 15.0839
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 21.1075
  Prefactor  = 44.131
  norm       = 4.39313
  norm       = 0.0001
  norm       = 17.3697
  norm       = 3.72705
  norm       = 5.32758
  Prefactor  = 0.0001
  Prefactor  = 18.2761
  norm       = 71.9889
  Normalizat = 1.02099
  Prefactor  = 0.977602
 **********
 **   18 **HESSE 
 **********

 FCN=   7932.666     FROM HESSE     STATUS=OK           268 CALLS     2130 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2261        4.6165        .15842E-03   -1.5209    
   4  norm          11.621        19.314        .11745E-03   -1.5026    
   5  Prefactor     15.084        10.422        .10313E-03   -1.4931    
   6  norm          .10000E-03    3.5486        .16385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .80044        .11791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.107        27.609        .87231E-04   -1.4789    
   9  Prefactor     44.131        106.63        .60328E-04   -1.4378    
  10  norm          4.3931        4.7592        .96074E-03   -1.5289    
  11  norm          .10000E-03    19.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.370        22.453        .96089E-04   -1.4874    
  13  norm          3.7270        8.8716        .10463E-02   -1.5322    
  14  norm          5.3276        6.3817        .87056E-03   -1.5246    
  15  Prefactor     .10000E-03    7.9250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.276        36.544        .93675E-04   -1.4853    
  17  norm          71.989        68.920        .47311E-04   -1.4009    
  18  Normalizat    1.0210        .34481        .46370E-03   -.92331    
  19  Prefactor     .97760        .10498        .14572E-03   -.93480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37989e-10
Minuit parameter uncertainties:
  1  0.00010997
  2  7.577e-06
  3  4.61676
  4  19.3247
  5  10.4233
  6  5.46954e-07
  7  9.07832e-06
  8  27.6261
  9  107.093
  10  4.75965
  11  3.17882e-05
  12  22.4636
  13  8.87477
  14  6.38252
  15  8.65319e-07
  16  36.5888
  17  68.9963
  18  0.34557
  19  0.105004
Done.

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

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  4.393e+00  4.760e+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:  9.776e-01  1.050e-01  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.021e+00  3.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 260.922 -77.238
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.81e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/655655/likelihoodResults_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.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) = 7932.56750026
delta logL = 0.0983243134151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7932.56569018
delta logL = 0.1001344015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8770       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8452       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97621       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=   7932.566     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      282 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8769        5.1406        .18214E-03    .23250E-03
   2  alpha         1.8453        .71640        .21983E-01   -.13581E-05
   3  Normalizat    1.0289        .33210        .46212E-03    .11956E-04
   4  Prefactor     .97620        .10339        .14580E-03    .48732E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.8769
  alpha      = 1.84527
  Normalizat = 1.02889
  Prefactor  = 0.976198
 **********
 **   18 **HESSE 
 **********

 FCN=   7932.566     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8769        5.1480        .72857E-05   -1.5266    
   2  alpha         1.8453        .71763        .87932E-03   -.26498    
   3  Normalizat    1.0289        .33230        .18485E-04   -.92069    
   4  Prefactor     .97620        .10346        .58322E-05   -.93527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91495e-11
Minuit parameter uncertainties:
  1  5.14849
  2  0.728654
  3  0.33297
  4  0.103482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/655655': 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) = 7932.56569016
delta logL = 0.100134416795

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  4.877e+00  5.148e+00  1.000e-04  1.000e+04 ( 1.000e-12)
524        alpha:  1.845e+00  7.287e-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:  9.762e-01  1.035e-01  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.029e+00  3.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 260.922 -77.238
Photon Index (Free Index): 1.85 +/- 0.73
Photon Flux (Free Index): 2.20e-08 +/- 2.79e-08
Energy Flux (Free Index): 1.61e-05 +/- 2.04e-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/655655/cmap_HighResolution_564883201_565142401_4FGL_J1723.6-7714_daily_bin1256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-05', comment='SUCCESS', photon_flux='2.81e-08', energy_flux2='1.61e-05', photon_flux_error='3.05e-08', dlogl='1.00e-01', energy_flux='1.19e-05', photon_flux2='2.20e-08', job_status='DONE', time_completed='2021-09-17 08:04:57.552565', photon_index_error2='0.73', photon_index2='1.85', ts='1.33', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='2.04e-05', EG='1.02', time_epoch_completed='1631891097.55', return_code='0', job_id='655655', GAL2='0.98', EG2='1.03', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='2.79e-08', ts2='1.53', photon_index='2.18' WHERE bin_id='1256' AND source_name='4FGL J1723.6-7714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 08:04:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 655655: <4FGL_J1723.6-7714_daily_bin1256> in cluster <slac> Done

Job <4FGL_J1723.6-7714_daily_bin1256> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 17 07:50:25 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 07:50:27 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:50:27 2021
Terminated at Fri Sep 17 08:04:58 2021
Results reported at Fri Sep 17 08:04:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1723.6-7714_daily_bin1256 260.922 -77.2376 564883201 565142401 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 :                                   853.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            873 sec.

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

