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


Performing analysis on: 4FGL_J2243.9+2021_daily_bin1771
RA = 340.99, Dec = 20.3565
tmin = 698371201, tmax = 698630401
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='572097', job_status='RUN', time_executed='2023-02-21 02:26:34.184730', time_epoch_executed='1676975194.18' WHERE source_name='4FGL J2243.9+2021' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572097

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572097/ft1_4FGL_J2243.9+2021_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572097/ft1_4FGL_J2243.9+2021_daily_bin1771.fits outfile=/scratch/kocevski/572097/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin1771.fits ra=340.99 dec=20.3565 rad=12.0 tmin=698371201.0 tmax=698630401.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.07
user 2.88
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.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/572097/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.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.31
sys 0.16

Number of photons that the gtmktime cut: 1142

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/572097/ltcube_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.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/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits
.....................!
real 12.29
user 11.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/572097/ltcube_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.fits outfile=/scratch/kocevski/572097/expmap_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.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/572097/ltcube_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.fits
.....................!
real 190.93
user 185.97
sys 4.64

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/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.fits scfile=/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits outfile=/scratch/kocevski/572097/cmap_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.fits scfile=/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits outfile=/scratch/kocevski/572097/cmap_HighResolution_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.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.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.fits', '/scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits', expMap='/scratch/kocevski/572097/expmap_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.fits', expCube='/scratch/kocevski/572097/ltcube_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/572097/Model_4FGL_J2243.9+2021_daily_bin1771.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/572097/ft1_filtered_4FGL_J2243.9+2021_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/572097/ft2_4FGL_J2243.9+2021_daily_bin1771.fits
Exposure map: /scratch/kocevski/572097/expmap_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.fits
Exposure cube: /scratch/kocevski/572097/ltcube_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/572097/Model_4FGL_J2243.9+2021_daily_bin1771.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) = 12286.1735059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41564E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .47845       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13588E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .73047E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    15.829       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0012       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.4445       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9907       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1829       1.0000          .0000       .10000E+07
    10 'norm      '    1.8574       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1338       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30255E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2129       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0975       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11917       1.0000          .0000       .10000E+07
    16 'Prefactor '    .27811E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27935       1.0000          .0000       .10000E+07
    18 'Prefactor '    13.451       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0300       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=   12286.08     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1203 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20145E-06    60.370       -.33641E-05** at limit **
   2  norm          .48000        .60560        .16821E-06    .47537E-02
   3  Prefactor     .12068E-06    33.534       -.19029E-05** at limit **
   4  norm           .0000        3.7716       -.48079E-06** at limit **
   5  Prefactor     15.805        3.4441       -.13256E-05    .79811E-01
   6  Prefactor     1.9009        6.8348        .10355E-05    .13849E-04
   7  Prefactor     1.4446        .30680        .39155E-06   -.26458E-03
   8  Prefactor     4.0080        7.4507       -.20742E-05    .94539E-04
   9  norm          1.1844        .73026        .11140E-07   -.13883E-01
  10  norm          1.8583        1.2191        .11717E-07   -.36189E-04
  11  Prefactor     1.4907        3.3732        .12237E-05   -.33363E-01
  12  Prefactor     .42744E-08    5.5401        .15585E-05** at limit **
  13  Prefactor     2.2140        .24517       -.10488E-06   -.14686E-02
  14  Prefactor     6.1070        6.2320       -.33185E-06   -.24538E-02
  15  Prefactor     .71981E-06    47.848       -.99070E-05** at limit **
  16  Prefactor     .33307E-09    10.011        .58941E-06** at limit **
  17  Prefactor     .35162        24.978        .14890E-04    .81661E-02
  18  Prefactor     13.526        2.5377       -.22198E-06    .93458E-01
  19  Normalizat    1.1078        .23780       -.17132E-04   -.23396E-03
  20  Prefactor     1.0301        .12283        .33309E-05   -.33529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.0145e-07
  norm       = 0.479997
  Prefactor  = 1.20681e-07
  norm       = 0
  Prefactor  = 15.8046
  Prefactor  = 1.90093
  Prefactor  = 1.44465
  Prefactor  = 4.00804
  norm       = 1.18442
  norm       = 1.85826
  Prefactor  = 1.49071
  Prefactor  = 4.27436e-09
  Prefactor  = 2.21397
  Prefactor  = 6.10703
  Prefactor  = 7.19813e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 0.351617
  Prefactor  = 13.5263
  Normalizat = 1.10784
  Prefactor  = 1.03005
 **********
 **   18 **HESSE 
 **********

 FCN=   12286.08     FROM HESSE     STATUS=OK           347 CALLS     1550 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20145E-06    60.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .48000        .71547        .21868E-02   -1.5694    
   3  Prefactor     .12068E-06    33.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.7483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.805        13.965        .25148E-03   -1.5628    
   6  Prefactor     1.9009        6.8781        .73179E-03   -1.5680    
   7  Prefactor     1.4446        .31357        .60199E-02   -1.5468    
   8  Prefactor     4.0080        7.4544        .50473E-02   -1.5308    
   9  norm          1.1844        .73776        .10498E-02   -1.5686    
  10  norm          1.8583        1.2176        .76442E-03   -1.5681    
  11  Prefactor     1.4907        120.72        .70545E-03   -1.5684    
  12  Prefactor     .42744E-08    5.5443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2140        .25035        .39081E-02   -1.5410    
  14  Prefactor     6.1070        6.2427        .40635E-03   -1.5659    
  15  Prefactor     .71981E-06    9.8735        .13440E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .33307E-09    10.047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .35162        4.0218        .70833E-02   -1.5696    
  18  Prefactor     13.526        13.744        .27285E-03   -1.5634    
  19  Normalizat    1.1078        .20466        .85675E-01   -.89500    
  20  Prefactor     1.0301        .10350        .41262E-01   -.91734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11658e-06
Minuit parameter uncertainties:
  1  0.00699934
  2  0.715467
  3  0.00402873
  4  6.48639e-06
  5  13.9652
  6  6.87809
  7  0.313572
  8  7.45617
  9  0.737755
  10  1.21764
  11  26.8306
  12  0.000307105
  13  0.250352
  14  6.24269
  15  0.00533183
  16  0.000118376
  17  2.37836
  18  13.7439
  19  0.204802
  20  0.103523
Done.

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

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.858e+00  1.218e+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:  1.030e+00  1.035e-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.108e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.16
Ra Dec: 340.990 20.357
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 2.10e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 1.78e-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) = 12285.9340122
delta logL = 0.149635004107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12285.930839
delta logL = 0.152808228604

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7680       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4467       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0302       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=   12285.93     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7676        47.009        .78739E-03    .11575E-02
   2  alpha         1.4461        2.8032        .47121       -.22570E-04
   3  Normalizat    1.1114        .26872        .85564E-01    .33886E-03
   4  Prefactor     1.0302        .11657        .41242E-01    .62254E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76764
  alpha      = 1.44612
  Normalizat = 1.1114
  Prefactor  = 1.03018
 **********
 **   18 **HESSE 
 **********

 FCN=   12285.93     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7676        1.2574        .96854E-05   -1.5681    
   2  alpha         1.4461        .47867        .17771E-01   -.43516    
   3  Normalizat    1.1114        .22944        .37888E-03   -.89387    
   4  Prefactor     1.0302        .12189        .20651E-03   -.91730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37701e-10
Minuit parameter uncertainties:
  1  1.25737
  2  0.482302
  3  0.229646
  4  0.121922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572097': 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) = 12285.9308383
delta logL = 0.152808881801

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.768e+00  1.257e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        alpha:  1.446e+00  4.823e-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:  1.030e+00  1.219e-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.111e+00  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.47
Ra Dec: 340.990 20.357
Photon Index (Free Index): 1.45 +/- 0.48
Photon Flux (Free Index): 1.51e-08 +/- 1.37e-08
Energy Flux (Free Index): 3.98e-05 +/- 3.93e-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/572097/cmap_HighResolution_698371201_698630401_4FGL_J2243.9+2021_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.10e-08', energy_flux2='3.98e-05', photon_flux_error='1.37e-08', dlogl='1.53e-01', energy_flux='2.72e-05', photon_flux2='1.51e-08', job_status='DONE', time_completed='2023-02-21 02:37:24.876276', photon_index_error2='0.48', photon_index2='1.45', ts='9.16', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='3.93e-05', EG='1.11', time_epoch_completed='1676975844.88', return_code='0', job_id='572097', GAL2='1.03', EG2='1.11', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='1.37e-08', ts2='9.47', photon_index='1.72' WHERE bin_id='1771' AND source_name='4FGL J2243.9+2021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:37:24 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 572097: <4FGL_J2243.9+2021_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2243.9+2021_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 02:25:20 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:25:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:25:21 2023
Terminated at Tue Feb 21 02:37:25 2023
Results reported at Tue Feb 21 02:37:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.9+2021_daily_bin1771 340.99 20.3565 698371201 698630401 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 :                                   653.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

