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


Performing analysis on: 4FGL_J1727.4+4530_daily_bin1748
RA = 261.852, Dec = 45.5108
tmin = 692409601, tmax = 692668801
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='892505', job_status='RUN', time_executed='2022-12-14 01:01:08.332107', time_epoch_executed='1671008468.33' WHERE source_name='4FGL J1727.4+4530' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892505

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892505/ft1_4FGL_J1727.4+4530_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892505/ft1_4FGL_J1727.4+4530_daily_bin1748.fits outfile=/scratch/kocevski/892505/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1748.fits ra=261.852 dec=45.5108 rad=12.0 tmin=692409601.0 tmax=692668801.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.60
user 3.38
sys 0.21

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

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

Number of photons that the gtmktime cut: 775

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892505/ft1_filtered_4FGL_J1727.4+4530_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/892505/ltcube_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.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/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits
.....................!
real 12.27
user 11.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892505/ft1_filtered_4FGL_J1727.4+4530_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/892505/ltcube_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.fits outfile=/scratch/kocevski/892505/expmap_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.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/892505/ltcube_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.fits
.....................!
real 190.73
user 185.19
sys 5.22

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/892505/ft1_filtered_4FGL_J1727.4+4530_daily_bin1748.fits scfile=/scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits outfile=/scratch/kocevski/892505/cmap_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892505/ft1_filtered_4FGL_J1727.4+4530_daily_bin1748.fits scfile=/scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits outfile=/scratch/kocevski/892505/cmap_HighResolution_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892505/ft1_filtered_4FGL_J1727.4+4530_daily_bin1748.fits', '/scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits', expMap='/scratch/kocevski/892505/expmap_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.fits', expCube='/scratch/kocevski/892505/ltcube_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892505/Model_4FGL_J1727.4+4530_daily_bin1748.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/892505/ft1_filtered_4FGL_J1727.4+4530_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/892505/ft2_4FGL_J1727.4+4530_daily_bin1748.fits
Exposure map: /scratch/kocevski/892505/expmap_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.fits
Exposure cube: /scratch/kocevski/892505/ltcube_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892505/Model_4FGL_J1727.4+4530_daily_bin1748.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) = 8163.05674506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6715       1.0000          .0000       .10000E+07
     2 'norm      '    .81742E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27868E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.7568       1.0000          .0000       .10000E+07
     5 'norm      '    23.466       1.0000          .0000       .10000E+07
     6 'Prefactor '    .81934E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14433E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16523E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10825E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16433E-03   1.0000          .0000       .10000E+07
    11 'norm      '    4.7895       1.0000          .0000       .10000E+07
    12 'norm      '    .40410E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38262E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .23878       1.0000          .0000       .10000E+07
    15 'norm      '    4.0784       1.0000          .0000       .10000E+07
    16 'norm      '    7.8753       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.6884       1.0000          .0000       .10000E+07
    18 'norm      '    3.4380       1.0000          .0000       .10000E+07
    19 'Prefactor '    22.760       1.0000          .0000       .10000E+07
    20 'norm      '    1.7208       1.0000          .0000       .10000E+07
    21 'Prefactor '    60.757       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11566E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    11.844       1.0000          .0000       .10000E+07
    24 'Prefactor '    10.270       1.0000          .0000       .10000E+07
    25 'norm      '    27.053       1.0000          .0000       .10000E+07
    26 'norm      '    2.7585       1.0000          .0000       .10000E+07
    27 'Prefactor '    3.6449       1.0000          .0000       .10000E+07
    28 'norm      '    .52651E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    .84438       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1246       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=   8163.048     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2843 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6831        3.8082        .12123E-06    .23031E-02
   2  norm          .28866E-08    11.218       -.18844E-06** at limit **
   3  norm           .0000        23.180       -.10090E-06** at limit **
   4  Prefactor     8.8203        4.4846       -.40322E-07   -.55910E-03
   5  norm          23.840        24.359       -.34746E-07   -.66796E-01
   6  Prefactor      .0000        .29637        .17291E-07** at limit **
   7  Prefactor      .0000        .35686       -.14021E-07** at limit **
   8  Prefactor      .0000        2.0613       -.75425E-07** at limit **
   9  Prefactor      .0000        1.4172       -.58940E-07** at limit **
  10  Prefactor     .16098E-08    7.3248        .16322E-06** at limit **
  11  norm          4.7909        1.6782        .51779E-07    .57041E-02
  12  norm           .0000        1.2161        .79164E-07** at limit **
  13  Prefactor     .15543E-08    6.1296        .15291E-06** at limit **
  14  norm          .23854        .75720       -.16855E-07** at limit **
  15  norm          4.0413        8.5455       -.22272E-06   -.18020E-02
  16  norm          7.8655        2.3345       -.83272E-08   -.18834E-02
  17  Prefactor     2.6888        2.2557        .88849E-07    .29020E-02
  18  norm          3.4204        3.6293        .52190E-07    .12597E-02
  19  Prefactor     24.531        30.868       -.44690E-06   -.13859    
  20  norm          1.6927        3.4766        .28667E-07    .50989E-04
  21  Prefactor     62.752        33.292       -.31399E-06    .99271E-01
  22  Prefactor      .0000        2.1213        .54750E-07** at limit **
  23  Prefactor     12.091        11.998       -.54647E-07    .55461E-01
  24  Prefactor     10.248        2.1044        .30492E-07    .10553E-01
  25  norm          25.457        26.505        .39453E-06   -.80437E-01
  26  norm          2.7217        7.0859        .23688E-07   -.18318E-04
  27  Prefactor     3.6467        1.5287       -.29184E-07    .14617E-01
  28  norm          .33307E-09    5.1553       -.10376E-06** at limit **
  29  Normalizat    .84245        .23223        .15113E-05   -.26972E-04
  30  Prefactor     1.1253        .16425       -.11117E-05   -.58778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68308
  norm       = 2.88658e-09
  norm       = 0
  Prefactor  = 8.82034
  norm       = 23.8398
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.60982e-09
  norm       = 4.79095
  norm       = 0
  Prefactor  = 1.55431e-09
  norm       = 0.23854
  norm       = 4.0413
  norm       = 7.86552
  Prefactor  = 2.68884
  norm       = 3.42039
  Prefactor  = 24.531
  norm       = 1.69269
  Prefactor  = 62.7524
  Prefactor  = 0
  Prefactor  = 12.0905
  Prefactor  = 10.2485
  norm       = 25.4568
  norm       = 2.72165
  Prefactor  = 3.64669
  norm       = 3.33067e-10
  Normalizat = 0.842454
  Prefactor  = 1.12526
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.048     FROM HESSE     STATUS=OK           662 CALLS     3505 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6831        3.8215        .52689E-03   -1.5670    
   2  norm          .28866E-08    11.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        22.393        .16565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.8203        4.4913        .33849E-03   -1.5649    
   5  norm          23.840        26.806        .20648E-03   -1.5610    
   6  Prefactor      .0000        .29500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .35193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.0529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16098E-08    7.3068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7909        1.6792        .45947E-03   -1.5664    
  12  norm           .0000        .36004        .27905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .15543E-08    6.1278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .23854        .58173        .28149E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.0413        8.6583        .49899E-03   -1.5668    
  16  norm          7.8655        2.3590        .35707E-03   -1.5652    
  17  Prefactor     2.6888        2.2577        .62113E-03   -1.5675    
  18  norm          3.4204        3.7284        .54525E-03   -1.5671    
  19  Prefactor     24.531        55.372        .20967E-03   -1.5609    
  20  norm          1.6927        3.5427        .80048E-03   -1.5682    
  21  Prefactor     62.752        51.590        .12830E-03   -1.5550    
  22  Prefactor      .0000        2.1152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.091        28.965        .29083E-03   -1.5638    
  24  Prefactor     10.248        11.380        .31242E-03   -1.5644    
  25  norm          25.457        49.531        .19230E-03   -1.5607    
  26  norm          2.7217        7.3939        .61260E-03   -1.5675    
  27  Prefactor     3.6467        17.080        .52889E-03   -1.5670    
  28  norm          .33307E-09    5.1841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .84245        .20257        .72398E-01   -.98513    
  30  Prefactor     1.1253        .13991        .36720E-01   -.88663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03526e-06
Minuit parameter uncertainties:
  1  3.82152
  2  0.000360962
  3  3.79925e-05
  4  4.49134
  5  26.8065
  6  6.71768e-07
  7  4.24654e-07
  8  3.26772e-06
  9  3.93741e-06
  10  0.000217927
  11  1.67924
  12  3.18758e-06
  13  0.00019588
  14  0.581728
  15  8.6583
  16  2.35903
  17  2.25771
  18  3.72839
  19  55.3728
  20  3.54273
  21  51.5902
  22  4.84185e-06
  23  28.965
  24  11.3805
  25  49.5319
  26  7.39392
  27  15.7841
  28  8.46012e-05
  29  0.20275
  30  0.139952
Done.

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

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  7.866e+00  2.359e+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.125e+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.425e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.26
Ra Dec: 261.852 45.511
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.73e-07 +/- 5.19e-08
Energy Flux (Fixed Index): 5.17e-05 +/- 1.55e-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) = 8162.79332887
delta logL = 0.254371182111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8162.79301731
delta logL = 0.254682740863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3513       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6365       1.0000          .0000       5.0000    
     3 'Normalizat'    .80734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1434       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=   8162.793     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      260 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3480        28.185        .36969E-03    .17039E-02
   2  alpha         2.6360        3.8180        .24076        .35639E-04
   3  Normalizat    .80723        .17326        .73765E-01    .33651E-04
   4  Prefactor     1.1436        .12970        .36129E-01    .22308E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.34804
  alpha      = 2.63598
  Normalizat = 0.807225
  Prefactor  = 1.14356
 **********
 **   18 **HESSE 
 **********

 FCN=   8162.793     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3480        2.3979        .65404E-05   -1.5654    
   2  alpha         2.6360        .36257        .10161E-01    .54419E-01
   3  Normalizat    .80723        .22397        .32646E-03   -.99801    
   4  Prefactor     1.1436        .16306        .20670E-03   -.88086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91092e-13
Minuit parameter uncertainties:
  1  2.39787
  2  0.363859
  3  0.224229
  4  0.163132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892505': 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) = 8162.79301262
delta logL = 0.254687434967

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  7.348e+00  2.398e+00  0.000e+00  1.000e+06 ( 1.000e-11)
328        alpha:  2.636e+00  3.639e-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.144e+00  1.631e-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.072e-01  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.92
Ra Dec: 261.852 45.511
Photon Index (Free Index): 2.64 +/- 0.36
Photon Flux (Free Index): 1.97e-07 +/- 6.27e-08
Energy Flux (Free Index): 4.82e-05 +/- 1.45e-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/892505/cmap_HighResolution_692409601_692668801_4FGL_J1727.4+4530_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.73e-07', energy_flux2='4.82e-05', photon_flux_error='5.19e-08', dlogl='2.55e-01', energy_flux='5.17e-05', photon_flux2='1.97e-07', job_status='DONE', time_completed='2022-12-14 01:15:26.805889', photon_index_error2='0.36', photon_index2='2.64', ts='24.26', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.84', time_epoch_completed='1671009326.81', return_code='0', job_id='892505', GAL2='1.14', EG2='0.81', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='6.27e-08', ts2='24.92', photon_index='2.39' WHERE bin_id='1748' AND source_name='4FGL J1727.4+4530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:15:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 892505: <4FGL_J1727.4+4530_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1727.4+4530_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 01:00:16 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:00:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:00:17 2022
Terminated at Wed Dec 14 01:15:27 2022
Results reported at Wed Dec 14 01:15:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.4+4530_daily_bin1748 261.852 45.5108 692409601 692668801 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 :                                   860.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            911 sec.

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

