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


Performing analysis on: 4FGL_J2221.5-5225_daily_bin1748
RA = 335.391, Dec = -52.4307
tmin = 692409601, tmax = 692668801
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='898168', job_status='RUN', time_executed='2022-12-14 01:21:24.957145', time_epoch_executed='1671009684.96' WHERE source_name='4FGL J2221.5-5225' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898168/ft1_4FGL_J2221.5-5225_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898168/ft1_4FGL_J2221.5-5225_daily_bin1748.fits outfile=/scratch/kocevski/898168/ft1_filteredMKT_4FGL_J2221.5-5225_daily_bin1748.fits ra=335.391 dec=-52.4307 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.34
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.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/898168/ft1_filteredMKT_4FGL_J2221.5-5225_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 502

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898168/ltcube_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.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/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits
.....................!
real 12.14
user 11.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898168/ltcube_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.fits outfile=/scratch/kocevski/898168/expmap_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.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/898168/ltcube_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.fits
.....................!
real 191.51
user 186.04
sys 5.16

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

Setting source of interest to:
4FGL J2221.5-5225 @ 335.391 -52.4307

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits scfile=/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits outfile=/scratch/kocevski/898168/cmap_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.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=335.391 yref=-52.4307 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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits scfile=/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits outfile=/scratch/kocevski/898168/cmap_HighResolution_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.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=335.391 yref=-52.4307 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898168/Model_4FGL_J2221.5-5225_daily_bin1748.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/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits.....................!
real 43.16
user 41.77
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits', '/scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits', expMap='/scratch/kocevski/898168/expmap_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.fits', expCube='/scratch/kocevski/898168/ltcube_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/898168/Model_4FGL_J2221.5-5225_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2221.5-5225'

4FGL J2221.5-5225
   Spectrum: LogParabola
345         norm:  1.615e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
346        alpha:  1.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
347         beta:  1.036e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  2.313e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/898168/ft1_filtered_4FGL_J2221.5-5225_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/898168/ft2_4FGL_J2221.5-5225_daily_bin1748.fits
Exposure map: /scratch/kocevski/898168/expmap_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.fits
Exposure cube: /scratch/kocevski/898168/ltcube_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/898168/Model_4FGL_J2221.5-5225_daily_bin1748.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) = 5453.3972957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.098       1.0000          .0000       .10000E+07
     2 'Prefactor '    .59870E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15027E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2918       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.6655       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.5490       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21076E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .47852       1.0000          .0000       .10000E+07
     9 'Prefactor '    .70988E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26176E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .80758E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .54843E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .73836E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .29426E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.2616       1.0000          .0000       .10000E+07
    16 'norm      '    .90075E-05   1.0000          .0000       .10000E+07
    17 'norm      '    13.935       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21586       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.145       1.0000          .0000       .10000E+07
    20 'norm      '    .12897       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1737       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1039       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5453.354     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     1821 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.121        11.717       -.37220E-06   -.14082E-01
   2  Prefactor     .38264E-05    12.787       -.53534E-06** at limit **
   3  Prefactor     .13323E-08    7.4832       -.26675E-06** at limit **
   4  Prefactor     .23682E-05    4019.0        .11161E-04** at limit **
   5  Prefactor     3.8063        8.6999       -.14347E-05   -.17071E-01
   6  Prefactor     5.5067        4.8128        .86092E-07   -.39937E-03
   7  Prefactor     .46185E-07    56.922       -.20069E-05** at limit **
   8  norm          .47121        14.605        .67963E-06    .57346E-02
   9  Prefactor      .0000        1.3124        .34033E-07** at limit **
  10  Prefactor     .33307E-09    13.386       -.20448E-06** at limit **
  11  Prefactor     .55511E-10    3.1473        .91696E-07** at limit **
  12  Prefactor     .35111E-05    12.834        .58379E-06** at limit **
  13  Prefactor     .27756E-09    3.0158        .14704E-06** at limit **
  14  Prefactor     .33307E-09    11.049        .17059E-06** at limit **
  15  Prefactor     2.2130        4.4223       -.18754E-06    .10842E-02
  16  norm          .55511E-10    5.5325        .13943E-08** at limit **
  17  norm          14.014        8.7363        .20313E-06    .11136E-02
  18  Prefactor     .99319E-01    142.17        .32544E-05** at limit **
  19  Prefactor     25.069        32.893       -.11692E-06    .16814E-01
  20  norm          .12280        1.4735        .22989E-06** at limit **
  21  Normalizat    1.1744        .24246        .72820E-05    .85615E-04
  22  Prefactor     1.1047        .19965        .13584E-05    .18090E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1205
  Prefactor  = 3.82638e-06
  Prefactor  = 1.33227e-09
  Prefactor  = 2.36822e-06
  Prefactor  = 3.80629
  Prefactor  = 5.50665
  Prefactor  = 4.61853e-08
  norm       = 0.471213
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 3.51108e-06
  Prefactor  = 2.77556e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 2.21302
  norm       = 5.55112e-11
  norm       = 14.0144
  Prefactor  = 0.0993194
  Prefactor  = 25.0694
  norm       = 0.122801
  Normalizat = 1.17437
  Prefactor  = 1.10466
 **********
 **   18 **HESSE 
 **********

 FCN=   5453.354     FROM HESSE     STATUS=OK           400 CALLS     2221 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.121        11.853        .27651E-03   -1.5636    
   2  Prefactor     .38264E-05    24.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13323E-08    7.4515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23682E-05    89.556        .10569E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8063        9.0660        .52734E-03   -1.5669    
   6  Prefactor     5.5067        4.8033        .42626E-03   -1.5661    
   7  Prefactor     .46185E-07    57.500        .16967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .47121        14.217        .80900E-03   -1.5694    
   9  Prefactor      .0000        1.3191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-09    13.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    3.1546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .35111E-05    24.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    3.0268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33307E-09    11.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2130        26.769        .68278E-03   -1.5678    
  16  norm          .55511E-10    5.5518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.014        8.6820        .26806E-03   -1.5633    
  18  Prefactor     .99319E-01    10.143        .57308E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.069        31.008        .20356E-03   -1.5608    
  20  norm          .12280        .76396        .24466E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1744        .21068        .59478E-01   -.87398    
  22  Prefactor     1.1047        .17131        .37439E-01   -.89318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23694e-07
Minuit parameter uncertainties:
  1  11.8527
  2  0.0193773
  3  0.000198789
  4  0.029127
  5  9.066
  6  4.80333
  7  0.00325859
  8  5.17654
  9  6.11058e-06
  10  0.00012952
  11  2.28643e-05
  12  0.0184683
  13  5.51582e-05
  14  0.000119887
  15  15.3935
  16  3.08245e-05
  17  8.68197
  18  2.00738
  19  31.0082
  20  0.612584
  21  0.21083
  22  0.171392
Done.

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

Extracting fit parameters...

4FGL J2221.5-5225
   Spectrum: LogParabola
345         norm:  4.712e-01  5.177e+00  0.000e+00  1.000e+06 ( 1.000e-13)
346        alpha:  1.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
347         beta:  1.036e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  2.313e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.105e+00  1.714e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.174e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 335.391 -52.431
Photon Flux Upper Limit: 3.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898168/likelihoodResults_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.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): 102
logL (Free Index) = 5452.98835061
delta logL = 0.365953469758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5452.26467105
delta logL = 1.08963302863

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5452.265     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      344 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13810E-01    .10849E-01    .13926E-03** at limit **
   2  alpha         5.0000        .41463        .46384    ** at limit **
   3  Normalizat    1.0536        .21869        .62246E-01    .69023E-04
   4  Prefactor     1.1643        .17453        .35533E-01    .10728E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0138101
  alpha      = 5
  Normalizat = 1.0536
  Prefactor  = 1.16429
 **********
 **   18 **HESSE 
 **********

 FCN=   5452.265     FROM HESSE     STATUS=OK            31 CALLS      375 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13810E-01    .10857E-01    .62844E-06   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.1081        .39384E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0536        .24845        .27531E-03   -.91256    
   4  Prefactor     1.1643        .20338        .22154E-03   -.87437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08493e-11
Minuit parameter uncertainties:
  1  0.0108569
  2  1.07656e-06
  3  0.24872
  4  0.203521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898168': 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) = 5452.26467062
delta logL = 1.0896334587

Extracting fit parameters...

4FGL J2221.5-5225
   Spectrum: LogParabola
345         norm:  1.381e-02  1.086e-02  0.000e+00  1.000e+06 ( 1.000e-13)
346        alpha:  5.000e+00  1.077e-06  0.000e+00  5.000e+00 ( 1.000e+00)
347         beta:  1.036e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  2.313e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.164e+00  2.035e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.054e+00  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.37
Ra Dec: 335.391 -52.431
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.69e-08 +/- 7.59e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.06e-05

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/898168/cmap_HighResolution_692409601_692668801_4FGL_J2221.5-5225_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.89e-05', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='1.09e+00', photon_flux2='9.69e-08', job_status='DONE', time_completed='2022-12-14 01:30:40.227927', photon_index_error2='0.00', photon_index2='5.00', ts='0.01', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='3.40e-08', energy_flux_error2='1.06e-05', EG='1.17', time_epoch_completed='1671010240.23', return_code='0', job_id='898168', GAL2='1.16', EG2='1.05', return_code2='0', photon_flux_error2='7.59e-08', ts2='2.37', photon_index='1.61' WHERE bin_id='1748' AND source_name='4FGL J2221.5-5225' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:30:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 898168: <4FGL_J2221.5-5225_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2221.5-5225_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:24 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:26 2022
Terminated at Wed Dec 14 01:30:40 2022
Results reported at Wed Dec 14 01:30:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2221.5-5225_daily_bin1748 335.391 -52.4307 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2221.5-5225 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             352.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

