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


Performing analysis on: 4FGL_J0227.2+3928_daily_bin1764
RA = 36.8053, Dec = 39.4704
tmin = 696556801, tmax = 696816001
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='434387', job_status='RUN', time_executed='2023-01-31 00:08:10.294680', time_epoch_executed='1675152490.29' WHERE source_name='4FGL J0227.2+3928' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434387

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434387/ft1_4FGL_J0227.2+3928_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434387/ft1_4FGL_J0227.2+3928_daily_bin1764.fits outfile=/scratch/kocevski/434387/ft1_filteredMKT_4FGL_J0227.2+3928_daily_bin1764.fits ra=36.8053 dec=39.4704 rad=12.0 tmin=696556801.0 tmax=696816001.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.17
user 2.86
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.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/434387/ft1_filteredMKT_4FGL_J0227.2+3928_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.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.47
user 0.30
sys 0.14

Number of photons that the gtmktime cut: 1236

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434387/ltcube_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.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/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits
.....................!
real 13.92
user 13.40
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434387/ltcube_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.fits outfile=/scratch/kocevski/434387/expmap_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.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/434387/ltcube_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.fits
.....................!
real 160.56
user 153.71
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
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/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.fits scfile=/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits outfile=/scratch/kocevski/434387/cmap_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.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 0.53
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.fits scfile=/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits outfile=/scratch/kocevski/434387/cmap_HighResolution_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.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 0.49
user 0.33
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.fits', '/scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits', expMap='/scratch/kocevski/434387/expmap_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.fits', expCube='/scratch/kocevski/434387/ltcube_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434387/Model_4FGL_J0227.2+3928_daily_bin1764.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  0.000e+00  1.000e+06 ( 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/434387/ft1_filtered_4FGL_J0227.2+3928_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434387/ft2_4FGL_J0227.2+3928_daily_bin1764.fits
Exposure map: /scratch/kocevski/434387/expmap_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434387/ltcube_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434387/Model_4FGL_J0227.2+3928_daily_bin1764.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) = 12616.2471336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9010       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17301E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14011E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46797E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    95.024       1.0000          .0000       .10000E+07
     6 'norm      '    .19385E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.2504       1.0000          .0000       .10000E+07
     8 'norm      '    .13067E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.3008       1.0000          .0000       .10000E+07
    10 'norm      '    .63027       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63010E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .37481E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .21608E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49412E-03   1.0000          .0000       .10000E+07
    15 'norm      '    5.8687       1.0000          .0000       .10000E+07
    16 'norm      '    2.4375       1.0000          .0000       .10000E+07
    17 'Prefactor '    .80896E-02   1.0000          .0000       .10000E+07
    18 'norm      '    7.2418       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0708       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99907       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=   12616.16     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1228 TOTAL
                     EDM=   .41E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9013        1.2375       -.23620E-08   -.15758E-03
   2  Prefactor      .0000        7.3244       -.22151E-06** at limit **
   3  Prefactor      .0000        1.0342        .45981E-07** at limit **
   4  Prefactor      .0000        5.3916        .37055E-07** at limit **
   5  Prefactor     96.052        57.805       -.10767E-06   -.14262E-04
   6  norm           .0000        11.958       -.82668E-07** at limit **
   7  Prefactor     7.2487        6.9383        .53711E-07    .19385E-04
   8  norm           .0000        .55114       -.17658E-08** at limit **
   9  norm          1.3011        .48488       -.15914E-07    .30831E-03
  10  norm          .63025        .23180        .13383E-08   -.17649E-03
  11  Prefactor      .0000        .95119        .12577E-07** at limit **
  12  norm           .0000        2.3395        .28280E-07** at limit **
  13  norm           .0000        1.5983        .48406E-07** at limit **
  14  Prefactor      .0000        52.895        .87193E-06** at limit **
  15  norm          5.8751        3.4361       -.82605E-08    .85995E-04
  16  norm          2.4732        55.446       -.47207E-06    .35029E-04
  17  Prefactor      .0000        8.8844       -.88039E-07** at limit **
  18  norm          7.2425        .83730        .12619E-07    .60515E-03
  19  Normalizat    1.0702        .20853        .19063E-06   -.42531E-05
  20  Prefactor     .99910        .86548E-01   -.37480E-06   -.11099E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.90128
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 96.0524
  norm       = 0
  Prefactor  = 7.24872
  norm       = 0
  norm       = 1.3011
  norm       = 0.630246
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  norm       = 5.87513
  norm       = 2.47315
  Prefactor  = 0
  norm       = 7.24251
  Normalizat = 1.07021
  Prefactor  = 0.9991
 **********
 **   18 **HESSE 
 **********

 FCN=   12616.16     FROM HESSE     STATUS=OK           333 CALLS     1561 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9013        1.2363        .59633E-03   -1.5674    
   2  Prefactor      .0000        7.3150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.0326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.3926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     96.052        57.625        .10259E-03   -1.5512    
   6  norm           .0000        11.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2487        6.9266        .37227E-03   -1.5654    
   8  norm           .0000        .55122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3011        .48444        .96841E-03   -1.5685    
  10  norm          .63025        .23168        .66559E-03   -1.5692    
  11  Prefactor      .0000        .95276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.3303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        52.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.8751        3.4276        .41431E-03   -1.5659    
  16  norm          2.4732        56.043        .65509E-03   -1.5677    
  17  Prefactor      .0000        8.8737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.2425        .83706        .37250E-03   -1.5654    
  19  Normalizat    1.0702        .18473        .89871E-01   -.90714    
  20  Prefactor     .99910        .76302E-01    .46256E-01   -.92760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01099e-10
Minuit parameter uncertainties:
  1  1.23631
  2  6.09632e-07
  3  4.08889e-07
  4  3.27391e-06
  5  57.6252
  6  2.59434e-06
  7  6.92661
  8  2.25404e-07
  9  0.484445
  10  0.231683
  11  4.79287e-07
  12  7.6811e-07
  13  1.39016e-07
  14  1.79026e-05
  15  3.42763
  16  23.5461
  17  2.05453e-06
  18  0.837056
  19  0.18484
  20  0.0763106
Done.

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

Extracting fit parameters...

4FGL J0227.2+3928
   Spectrum: PowerLaw
302    Prefactor:  0.000e+00  4.793e-07  0.000e+00  1.000e+06 ( 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:  9.991e-01  7.631e-02  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.070e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 36.805 39.470
Photon Flux Upper Limit: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434387/likelihoodResults_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.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) = 12616.1664878
delta logL = -0.00290677063458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12616.163581
delta logL = -2.7212081477e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.8439       1.0000          .0000       10.000    
     3 'Normalizat'    1.0702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99911       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.

 FCN=   12616.16     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      264 TOTAL
                     EDM=   .36E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .36379E-02    .42118E-03** at limit **
   2  Index         3.1323        6.5882        .50000        .12733E-09
   3  Normalizat    1.0702        .34656E-03    .89871E-01    .11630E-03
   4  Prefactor     .99910        .14815E-03    .46256E-01   -.10877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.13233
  Normalizat = 1.07021
  Prefactor  = 0.9991
 **********
 **   18 **HESSE 
 **********

 FCN=   12616.16     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      293 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .32621E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1323        8.4191        .50000       -.38281    
   3  Normalizat    1.0702        .10339E-02    .39804E-03   -.90714    
   4  Prefactor     .99910        .44296E-03    .17459E-03   -.92760    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20329e-13
Minuit parameter uncertainties:
  1  1.98227e-06
  2  27239.2
  3  0.0010339
  4  0.000442959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434387': 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): 102
logL (Free Index) = 12616.163581
delta logL = -5.09317032993e-11

Extracting fit parameters...

4FGL J0227.2+3928
   Spectrum: PowerLaw
302    Prefactor:  5.551e-11  1.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
303        Index:  3.132e+00  2.724e+04  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:  9.991e-01  4.430e-04  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.070e+00  1.034e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/434387/cmap_HighResolution_696556801_696816001_4FGL_J0227.2+3928_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.75e-03', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2023-01-31 00:20:27.274064', job_id='434387', GAL2='1.00', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1675153227.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-5.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1764' AND source_name='4FGL J0227.2+3928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:20:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 434387: <4FGL_J0227.2+3928_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0227.2+3928_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:51 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:07:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:07:57 2023
Terminated at Tue Jan 31 00:20:28 2023
Results reported at Tue Jan 31 00:20:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0227.2+3928_daily_bin1764 36.8053 39.4704 696556801 696816001 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 :                                   713.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            937 sec.

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

