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 226 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 = 7530
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J1727.4+4530_daily_bin1674
RA = 261.852, Dec = 45.5108
tmin = 673228801, tmax = 673488001
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='671057', job_status='RUN', time_executed='2022-05-06 03:01:32.931047', time_epoch_executed='1651831292.93' WHERE source_name='4FGL J1727.4+4530' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671057

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671057/ft1_4FGL_J1727.4+4530_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671057/ft1_4FGL_J1727.4+4530_daily_bin1674.fits outfile=/scratch/kocevski/671057/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1674.fits ra=261.852 dec=45.5108 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.78
user 2.53
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.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/671057/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.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.33
sys 0.17

Number of photons that the gtmktime cut: 1501

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/671057/ltcube_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.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/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits
.....................!
real 16.23
user 15.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/671057/ltcube_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.fits outfile=/scratch/kocevski/671057/expmap_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.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/671057/ltcube_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.fits
.....................!
real 196.35
user 187.61
sys 5.58

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/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits scfile=/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits outfile=/scratch/kocevski/671057/cmap_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits scfile=/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits outfile=/scratch/kocevski/671057/cmap_HighResolution_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/671057/Model_4FGL_J1727.4+4530_daily_bin1674.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/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits.....................!
real 114.87
user 113.32
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits', '/scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits', expMap='/scratch/kocevski/671057/expmap_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.fits', expCube='/scratch/kocevski/671057/ltcube_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671057/Model_4FGL_J1727.4+4530_daily_bin1674.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  1.000e-04  1.000e+04 ( 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  0.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/671057/ft1_filtered_4FGL_J1727.4+4530_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/671057/ft2_4FGL_J1727.4+4530_daily_bin1674.fits
Exposure map: /scratch/kocevski/671057/expmap_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.fits
Exposure cube: /scratch/kocevski/671057/ltcube_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671057/Model_4FGL_J1727.4+4530_daily_bin1674.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) = 15840.7842643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    19.792       1.0000         .10000E-03   10000.    
     3 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10488E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5602       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2770       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.5159       1.0000         .10000E-03   10000.    
    12 'norm      '    .78094       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4116       1.0000         .10000E-03   10000.    
    14 'norm      '    .94602E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    5.8117       1.0000         .10000E-03   10000.    
    16 'norm      '    4.5062       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10552E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.186       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.0486       1.0000         .10000E-03   10000.    
    21 'norm      '    2.3657       1.0000         .10000E-03   10000.    
    22 'Prefactor '    75.687       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4333       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .90871E-01   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10411E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    10.303       1.0000         .10000E-03   10000.    
    30 'Prefactor '    12.973       1.0000         .10000E-03   10000.    
    31 'norm      '    9.2636       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0717       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0272       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15840.76     FROM MIGRAD    STATUS=CONVERGED    970 CALLS     4760 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .57798        .23815E-08** at limit **
   2  norm          19.776        11.803        .77952E-09   -.37937E-04
   3  norm          .10000E-03    3.1052       -.89427E-08** at limit **
   4  Prefactor     .10000E-03    .55570        .98852E-08** at limit **
   5  norm          .10000E-03    8.5165       -.18139E-06** at limit **
   6  Prefactor     1.5604        1.1367        .62155E-07   -.17446E-03
   7  Prefactor     2.2771        1.1838        .58299E-08   -.14951E-03
   8  Prefactor     .10000E-03    .53685        .34738E-07** at limit **
   9  Prefactor     .10000E-03    .73654       -.29015E-09** at limit **
  10  Prefactor     .10000E-03    1.3180        .91744E-08** at limit **
  11  norm          3.5159        1.1631       -.79531E-08   -.57648E-04
  12  norm          .78098        .52560        .40656E-07   -.33600E-03
  13  Prefactor     2.4122        3.6658        .45447E-06   -.29488E-03
  14  norm          .94631E-01    .27972        .21010E-06   -.15820E-02
  15  norm          5.8091        4.8406       -.79633E-07   -.16843E-03
  16  norm          4.5059        1.3581       -.25140E-07   -.37308E-03
  17  Prefactor     .10002E-03    .98098       -.79565E-07** at limit **
  18  Prefactor     19.182        27.322        .17893E-05    .13039E-03
  19  norm          .10000E-03    1.6457       -.48137E-07** at limit **
  20  Prefactor     9.0555        50.728       -.11048E-05   -.37349E-04
  21  norm          2.3677        3.6098        .61069E-07   -.28689E-03
  22  Prefactor     75.650        37.655        .15795E-07    .58460E-04
  23  Prefactor     1.4344        3.1682        .14632E-05   -.31506E-03
  24  Prefactor     .10000E-03    10.451       -.16041E-06** at limit **
  25  Prefactor     .10012E-03    23.441       -.44602E-07** at limit **
  26  Prefactor     .10000E-03    4.2859        .15888E-07** at limit **
  27  norm          .10000E-03    16.905       -.30690E-07** at limit **
  28  Prefactor     .10000E-03    8.7579        .28972E-06** at limit **
  29  norm          10.300        6.4929        .14596E-06   -.39699E-04
  30  Prefactor     12.964        8.6205        .70154E-06    .39288E-03
  31  norm          9.2642        6.1221       -.31414E-06   -.40041E-03
  32  Normalizat    1.0716        .14652       -.82031E-06   -.15721E-03
  33  Prefactor     1.0272        .99917E-01   -.10567E-06   -.24249E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 19.7755
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.56036
  Prefactor  = 2.27707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.51587
  norm       = 0.78098
  Prefactor  = 2.41216
  norm       = 0.0946305
  norm       = 5.80906
  norm       = 4.50586
  Prefactor  = 0.000100023
  Prefactor  = 19.1817
  norm       = 0.0001
  Prefactor  = 9.05552
  norm       = 2.36766
  Prefactor  = 75.6503
  Prefactor  = 1.43436
  Prefactor  = 0.0001
  Prefactor  = 0.00010012
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3001
  Prefactor  = 12.9636
  norm       = 9.26423
  Normalizat = 1.07162
  Prefactor  = 1.02722
 **********
 **   18 **HESSE 
 **********

 FCN=   15840.76     FROM HESSE     STATUS=OK           723 CALLS     5483 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .57929        .93433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.776        11.807        .90030E-04   -1.4818    
   3  norm          .10000E-03    3.1109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .56034        .91608E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.5298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5604        1.1646        .83032E-04   -1.5458    
   7  Prefactor     2.2771        1.2176        .71203E-04   -1.5406    
   8  Prefactor     .10000E-03    3.0323        .17716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.7296        .20781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.3201        .14111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.5159        1.1632        .75599E-04   -1.5333    
  12  norm          .78098        .49999        .70803E-03   -1.5531    
  13  Prefactor     2.4122        3.6148        .26362E-03   -1.5397    
  14  norm          .94631E-01    .34572        .10578E-02   -1.5646    
  15  norm          5.8091        4.8364        .16660E-03   -1.5226    
  16  norm          4.5059        1.3554        .75948E-04   -1.5283    
  17  Prefactor     .10002E-03    .92162        .43925E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.182        27.831        .91440E-04   -1.4832    
  19  norm          .10000E-03    1.6587        .15718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.0555        51.115        .13324E-03   -1.5106    
  21  norm          2.3677        3.5356        .26642E-03   -1.5400    
  22  Prefactor     75.650        37.683        .46154E-04   -1.3966    
  23  Prefactor     1.4344        3.2200        .30905E-03   -1.5468    
  24  Prefactor     .10000E-03    10.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10012E-03    21.555        .15076       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.4072        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    16.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    8.8146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          10.300        6.4897        .12483E-03   -1.5066    
  30  Prefactor     12.964        8.8264        .11121E-03   -1.4988    
  31  norm          9.2642        6.2199        .13168E-03   -1.5099    
  32  Normalizat    1.0716        .17422        .29821E-03   -.90668    
  33  Prefactor     1.0272        .12038        .21984E-03   -.91827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42071e-08
Minuit parameter uncertainties:
  1  1.45301e-07
  2  11.8085
  3  3.44021e-07
  4  4.51384e-07
  5  1.85066e-05
  6  1.16466
  7  1.21764
  8  8.67008e-07
  9  3.44335e-06
  10  6.11899e-07
  11  1.16324
  12  0.499989
  13  3.61515
  14  0.345728
  15  4.83675
  16  1.35544
  17  0.000288594
  18  27.8499
  19  2.89994e-06
  20  43.0852
  21  3.53589
  22  37.6948
  23  3.2204
  24  2.34649e-05
  25  0.00321277
  26  5.98788e-06
  27  3.92451e-06
  28  1.34041e-05
  29  6.49015
  30  8.8273
  31  6.22034
  32  0.174316
  33  0.120409
Done.

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

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  4.506e+00  1.355e+00  1.000e-04  1.000e+04 ( 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  0.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.027e+00  1.204e-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:  1.072e+00  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.66
Ra Dec: 261.852 45.511
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 9.92e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 8.90e-06

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) = 15839.4357876
delta logL = 1.32805233107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15839.3765499
delta logL = 1.38729004826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0374       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8705       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0037       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=   15839.38     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0352        1.2811        .50171E-02    .15580E-03
   2  alpha         1.8699        .23427        .29702       -.92915E-04
   3  Normalizat    1.1221        .13663        .66095E-01    .34697E-04
   4  Prefactor     1.0036        .98633E-01    .44497E-01    .19505E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.03521
  alpha      = 1.86994
  Normalizat = 1.1221
  Prefactor  = 1.00356
 **********
 **   18 **HESSE 
 **********

 FCN=   15839.38     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0352        1.4863        .77499E-04   -1.5306    
   2  alpha         1.8699        .30162        .11835E-01   -.25477    
   3  Normalizat    1.1221        .16614        .29240E-03   -.89046    
   4  Prefactor     1.0036        .11940        .22209E-03   -.92611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17082e-09
Minuit parameter uncertainties:
  1  1.48629
  2  0.30241
  3  0.166216
  4  0.119431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671057': 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) = 15839.3765474
delta logL = 1.38729254697

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  4.035e+00  1.486e+00  1.000e-04  1.000e+04 ( 1.000e-11)
328        alpha:  1.870e+00  3.024e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  8.376e-02  0.000e+00  0.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.004e+00  1.194e-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:  1.122e+00  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.43
Ra Dec: 261.852 45.511
Photon Index (Free Index): 1.87 +/- 0.30
Photon Flux (Free Index): 6.53e-08 +/- 2.90e-08
Energy Flux (Free Index): 3.88e-05 +/- 1.52e-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/671057/cmap_HighResolution_673228801_673488001_4FGL_J1727.4+4530_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.92e-08', energy_flux2='3.88e-05', photon_flux_error='2.98e-08', dlogl='1.39e+00', energy_flux='2.96e-05', photon_flux2='6.53e-08', job_status='DONE', time_completed='2022-05-06 03:33:11.664913', photon_index_error2='0.30', photon_index2='1.87', ts='25.66', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='1.07', time_epoch_completed='1651833191.66', return_code='0', job_id='671057', GAL2='1.00', EG2='1.12', return_code2='0', energy_flux_error='8.90e-06', photon_flux_error2='2.90e-08', ts2='28.43', photon_index='2.39' WHERE bin_id='1674' AND source_name='4FGL J1727.4+4530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:33:11 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 671032: <4FGL_J1727.4+4530_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1727.4+4530_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:08:10 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:57:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:57:15 2022
Terminated at Fri May  6 03:29:02 2022
Results reported at Fri May  6 03:29:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.4+4530_daily_bin1674 261.852 45.5108 673228801 673488001 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 :                                   1879.00 sec.
    Max Memory :                                 1162 MB
    Average Memory :                             342.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1906 sec.
    Turnaround time :                            12052 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 671057: <4FGL_J1727.4+4530_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1727.4+4530_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:08:12 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:57:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:57:37 2022
Terminated at Fri May  6 03:33:12 2022
Results reported at Fri May  6 03:33:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.4+4530_daily_bin1674 261.852 45.5108 673228801 673488001 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 :                                   1894.67 sec.
    Max Memory :                                 917 MB
    Average Memory :                             311.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2134 sec.
    Turnaround time :                            12300 sec.

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

