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


Performing analysis on: 4FGL_J1927.5+6117_monthly_bin167
RA = 291.882, Dec = 61.294
tmin = 669859201, tmax = 672451201
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='905260', job_status='RUN', time_executed='2022-04-24 02:36:06.456680', time_epoch_executed='1650792966.46' WHERE source_name='4FGL J1927.5+6117' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905260

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905260/ft1_4FGL_J1927.5+6117_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905260/ft1_4FGL_J1927.5+6117_monthly_bin167.fits outfile=/scratch/kocevski/905260/ft1_filteredMKT_4FGL_J1927.5+6117_monthly_bin167.fits ra=291.882 dec=61.294 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.68
user 37.68
sys 0.89

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

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

Number of photons that the gtmktime cut: 15909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/905260/ltcube_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.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/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits
.....................!
real 117.43
user 116.21
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/905260/ltcube_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.fits outfile=/scratch/kocevski/905260/expmap_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.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/905260/ltcube_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.fits
.....................!
real 192.31
user 186.94
sys 5.00

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/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits scfile=/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits outfile=/scratch/kocevski/905260/cmap_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.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.80
user 0.64
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits scfile=/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits outfile=/scratch/kocevski/905260/cmap_HighResolution_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.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.82
user 0.64
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905260/Model_4FGL_J1927.5+6117_monthly_bin167.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/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits.....................!
real 1787.41
user 1782.84
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits', '/scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits', expMap='/scratch/kocevski/905260/expmap_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.fits', expCube='/scratch/kocevski/905260/ltcube_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905260/Model_4FGL_J1927.5+6117_monthly_bin167.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  1.000e-04  1.000e+04 ( 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  0.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/905260/ft1_filtered_4FGL_J1927.5+6117_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/905260/ft2_4FGL_J1927.5+6117_monthly_bin167.fits
Exposure map: /scratch/kocevski/905260/expmap_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.fits
Exposure cube: /scratch/kocevski/905260/ltcube_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905260/Model_4FGL_J1927.5+6117_monthly_bin167.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) = 159773.200059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8796       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15224E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9427       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8266       1.0000         .10000E-03   10000.    
     6 'norm      '    5.8215       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4150       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.2615       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.569       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28944E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5295       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5102       1.0000         .10000E-03   10000.    
    14 'norm      '    .63034       1.0000         .10000E-03   10000.    
    15 'norm      '    1.6702       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8175       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5130       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7485       1.0000         .10000E-03   10000.    
    19 'norm      '    1.2999       1.0000         .10000E-03   10000.    
    20 'norm      '    9.8108       1.0000         .10000E-03   10000.    
    21 'norm      '    8.1921       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.227       1.0000         .10000E-03   10000.    
    23 'norm      '    3.1500       1.0000         .10000E-03   10000.    
    24 'norm      '    .99692       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0873       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0158       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.

 FCN=   159773.2     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     2726 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4120       -.73255E-08** at limit **
   2  norm          1.8782        1.3315       -.45798E-07   -.25669E-03
   3  Prefactor     .10000E-03    .95887       -.96786E-08** at limit **
   4  Prefactor     6.9567        15.955       -.12466E-04   -.50239E-05
   5  Prefactor     9.8362        2.2488        .63785E-07    .37270E-04
   6  norm          5.8362        1.8537        .72417E-07   -.10890E-02
   7  Prefactor     2.4144        2.4730       -.10482E-05    .44557E-04
   8  Prefactor     .10000E-03    1.0826        .21380E-06** at limit **
   9  Prefactor     4.2527        4.6423        .31645E-06   -.49980E-03
  10  Prefactor     23.613        19.529        .43068E-05    .12647E-05
  11  Prefactor     .10000E-03    4.4398        .39048E-06** at limit **
  12  norm          1.5296        .69889       -.40198E-07   -.31771E-03
  13  norm          1.5102        .47377        .42394E-08   -.60364E-04
  14  norm          .63020        .67560        .65035E-07    .39811E-03
  15  norm          1.6720        1.9775       -.38660E-06   -.14355E-03
  16  Prefactor     2.8304        3.1713        .19856E-06   -.92412E-03
  17  Prefactor     3.5137        .95820       -.10812E-06   -.39069E-02
  18  Prefactor     8.7506        7.2162       -.95203E-06   -.37337E-05
  19  norm          1.2999        .32832        .41561E-08    .24951E-05
  20  norm          9.8149        5.2940        .47852E-06    .27038E-05
  21  norm          8.1974        3.7557        .83671E-07   -.23579E-03
  22  Prefactor     10.216        4.9334       -.28084E-06   -.43042E-04
  23  norm          3.1501        1.2122       -.40958E-08   -.11039E-03
  24  norm          .99678        1.0441        .92485E-07   -.44386E-03
  25  Normalizat    1.0872        .56417E-01   -.13889E-06   -.25759E-04
  26  Prefactor     1.0159        .17243E-01    .25416E-07   -.39092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.87817
  Prefactor  = 0.000100003
  Prefactor  = 6.95673
  Prefactor  = 9.83618
  norm       = 5.83616
  Prefactor  = 2.41445
  Prefactor  = 0.0001
  Prefactor  = 4.25268
  Prefactor  = 23.6128
  Prefactor  = 0.0001
  norm       = 1.52958
  norm       = 1.51021
  norm       = 0.630205
  norm       = 1.67204
  Prefactor  = 2.83037
  Prefactor  = 3.51367
  Prefactor  = 8.75065
  norm       = 1.2999
  norm       = 9.81488
  norm       = 8.19738
  Prefactor  = 10.2156
  norm       = 3.15006
  norm       = 0.996775
  Normalizat = 1.08717
  Prefactor  = 1.01586
 **********
 **   18 **HESSE 
 **********

 FCN=   159773.2     FROM HESSE     STATUS=OK           484 CALLS     3210 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4555        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8782        1.3194        .30366E-03   -1.5434    
   3  Prefactor     .10000E-03    .98692        .14484       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9567        15.951        .15226E-03   -1.5180    
   5  Prefactor     9.8362        2.2335        .12783E-03   -1.5081    
   6  norm          5.8362        1.9215        .83227E-03   -1.5225    
   7  Prefactor     2.4144        2.4794        .26341E-03   -1.5397    
   8  Prefactor     .10000E-03    1.0945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2527        4.7816        .97588E-03   -1.5295    
  10  Prefactor     23.613        19.528        .82508E-04   -1.4736    
  11  Prefactor     .10000E-03    4.4469        .21405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5296        .68751        .20721E-03   -1.5461    
  13  norm          1.5102        .47213        .14991E-03   -1.5462    
  14  norm          .63020        .57819        .32211E-02   -1.5549    
  15  norm          1.6720        1.9338        .32620E-03   -1.5449    
  16  Prefactor     2.8304        3.6907        .12116E-02   -1.5371    
  17  Prefactor     3.5137        1.4373        .10785E-02   -1.5333    
  18  Prefactor     8.7506        7.2228        .13552E-03   -1.5116    
  19  norm          1.2999        .32854        .10781E-03   -1.5480    
  20  norm          9.8149        5.2950        .12793E-03   -1.5081    
  21  norm          8.1974        3.7594        .70037E-03   -1.5135    
  22  Prefactor     10.216        4.9169        .12530E-03   -1.5069    
  23  norm          3.1501        1.2150        .22839E-03   -1.5353    
  24  norm          .99678        1.2316        .40604E-02   -1.5508    
  25  Normalizat    1.0872        .62677E-01    .46373E-03   -.90165    
  26  Prefactor     1.0159        .18708E-01    .15225E-03   -.92203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.989e-07
Minuit parameter uncertainties:
  1  1.7317e-06
  2  1.31941
  3  0.000101918
  4  15.961
  5  2.23356
  6  1.92156
  7  2.47953
  8  4.60368e-07
  9  4.78202
  10  19.5336
  11  1.43737e-06
  12  0.687509
  13  0.472134
  14  0.578195
  15  1.9339
  16  3.69095
  17  1.43733
  18  7.22347
  19  0.328537
  20  5.29526
  21  3.7595
  22  4.91709
  23  1.21506
  24  1.23166
  25  0.0626811
  26  0.0187081
Done.

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

Extracting fit parameters...

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  1.672e+00  1.934e+00  1.000e-04  1.000e+04 ( 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  0.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:  1.016e+00  1.871e-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.087e+00  6.268e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.31
Ra Dec: 291.882 61.294
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.71e-09 +/- 4.29e-09
Energy Flux (Fixed Index): 2.10e-06 +/- 2.43e-06

TS (Fixed Index): 1.31
Ra Dec: 291.882 61.294
Photon Flux Upper Limit: 1.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.96e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905260/likelihoodResults_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.txt

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) = 159773.180929
delta logL = 0.00042344420217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 159773.180925
delta logL = 0.000427379796747

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6748       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1319       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0159       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   159773.2     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      276 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6760        1.9672        .32565E-03    .11171E-04
   2  alpha         2.1328        .82539        .82107E-01    .56484E-04
   3  Normalizat    1.0870        .57360E-01    .46376E-03    .17258E-04
   4  Prefactor     1.0159        .18274E-01    .15225E-03    .52568E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67602
  alpha      = 2.1328
  Normalizat = 1.087
  Prefactor  = 1.01588
 **********
 **   18 **HESSE 
 **********

 FCN=   159773.2     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .52E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6760        1.9072        .13026E-04   -1.5449    
   2  alpha         2.1328        .81272        .32843E-02   -.14742    
   3  Normalizat    1.0870        .57306E-01    .18550E-04   -.90170    
   4  Prefactor     1.0159        .18272E-01    .60900E-05   -.92202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20536e-14
Minuit parameter uncertainties:
  1  1.90732
  2  0.828116
  3  0.0573096
  4  0.0182723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905260': 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) = 159773.180924
delta logL = 0.000428557221312

Extracting fit parameters...

4FGL J1927.5+6117
   Spectrum: LogParabola
316         norm:  1.676e+00  1.907e+00  1.000e-04  1.000e+04 ( 1.000e-13)
317        alpha:  2.133e+00  8.281e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  7.647e-02  0.000e+00  0.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:  1.016e+00  1.827e-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.087e+00  5.731e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 291.882 61.294
Photon Index (Free Index): 2.13 +/- 0.83
Photon Flux (Free Index): 3.88e-09 +/- 7.25e-09
Energy Flux (Free Index): 2.11e-06 +/- 2.40e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/905260/cmap_HighResolution_669859201_672451201_4FGL_J1927.5+6117_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-06', comment='SUCCESS', photon_flux='3.71e-09', energy_flux2='2.11e-06', photon_flux_error='4.29e-09', dlogl='4.29e-04', energy_flux='2.10e-06', photon_flux2='3.88e-09', job_status='DONE', time_completed='2022-04-24 06:23:23.361973', photon_index_error2='0.83', photon_index2='2.13', ts='1.31', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.40e-08', energy_flux_error2='2.40e-06', EG='1.09', time_epoch_completed='1650806603.36', return_code='0', job_id='905260', GAL2='1.02', EG2='1.09', return_code2='0', energy_flux_error='2.43e-06', photon_flux_error2='7.25e-09', ts2='1.31', photon_index='2.11' WHERE bin_id='167' AND source_name='4FGL J1927.5+6117' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 06:23:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 905260: <4FGL_J1927.5+6117_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1927.5+6117_monthly_bin167> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Apr 24 02:20:33 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 02:33:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 02:33:30 2022
Terminated at Sun Apr 24 06:23:24 2022
Results reported at Sun Apr 24 06:23:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1927.5+6117_monthly_bin167 291.882 61.294 669859201 672451201 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 :                                   13582.00 sec.
    Max Memory :                                 649 MB
    Average Memory :                             550.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   13794 sec.
    Turnaround time :                            14571 sec.

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

