aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 217 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 = 17126
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0227.2+3928_weekly_bin515
RA = 36.8053, Dec = 39.4704
tmin = 550454401, tmax = 551059201
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='533823', job_status='RUN', time_executed='2021-07-04 17:51:23.831992', time_epoch_executed='1625446283.83' WHERE source_name='4FGL J0227.2+3928' and cadence='weekly' and bin_id='515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533823

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533823/ft1_4FGL_J0227.2+3928_weekly_bin515.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533823/ft1_4FGL_J0227.2+3928_weekly_bin515.fits outfile=/scratch/kocevski/533823/ft1_filteredMKT_4FGL_J0227.2+3928_weekly_bin515.fits ra=36.8053 dec=39.4704 rad=12.0 tmin=550454401.0 tmax=551059201.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 8.61
user 8.02
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.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/533823/ft1_filteredMKT_4FGL_J0227.2+3928_weekly_bin515.fits evtable="EVENTS" outfile="/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.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.29
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits" evtable="EVENTS" scfile=/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits sctable="SC_DATA" outfile=/scratch/kocevski/533823/ltcube_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.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/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits
.....................!
real 27.26
user 26.00
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits sctable="SC_DATA" expcube=/scratch/kocevski/533823/ltcube_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.fits outfile=/scratch/kocevski/533823/expmap_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.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/533823/ltcube_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.fits
.....................!
real 198.48
user 187.40
sys 5.69

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J0227.2+3928 @ 36.8053 39.4704

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits scfile=/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits outfile=/scratch/kocevski/533823/cmap_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.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=36.8053 yref=39.4704 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 2.22
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits scfile=/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits outfile=/scratch/kocevski/533823/cmap_HighResolution_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.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=36.8053 yref=39.4704 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 1.44
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/533823/Model_4FGL_J0227.2+3928_weekly_bin515.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/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits.......!
real 24.01
user 13.91
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits', '/scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits', expMap='/scratch/kocevski/533823/expmap_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.fits', expCube='/scratch/kocevski/533823/ltcube_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/533823/Model_4FGL_J0227.2+3928_weekly_bin515.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0227.2+3928'

4FGL J0227.2+3928
   Spectrum: PowerLaw
302    Prefactor:  1.077e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  6.314e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/533823/ft1_filtered_4FGL_J0227.2+3928_weekly_bin515.fits
Spacecraft file(s): /scratch/kocevski/533823/ft2_4FGL_J0227.2+3928_weekly_bin515.fits
Exposure map: /scratch/kocevski/533823/expmap_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.fits
Exposure cube: /scratch/kocevski/533823/ltcube_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/533823/Model_4FGL_J0227.2+3928_weekly_bin515.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 92.522231504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 91.5113696806

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1771       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0096       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2939       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9354       1.0000         .10000E-03   10000.    
     6 'norm      '    .17999       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1413       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1392       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .79818E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9363       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0321       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0774       1.0000         .10000E-03   10000.    
    13 'norm      '    3.0598       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5765       1.0000         .10000E-03   10000.    
    15 'norm      '    30.890       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9203       1.0000         .10000E-03   10000.    
    17 'norm      '    3.4130       1.0000         .10000E-03   10000.    
    18 'norm      '    8.9348       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7902       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2686       1.0000         .10000E-03   10000.    
    21 'norm      '    .31492E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .46438       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   91.38722     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      225 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1771        1.1443         .0000         .0000    
   2  Prefactor     1.7499        1.0481         .0000         .0000    
   3  Prefactor     1.0096        1.3263         .0000         .0000    
   4  Prefactor     .30640        21.897       -.10027E-04    .13068E-02
   5  Prefactor     4.9354        1.0052         .0000         .0000    
   6  norm          .10000E-03    89.118       -.14965E-04** at limit **
   7  Prefactor     .10032E-03    363.80       -.11034E-03** at limit **
   8  norm          1.1392        1.1629         .0000         .0000    
   9  Prefactor     .10000E-03    353.70        .35389E-03** at limit **
  10  norm          1.9363        1.0380         .0000         .0000    
  11  norm          1.0321        1.2663         .0000         .0000    
  12  Prefactor     1.0774        1.2073         .0000         .0000    
  13  norm          3.0598        1.0140         .0000         .0000    
  14  Prefactor     2.5765        1.0202         .0000         .0000    
  15  norm          31.041        20.373       -.20900E-04   -.37203E-02
  16  Prefactor     .16653E-02    859.15        .44520E-05** at limit **
  17  norm          3.4130        1.0111         .0000         .0000    
  18  norm          131.71        273.53        .21159E-03    .30539E-03
  19  Prefactor     .94601        10.040       -.72039E-05    .17100E-02
  20  Prefactor     .30415        84.126       -.19135E-04    .58782E-02
  21  norm          .10000E-03    86.458        .55406E-04** at limit **
  22  Normalizat    .10000E-01    .93673       -.46277E-03** at limit **
  23  Prefactor     .36038        .34226       -.53293E-04   -.51856E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1771
  Prefactor  = 1.74994
  Prefactor  = 1.0096
  Prefactor  = 0.306399
  Prefactor  = 4.93544
  norm       = 0.0001
  Prefactor  = 0.000100317
  norm       = 1.13918
  Prefactor  = 0.000100001
  norm       = 1.93629
  norm       = 1.03212
  Prefactor  = 1.07741
  norm       = 3.0598
  Prefactor  = 2.57651
  norm       = 31.0412
  Prefactor  = 0.00166534
  norm       = 3.41296
  norm       = 131.713
  Prefactor  = 0.946015
  Prefactor  = 0.304146
  norm       = 0.000100001
  Normalizat = 0.01
  Prefactor  = 0.360384
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   91.38722     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          584.35        582.89         .0000       -1.5491    
   2  Prefactor     1.7499        1.0481         .0000       -1.5443    
   3  Prefactor     1.0096        1.3263         .0000       -1.5507    
   4  Prefactor     .30640        .53825       -.10027E-04   -1.5597    
   5  Prefactor     4.9354        1.0052         .0000       -1.5264    
   6  norm          .10000E-03    .24433       -.14965E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10032E-03    .81739E-01   -.11034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1392        1.1629         .0000       -1.5495    
   9  Prefactor     .10000E-03    .22158        .35389E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9363        1.0380         .0000       -1.5430    
  11  norm          1.0321        1.2663         .0000       -1.5505    
  12  Prefactor     1.0774        1.2073         .0000       -1.5500    
  13  norm          3.0598        1.0140         .0000       -1.5358    
  14  Prefactor     2.5765        1.0202         .0000       -1.5387    
  15  norm          31.041        1.0026       -.20900E-04   -1.4593    
  16  Prefactor     .16653E-02    .31717E-01    .44520E-05   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.4130        1.0111         .0000       -1.5338    
  18  norm          131.71        3.8218        .21159E-03   -1.3408    
  19  Prefactor     .94601        .76007       -.72039E-05   -1.5513    
  20  Prefactor     .30415        .30876       -.19135E-04   -1.5598    
  21  norm          .10000E-03    .21065        .55406E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25638       -.46277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .36038        .71156       -.53293E-04   -1.1888    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.03472e-09
Minuit parameter uncertainties:
  1  1.14429
  2  1.0481
  3  1.32633
  4  0.538257
  5  1.00522
  6  4.91229e-06
  7  0.000322012
  8  1.16292
  9  3.25042e-05
  10  1.03798
  11  1.26633
  12  1.20736
  13  1.01402
  14  1.02019
  15  1.00257
  16  0.0140922
  17  1.01115
  18  3.82183
  19  0.760081
  20  0.308765
  21  2.48719e-05
  22  7.44493e-06
  23  0.730091
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 91.3872207157

Extracting fit parameters...

4FGL J0227.2+3928
   Spectrum: PowerLaw
302    Prefactor:  1.077e+00  1.207e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  6.314e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  3.604e-01  7.301e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.000e-02  7.445e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 36.805 39.470
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.91e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/533823/likelihoodResults_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.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): 101
logL (Free Index) = 91.3873536519
delta logL = -0.000132936224119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 91.3873536519
delta logL = -0.000132936224119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.7908       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   91.38735     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.7908        1.0065        .22632         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.7908
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   91.38735     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .88223        1.9649        .22632       -.45765    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.01514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533823': 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): 101
logL (Free Index) = 91.3873536519
delta logL = -0.000132936224119

Extracting fit parameters...

4FGL J0227.2+3928
   Spectrum: PowerLaw
302    Prefactor:  1.077e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
303        Index:  2.791e+00  1.015e+00  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  6.314e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  3.603e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 36.805 39.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/533823/cmap_HighResolution_550454401_551059201_4FGL_J0227.2+3928_weekly_bin515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.91e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-07-04 17:58:23.719491', job_id='533823', GAL2='0.36', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1625446703.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.36', dlogl='-1.33e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='515' AND source_name='4FGL J0227.2+3928' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 17:58:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 533823: <4FGL_J0227.2+3928_weekly_bin515> in cluster <slac> Done

Job <4FGL_J0227.2+3928_weekly_bin515> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Jul  4 17:46:07 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 17:46:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 17:46:09 2021
Terminated at Sun Jul  4 17:58:28 2021
Results reported at Sun Jul  4 17:58:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0227.2+3928_weekly_bin515 36.8053 39.4704 550454401 551059201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0227.2+3928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   374.02 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             201.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            741 sec.

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

