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


Performing analysis on: 4FGL_J1723.6-7714_daily_bin1111
RA = 260.922, Dec = -77.2376
tmin = 527299201, tmax = 527558401
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='654060', job_status='RUN', time_executed='2021-09-17 07:46:17.813704', time_epoch_executed='1631889977.81' WHERE source_name='4FGL J1723.6-7714' and cadence='daily' and bin_id='1111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654060

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654060/ft1_4FGL_J1723.6-7714_daily_bin1111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654060/ft1_4FGL_J1723.6-7714_daily_bin1111.fits outfile=/scratch/kocevski/654060/ft1_filteredMKT_4FGL_J1723.6-7714_daily_bin1111.fits ra=260.922 dec=-77.2376 rad=12.0 tmin=527299201.0 tmax=527558401.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 4.88
user 4.62
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654060/ft1_filtered_4FGL_J1723.6-7714_daily_bin1111.fits" evtable="EVENTS" scfile=/scratch/kocevski/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits sctable="SC_DATA" outfile=/scratch/kocevski/654060/ltcube_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.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/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits
.....................!
real 12.52
user 12.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654060/ft1_filtered_4FGL_J1723.6-7714_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits sctable="SC_DATA" expcube=/scratch/kocevski/654060/ltcube_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.fits outfile=/scratch/kocevski/654060/expmap_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.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/654060/ltcube_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.fits
.....................!
real 192.25
user 185.77
sys 6.12

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/654060/ft1_filtered_4FGL_J1723.6-7714_daily_bin1111.fits scfile=/scratch/kocevski/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits outfile=/scratch/kocevski/654060/cmap_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.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.58
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654060/ft1_filtered_4FGL_J1723.6-7714_daily_bin1111.fits scfile=/scratch/kocevski/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits outfile=/scratch/kocevski/654060/cmap_HighResolution_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/654060/ft1_filtered_4FGL_J1723.6-7714_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/654060/ft2_4FGL_J1723.6-7714_daily_bin1111.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/654060/Model_4FGL_J1723.6-7714_daily_bin1111.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/654060/ft1_filtered_4FGL_J1723.6-7714_daily_bin1111.fits.....................!
real 101.35
user 99.87
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2318       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .40846E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4777       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1639       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39701       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.164       1.0000         .10000E-03   10000.    
    10 'norm      '    10.891       1.0000         .10000E-03   10000.    
    11 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.5476       1.0000         .10000E-03   10000.    
    13 'norm      '    37.305       1.0000         .10000E-03   10000.    
    14 'norm      '    7.7090       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1796       1.0000         .10000E-03   10000.    
    17 'norm      '    .11069E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4085       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91057       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=   7860.548     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     2263 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.153        .18142E-02** at limit **
   2  norm          .10000E-03    15.387        .18142E-02** at limit **
   3  Prefactor     1.2316        3.5640        .27736E-03   -.22134E-04
   4  norm          .10000E-03    5.9229        .18142E-02** at limit **
   5  Prefactor     .12359E-03    9.7494        .75165E-01** at limit **
   6  norm          2.4775        7.8222        .12987E-02   -.17166E-04
   7  norm          1.1700        1.4467        .10246E-03    .33749E-02
   8  Prefactor     .16739E-01    41.266        .15278        .26592E-03
   9  Prefactor     35.438        89.662        .67580E-04    .45623E-04
  10  norm          10.892        8.5823        .12140E-03    .41625E-03
  11  norm          .10000E-03    64.293        .18142E-02** at limit **
  12  norm          2.5579        55.266        .25583E-03    .22175E-04
  13  norm          37.307        17.435        .65618E-04    .35933E-03
  14  norm          7.7077        10.314        .14443E-03    .11477E-03
  15  Prefactor     .10000E-03    12.614        .18142E-02** at limit **
  16  Prefactor     8.2287        43.560        .14018E-03    .45740E-04
  17  norm          .10000E-03    52.024        .18142E-02** at limit **
  18  Normalizat    1.4084        .37614        .43449E-03    .59500E-03
  19  Prefactor     .91062        .10788        .15526E-03    .16362E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.23163
  norm       = 0.0001
  Prefactor  = 0.000123593
  norm       = 2.47751
  norm       = 1.16995
  Prefactor  = 0.016739
  Prefactor  = 35.4383
  norm       = 10.8919
  norm       = 0.0001
  norm       = 2.55786
  norm       = 37.3066
  norm       = 7.7077
  Prefactor  = 0.0001
  Prefactor  = 8.22869
  norm       = 0.0001
  Normalizat = 1.40835
  Prefactor  = 0.910622
 **********
 **   18 **HESSE 
 **********

 FCN=   7860.548     FROM HESSE     STATUS=OK           270 CALLS     2533 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.159        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    15.388        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2316        3.5637        .11094E-04   -1.5486    
   4  norm          .10000E-03    5.9229        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12359E-03    9.1063        .78898E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4775        7.8208        .51948E-04   -1.5393    
   7  norm          1.1700        1.4460        .40985E-05   -1.5492    
   8  Prefactor     .16739E-01    40.758        .15420       -1.5682    
   9  Prefactor     35.438        89.662        .13516E-04   -1.4517    
  10  norm          10.892        8.5821        .48560E-05   -1.5048    
  11  norm          .10000E-03    64.295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5579        55.230        .10233E-04   -1.5388    
  13  norm          37.307        17.434        .13124E-04   -1.4486    
  14  norm          7.7077        10.313        .57771E-05   -1.5153    
  15  Prefactor     .10000E-03    12.616        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2287        43.561        .56072E-05   -1.5134    
  17  norm          .10000E-03    52.029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4084        .37637        .86898E-04   -.80387    
  19  Prefactor     .91062        .10795        .31051E-04   -.95771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84776e-09
Minuit parameter uncertainties:
  1  0.000100046
  2  1.67641e-05
  3  3.56431
  4  5.61774e-06
  5  0.0293195
  6  7.82401
  7  1.44606
  8  1.64814
  9  90.0059
  10  8.58305
  11  3.79706e-05
  12  23.7961
  13  17.4367
  14  10.3155
  15  9.60733e-05
  16  37.9087
  17  7.5698e-05
  18  0.377114
  19  0.107972
Done.

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

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  1.089e+01  8.583e+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.106e-01  1.080e-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.408e+00  3.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 260.922 -77.238
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 6.97e-08 +/- 5.49e-08
Energy Flux (Fixed Index): 2.95e-05 +/- 2.33e-05

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

Saving results to:
/scratch/kocevski/654060/likelihoodResults_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.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) = 7859.45268225
delta logL = 1.09486498767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7859.44604945
delta logL = 1.10149779201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7101       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2525       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93013       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=   7859.446     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      270 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7101        54.799        .42023E-02    .15038E-02
   2  alpha         3.2525        4.0621        .29768        .74451E-04
   3  Normalizat    1.2948        .12182        .10146        .18020E-04
   4  Prefactor     .93016        .33033E-01    .34773E-01   -.13040E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.71006
  alpha      = 3.25249
  Normalizat = 1.29478
  Prefactor  = 0.930155
 **********
 **   18 **HESSE 
 **********

 FCN=   7859.446     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7101        9.1183        .11225E-03   -1.5230    
   2  alpha         3.2525        1.0449        .11740E-01    .30574    
   3  Normalizat    1.2948        .37243        .44958E-03   -.83722    
   4  Prefactor     .93016        .10877        .15365E-03   -.95095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48333e-09
Minuit parameter uncertainties:
  1  9.12052
  2  1.08166
  3  0.373208
  4  0.108796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654060': 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) = 7859.44604942
delta logL = 1.10149782339

Extracting fit parameters...

4FGL J1723.6-7714
   Spectrum: LogParabola
523         norm:  5.710e+00  9.121e+00  1.000e-04  1.000e+04 ( 1.000e-12)
524        alpha:  3.252e+00  1.082e+00  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.302e-01  1.088e-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.295e+00  3.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.72
Ra Dec: 260.922 -77.238
Photon Index (Free Index): 3.25 +/- 1.08
Photon Flux (Free Index): 1.66e-07 +/- 1.00e-07
Energy Flux (Free Index): 3.18e-05 +/- 1.88e-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/654060/cmap_HighResolution_527299201_527558401_4FGL_J1723.6-7714_daily_bin1111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-05', comment='SUCCESS', photon_flux='6.97e-08', energy_flux2='3.18e-05', photon_flux_error='5.49e-08', dlogl='1.10e+00', energy_flux='2.95e-05', photon_flux2='1.66e-07', job_status='DONE', time_completed='2021-09-17 08:01:31.893601', photon_index_error2='1.08', photon_index2='3.25', ts='2.40', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.87e-07', energy_flux_error2='1.88e-05', EG='1.41', time_epoch_completed='1631890891.89', return_code='0', job_id='654060', GAL2='0.93', EG2='1.29', return_code2='0', energy_flux_error='2.33e-05', photon_flux_error2='1.00e-07', ts2='4.72', photon_index='2.18' WHERE bin_id='1111' AND source_name='4FGL J1723.6-7714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 08:01:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 654060: <4FGL_J1723.6-7714_daily_bin1111> in cluster <slac> Done

Job <4FGL_J1723.6-7714_daily_bin1111> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 17 07:45:47 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 07:45: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:45:49 2021
Terminated at Fri Sep 17 08:01:32 2021
Results reported at Fri Sep 17 08:01:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1723.6-7714_daily_bin1111 260.922 -77.2376 527299201 527558401 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 :                                   902.34 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             344.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            945 sec.

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

