/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 138 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 = 7475
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.9+2021_daily_bin485
RA = 340.99, Dec = 20.3565
tmin = 365040001, tmax = 365299201
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='448264', job_status='RUN', time_executed='2021-09-28 19:13:18.697227', time_epoch_executed='1632881598.7' WHERE source_name='4FGL J2243.9+2021' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/448264

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/448264/ft1_4FGL_J2243.9+2021_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/448264/ft2_4FGL_J2243.9+2021_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/448264/ft1_4FGL_J2243.9+2021_daily_bin485.fits outfile=/scratch/kocevski/448264/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin485.fits ra=340.99 dec=20.3565 rad=12.0 tmin=365040001.0 tmax=365299201.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.71
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/448264/ft2_4FGL_J2243.9+2021_daily_bin485.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/448264/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin485.fits evtable="EVENTS" outfile="/scratch/kocevski/448264/ft1_filtered_4FGL_J2243.9+2021_daily_bin485.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.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/448264/ft1_filtered_4FGL_J2243.9+2021_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/448264/ft2_4FGL_J2243.9+2021_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/448264/ltcube_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.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/448264/ft2_4FGL_J2243.9+2021_daily_bin485.fits
.....................!
real 12.18
user 11.75
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/448264/ft1_filtered_4FGL_J2243.9+2021_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/448264/ft2_4FGL_J2243.9+2021_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/448264/ltcube_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.fits outfile=/scratch/kocevski/448264/expmap_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.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/448264/ltcube_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.fits
.....................!
real 192.64
user 187.13
sys 4.94

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/448264/ft1_filtered_4FGL_J2243.9+2021_daily_bin485.fits scfile=/scratch/kocevski/448264/ft2_4FGL_J2243.9+2021_daily_bin485.fits outfile=/scratch/kocevski/448264/cmap_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.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/448264/ft1_filtered_4FGL_J2243.9+2021_daily_bin485.fits scfile=/scratch/kocevski/448264/ft2_4FGL_J2243.9+2021_daily_bin485.fits outfile=/scratch/kocevski/448264/cmap_HighResolution_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.445       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2937       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.561       1.0000         .10000E-03   10000.    
     4 'norm      '    3.4983       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.722       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4586       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.003       1.0000         .10000E-03   10000.    
    10 'norm      '    .53283       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.114       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4522       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21492       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.211       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.1292       1.0000         .10000E-03   10000.    
    23 'Prefactor '    36.051       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .81908       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99402       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=   9153.059     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2910 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.440        55.277       -.57128E-06   -.46021E-04
   2  norm          1.2936        .94914        .49007E-07   -.85239E-04
   3  Prefactor     12.561        12.591        .42668E-06   -.76658E-04
   4  norm          3.4986        4.0460        .20433E-06   -.95003E-04
   5  Prefactor     11.724        16.643        .22321E-06   -.20555E-05
   6  Prefactor     .10000E-03    38.886       -.22387E-05** at limit **
   7  Prefactor     .10000E-03    5.7093       -.43997E-07** at limit **
   8  Prefactor     1.4586        .30733       -.10980E-07   -.49606E-04
   9  Prefactor     10.003        9.3371        .95676E-06   -.24572E-03
  10  norm          .53299        .84270        .30929E-06    .33819E-03
  11  Prefactor     12.114        13.970       -.17238E-06   -.22334E-04
  12  norm          1.4522        1.0132       -.94974E-08    .58079E-05
  13  Prefactor     .10000E-03    34.002        .23602E-05** at limit **
  14  Prefactor     .10000E-03    10.294        .69841E-06** at limit **
  15  Prefactor     .10000E-03    8.9204       -.21773E-06** at limit **
  16  Prefactor     .21491        .14483        .15664E-07   -.86092E-03
  17  Prefactor     .10000E-03    2.5097        .36706E-08** at limit **
  18  Prefactor     14.211        8.1172        .64839E-06   -.33539E-03
  19  Prefactor     .10000E-03    11.739       -.35552E-06** at limit **
  20  Prefactor     .10000E-03    18.058       -.14073E-06** at limit **
  21  Prefactor     .10000E-03    5.9379        .76281E-07** at limit **
  22  Prefactor     6.1296        8.0305        .19530E-06   -.54791E-04
  23  Prefactor     36.052        21.352        .10355E-07    .15111E-04
  24  Normalizat    .81894        .21086       -.68797E-06   -.57120E-04
  25  Prefactor     .99406        .10765       -.85316E-07   -.97674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.4397
  norm       = 1.29364
  Prefactor  = 12.561
  norm       = 3.49864
  Prefactor  = 11.7236
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.45856
  Prefactor  = 10.0033
  norm       = 0.532993
  Prefactor  = 12.1137
  norm       = 1.45223
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.214907
  Prefactor  = 0.0001
  Prefactor  = 14.2106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.12959
  Prefactor  = 36.0522
  Normalizat = 0.818945
  Prefactor  = 0.994063
 **********
 **   18 **HESSE 
 **********

 FCN=   9153.059     FROM HESSE     STATUS=OK           431 CALLS     3341 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.440        55.554        .62267E-04   -1.4420    
   2  norm          1.2936        .93418        .76522E-04   -1.5480    
   3  Prefactor     12.561        12.588        .56512E-03   -1.4999    
   4  norm          3.4986        4.0364        .19956E-03   -1.5334    
   5  Prefactor     11.724        16.726        .11701E-03   -1.5023    
   6  Prefactor     .10000E-03    40.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.7348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4586        .30983        .21174E-04   -1.5466    
   9  Prefactor     10.003        9.3787        .63347E-03   -1.5075    
  10  norm          .53299        .77474        .10902E-02   -1.5562    
  11  Prefactor     12.114        13.892        .11509E-03   -1.5012    
  12  norm          1.4522        1.0277        .78377E-04   -1.5467    
  13  Prefactor     .10000E-03    35.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.690        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.9480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21491        .13907        .27141E-04   -1.5615    
  17  Prefactor     .10000E-03    2.5127        .14801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.211        8.1093        .53124E-03   -1.4954    
  19  Prefactor     .10000E-03    12.151        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.9423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.1296        8.0053        .16216E-03   -1.5213    
  23  Prefactor     36.052        21.302        .66747E-04   -1.4506    
  24  Normalizat    .81894        .24284        .38354E-03   -.99370    
  25  Prefactor     .99406        .12618        .18836E-03   -.92928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1782e-10
Minuit parameter uncertainties:
  1  55.6231
  2  0.934193
  3  12.5911
  4  4.03671
  5  16.7329
  6  0.000636436
  7  3.89633e-06
  8  0.309825
  9  9.38007
  10  0.774754
  11  13.8957
  12  1.02768
  13  0.000573092
  14  7.18615e-05
  15  3.06358e-05
  16  0.139074
  17  1.54273e-07
  18  8.10989
  19  4.13703e-05
  20  2.97128e-05
  21  8.10584e-06
  22  8.00674
  23  21.3069
  24  0.243163
  25  0.126217
Done.

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

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.452e+00  1.028e+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:  9.941e-01  1.262e-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:  8.189e-01  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.91
Ra Dec: 340.990 20.357
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 1.64e-08 +/- 1.16e-08
Energy Flux (Fixed Index): 2.13e-05 +/- 1.51e-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) = 9150.60206194
delta logL = 2.45719827304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9150.56596466
delta logL = 2.49329555752

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44919       1.0000         .10000E-03   10000.    
     2 'alpha     '    .52987       1.0000          .0000       5.0000    
     3 'Normalizat'    .82468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99547       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=   9150.566     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      221 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44773        .36608        .10159E-01   -.11271E-02
   2  alpha         .52860        .38654        .39878       -.22869E-04
   3  Normalizat    .82435        .19772        .86322E-01    .80453E-04
   4  Prefactor     .99563        .10668        .46211E-01    .51709E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.447726
  alpha      = 0.528604
  Normalizat = 0.824353
  Prefactor  = 0.995631
 **********
 **   18 **HESSE 
 **********

 FCN=   9150.566     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44773        .58006        .41260E-03   -1.5574    
   2  alpha         .52860        .51213        .19165E-01   -.90846    
   3  Normalizat    .82435        .23077        .38228E-03   -.99172    
   4  Prefactor     .99563        .12483        .18818E-03   -.92875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76622e-10
Minuit parameter uncertainties:
  1  0.580065
  2  0.522107
  3  0.231042
  4  0.124864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/448264': 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) = 9150.56596065
delta logL = 2.49329957154

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  4.477e-01  5.801e-01  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  5.286e-01  5.221e-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:  9.956e-01  1.249e-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:  8.244e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.89
Ra Dec: 340.990 20.357
Photon Index (Free Index): 0.53 +/- 0.52
Photon Flux (Free Index): 5.71e-09 +/- 4.21e-09
Energy Flux (Free Index): 1.23e-04 +/- 1.17e-04

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/448264/cmap_HighResolution_365040001_365299201_4FGL_J2243.9+2021_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-08', energy_flux2='1.23e-04', photon_flux_error='1.16e-08', dlogl='2.49e+00', energy_flux='2.13e-05', photon_flux2='5.71e-09', job_status='DONE', time_completed='2021-09-28 19:25:45.728733', photon_index_error2='0.52', photon_index2='0.53', ts='13.91', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.17e-04', EG='0.82', time_epoch_completed='1632882345.73', return_code='0', job_id='448264', GAL2='1.00', EG2='0.82', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='4.21e-09', ts2='18.89', photon_index='1.72' WHERE bin_id='485' AND source_name='4FGL J2243.9+2021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:25:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 448264: <4FGL_J2243.9+2021_daily_bin485> in cluster <slac> Done

Job <4FGL_J2243.9+2021_daily_bin485> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 19:10:50 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:10:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:10:51 2021
Terminated at Tue Sep 28 19:25:46 2021
Results reported at Tue Sep 28 19:25:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.9+2021_daily_bin485 340.99 20.3565 365040001 365299201 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 :                                   745.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            896 sec.

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

