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


Performing analysis on: 4FGL_J1727.4+4530_daily_bin1750
RA = 261.852, Dec = 45.5108
tmin = 692928001, tmax = 693187201
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='18843', job_status='RUN', time_executed='2022-12-20 01:16:05.553951', time_epoch_executed='1671527765.55' WHERE source_name='4FGL J1727.4+4530' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18843

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18843/ft1_4FGL_J1727.4+4530_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18843/ft1_4FGL_J1727.4+4530_daily_bin1750.fits outfile=/scratch/kocevski/18843/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1750.fits ra=261.852 dec=45.5108 rad=12.0 tmin=692928001.0 tmax=693187201.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.48
user 3.28
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.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/18843/ft1_filteredMKT_4FGL_J1727.4+4530_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/18843/ft1_filtered_4FGL_J1727.4+4530_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 624

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18843/ft1_filtered_4FGL_J1727.4+4530_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/18843/ltcube_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.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/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.fits
.....................!
real 11.73
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18843/ft1_filtered_4FGL_J1727.4+4530_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/18843/ltcube_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.fits outfile=/scratch/kocevski/18843/expmap_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.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/18843/ltcube_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.fits
.....................!
real 192.26
user 185.77
sys 6.16

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/18843/ft1_filtered_4FGL_J1727.4+4530_daily_bin1750.fits scfile=/scratch/kocevski/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.fits outfile=/scratch/kocevski/18843/cmap_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18843/ft1_filtered_4FGL_J1727.4+4530_daily_bin1750.fits scfile=/scratch/kocevski/18843/ft2_4FGL_J1727.4+4530_daily_bin1750.fits outfile=/scratch/kocevski/18843/cmap_HighResolution_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14421E-01   1.0000          .0000       .10000E+07
     2 'norm      '    23.607       1.0000          .0000       .10000E+07
     3 'norm      '    .57090E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.7440       1.0000          .0000       .10000E+07
     5 'norm      '    1.8135       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10999E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7252       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.5871       1.0000          .0000       .10000E+07
     9 'Prefactor '    .68810E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9165       1.0000          .0000       .10000E+07
    11 'norm      '    2.1645       1.0000          .0000       .10000E+07
    12 'norm      '    .88762E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10367E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .50904E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .58243E-03   1.0000          .0000       .10000E+07
    16 'norm      '    14.103       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21884       1.0000          .0000       .10000E+07
    18 'norm      '    20.964       1.0000          .0000       .10000E+07
    19 'Prefactor '    12.796       1.0000          .0000       .10000E+07
    20 'norm      '    4.1686       1.0000          .0000       .10000E+07
    21 'Prefactor '    .72271E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    10.002       1.0000          .0000       .10000E+07
    23 'Prefactor '    .51782E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    8.3340       1.0000          .0000       .10000E+07
    25 'norm      '    35.189       1.0000          .0000       .10000E+07
    26 'norm      '    4.4043       1.0000          .0000       .10000E+07
    27 'Prefactor '    .44940E-03   1.0000          .0000       .10000E+07
    28 'norm      '    .37948E-04   1.0000          .0000       .10000E+07
    29 'Normalizat'    .87666       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .99577       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=   6583.533     FROM MIGRAD    STATUS=CONVERGED    229 CALLS     2912 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15489E-01    251.79        .11403E-04** at limit **
   2  norm          23.611        1.0976        .78308E-08   -.73362E-02
   3  norm          .24980E-08    8.1093        .95051E-06** at limit **
   4  Prefactor     1.7480        3.7464        .35816E-07    .14392E-02
   5  norm          1.7717        314.23        .80003E-05    .98543E-02
   6  Prefactor      .0000        1.1424       -.15389E-06** at limit **
   7  Prefactor     1.7268        1.2962       -.71256E-07    .24228E-02
   8  Prefactor     1.5935        3.4323        .20656E-06    .11065E-02
   9  Prefactor      .0000        4.8307        .35321E-06** at limit **
  10  Prefactor     4.9087        5.1284       -.27287E-06    .25982E-01
  11  norm          2.1647        1.6789       -.48293E-07   -.97918E-03
  12  norm           .0000        .38136       -.56050E-07** at limit **
  13  Prefactor      .0000        2.8427       -.41816E-06** at limit **
  14  norm           .0000        .33982        .54836E-07** at limit **
  15  norm          .61062E-09    3.2332       -.20778E-06** at limit **
  16  norm          14.103        2.9404        .11916E-06    .10593E-01
  17  Prefactor     .23793        14.827        .76168E-06** at limit **
  18  norm          20.974        7.1952        .16280E-06    .59358E-01
  19  Prefactor     12.673        16.871       -.19922E-06   -.42182E-02
  20  norm          4.1913        6.3460       -.33528E-06    .20751E-01
  21  Prefactor     .99032E-06    30.369        .66342E-06** at limit **
  22  Prefactor     10.010        6.0450        .12274E-06   -.83146E-02
  23  Prefactor     .22204E-09    18.069       -.78143E-06** at limit **
  24  Prefactor     8.3485        6.7799       -.40384E-06   -.47928E-01
  25  norm          34.992        34.484       -.10732E-05    .69321E-01
  26  norm          4.4327        6.8763        .57736E-06    .16884E-01
  27  Prefactor     .17764E-08    6.7853        .39920E-06** at limit **
  28  norm          .12379E-07    7.9561       -.37999E-06** at limit **
  29  Normalizat    .87639        .25529       -.27930E-05    .13657E-03
  30  Prefactor     .99579        .17410        .23013E-05    .18186E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0154894
  norm       = 23.6108
  norm       = 2.498e-09
  Prefactor  = 1.74799
  norm       = 1.77173
  Prefactor  = 0
  Prefactor  = 1.72681
  Prefactor  = 1.59353
  Prefactor  = 0
  Prefactor  = 4.90872
  norm       = 2.16472
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 6.10623e-10
  norm       = 14.1031
  Prefactor  = 0.237926
  norm       = 20.9741
  Prefactor  = 12.6729
  norm       = 4.19133
  Prefactor  = 9.90319e-07
  Prefactor  = 10.0098
  Prefactor  = 2.22045e-10
  Prefactor  = 8.34851
  norm       = 34.992
  norm       = 4.4327
  Prefactor  = 1.77636e-09
  norm       = 1.2379e-08
  Normalizat = 0.876385
  Prefactor  = 0.995787
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.533     FROM HESSE     STATUS=OK           666 CALLS     3578 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15489E-01    3.5323        .52235E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          23.611        17.951        .20586E-03   -1.5611    
   3  norm          .24980E-08    8.1776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7480        3.8056        .79394E-03   -1.5682    
   5  norm          1.7717        434.27        .77540E-03   -1.5681    
   6  Prefactor      .0000        1.1354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7268        1.3619        .79922E-03   -1.5682    
   8  Prefactor     1.5935        3.5285        .84221E-03   -1.5683    
   9  Prefactor      .0000        4.7869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9087        10.235        .45337E-03   -1.5664    
  11  norm          2.1647        1.6826        .69978E-03   -1.5679    
  12  norm           .0000        .37948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.8446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .33808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .61062E-09    3.2476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.103        2.9395        .26646E-03   -1.5633    
  17  Prefactor     .23793        2.7099        .72486E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          20.974        7.8855        .21847E-03   -1.5616    
  19  Prefactor     12.673        62.842        .27976E-03   -1.5637    
  20  norm          4.1913        9.0582        .49340E-03   -1.5667    
  21  Prefactor     .99032E-06    41.899        .14744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.010        6.4332        .31659E-03   -1.5645    
  23  Prefactor     .22204E-09    18.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.3485        7.4688        .34702E-03   -1.5650    
  25  norm          34.992        83.221        .16860E-03   -1.5590    
  26  norm          4.4327        7.0480        .47964E-03   -1.5666    
  27  Prefactor     .17764E-08    6.8209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .12379E-07    8.0930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .87639        .21439        .70264E-01   -.97295    
  30  Prefactor     .99579        .14544        .46214E-01   -.92870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23734e-06
Minuit parameter uncertainties:
  1  0.467814
  2  17.9506
  3  0.000284779
  4  3.80563
  5  55.4806
  6  7.59583e-06
  7  1.36192
  8  3.52846
  9  2.04107e-05
  10  10.2346
  11  1.6826
  12  1.71932e-06
  13  9.42555e-06
  14  3.16272e-08
  15  9.04569e-05
  16  2.93946
  17  1.60593
  18  7.88546
  19  56.4418
  20  9.0582
  21  0.012883
  22  6.43317
  23  0.000127192
  24  7.46879
  25  83.2235
  26  7.04802
  27  0.000220302
  28  0.000632999
  29  0.214601
  30  0.145502
Done.

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

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  1.410e+01  2.939e+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:  9.958e-01  1.455e-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.764e-01  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 74.10
Ra Dec: 261.852 45.511
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 3.10e-07 +/- 6.47e-08
Energy Flux (Fixed Index): 9.26e-05 +/- 1.93e-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) = 6583.06617959
delta logL = 0.467299024268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6583.05785583
delta logL = 0.475622790774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.537       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1655       1.0000          .0000       5.0000    
     3 'Normalizat'    .91663       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97739       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=   6583.058     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.537        3.2671        .26243E-03    .11069E-01
   2  alpha         2.1654        .23208        .15963       -.18092E-03
   3  Normalizat    .91663        .20071        .68952E-01   -.12364E-03
   4  Prefactor     .97739        .14358        .45984E-01   -.16085E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.5372
  alpha      = 2.16543
  Normalizat = 0.916627
  Prefactor  = 0.977394
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.058     FROM HESSE     STATUS=OK            25 CALLS      228 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.537        3.1102        .63223E-05   -1.5632    
   2  alpha         2.1654        .22553        .69105E-03   -.13423    
   3  Normalizat    .91663        .23945        .30505E-03   -.95878    
   4  Prefactor     .97739        .17095        .21398E-03   -.93487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69155e-10
Minuit parameter uncertainties:
  1  3.11024
  2  0.225844
  3  0.239728
  4  0.171045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18843': 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) = 6583.05785582
delta logL = 0.475622794434

Extracting fit parameters...

4FGL J1727.4+4530
   Spectrum: LogParabola
327         norm:  1.454e+01  3.110e+00  0.000e+00  1.000e+06 ( 1.000e-11)
328        alpha:  2.165e+00  2.258e-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:  9.774e-01  1.710e-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:  9.166e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 74.61
Ra Dec: 261.852 45.511
Photon Index (Free Index): 2.17 +/- 0.23
Photon Flux (Free Index): 2.75e-07 +/- 7.00e-08
Energy Flux (Free Index): 1.04e-04 +/- 2.68e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/18843/cmap_HighResolution_692928001_693187201_4FGL_J1727.4+4530_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-07', energy_flux2='1.04e-04', photon_flux_error='6.47e-08', dlogl='4.76e-01', energy_flux='9.26e-05', photon_flux2='2.75e-07', job_status='DONE', time_completed='2022-12-20 01:28:50.512258', photon_index_error2='0.23', photon_index2='2.17', ts='74.10', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.68e-05', EG='0.88', time_epoch_completed='1671528530.51', return_code='0', job_id='18843', GAL2='0.98', EG2='0.92', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='7.00e-08', ts2='74.61', photon_index='2.39' WHERE bin_id='1750' AND source_name='4FGL J1727.4+4530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:28:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 18843: <4FGL_J1727.4+4530_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1727.4+4530_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 01:15:24 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:15:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:15:25 2022
Terminated at Tue Dec 20 01:28:51 2022
Results reported at Tue Dec 20 01:28:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.4+4530_daily_bin1750 261.852 45.5108 692928001 693187201 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 :                                   767.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

