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


Performing analysis on: 4FGL_J2221.5-5225_daily_bin1699
RA = 335.391, Dec = -52.4307
tmin = 679708801, tmax = 679968001
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='1370', job_status='RUN', time_executed='2022-07-20 00:39:47.531326', time_epoch_executed='1658302787.53' WHERE source_name='4FGL J2221.5-5225' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1370/ft1_4FGL_J2221.5-5225_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1370/ft1_4FGL_J2221.5-5225_daily_bin1699.fits outfile=/scratch/kocevski/1370/ft1_filteredMKT_4FGL_J2221.5-5225_daily_bin1699.fits ra=335.391 dec=-52.4307 rad=12.0 tmin=679708801.0 tmax=679968001.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.84
user 3.59
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.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/1370/ft1_filteredMKT_4FGL_J2221.5-5225_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.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.34
sys 0.14

Number of photons that the gtmktime cut: 606

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1370/ltcube_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.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/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits
.....................!
real 12.01
user 11.63
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1370/ltcube_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.fits outfile=/scratch/kocevski/1370/expmap_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.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/1370/ltcube_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.fits
.....................!
real 191.06
user 185.50
sys 5.21

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/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits scfile=/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits outfile=/scratch/kocevski/1370/cmap_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits scfile=/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits outfile=/scratch/kocevski/1370/cmap_HighResolution_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1370/Model_4FGL_J2221.5-5225_daily_bin1699.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/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits.....................!
real 48.28
user 46.92
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits', '/scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits', expMap='/scratch/kocevski/1370/expmap_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.fits', expCube='/scratch/kocevski/1370/ltcube_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1370/Model_4FGL_J2221.5-5225_daily_bin1699.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  1.000e-04  1.000e+04 ( 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  0.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/1370/ft1_filtered_4FGL_J2221.5-5225_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1370/ft2_4FGL_J2221.5-5225_daily_bin1699.fits
Exposure map: /scratch/kocevski/1370/expmap_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1370/ltcube_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1370/Model_4FGL_J2221.5-5225_daily_bin1699.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) = 6586.83029146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10839E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .46636E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5026       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11717E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1362       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.609       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2843       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.424       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.977       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3664       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.0856       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .70533       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1877       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6586.773     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     2502 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    160.79       -.73689E-06** at limit **
   2  Prefactor     .10000E-03    5.7060       -.18940E-06** at limit **
   3  Prefactor     5.5141        27.355       -.63590E-06   -.17303E-04
   4  Prefactor     .10000E-03    3.0337       -.98454E-06** at limit **
   5  Prefactor     .10000E-03    15.693        .43360E-06** at limit **
   6  Prefactor     .10000E-03    5.6059        .90895E-06** at limit **
   7  Prefactor     5.1359        3.3589        .92797E-06   -.23604E-03
   8  Prefactor     .10000E-03    36.879       -.19715E-05** at limit **
   9  norm          10.609        7.3569       -.59349E-07    .38458E-07
  10  Prefactor     .10000E-03    1.9536        .36105E-07** at limit **
  11  Prefactor     .10000E-03    20.808       -.14642E-06** at limit **
  12  Prefactor     .10000E-03    2.5794        .25884E-07** at limit **
  13  Prefactor     4.2760        36.340        .87625E-06    .24291E-04
  14  Prefactor     11.431        10.209       -.58959E-07   -.36026E-04
  15  Prefactor     .10001E-03    39.085        .24499E-05** at limit **
  16  Prefactor     .10000E-03    3.8073       -.21058E-08** at limit **
  17  Prefactor     11.978        12.746       -.52930E-06    .28947E-04
  18  Prefactor     6.3668        7.1490        .81985E-06   -.72500E-04
  19  norm          .10000E-03    7.1035        .27262E-06** at limit **
  20  norm          .10000E-03    5.9840       -.84664E-06** at limit **
  21  Prefactor     6.0847        4.6652        .67883E-07    .18237E-03
  22  Prefactor     .10000E-03    12.475       -.32902E-07** at limit **
  23  norm          .10000E-03    .22384        .38403E-08** at limit **
  24  Normalizat    .70535        .16460       -.46630E-06    .15291E-03
  25  Prefactor     1.1877        .14247       -.40452E-07    .20001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 5.5141
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.13595
  Prefactor  = 0.000100004
  norm       = 10.6086
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.27604
  Prefactor  = 11.431
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 11.9776
  Prefactor  = 6.36677
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.0847
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.705349
  Prefactor  = 1.18766
 **********
 **   18 **HESSE 
 **********

 FCN=   6586.773     FROM HESSE     STATUS=OK           423 CALLS     2925 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    167.91        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.236        .37147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5141        27.350        .17128E-03   -1.5238    
   4  Prefactor     .10000E-03    5.6051        .25628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1359        3.4403        .59031E-03   -1.5255    
   8  Prefactor     .10000E-03    38.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.609        7.3584        .12301E-03   -1.5056    
  10  Prefactor     .10000E-03    1.9868        .11067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6024        .12714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2760        35.727        .19464E-03   -1.5294    
  14  Prefactor     11.431        10.124        .11853E-03   -1.5032    
  15  Prefactor     .10001E-03    40.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.8541        .15464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.978        12.766        .57875E-03   -1.5016    
  18  Prefactor     6.3668        7.1930        .79539E-03   -1.5203    
  19  norm          .10000E-03    7.1699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.3414        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0847        4.6644        .14920E-03   -1.5215    
  22  Prefactor     .10000E-03    12.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .22850        .37479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .70535        .19069        .27555E-03   -1.0368    
  25  Prefactor     1.1877        .16635        .19224E-03   -.86712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02763e-09
Minuit parameter uncertainties:
  1  0.000126029
  2  0.000447991
  3  24.5786
  4  0.000216739
  5  0.000102157
  6  0.000126304
  7  3.44041
  8  0.000749253
  9  7.35902
  10  1.41851e-06
  11  4.25874e-05
  12  3.75112e-06
  13  24.7396
  14  10.1258
  15  0.000936697
  16  1.15045e-06
  17  12.769
  18  7.19401
  19  3.98433e-05
  20  0.000104991
  21  4.66468
  22  3.93462e-05
  23  1.96169e-07
  24  0.190874
  25  0.166427
Done.

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

Extracting fit parameters...

4FGL J2221.5-5225
   Spectrum: LogParabola
345         norm:  1.061e+01  7.359e+00  1.000e-04  1.000e+04 ( 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  0.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.188e+00  1.664e-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:  7.053e-01  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.51
Ra Dec: 335.391 -52.431
Photon Index (Fixed Index): 1.61 +/- 0.00
Photon Flux (Fixed Index): 1.77e-08 +/- 1.23e-08
Energy Flux (Fixed Index): 3.58e-05 +/- 2.49e-05

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) = 6586.57452594
delta logL = 0.198573468189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6586.57212862
delta logL = 0.200970789675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1146       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9674       1.0000          .0000       5.0000    
     3 'Normalizat'    .69788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1891       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=   6586.572     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1208        160.34        .33188E-02    .44251E-04
   2  alpha         1.9682        3.1118        .24480        .58815E-04
   3  Normalizat    .69775        .12328        .62582E-01    .20110E-04
   4  Prefactor     1.1891        .68152E-01    .34894E-01   -.82989E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.12077
  alpha      = 1.96822
  Normalizat = 0.697747
  Prefactor  = 1.18911
 **********
 **   18 **HESSE 
 **********

 FCN=   6586.572     FROM HESSE     STATUS=OK            31 CALLS      294 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1208        7.3967        .13275E-03   -1.5104    
   2  alpha         1.9682        .59741        .12958E-01   -.21435    
   3  Normalizat    .69775        .18507        .27685E-03   -1.0398    
   4  Prefactor     1.1891        .16397        .19206E-03   -.86667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4859e-11
Minuit parameter uncertainties:
  1  7.39744
  2  0.603532
  3  0.185235
  4  0.16404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1370': 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) = 6586.57212548
delta logL = 0.200973927514

Extracting fit parameters...

4FGL J2221.5-5225
   Spectrum: LogParabola
345         norm:  9.121e+00  7.397e+00  1.000e-04  1.000e+04 ( 1.000e-13)
346        alpha:  1.968e+00  6.035e-01  0.000e+00  5.000e+00 ( 1.000e+00)
347         beta:  1.036e-01  0.000e+00  0.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.189e+00  1.640e-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:  6.977e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.91
Ra Dec: 335.391 -52.431
Photon Index (Free Index): 1.97 +/- 0.60
Photon Flux (Free Index): 2.71e-08 +/- 2.45e-08
Energy Flux (Free Index): 2.38e-05 +/- 2.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/1370/cmap_HighResolution_679708801_679968001_4FGL_J2221.5-5225_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.77e-08', energy_flux2='2.38e-05', photon_flux_error='1.23e-08', dlogl='2.01e-01', energy_flux='3.58e-05', photon_flux2='2.71e-08', job_status='DONE', time_completed='2022-07-20 00:50:05.245965', photon_index_error2='0.60', photon_index2='1.97', ts='8.51', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='0.71', time_epoch_completed='1658303405.25', return_code='0', job_id='1370', GAL2='1.19', EG2='0.70', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='2.45e-08', ts2='8.91', photon_index='1.61' WHERE bin_id='1699' AND source_name='4FGL J2221.5-5225' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:50:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 1370: <4FGL_J2221.5-5225_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2221.5-5225_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:40 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:40 2022
Terminated at Wed Jul 20 00:50:06 2022
Results reported at Wed Jul 20 00:50:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2221.5-5225_daily_bin1699 335.391 -52.4307 679708801 679968001 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 :                                   619.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            866 sec.

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

