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 69 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_J0221.1+3556_weekly_bin515
RA = 35.281, Dec = 35.9359
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='468141', job_status='RUN', time_executed='2021-07-04 14:38:38.596443', time_epoch_executed='1625434718.6' WHERE source_name='4FGL J0221.1+3556' and cadence='weekly' and bin_id='515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468141

Creating custom pfile directory:
/scratch/kocevski/468141/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/468141/ft1_4FGL_J0221.1+3556_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/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468141/ft1_4FGL_J0221.1+3556_weekly_bin515.fits outfile=/scratch/kocevski/468141/ft1_filteredMKT_4FGL_J0221.1+3556_weekly_bin515.fits ra=35.281 dec=35.9359 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 10.12
user 8.01
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_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/468141/ft1_filteredMKT_4FGL_J0221.1+3556_weekly_bin515.fits evtable="EVENTS" outfile="/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_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 3.62
user 0.37
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits" evtable="EVENTS" scfile=/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits sctable="SC_DATA" outfile=/scratch/kocevski/468141/ltcube_550454401_551059201_4FGL_J0221.1+3556_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/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits
.....................!
real 26.55
user 25.25
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits sctable="SC_DATA" expcube=/scratch/kocevski/468141/ltcube_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.fits outfile=/scratch/kocevski/468141/expmap_550454401_551059201_4FGL_J0221.1+3556_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/468141/ltcube_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.fits
.....................!
real 202.00
user 185.08
sys 5.81

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

Setting source of interest to:
4FGL J0221.1+3556 @ 35.281 35.9359

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits scfile=/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits outfile=/scratch/kocevski/468141/cmap_550454401_551059201_4FGL_J0221.1+3556_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=35.281 yref=35.9359 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.89
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits scfile=/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits outfile=/scratch/kocevski/468141/cmap_HighResolution_550454401_551059201_4FGL_J0221.1+3556_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=35.281 yref=35.9359 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.98
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/468141/Model_4FGL_J0221.1+3556_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/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits................!
real 27.22
user 15.92
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits', '/scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits', expMap='/scratch/kocevski/468141/expmap_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.fits', expCube='/scratch/kocevski/468141/ltcube_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/468141/Model_4FGL_J0221.1+3556_weekly_bin515.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0221.1+3556'

4FGL J0221.1+3556
   Spectrum: LogParabola
272         norm:  1.936e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
273        alpha:  2.254e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  4.833e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.644e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/468141/ft1_filtered_4FGL_J0221.1+3556_weekly_bin515.fits
Spacecraft file(s): /scratch/kocevski/468141/ft2_4FGL_J0221.1+3556_weekly_bin515.fits
Exposure map: /scratch/kocevski/468141/expmap_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.fits
Exposure cube: /scratch/kocevski/468141/ltcube_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/468141/Model_4FGL_J0221.1+3556_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) = 209.364399259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7499       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0096       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2988       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9354       1.0000         .10000E-03   10000.    
     7 'norm      '    .94819E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1778       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1392       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .75595E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9363       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8400       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0321       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0774       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0598       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5765       1.0000         .10000E-03   10000.    
    17 'norm      '    23.231       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4277       1.0000         .10000E-03   10000.    
    19 'norm      '    2.2436       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8050       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   208.7579     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      183 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1771        1.1443         .0000         .0000    
   2  norm          .10000E-03    .20571        .73951E-05** at limit **
   3  Prefactor     1.7499        1.0481         .0000         .0000    
   4  Prefactor     1.0096        1.3263         .0000         .0000    
   5  Prefactor     .78056        .85659        .34697E-04    .22399E-02
   6  Prefactor     4.9354        1.0052         .0000         .0000    
   7  norm          .10000E-03    .22498       -.47047E-04** at limit **
   8  Prefactor     .66704E-03    .80749E-01    .13539E-03** at limit **
   9  norm          1.1392        1.1629         .0000         .0000    
  10  Prefactor     .10017E-03    .22063        .39022E-03** at limit **
  11  norm          1.9363        1.0380         .0000         .0000    
  12  norm          .52151E-03    .90970E-01    .12139E-03** at limit **
  13  norm          1.0321        1.2663         .0000         .0000    
  14  Prefactor     1.0774        1.2073         .0000         .0000    
  15  norm          3.0598        1.0140         .0000         .0000    
  16  Prefactor     2.5765        1.0202         .0000         .0000    
  17  norm          23.234        1.0003        .81459E-05   -.16461E-03
  18  Prefactor     .10030E-03    .39158E-01    .26782E-03** at limit **
  19  norm          .40270E-03    .11762        .15410E-03** at limit **
  20  Prefactor     1.5516        .96860        .13474E-04    .15027E-02
  21  Normalizat    .10000E-01    .25756       -.23681E-03** at limit **
  22  Prefactor     .97024        1.3104        .53026E-04   -.94869E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1771
  norm       = 0.0001
  Prefactor  = 1.74994
  Prefactor  = 1.0096
  Prefactor  = 0.78056
  Prefactor  = 4.93544
  norm       = 0.0001
  Prefactor  = 0.000667042
  norm       = 1.13918
  Prefactor  = 0.00010017
  norm       = 1.93629
  norm       = 0.000521511
  norm       = 1.03212
  Prefactor  = 1.07741
  norm       = 3.0598
  Prefactor  = 2.57651
  norm       = 23.2336
  Prefactor  = 0.000100304
  norm       = 0.000402703
  Prefactor  = 1.55158
  Normalizat = 0.01
  Prefactor  = 0.970235
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   208.7579     FROM HESSE     STATUS=FAILED         9 CALLS      192 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  norm          .10000E-03    .20571        .73951E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7499        1.0481         .0000       -1.5443    
   4  Prefactor     1.0096        1.3263         .0000       -1.5507    
   5  Prefactor     .78056        .85659        .34697E-04   -1.5531    
   6  Prefactor     4.9354        1.0052         .0000       -1.5264    
   7  norm          .10000E-03    .22498       -.47047E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .66704E-03    .80749E-01    .13539E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1392        1.1629         .0000       -1.5495    
  10  Prefactor     .10017E-03    .22063        .39022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9363        1.0380         .0000       -1.5430    
  12  norm          .52151E-03    .90970E-01    .12139E-03   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0321        1.2663         .0000       -1.5505    
  14  Prefactor     1.0774        1.2073         .0000       -1.5500    
  15  norm          3.0598        1.0140         .0000       -1.5358    
  16  Prefactor     2.5765        1.0202         .0000       -1.5387    
  17  norm          23.234        1.0003        .81459E-05   -1.4744    
  18  Prefactor     .10030E-03    .39158E-01    .26782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .40270E-03    .11762        .15410E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.5516        .96860        .13474E-04   -1.5459    
  21  Normalizat    .10000E-01    .25756       -.23681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .97024        1.3104        .53026E-04   -.93728    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01455e-09
Minuit parameter uncertainties:
  1  1.14429
  2  1.2843e-06
  3  1.0481
  4  1.32633
  5  0.856602
  6  1.00522
  7  2.65083e-06
  8  0.0135334
  9  1.16292
  10  0.000387065
  11  1.03798
  12  0.0123847
  13  1.26633
  14  1.20736
  15  1.01402
  16  1.02019
  17  1.00028
  18  0.000218339
  19  0.0119338
  20  0.968607
  21  1.70359e-06
  22  1.35751
Done.

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

Extracting fit parameters...

4FGL J0221.1+3556
   Spectrum: LogParabola
272         norm:  1.936e+00  1.038e+00  1.000e-04  1.000e+04 ( 1.000e-11)
273        alpha:  2.254e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  4.833e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.644e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.702e-01  1.358e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.000e-02  1.704e-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: 35.281 35.936
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -3.89e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/468141/likelihoodResults_550454401_551059201_4FGL_J0221.1+3556_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) = 208.758289739
delta logL = -0.000405021088909

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 208.758289739
delta logL = -0.000405021088909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.2543       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+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=   208.7583     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    alpha       2.2543        1.0009        .41406         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.25429
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   208.7583     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    alpha       1.0710        1.2040        .41406       -.98443E-01
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.03013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468141': 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) = 208.758289739
delta logL = -0.000405021088909

Extracting fit parameters...

4FGL J0221.1+3556
   Spectrum: LogParabola
272         norm:  1.936e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11) fixed
273        alpha:  2.254e+00  1.030e+00  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  4.833e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.644e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.698e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

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


TS (Free Index): 0.00
Ra Dec: 35.281 35.936

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/468141/cmap_HighResolution_550454401_551059201_4FGL_J0221.1+3556_weekly_bin515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-3.89e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-07-04 14:46:05.589169', job_id='468141', GAL2='0.97', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1625435165.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.97', dlogl='-4.05e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='515' AND source_name='4FGL J0221.1+3556' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 14:46:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 468141: <4FGL_J0221.1+3556_weekly_bin515> in cluster <slac> Done

Job <4FGL_J0221.1+3556_weekly_bin515> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jul  4 14:34:20 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 14:34:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 14:34:22 2021
Terminated at Sun Jul  4 14:46:11 2021
Results reported at Sun Jul  4 14:46:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0221.1+3556_weekly_bin515 35.281 35.9359 550454401 551059201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0221.1+3556 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   370.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             181.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            711 sec.

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

