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


Performing analysis on: 4FGL_J2243.9+2021_daily_bin1675
RA = 340.99, Dec = 20.3565
tmin = 673488001, tmax = 673747201
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='884175', job_status='RUN', time_executed='2022-05-09 01:27:52.459574', time_epoch_executed='1652084872.46' WHERE source_name='4FGL J2243.9+2021' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884175

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884175/ft1_4FGL_J2243.9+2021_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884175/ft1_4FGL_J2243.9+2021_daily_bin1675.fits outfile=/scratch/kocevski/884175/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin1675.fits ra=340.99 dec=20.3565 rad=12.0 tmin=673488001.0 tmax=673747201.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 2.57
user 2.36
sys 0.19

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

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

Number of photons that the gtmktime cut: 873

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884175/ft1_filtered_4FGL_J2243.9+2021_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884175/ltcube_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.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/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits
.....................!
real 14.79
user 14.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884175/ft1_filtered_4FGL_J2243.9+2021_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884175/ltcube_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.fits outfile=/scratch/kocevski/884175/expmap_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.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/884175/ltcube_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.fits
.....................!
real 191.43
user 186.26
sys 4.45

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/884175/ft1_filtered_4FGL_J2243.9+2021_daily_bin1675.fits scfile=/scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits outfile=/scratch/kocevski/884175/cmap_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884175/ft1_filtered_4FGL_J2243.9+2021_daily_bin1675.fits scfile=/scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits outfile=/scratch/kocevski/884175/cmap_HighResolution_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884175/ft1_filtered_4FGL_J2243.9+2021_daily_bin1675.fits', '/scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits', expMap='/scratch/kocevski/884175/expmap_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.fits', expCube='/scratch/kocevski/884175/ltcube_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884175/Model_4FGL_J2243.9+2021_daily_bin1675.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  1.000e-04  1.000e+04 ( 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  0.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/884175/ft1_filtered_4FGL_J2243.9+2021_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/884175/ft2_4FGL_J2243.9+2021_daily_bin1675.fits
Exposure map: /scratch/kocevski/884175/expmap_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.fits
Exposure cube: /scratch/kocevski/884175/ltcube_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884175/Model_4FGL_J2243.9+2021_daily_bin1675.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) = 9186.53102623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87158E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.233       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .36936E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12919E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5908       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76320       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.2752       1.0000         .10000E-03   10000.    
    10 'norm      '    3.6359       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.6375       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3296       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.288       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .65270       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2838       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8140       1.0000         .10000E-03   10000.    
    23 'Prefactor '    62.278       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3281       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79825       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9186.315     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2512 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    115.40       -.11930E-04** at limit **
   2  norm          .10000E-03    .27672        .19934E-07** at limit **
   3  Prefactor     12.232        12.596        .24890E-06    .37601E-05
   4  norm          .10000E-03    1.8832        .50844E-08** at limit **
   5  Prefactor     .10000E-03    6.0857        .30673E-06** at limit **
   6  Prefactor     .10000E-03    82.694        .24072E-05** at limit **
   7  Prefactor     6.5907        8.0566        .53679E-07   -.48953E-05
   8  Prefactor     .76316        .20098        .26568E-07   -.90225E-03
   9  Prefactor     9.2757        6.1717       -.24170E-05   -.89781E-05
  10  norm          3.6362        1.1925        .21395E-08   -.21918E-04
  11  Prefactor     4.6386        8.7419        .47522E-07   -.50324E-04
  12  norm          1.3297        1.1556        .41487E-08   -.34886E-06
  13  Prefactor     .10000E-03    15.282        .25391E-05** at limit **
  14  Prefactor     16.291        10.766        .90433E-07   -.72572E-05
  15  Prefactor     .10000E-03    12.174       -.53144E-06** at limit **
  16  Prefactor     .65275        .16672        .19821E-08   -.31847E-03
  17  Prefactor     1.2842        1.6691        .79005E-06   -.64428E-03
  18  Prefactor     7.3651        9.3241       -.10977E-06   -.82707E-04
  19  Prefactor     .10000E-03    3.8730        .26797E-07** at limit **
  20  Prefactor     .10000E-03    18.197       -.32897E-05** at limit **
  21  Prefactor     .10000E-03    24.701        .14394E-05** at limit **
  22  Prefactor     3.8114        7.7500       -.24963E-05   -.27136E-03
  23  Prefactor     62.291        30.475        .59748E-05    .32881E-04
  24  Normalizat    1.3281        .20864       -.87765E-06    .57910E-04
  25  Prefactor     .79810        .10460        .27550E-06   -.17224E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.2322
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.59072
  Prefactor  = 0.763159
  Prefactor  = 9.2757
  norm       = 3.63624
  Prefactor  = 4.63856
  norm       = 1.3297
  Prefactor  = 0.0001
  Prefactor  = 16.2908
  Prefactor  = 0.0001
  Prefactor  = 0.652749
  Prefactor  = 1.28424
  Prefactor  = 7.36513
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.81139
  Prefactor  = 62.2911
  Normalizat = 1.32814
  Prefactor  = 0.798099
 **********
 **   18 **HESSE 
 **********

 FCN=   9186.315     FROM HESSE     STATUS=OK           431 CALLS     2943 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    117.17        .20850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .28836        .98323E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.232        12.598        .11453E-03   -1.5008    
   4  norm          .10000E-03    1.9126        .12841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    34.567        .44516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    83.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5907        8.0692        .15631E-03   -1.5194    
   8  Prefactor     .76316        .19754        .20645E-04   -1.5533    
   9  Prefactor     9.2757        6.1674        .13159E-03   -1.5099    
  10  norm          3.6362        1.1924        .57477E-04   -1.5327    
  11  Prefactor     4.6386        8.7489        .93447E-03   -1.5277    
  12  norm          1.3297        1.1676        .92578E-04   -1.5477    
  13  Prefactor     .10000E-03    15.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.291        10.760        .99240E-04   -1.4901    
  15  Prefactor     .10000E-03    12.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .65275        .16632        .18551E-04   -1.5546    
  17  Prefactor     1.2842        5.6862        .19573E-02   -1.5481    
  18  Prefactor     7.3651        9.3670        .73908E-03   -1.5165    
  19  Prefactor     .10000E-03    3.8785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    24.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.8114        7.9761        .10334E-02   -1.5317    
  23  Prefactor     62.291        30.624        .50847E-04   -1.4128    
  24  Normalizat    1.3281        .24640        .31537E-03   -.82730    
  25  Prefactor     .79810        .12341        .20931E-03   -.99798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05056e-09
Minuit parameter uncertainties:
  1  0.000308411
  2  3.85178e-07
  3  12.6002
  4  9.44208e-07
  5  0.000413267
  6  4.22817e-06
  7  8.07051
  8  0.197536
  9  6.16779
  10  1.19243
  11  8.75132
  12  1.16759
  13  1.76492e-06
  14  10.7615
  15  3.36836e-06
  16  0.166324
  17  5.40527
  18  9.36886
  19  2.35629e-07
  20  1.10753e-05
  21  3.27319e-06
  22  7.97835
  23  30.6315
  24  0.246614
  25  0.123449
Done.

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

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.330e+00  1.168e+00  1.000e-04  1.000e+04 ( 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  0.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:  7.981e-01  1.234e-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.328e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.42
Ra Dec: 340.990 20.357
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 1.50e-08 +/- 1.32e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.71e-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) = 9186.19246121
delta logL = 0.122828752106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9186.18496768
delta logL = 0.130322285748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1823       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3557       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79760       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=   9186.185     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      197 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1839        1.3143        .10504E-01   -.14990E-02
   2  alpha         1.3558        .64731        .48653       -.87981E-04
   3  Normalizat    1.3324        .19617        .71185E-01    .18523E-04
   4  Prefactor     .79770        .10412        .43686E-01    .13122E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18395
  alpha      = 1.35579
  Normalizat = 1.33237
  Prefactor  = 0.797698
 **********
 **   18 **HESSE 
 **********

 FCN=   9186.185     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1839        1.1545        .88287E-04   -1.5490    
   2  alpha         1.3558        .66004        .21511E-01   -.47539    
   3  Normalizat    1.3324        .22930        .31497E-03   -.82605    
   4  Prefactor     .79770        .12213        .20938E-03   -.99813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45565e-10
Minuit parameter uncertainties:
  1  1.1545
  2  0.670147
  3  0.229473
  4  0.122167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884175': 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) = 9186.1849658
delta logL = 0.13032416044

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.184e+00  1.154e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  1.356e+00  6.701e-01  0.000e+00  5.000e+00 ( 1.000e+00)
290         beta:  8.229e-02  0.000e+00  0.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:  7.977e-01  1.222e-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.332e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.68
Ra Dec: 340.990 20.357
Photon Index (Free Index): 1.36 +/- 0.67
Photon Flux (Free Index): 9.53e-09 +/- 1.14e-08
Energy Flux (Free Index): 3.21e-05 +/- 4.36e-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/884175/cmap_HighResolution_673488001_673747201_4FGL_J2243.9+2021_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.50e-08', energy_flux2='3.21e-05', photon_flux_error='1.32e-08', dlogl='1.30e-01', energy_flux='1.95e-05', photon_flux2='9.53e-09', job_status='DONE', time_completed='2022-05-09 01:39:59.482499', photon_index_error2='0.67', photon_index2='1.36', ts='7.42', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='4.36e-05', EG='1.33', time_epoch_completed='1652085599.48', return_code='0', job_id='884175', GAL2='0.80', EG2='1.33', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='1.14e-08', ts2='7.68', photon_index='1.72' WHERE bin_id='1675' AND source_name='4FGL J2243.9+2021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:39:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 884175: <4FGL_J2243.9+2021_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2243.9+2021_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:28 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:26:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:26:49 2022
Terminated at Mon May  9 01:40:00 2022
Results reported at Mon May  9 01:40:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.9+2021_daily_bin1675 340.99 20.3565 673488001 673747201 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 :                                   727.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             362.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            872 sec.

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

