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


Performing analysis on: 4FGL_J1927.5+6117_monthly_bin171
RA = 291.882, Dec = 61.294
tmin = 680227201, tmax = 682819201
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='311504', job_status='RUN', time_executed='2022-09-17 03:45:02.593443', time_epoch_executed='1663411502.59' WHERE source_name='4FGL J1927.5+6117' and cadence='monthly' and bin_id='171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/311504

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/311504/ft1_4FGL_J1927.5+6117_monthly_bin171.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/311504/ft1_4FGL_J1927.5+6117_monthly_bin171.fits outfile=/scratch/kocevski/311504/ft1_filteredMKT_4FGL_J1927.5+6117_monthly_bin171.fits ra=291.882 dec=61.294 rad=12.0 tmin=680227201.0 tmax=682819201.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 29.34
user 28.52
sys 0.65

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.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/311504/ft1_filteredMKT_4FGL_J1927.5+6117_monthly_bin171.fits evtable="EVENTS" outfile="/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.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.89
user 0.69
sys 0.18

Number of photons that the gtmktime cut: 23376

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits" evtable="EVENTS" scfile=/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits sctable="SC_DATA" outfile=/scratch/kocevski/311504/ltcube_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.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/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits
.....................!
real 136.56
user 135.46
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/311504/ltcube_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.fits outfile=/scratch/kocevski/311504/expmap_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.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/311504/ltcube_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.fits
.....................!
real 193.81
user 187.46
sys 5.54

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 192 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1927.5+6117 @ 291.882 61.294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits scfile=/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits outfile=/scratch/kocevski/311504/cmap_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.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=291.882 yref=61.294 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.85
user 0.66
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits scfile=/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits outfile=/scratch/kocevski/311504/cmap_HighResolution_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.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=291.882 yref=61.294 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.83
user 0.64
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/311504/Model_4FGL_J1927.5+6117_monthly_bin171.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits.....................!
real 2678.21
user 2667.85
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits', '/scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits', expMap='/scratch/kocevski/311504/expmap_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.fits', expCube='/scratch/kocevski/311504/ltcube_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/311504/Model_4FGL_J1927.5+6117_monthly_bin171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1927.5+6117'

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  4.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
317        alpha:  2.108e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  7.647e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  1.576e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/311504/ft1_filtered_4FGL_J1927.5+6117_monthly_bin171.fits
Spacecraft file(s): /scratch/kocevski/311504/ft2_4FGL_J1927.5+6117_monthly_bin171.fits
Exposure map: /scratch/kocevski/311504/expmap_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.fits
Exposure cube: /scratch/kocevski/311504/ltcube_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/311504/Model_4FGL_J1927.5+6117_monthly_bin171.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) = 233818.833768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7894       1.0000          .0000       .10000E+07
     2 'Prefactor '    .91205E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40580E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.3713       1.0000          .0000       .10000E+07
     5 'norm      '    4.5099       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0718       1.0000          .0000       .10000E+07
     7 'Prefactor '    .44284E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .75903E-05   1.0000          .0000       .10000E+07
     9 'norm      '    2.6668       1.0000          .0000       .10000E+07
    10 'norm      '    2.0763       1.0000          .0000       .10000E+07
    11 'norm      '    .88738       1.0000          .0000       .10000E+07
    12 'norm      '    5.8473       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21610E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.3821       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.716       1.0000          .0000       .10000E+07
    16 'norm      '    2.2470       1.0000          .0000       .10000E+07
    17 'norm      '    5.5922       1.0000          .0000       .10000E+07
    18 'norm      '    1.2953       1.0000          .0000       .10000E+07
    19 'Prefactor '    13.643       1.0000          .0000       .10000E+07
    20 'norm      '    2.4040       1.0000          .0000       .10000E+07
    21 'norm      '    2.6013       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0696       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99681       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   233818.3     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1456 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7895        1.0848       -.24248E-07   -.71582E-02
   2  Prefactor     .16653E-09    .98181        .25417E-07** at limit **
   3  Prefactor     .55511E-09    13.342        .10091E-06** at limit **
   4  Prefactor     5.3728        1.4738       -.39979E-07    .77785E-02
   5  norm          4.5095        1.4455       -.56108E-08   -.10833E-01
   6  Prefactor     5.0715        2.6804       -.14183E-08   -.27927E-04
   7  Prefactor     .18319E-08    7.7452        .25736E-06** at limit **
   8  Prefactor     .49960E-08    1.9024       -.55179E-07** at limit **
   9  norm          2.6671        .60099       -.37723E-07   -.60129E-01
  10  norm          2.0764        .42209        .34372E-08   -.15071E-01
  11  norm          .88750        .62320       -.15155E-08    .10038E-02
  12  norm          5.8485        2.0015        .73282E-08   -.65434E-03
  13  Prefactor     .11657E-07    1.4297        .47323E-07** at limit **
  14  Prefactor     2.3824        1.1489       -.24760E-07   -.97473E-02
  15  Prefactor     14.727        5.9119       -.94106E-07   -.15781E-02
  16  norm          2.2465        .32328        .42217E-11   -.33535E-02
  17  norm          5.5911        4.3592        .76068E-06   -.15244E-03
  18  norm          1.2941        1.6533        .57442E-08    .41579E-02
  19  Prefactor     13.663        4.8012        .65818E-08   -.48755E-02
  20  norm          2.4037        .83776        .15950E-07    .15064E-01
  21  norm          2.6017        1.2471        .29383E-08   -.43472E-02
  22  Normalizat    1.0696        .49503E-01    .45719E-06   -.11182E-02
  23  Prefactor     .99681        .15147E-01   -.29950E-06   -.53563E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.78949
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-10
  Prefactor  = 5.37283
  norm       = 4.50949
  Prefactor  = 5.0715
  Prefactor  = 1.83187e-09
  Prefactor  = 4.996e-09
  norm       = 2.66706
  norm       = 2.07642
  norm       = 0.887502
  norm       = 5.84846
  Prefactor  = 1.16573e-08
  Prefactor  = 2.38243
  Prefactor  = 14.7269
  norm       = 2.24647
  norm       = 5.59115
  norm       = 1.29411
  Prefactor  = 13.6628
  norm       = 2.4037
  norm       = 2.60169
  Normalizat = 1.06961
  Prefactor  = 0.996807
 **********
 **   18 **HESSE 
 **********

 FCN=   233818.3     FROM HESSE     STATUS=OK           432 CALLS     1888 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7895        1.1107        .51832E-03   -1.5669    
   2  Prefactor     .16653E-09    .99212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-09    13.377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3728        1.4791        .43338E-03   -1.5662    
   5  norm          4.5095        1.4498        .47385E-03   -1.5665    
   6  Prefactor     5.0715        2.6792        .44623E-03   -1.5663    
   7  Prefactor     .18319E-08    7.6291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-08    2.9345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.6671        .60451        .62385E-03   -1.5675    
  10  norm          2.0764        .42164        .71650E-03   -1.5679    
  11  norm          .88750        .62521        .46636E-03   -1.5689    
  12  norm          5.8485        2.0058        .41508E-03   -1.5660    
  13  Prefactor     .11657E-07    3.6993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3824        1.1562        .66342E-03   -1.5677    
  15  Prefactor     14.727        5.9168        .26083E-03   -1.5631    
  16  norm          2.2465        .32502        .68526E-03   -1.5678    
  17  norm          5.5911        4.3638        .42459E-03   -1.5661    
  18  norm          1.2941        1.6826        .97163E-03   -1.5685    
  19  Prefactor     13.663        4.8111        .27092E-03   -1.5634    
  20  norm          2.4037        .84359        .66009E-03   -1.5677    
  21  norm          2.6017        1.2498        .63229E-03   -1.5676    
  22  Normalizat    1.0696        .46528E-01    .10297       -.90734    
  23  Prefactor     .99681        .14150E-01    .34344E-01   -.92836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07097e-05
Minuit parameter uncertainties:
  1  1.11071
  2  2.69879e-05
  3  0.00017621
  4  1.47908
  5  1.44982
  6  2.67918
  7  0.00023536
  8  0.00024239
  9  0.604509
  10  0.421643
  11  0.625209
  12  2.00582
  13  0.000415062
  14  1.15617
  15  5.91675
  16  0.325018
  17  4.36384
  18  1.68265
  19  4.81109
  20  0.843586
  21  1.2498
  22  0.0465296
  23  0.0141504
Done.

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

Extracting fit parameters...

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  5.848e+00  2.006e+00  0.000e+00  1.000e+06 ( 1.000e-13)
317        alpha:  2.108e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  7.647e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  1.576e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  9.968e-01  1.415e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
648   Normalization:  1.070e+00  4.653e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.69
Ra Dec: 291.882 61.294
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.30e-08 +/- 4.45e-09
Energy Flux (Fixed Index): 7.35e-06 +/- 2.52e-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) = 233817.673968
delta logL = 0.612306271476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 233817.664366
delta logL = 0.621908367204

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   233817.7     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      297 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3654        2.1796        .15904E-04    .45063E-02
   2  alpha         1.8275        .25145        .36244E-01    .59552E-04
   3  Normalizat    1.0738        .45914E-01    .45558E-03   -.28029E-03
   4  Prefactor     .99635        .14864E-01    .15180E-03   -.95146E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.36543
  alpha      = 1.82752
  Normalizat = 1.07383
  Prefactor  = 0.996347
 **********
 **   18 **HESSE 
 **********

 FCN=   233817.7     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3654        2.1760        .63616E-06   -1.5658    
   2  alpha         1.8275        .25134        .14498E-02   -.27234    
   3  Normalizat    1.0738        .45914E-01    .18223E-04   -.90596    
   4  Prefactor     .99635        .14867E-01    .60719E-05   -.92851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33248e-11
Minuit parameter uncertainties:
  1  2.17602
  2  0.2518
  3  0.045916
  4  0.0148673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/311504': 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) = 233817.664366
delta logL = 0.621908449684

Extracting fit parameters...

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  6.365e+00  2.176e+00  0.000e+00  1.000e+06 ( 1.000e-13)
317        alpha:  1.828e+00  2.518e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  7.647e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  1.576e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  9.963e-01  1.487e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
648   Normalization:  1.074e+00  4.592e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.87
Ra Dec: 291.882 61.294
Photon Index (Free Index): 1.83 +/- 0.25
Photon Flux (Free Index): 9.03e-09 +/- 4.53e-09
Energy Flux (Free Index): 9.12e-06 +/- 3.71e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/311504/cmap_HighResolution_680227201_682819201_4FGL_J1927.5+6117_monthly_bin171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-08', energy_flux2='9.12e-06', photon_flux_error='4.45e-09', dlogl='6.22e-01', energy_flux='7.35e-06', photon_flux2='9.03e-09', job_status='DONE', time_completed='2022-09-17 06:50:42.216829', photon_index_error2='0.25', photon_index2='1.83', ts='20.69', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='3.71e-06', EG='1.07', time_epoch_completed='1663422642.22', return_code='0', job_id='311504', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='2.52e-06', photon_flux_error2='4.53e-09', ts2='21.87', photon_index='2.11' WHERE bin_id='171' AND source_name='4FGL J1927.5+6117' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 06:50:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 311504: <4FGL_J1927.5+6117_monthly_bin171> in cluster <slac> Done

Job <4FGL_J1927.5+6117_monthly_bin171> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 03:35:46 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 03:40:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 03:40:54 2022
Terminated at Sat Sep 17 06:50:44 2022
Results reported at Sat Sep 17 06:50:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1927.5+6117_monthly_bin171 291.882 61.294 680227201 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1927.5+6117 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11076.00 sec.
    Max Memory :                                 697 MB
    Average Memory :                             634.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11389 sec.
    Turnaround time :                            11698 sec.

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

