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 15 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 = 7478
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1727.4+4530_daily_bin1714
RA = 261.852, Dec = 45.5108
tmin = 683596801, tmax = 683856001
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='178691', job_status='RUN', time_executed='2022-09-16 20:06:30.046205', time_epoch_executed='1663383990.05' WHERE source_name='4FGL J1727.4+4530' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178691/ft1_4FGL_J1727.4+4530_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178691/ft1_4FGL_J1727.4+4530_daily_bin1714.fits outfile=/scratch/kocevski/178691/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1714.fits ra=261.852 dec=45.5108 rad=12.0 tmin=683596801.0 tmax=683856001.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.51
user 3.29
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.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/178691/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 734

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/178691/ltcube_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.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/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits
.....................!
real 13.74
user 13.41
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/178691/ltcube_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.fits outfile=/scratch/kocevski/178691/expmap_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.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/178691/ltcube_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.fits
.....................!
real 190.21
user 185.78
sys 4.05

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
Added 206 point sources and 0 extended sources

Setting source of interest to:
4FGL J1727.4+4530 @ 261.852 45.5108

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits scfile=/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits outfile=/scratch/kocevski/178691/cmap_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.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.852 yref=45.5108 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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits scfile=/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits outfile=/scratch/kocevski/178691/cmap_HighResolution_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.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.852 yref=45.5108 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/178691/Model_4FGL_J1727.4+4530_daily_bin1714.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 GAL_V02
Working on...
/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits.....................!
real 63.70
user 62.44
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits', '/scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits', expMap='/scratch/kocevski/178691/expmap_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.fits', expCube='/scratch/kocevski/178691/ltcube_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/178691/Model_4FGL_J1727.4+4530_daily_bin1714.xml', optimizer='MINUIT')

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

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  2.304e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
328        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  8.376e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  4.339e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/178691/ft1_filtered_4FGL_J1727.4+4530_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/178691/ft2_4FGL_J1727.4+4530_daily_bin1714.fits
Exposure map: /scratch/kocevski/178691/expmap_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.fits
Exposure cube: /scratch/kocevski/178691/ltcube_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/178691/Model_4FGL_J1727.4+4530_daily_bin1714.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7746.94763401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34295E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .16654E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .48472E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15557E-04   1.0000          .0000       .10000E+07
     5 'norm      '    17.659       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41458       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.0141       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4961       1.0000          .0000       .10000E+07
     9 'Prefactor '    .39812       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25533E-04   1.0000          .0000       .10000E+07
    11 'norm      '    1.9267       1.0000          .0000       .10000E+07
    12 'norm      '    .96175       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43951       1.0000          .0000       .10000E+07
    14 'norm      '    .52867       1.0000          .0000       .10000E+07
    15 'norm      '    2.6889       1.0000          .0000       .10000E+07
    16 'norm      '    4.3137       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.7142       1.0000          .0000       .10000E+07
    18 'norm      '    .48557E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .40798E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .62591E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .71309E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .32193E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    6.1841       1.0000          .0000       .10000E+07
    24 'Prefactor '    17.205       1.0000          .0000       .10000E+07
    25 'norm      '    .74061E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .17964E-05   1.0000          .0000       .10000E+07
    27 'Prefactor '    28.483       1.0000          .0000       .10000E+07
    28 'norm      '    15.123       1.0000          .0000       .10000E+07
    29 'Normalizat'    .80916       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7746.844     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2254 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    2.8331        .97858E-08** at limit **
   2  norm          .78826E-07    10.275        .43964E-07** at limit **
   3  norm          .21094E-08    1.6166       -.33938E-07** at limit **
   4  Prefactor      .0000        1.0535       -.36635E-07** at limit **
   5  norm          17.314        3.2908       -.11202E-07   -.93650E-02
   6  Prefactor     .41498        1.3207        .60156E-07   -.16699E-03
   7  Prefactor     2.0137        1.4501       -.17874E-07   -.97151E-03
   8  Prefactor     2.4962        2.1819        .40511E-07    .19053E-03
   9  Prefactor     .42087        3.4220       -.54800E-07   -.69013E-06
  10  Prefactor     .18541E-07    2.1967       -.76700E-07** at limit **
  11  norm          1.9257        1.0981        .14094E-07    .44177E-03
  12  norm          .96142        .71684        .20162E-08    .91832E-04
  13  Prefactor     .45653        15.362        .31091E-06    .56843E-02
  14  norm          .52848        .52013        .58980E-08    .32094E-03
  15  norm          2.6919        8.3196        .74188E-07    .35533E-03
  16  norm          4.3156        1.9087        .13053E-07    .21125E-03
  17  Prefactor     3.7077        2.9852       -.36419E-07   -.46997E-03
  18  norm          .34356E-06    5.0541        .45074E-07** at limit **
  19  Prefactor     .12551E-06    24.616       -.34460E-06** at limit **
  20  norm           .0000        1.4928       -.16035E-07** at limit **
  21  Prefactor     .21094E-08    50.160       -.44436E-06** at limit **
  22  Prefactor     .19429E-08    8.9474        .57426E-07** at limit **
  23  Prefactor     6.0340        3.4079        .11252E-07   -.91320E-02
  24  Prefactor     17.008        11.457        .55146E-07   -.30978E-02
  25  norm          .83156E-07    23.521       -.43328E-06** at limit **
  26  norm          .20817E-07    2.8119        .65006E-07** at limit **
  27  Prefactor     28.763        3.2181       -.39007E-08    .18475E-01
  28  norm          15.129        9.0993        .65955E-07    .21710E-01
  29  Normalizat    .80886        .22561       -.46687E-05   -.30520E-04
  30  Prefactor     1.1289        .16332        .11344E-05   -.20791E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 7.88258e-08
  norm       = 2.10942e-09
  Prefactor  = 0
  norm       = 17.3141
  Prefactor  = 0.414976
  Prefactor  = 2.01373
  Prefactor  = 2.49622
  Prefactor  = 0.420868
  Prefactor  = 1.85407e-08
  norm       = 1.92574
  norm       = 0.961418
  Prefactor  = 0.456531
  norm       = 0.528478
  norm       = 2.69186
  norm       = 4.31557
  Prefactor  = 3.70769
  norm       = 3.43559e-07
  Prefactor  = 1.25511e-07
  norm       = 0
  Prefactor  = 2.10942e-09
  Prefactor  = 1.94289e-09
  Prefactor  = 6.03397
  Prefactor  = 17.0081
  norm       = 8.31557e-08
  norm       = 2.08167e-08
  Prefactor  = 28.7626
  norm       = 15.1293
  Normalizat = 0.808862
  Prefactor  = 1.12886
 **********
 **   18 **HESSE 
 **********

 FCN=   7746.844     FROM HESSE     STATUS=OK           658 CALLS     2912 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    2.8289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .78826E-07    12.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .21094E-08    4.4092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          17.314        31.186        .23806E-03   -1.5625    
   6  Prefactor     .41498        1.6049        .87817E-03   -1.5695    
   7  Prefactor     2.0137        1.7278        .72909E-04   -1.5680    
   8  Prefactor     2.4962        2.1908        .64664E-03   -1.5676    
   9  Prefactor     .42087        1.9220        .36956E-02   -1.5695    
  10  Prefactor     .18541E-07    4.3830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9257        1.0983        .74811E-03   -1.5680    
  12  norm          .96142        .72353        .42406E-03   -1.5688    
  13  Prefactor     .45653        4.3837        .61698E-02   -1.5694    
  14  norm          .52848        .53519        .75876E-03   -1.5693    
  15  norm          2.6919        8.3751        .62107E-03   -1.5675    
  16  norm          4.3156        1.9228        .48479E-03   -1.5666    
  17  Prefactor     3.7077        2.9930        .52374E-03   -1.5669    
  18  norm          .34356E-06    13.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12551E-06    28.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.4931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .21094E-08    50.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .19429E-08    8.8969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.0340        67.458        .40346E-03   -1.5659    
  24  Prefactor     17.008        12.415        .24119E-03   -1.5625    
  25  norm          .83156E-07    25.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .20817E-07    4.5301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     28.763        18.060        .18740E-03   -1.5601    
  28  norm          15.129        10.347        .25729E-03   -1.5630    
  29  Normalizat    .80886        .19825        .71698E-01   -.99741    
  30  Prefactor     1.1289        .13999        .36587E-01   -.88549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82148e-08
Minuit parameter uncertainties:
  1  3.55557e-05
  2  0.00197196
  3  0.00019403
  4  6.07296e-07
  5  31.1867
  6  1.60493
  7  1.72777
  8  2.1908
  9  1.79877
  10  0.000569828
  11  1.0983
  12  0.723527
  13  2.82935
  14  0.535188
  15  8.37514
  16  1.92276
  17  2.99296
  18  0.00435315
  19  0.00375393
  20  6.85951e-06
  21  0.000651311
  22  0.000262265
  23  40.351
  24  12.415
  25  0.00292235
  26  0.000614004
  27  18.0604
  28  10.3473
  29  0.198423
  30  0.140031
Done.

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

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  4.316e+00  1.923e+00  0.000e+00  1.000e+06 ( 1.000e-11)
328        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  8.376e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  4.339e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.129e+00  1.400e-01  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  8.089e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.30
Ra Dec: 261.852 45.511
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 9.50e-08 +/- 4.23e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 1.26e-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) = 7746.81462789
delta logL = 0.0295447394246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7746.81367779
delta logL = 0.0304948346256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3193       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2713       1.0000          .0000       5.0000    
     3 'Normalizat'    .81988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1236       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7746.814     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3261        4.1095        .48447E-03    .94265E-03
   2  alpha         2.2713        .85704        .35932        .46432E-05
   3  Normalizat    .81996        .19013        .71262E-01    .27816E-04
   4  Prefactor     1.1235        .14132        .36753E-01   -.19846E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.32607
  alpha      = 2.27129
  Normalizat = 0.819962
  Prefactor  = 1.1235
 **********
 **   18 **HESSE 
 **********

 FCN=   7746.814     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .69E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3261        1.9265        .77741E-05   -1.5666    
   2  alpha         2.2713        .47030        .13733E-01   -.91612E-01
   3  Normalizat    .81996        .22126        .31534E-03   -.99332    
   4  Prefactor     1.1235        .16292        .20396E-03   -.88719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86238e-12
Minuit parameter uncertainties:
  1  1.9265
  2  0.473146
  3  0.2215
  4  0.162989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178691': 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) = 7746.81367126
delta logL = 0.0305013707994

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  4.326e+00  1.926e+00  0.000e+00  1.000e+06 ( 1.000e-11)
328        alpha:  2.271e+00  4.731e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  8.376e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  4.339e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.123e+00  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  8.200e-01  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.33
Ra Dec: 261.852 45.511
Photon Index (Free Index): 2.27 +/- 0.47
Photon Flux (Free Index): 8.75e-08 +/- 4.90e-08
Energy Flux (Free Index): 2.94e-05 +/- 1.40e-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/178691/cmap_HighResolution_683596801_683856001_4FGL_J1727.4+4530_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.50e-08', energy_flux2='2.94e-05', photon_flux_error='4.23e-08', dlogl='3.05e-02', energy_flux='2.83e-05', photon_flux2='8.75e-08', job_status='DONE', time_completed='2022-09-16 20:19:15.204254', photon_index_error2='0.47', photon_index2='2.27', ts='11.30', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.40e-05', EG='0.81', time_epoch_completed='1663384755.2', return_code='0', job_id='178691', GAL2='1.12', EG2='0.82', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='4.90e-08', ts2='11.33', photon_index='2.39' WHERE bin_id='1714' AND source_name='4FGL J1727.4+4530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:19:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 178691: <4FGL_J1727.4+4530_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1727.4+4530_daily_bin1714> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 20:05:25 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:06:07 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:06:07 2022
Terminated at Fri Sep 16 20:19:16 2022
Results reported at Fri Sep 16 20:19:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.4+4530_daily_bin1714 261.852 45.5108 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1727.4+4530 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            831 sec.

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

