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


Performing analysis on: 4FGL_J2243.9+2021_daily_bin1667
RA = 340.99, Dec = 20.3565
tmin = 671414401, tmax = 671673601
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='533230', job_status='RUN', time_executed='2022-04-15 03:42:20.869941', time_epoch_executed='1650019340.87' WHERE source_name='4FGL J2243.9+2021' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533230

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533230/ft1_4FGL_J2243.9+2021_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533230/ft2_4FGL_J2243.9+2021_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533230/ft1_4FGL_J2243.9+2021_daily_bin1667.fits outfile=/scratch/kocevski/533230/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin1667.fits ra=340.99 dec=20.3565 rad=12.0 tmin=671414401.0 tmax=671673601.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.63
user 3.34
sys 0.21

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

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

Number of photons that the gtmktime cut: 884

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533230/ft1_filtered_4FGL_J2243.9+2021_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533230/ft2_4FGL_J2243.9+2021_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/533230/ltcube_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.fits outfile=/scratch/kocevski/533230/expmap_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.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/533230/ltcube_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.fits
.....................!
real 192.69
user 186.30
sys 5.70

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/533230/ft1_filtered_4FGL_J2243.9+2021_daily_bin1667.fits scfile=/scratch/kocevski/533230/ft2_4FGL_J2243.9+2021_daily_bin1667.fits outfile=/scratch/kocevski/533230/cmap_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533230/ft1_filtered_4FGL_J2243.9+2021_daily_bin1667.fits scfile=/scratch/kocevski/533230/ft2_4FGL_J2243.9+2021_daily_bin1667.fits outfile=/scratch/kocevski/533230/cmap_HighResolution_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.002       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.229       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.702       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5199       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4162       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.1543       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1002       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5673       1.0000         .10000E-03   10000.    
    12 'norm      '    .95865       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.747       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5413       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1855       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30493       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8456       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15799E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    63.873       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.322       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.512       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2583       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .78835       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=   9664.753     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2941 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.993       -.57839E-07** at limit **
   2  norm          .10000E-03    .23679       -.43805E-07** at limit **
   3  Prefactor     17.003        13.299        .62257E-06    .31241E-04
   4  norm          .10000E-03    .87913       -.25254E-07** at limit **
   5  Prefactor     15.229        11.917        .14161E-06   -.23140E-05
   6  Prefactor     22.782        75.895       -.12743E-04    .98940E-05
   7  Prefactor     6.5203        8.3981        .19289E-06   -.63855E-05
   8  Prefactor     1.4162        .26237        .18612E-07    .32109E-03
   9  Prefactor     7.1548        7.4472        .24856E-06   -.47139E-05
  10  norm          4.1003        1.4029        .53342E-07    .24126E-03
  11  Prefactor     4.5673        15.866        .32379E-05    .37124E-04
  12  norm          .95869        1.8416       -.12733E-05    .24916E-03
  13  Prefactor     19.750        22.978        .95679E-08   -.65873E-05
  14  Prefactor     1.5421        25.706        .23605E-04    .10007E-04
  15  Prefactor     5.1860        11.175        .17471E-05    .35603E-04
  16  Prefactor     .30494        .14107       -.22938E-07   -.50937E-03
  17  Prefactor     .10000E-03    2.9558       -.28375E-07** at limit **
  18  Prefactor     4.8467        6.2496        .15838E-06    .75790E-05
  19  Prefactor     .10000E-03    21.872       -.31051E-06** at limit **
  20  Prefactor     .10001E-03    100.50       -.41832E-05** at limit **
  21  Prefactor     63.854        33.584        .12680E-05    .23965E-04
  22  Prefactor     13.323        7.8921        .18831E-06    .13546E-04
  23  Prefactor     12.513        20.985        .43811E-06   -.12546E-05
  24  Normalizat    1.2581        .21082       -.19260E-05    .10924E-03
  25  Prefactor     .78838        .10364       -.14193E-06   -.37290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.0028
  norm       = 0.0001
  Prefactor  = 15.2293
  Prefactor  = 22.7816
  Prefactor  = 6.52028
  Prefactor  = 1.41623
  Prefactor  = 7.15475
  norm       = 4.10028
  Prefactor  = 4.56733
  norm       = 0.958692
  Prefactor  = 19.7503
  Prefactor  = 1.54211
  Prefactor  = 5.18596
  Prefactor  = 0.304943
  Prefactor  = 0.0001
  Prefactor  = 4.84666
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 63.8537
  Prefactor  = 13.3228
  Prefactor  = 12.5128
  Normalizat = 1.2581
  Prefactor  = 0.788381
 **********
 **   18 **HESSE 
 **********

 FCN=   9664.753     FROM HESSE     STATUS=OK           435 CALLS     3376 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .24373        .93369E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.003        13.305        .97134E-04   -1.4883    
   4  norm          .10000E-03    .88027        .90015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.229        11.942        .10263E-03   -1.4927    
   6  Prefactor     22.782        75.817        .84067E-04   -1.4753    
   7  Prefactor     6.5203        8.3993        .15717E-03   -1.5197    
   8  Prefactor     1.4162        .26383        .19967E-04   -1.5470    
   9  Prefactor     7.1548        7.4556        .14997E-03   -1.5173    
  10  norm          4.1003        1.4018        .63294E-04   -1.5303    
  11  Prefactor     4.5673        15.821        .94179E-03   -1.5281    
  12  norm          .95869        1.8151        .16242E-03   -1.5512    
  13  Prefactor     19.750        22.979        .90132E-04   -1.4819    
  14  Prefactor     1.5421        26.173        .17170E-02   -1.5460    
  15  Prefactor     5.1860        11.148        .88267E-03   -1.5252    
  16  Prefactor     .30494        .13836        .23065E-04   -1.5598    
  17  Prefactor     .10000E-03    2.9600        .16506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8467        6.2359        .18275E-03   -1.5268    
  19  Prefactor     .10000E-03    22.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    103.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     63.854        33.597        .50212E-04   -1.4108    
  22  Prefactor     13.323        7.9002        .10974E-03   -1.4978    
  23  Prefactor     12.513        20.955        .11324E-03   -1.5000    
  24  Normalizat    1.2581        .24753        .33042E-03   -.84826    
  25  Prefactor     .78838        .12169        .21165E-03   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2977e-10
Minuit parameter uncertainties:
  1  1.40002e-05
  2  9.0625e-07
  3  13.3072
  4  1.1857e-06
  5  11.944
  6  76.1407
  7  8.40081
  8  0.263833
  9  7.45655
  10  1.40186
  11  15.8357
  12  1.81516
  13  22.9888
  14  12.7124
  15  11.1524
  16  0.138356
  17  5.6376e-06
  18  6.23676
  19  6.14383e-05
  20  0.00195605
  21  33.6066
  22  7.90086
  23  20.967
  24  0.247761
  25  0.121736
Done.

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

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  9.587e-01  1.815e+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.884e-01  1.217e-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.258e+00  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 340.990 20.357
Photon Flux Upper Limit: 5.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/533230/likelihoodResults_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9663.8044079
delta logL = 0.948390322077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9663.79399042
delta logL = 0.958807799878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83894       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7571       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79407       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=   9663.794     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      224 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83849        9.6722        .12584E-01    .14575E-02
   2  alpha         2.7577        3.7069        .24644        .11193E-03
   3  Normalizat    1.2163        .51520E-01    .75702E-01   -.34420E-05
   4  Prefactor     .79406        .26424E-01    .43640E-01   -.26205E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.838489
  alpha      = 2.75773
  Normalizat = 1.21626
  Prefactor  = 0.794058
 **********
 **   18 **HESSE 
 **********

 FCN=   9663.794     FROM HESSE     STATUS=OK            35 CALLS      259 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83849        1.5638        .66659E-03   -1.5525    
   2  alpha         2.7577        .94806        .12244E-01    .10328    
   3  Normalizat    1.2163        .23309        .33505E-03   -.86102    
   4  Prefactor     .79406        .12061        .21077E-03   -.99948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76505e-09
Minuit parameter uncertainties:
  1  1.56389
  2  0.972669
  3  0.233289
  4  0.120654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533230': 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) = 9663.79398973
delta logL = 0.958808488233

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  8.385e-01  1.564e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  2.758e+00  9.727e-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.941e-01  1.207e-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.216e+00  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 340.990 20.357
Photon Index (Free Index): 2.76 +/- 0.97
Photon Flux (Free Index): 5.82e-08 +/- 4.70e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.32e-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/533230/cmap_HighResolution_671414401_671673601_4FGL_J2243.9+2021_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-05', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='9.59e-01', photon_flux2='5.82e-08', job_status='DONE', time_completed='2022-04-15 03:57:08.226732', photon_index_error2='0.97', photon_index2='2.76', ts='0.42', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='5.60e-08', energy_flux_error2='1.32e-05', EG='1.26', time_epoch_completed='1650020228.23', return_code='0', job_id='533230', GAL2='0.79', EG2='1.22', return_code2='0', photon_flux_error2='4.70e-08', ts2='2.35', photon_index='1.72' WHERE bin_id='1667' AND source_name='4FGL J2243.9+2021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:57:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 533230: <4FGL_J2243.9+2021_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2243.9+2021_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 03:40:44 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:42:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:42:00 2022
Terminated at Fri Apr 15 03:57:09 2022
Results reported at Fri Apr 15 03:57:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.9+2021_daily_bin1667 340.99 20.3565 671414401 671673601 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 :                                   889.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            985 sec.

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

