aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 88 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.2+0644_daily_bin1711
RA = 261.806, Dec = 6.7445
tmin = 682819201, tmax = 683078401
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='178670', job_status='RUN', time_executed='2022-09-16 20:07:36.938545', time_epoch_executed='1663384056.94' WHERE source_name='4FGL J1727.2+0644' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178670

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178670/ft1_4FGL_J1727.2+0644_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178670/ft1_4FGL_J1727.2+0644_daily_bin1711.fits outfile=/scratch/kocevski/178670/ft1_filteredMKT_4FGL_J1727.2+0644_daily_bin1711.fits ra=261.806 dec=6.7445 rad=12.0 tmin=682819201.0 tmax=683078401.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.64
user 4.30
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.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/178670/ft1_filteredMKT_4FGL_J1727.2+0644_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.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.56
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 1309

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/178670/ltcube_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.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/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits
.....................!
real 13.42
user 12.93
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/178670/ltcube_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.fits outfile=/scratch/kocevski/178670/expmap_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.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/178670/ltcube_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.fits
.....................!
real 193.02
user 186.01
sys 4.78

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 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 J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits scfile=/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits outfile=/scratch/kocevski/178670/cmap_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.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=261.806 yref=6.7445 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits scfile=/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits outfile=/scratch/kocevski/178670/cmap_HighResolution_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.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=261.806 yref=6.7445 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/178670/Model_4FGL_J1727.2+0644_daily_bin1711.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 J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits.....................!
real 126.77
user 123.92
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits', '/scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits', expMap='/scratch/kocevski/178670/expmap_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.fits', expCube='/scratch/kocevski/178670/ltcube_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/178670/Model_4FGL_J1727.2+0644_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/178670/ft1_filtered_4FGL_J1727.2+0644_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/178670/ft2_4FGL_J1727.2+0644_daily_bin1711.fits
Exposure map: /scratch/kocevski/178670/expmap_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.fits
Exposure cube: /scratch/kocevski/178670/ltcube_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/178670/Model_4FGL_J1727.2+0644_daily_bin1711.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) = 13606.4529727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75204E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0646       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15701E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14638E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14861E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26228       1.0000          .0000       .10000E+07
     7 'norm      '    3.0567       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.2735       1.0000          .0000       .10000E+07
     9 'norm      '    12.785       1.0000          .0000       .10000E+07
    10 'Prefactor '    146.56       1.0000          .0000       .10000E+07
    11 'Prefactor '    .46040E-05   1.0000          .0000       .10000E+07
    12 'norm      '    5.8745       1.0000          .0000       .10000E+07
    13 'norm      '    .19141E-05   1.0000          .0000       .10000E+07
    14 'norm      '    6.5106       1.0000          .0000       .10000E+07
    15 'norm      '    4.5018       1.0000          .0000       .10000E+07
    16 'norm      '    .13347E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.6228       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13606.40     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1300 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2938       -.55274E-07** at limit **
   2  Prefactor     5.0364        8.4700       -.32421E-06   -.14159E-02
   3  Prefactor     .33307E-09    28.318       -.26243E-06** at limit **
   4  Prefactor      .0000        2.4174        .30927E-07** at limit **
   5  Prefactor     .65492E-06    3.4970       -.16989E-06** at limit **
   6  Prefactor     .41633E-08    136.52        .53559E-08** at limit **
   7  norm          3.0585        3.0328       -.10847E-06   -.20457E-02
   8  Prefactor     1.2199        5.6495       -.27877E-06   -.71999E-03
   9  norm          12.733        9.4191       -.46440E-07   -.58367E-03
  10  Prefactor     151.67        92.207       -.91751E-07    .27779E-02
  11  Prefactor      .0000        1.1883       -.12282E-06** at limit **
  12  norm          5.7242        10.830       -.16309E-06    .26304E-01
  13  norm           .0000        1.1519        .18392E-07** at limit **
  14  norm          6.5098        1.3154        .69885E-08    .20799E-02
  15  norm          4.4763        6.0589       -.10935E-07    .12854E-03
  16  norm          .58220E-06    3.7127       -.11849E-06** at limit **
  17  Normalizat    1.6197        .35024       -.80251E-06   -.23485E-04
  18  Prefactor     .98139        .71399E-01    .63839E-06    .17733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.03644
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 6.54921e-07
  Prefactor  = 4.16334e-09
  norm       = 3.05848
  Prefactor  = 1.21989
  norm       = 12.7333
  Prefactor  = 151.669
  Prefactor  = 0
  norm       = 5.72422
  norm       = 0
  norm       = 6.50983
  norm       = 4.47628
  norm       = 5.82201e-07
  Normalizat = 1.61972
  Prefactor  = 0.981392
 **********
 **   18 **HESSE 
 **********

 FCN=   13606.40     FROM HESSE     STATUS=OK           282 CALLS     1582 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0364        8.4083        .44656E-03   -1.5663    
   3  Prefactor     .33307E-09    28.366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .65492E-06    6.7444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41633E-08    136.38        .10758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0585        3.0393        .58001E-03   -1.5673    
   8  Prefactor     1.2199        5.8014        .98486E-03   -1.5686    
   9  norm          12.733        9.4232        .27989E-03   -1.5637    
  10  Prefactor     151.67        91.720        .82608E-04   -1.5462    
  11  Prefactor      .0000        1.1833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7242        11.227        .41410E-03   -1.5660    
  13  norm           .0000        1.1495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.5098        1.3157        .39308E-03   -1.5657    
  15  norm          4.4763        6.0622        .47428E-03   -1.5666    
  16  norm          .58220E-06    6.6128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.6197        .31277        .12780       -.74468    
  18  Prefactor     .98139        .63427E-01    .33914E-01   -.93352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98098e-06
Minuit parameter uncertainties:
  1  5.52723e-06
  2  8.4083
  3  0.0002007
  4  1.48905e-05
  5  0.00420327
  6  0.00151033
  7  3.03932
  8  5.32054
  9  9.42317
  10  91.7209
  11  7.18519e-06
  12  11.2267
  13  2.3119e-06
  14  1.31571
  15  6.06218
  16  0.0039243
  17  0.313152
  18  0.0634322
Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  1.517e+02  9.172e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  9.814e-01  6.343e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.620e+00  3.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.19
Ra Dec: 261.806 6.745
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.47e-07 +/- 8.90e-08
Energy Flux (Fixed Index): 3.39e-05 +/- 2.05e-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) = 13605.5911496
delta logL = 0.807107917208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13605.538755
delta logL = 0.859502524871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.322       1.0000          .0000       .10000E+07
     2 'Index     '    4.1855       1.0000          .0000       10.000    
     3 'Normalizat'    1.5079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+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=   13605.54     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      340 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.164        340.88        .70367E-05    .26496E-03
   2  Index         4.1892        3.8239        .56074E-02    .73519E-04
   3  Normalizat    1.5077        .32805        .58322E-03    .10729E-03
   4  Prefactor     .99752        .68791E-01    .14875E-03    .33194E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.1639
  Index      = 4.1892
  Normalizat = 1.50773
  Prefactor  = 0.997518
 **********
 **   18 **HESSE 
 **********

 FCN=   13605.54     FROM HESSE     STATUS=OK            25 CALLS      365 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.164        72.282        .28147E-06   -1.5595    
   2  Index         4.1892        1.4863        .22430E-03   -.16288    
   3  Normalizat    1.5077        .34166        .23329E-04   -.77561    
   4  Prefactor     .99752        .71371E-01    .29750E-04   -.92812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.99585e-11
Minuit parameter uncertainties:
  1  72.2841
  2  1.50976
  3  0.342184
  4  0.0713781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178670': 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) = 13605.5387513
delta logL = 0.85950616837

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  3.216e+01  7.228e+01  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  4.189e+00  1.510e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  9.975e-01  7.138e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.508e+00  3.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 261.806 6.745
Photon Index (Free Index): 4.19 +/- 1.51
Photon Flux (Free Index): 2.47e-07 +/- 1.24e-07
Energy Flux (Free Index): 3.60e-05 +/- 1.75e-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/178670/cmap_HighResolution_682819201_683078401_4FGL_J1727.2+0644_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-07', energy_flux2='3.60e-05', photon_flux_error='8.90e-08', dlogl='8.60e-01', energy_flux='3.39e-05', photon_flux2='2.47e-07', job_status='DONE', time_completed='2022-09-16 20:21:54.945055', photon_index_error2='1.51', photon_index2='4.19', ts='4.19', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.62', time_epoch_completed='1663384914.95', return_code='0', job_id='178670', GAL2='1.00', EG2='1.51', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='1.24e-07', ts2='6.25', photon_index='2.76' WHERE bin_id='1711' AND source_name='4FGL J1727.2+0644' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:21:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 178670: <4FGL_J1727.2+0644_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1727.2+0644_daily_bin1711> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 20:05:24 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:05:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:05:59 2022
Terminated at Fri Sep 16 20:21:55 2022
Results reported at Fri Sep 16 20:21:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.2+0644_daily_bin1711 261.806 6.7445 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1727.2+0644 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   851.11 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             343.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            991 sec.

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

