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


Performing analysis on: 4FGL_J2243.9+2021_daily_bin1769
RA = 340.99, Dec = 20.3565
tmin = 697852801, tmax = 698112001
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='446420', job_status='RUN', time_executed='2023-02-15 01:38:57.848139', time_epoch_executed='1676453937.85' WHERE source_name='4FGL J2243.9+2021' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446420

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446420/ft1_4FGL_J2243.9+2021_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446420/ft1_4FGL_J2243.9+2021_daily_bin1769.fits outfile=/scratch/kocevski/446420/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin1769.fits ra=340.99 dec=20.3565 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.36
user 4.13
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.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/446420/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.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.48
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 1011

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/446420/ltcube_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.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/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits
.....................!
real 12.03
user 11.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/446420/ltcube_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.fits outfile=/scratch/kocevski/446420/expmap_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.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/446420/ltcube_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.fits
.....................!
real 189.97
user 185.49
sys 4.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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.9+2021 @ 340.99 20.3565

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits outfile=/scratch/kocevski/446420/cmap_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.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=340.99 yref=20.3565 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits outfile=/scratch/kocevski/446420/cmap_HighResolution_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.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=340.99 yref=20.3565 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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446420/Model_4FGL_J2243.9+2021_daily_bin1769.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/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits.....................!
real 110.70
user 109.39
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits', '/scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits', expMap='/scratch/kocevski/446420/expmap_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.fits', expCube='/scratch/kocevski/446420/ltcube_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/446420/Model_4FGL_J2243.9+2021_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.9+2021'

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.733e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        alpha:  1.716e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
290         beta:  8.229e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  1.517e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/446420/ft1_filtered_4FGL_J2243.9+2021_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/446420/ft2_4FGL_J2243.9+2021_daily_bin1769.fits
Exposure map: /scratch/kocevski/446420/expmap_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.fits
Exposure cube: /scratch/kocevski/446420/ltcube_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/446420/Model_4FGL_J2243.9+2021_daily_bin1769.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) = 10487.2418289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16804E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .39144       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23003       1.0000          .0000       .10000E+07
     4 'norm      '    .52301E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0678       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.8531       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2003       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .81556       1.0000          .0000       .10000E+07
    10 'norm      '    3.9517       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56108E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33442E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.1755       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .63226E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    27.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    67.050       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10322E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    48.889       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2206       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10487.01     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1542 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    21.496        .94465E-07** at limit **
   2  norm          .39479        .75367       -.13559E-06    .22565E-02
   3  Prefactor     .51575        36.926       -.91561E-05   -.92760E-02
   4  norm           .0000        2.1492       -.17710E-06** at limit **
   5  Prefactor     1.3480        4.0870       -.11871E-05   -.16260E-01
   6  Prefactor     8.9881        9.7528       -.31643E-06   -.12837E-01
   7  Prefactor     3.2013        .40591        .53781E-06   -.95868E-03
   8  Prefactor     .10000E-03    9.4622        .43437E-07** at limit **
   9  norm          .82601        1.2210       -.20632E-06    .58997E-04
  10  norm          3.9580        2.0704        .16161E-06   -.17062E-02
  11  Prefactor     .11657E-08    13.950        .40071E-06** at limit **
  12  Prefactor      .0000        4.9467       -.23941E-06** at limit **
  13  Prefactor     5.1772        .39333        .79775E-07    .87929E-03
  14  Prefactor      .0000        9.4231       -.20646E-05** at limit **
  15  Prefactor     28.180        24.472        .11953E-05   -.19643E-01
  16  Prefactor     68.561        37.460        .67678E-06   -.11015E-01
  17  Prefactor      .0000        4.5520        .22992E-05** at limit **
  18  Prefactor     51.154        27.562       -.23686E-05    .32343E-01
  19  Normalizat    1.2137        .30225        .17353E-04   -.49957E-04
  20  Prefactor     .88733        .14817       -.78550E-05    .17961E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0.39479
  Prefactor  = 0.515746
  norm       = 0
  Prefactor  = 1.34804
  Prefactor  = 8.98808
  Prefactor  = 3.20126
  Prefactor  = 0.0001
  norm       = 0.826006
  norm       = 3.95804
  Prefactor  = 1.16573e-09
  Prefactor  = 0
  Prefactor  = 5.17724
  Prefactor  = 0
  Prefactor  = 28.1796
  Prefactor  = 68.5608
  Prefactor  = 0
  Prefactor  = 51.1544
  Normalizat = 1.21374
  Prefactor  = 0.88733
 **********
 **   18 **HESSE 
 **********

 FCN=   10487.01     FROM HESSE     STATUS=OK           339 CALLS     1881 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    21.488        .17257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .39479        .77841        .27596E-02   -1.5695    
   3  Prefactor     .51575        13.000        .11264E-01   -1.5694    
   4  norm           .0000        2.1460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3480        37.624        .11777E-02   -1.5685    
   6  Prefactor     8.9881        10.105        .33663E-03   -1.5648    
   7  Prefactor     3.2013        .41474        .50200E-02   -1.5350    
   8  Prefactor     .10000E-03    9.3144        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .82601        1.2331        .51782E-03   -1.5690    
  10  norm          3.9580        2.0692        .50719E-03   -1.5668    
  11  Prefactor     .11657E-08    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.9452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1772        .39286        .37850E-02   -1.5253    
  14  Prefactor      .0000        9.4145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.180        25.712        .19163E-03   -1.5602    
  16  Prefactor     68.561        37.799        .12213E-03   -1.5542    
  17  Prefactor      .0000        4.5530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     51.154        29.316        .14303E-03   -1.5565    
  19  Normalizat    1.2137        .25825        .95676E-01   -.86179    
  20  Prefactor     .88733        .12541        .44839E-01   -.96585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82267e-08
Minuit parameter uncertainties:
  1  4.90825e-05
  2  0.778406
  3  5.17867
  4  4.84545e-06
  5  14.2436
  6  10.1054
  7  0.414737
  8  1.40128e-05
  9  1.23305
  10  2.06924
  11  0.000257358
  12  5.83647e-06
  13  0.392858
  14  2.94033e-05
  15  25.7118
  16  37.7996
  17  1.32414e-05
  18  29.3156
  19  0.258522
  20  0.12545
Done.

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

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  3.958e+00  2.069e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        alpha:  1.716e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
290         beta:  8.229e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  1.517e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  8.873e-01  1.254e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.214e+00  2.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.38
Ra Dec: 340.990 20.357
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 4.47e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 5.80e-05 +/- 3.03e-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) = 10487.0070699
delta logL = 5.25128853042e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10487.0070647
delta logL = 5.7701336118e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10487.01     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      219 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9673        44.328        .50651E-03   -.15511E-02
   2  alpha         1.7223        3.0656        .44018        .24468E-04
   3  Normalizat    1.2133        .19816        .95689E-01    .54027E-04
   4  Prefactor     .88737        .59604E-01    .44844E-01   -.12915E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.9673
  alpha      = 1.72231
  Normalizat = 1.21333
  Prefactor  = 0.887372
 **********
 **   18 **HESSE 
 **********

 FCN=   10487.01     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9673        2.1898        .10331E-04   -1.5668    
   2  alpha         1.7223        .58984        .15022E-01   -.31632    
   3  Normalizat    1.2133        .28750        .42394E-03   -.86192    
   4  Prefactor     .88737        .14703        .24929E-03   -.96584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4932e-11
Minuit parameter uncertainties:
  1  2.18981
  2  0.596071
  3  0.287876
  4  0.147092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446420': 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) = 10487.0070596
delta logL = 6.28560355835e-05

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  3.967e+00  2.190e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        alpha:  1.722e+00  5.961e-01  0.000e+00  5.000e+00 ( 1.000e+00)
290         beta:  8.229e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  1.517e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  8.874e-01  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.213e+00  2.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.34
Ra Dec: 340.990 20.357
Photon Index (Free Index): 1.72 +/- 0.60
Photon Flux (Free Index): 4.52e-08 +/- 4.82e-08
Energy Flux (Free Index): 5.76e-05 +/- 4.31e-05

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/446420/cmap_HighResolution_697852801_698112001_4FGL_J2243.9+2021_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.47e-08', energy_flux2='5.76e-05', photon_flux_error='2.34e-08', dlogl='6.29e-05', energy_flux='5.80e-05', photon_flux2='4.52e-08', job_status='DONE', time_completed='2023-02-15 01:49:57.962161', photon_index_error2='0.60', photon_index2='1.72', ts='21.38', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='4.31e-05', EG='1.21', time_epoch_completed='1676454597.96', return_code='0', job_id='446420', GAL2='0.89', EG2='1.21', return_code2='0', energy_flux_error='3.03e-05', photon_flux_error2='4.82e-08', ts2='21.34', photon_index='1.72' WHERE bin_id='1769' AND source_name='4FGL J2243.9+2021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:49:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 446420: <4FGL_J2243.9+2021_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2243.9+2021_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 01:35:16 2023
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:35:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:35:16 2023
Terminated at Wed Feb 15 01:49:58 2023
Results reported at Wed Feb 15 01:49:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.9+2021_daily_bin1769 340.99 20.3565 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.9+2021 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   662.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            882 sec.

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

