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


Performing analysis on: 4FGL_J2243.9+2021_daily_bin747
RA = 340.99, Dec = 20.3565
tmin = 432950401, tmax = 433209601
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='449625', job_status='RUN', time_executed='2021-09-28 19:19:13.586256', time_epoch_executed='1632881953.59' WHERE source_name='4FGL J2243.9+2021' and cadence='daily' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/449625

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/449625/ft1_4FGL_J2243.9+2021_daily_bin747.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/449625/ft2_4FGL_J2243.9+2021_daily_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/449625/ft1_4FGL_J2243.9+2021_daily_bin747.fits outfile=/scratch/kocevski/449625/ft1_filteredMKT_4FGL_J2243.9+2021_daily_bin747.fits ra=340.99 dec=20.3565 rad=12.0 tmin=432950401.0 tmax=433209601.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 5.68
user 5.40
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/449625/ft1_filtered_4FGL_J2243.9+2021_daily_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/449625/ft2_4FGL_J2243.9+2021_daily_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/449625/ltcube_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.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/449625/ft2_4FGL_J2243.9+2021_daily_bin747.fits
.....................!
real 14.15
user 13.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/449625/ft1_filtered_4FGL_J2243.9+2021_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/449625/ft2_4FGL_J2243.9+2021_daily_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/449625/ltcube_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.fits outfile=/scratch/kocevski/449625/expmap_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.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/449625/ltcube_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.fits
.....................!
real 191.95
user 186.52
sys 4.93

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/449625/ft1_filtered_4FGL_J2243.9+2021_daily_bin747.fits scfile=/scratch/kocevski/449625/ft2_4FGL_J2243.9+2021_daily_bin747.fits outfile=/scratch/kocevski/449625/cmap_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/449625/ft1_filtered_4FGL_J2243.9+2021_daily_bin747.fits scfile=/scratch/kocevski/449625/ft2_4FGL_J2243.9+2021_daily_bin747.fits outfile=/scratch/kocevski/449625/cmap_HighResolution_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10254E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17595E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.9192       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    268.50       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.911       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1740       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.552       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1137       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.074       1.0000         .10000E-03   10000.    
    12 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    195.33       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .79883E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5181       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2802       1.0000         .10000E-03   10000.    
    19 'Prefactor '    41.614       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9590       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.503       1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.720       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4226       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .81519       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=   4854.263     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     2971 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.724       -.63306E-07** at limit **
   2  norm          .10000E-03    1.0248        .75617E-07** at limit **
   3  Prefactor     .10000E-03    69.617       -.74712E-06** at limit **
   4  norm          9.9195        9.0612       -.40235E-07   -.48448E-04
   5  Prefactor     .10000E-03    10.816        .35305E-07** at limit **
   6  Prefactor     268.49        191.61       -.63391E-05   -.74229E-05
   7  Prefactor     18.927        28.601        .25262E-04    .10040E-04
   8  Prefactor     1.1741        .46700        .20671E-06    .40779E-04
   9  Prefactor     17.546        17.805        .88873E-06    .46747E-05
  10  norm          3.1140        1.8949       -.94435E-07   -.16556E-03
  11  Prefactor     14.075        23.247        .76364E-05   -.13554E-04
  12  norm          .10000E-03    1.7404        .94928E-07** at limit **
  13  Prefactor     195.22        114.88       -.56183E-04    .77655E-04
  14  Prefactor     .10142E-03    25.215       -.19406E-05** at limit **
  15  Prefactor     .10000E-03    20.622        .56254E-06** at limit **
  16  Prefactor     4.5192        .63330        .69465E-06   -.54011E-02
  17  Prefactor     .10000E-03    9.1738       -.45905E-07** at limit **
  18  Prefactor     4.2680        13.768       -.10378E-05   -.63451E-04
  19  Prefactor     41.615        29.413        .63596E-05    .42337E-06
  20  Prefactor     6.8178        45.061        .24519E-04   -.12631E-04
  21  Prefactor     .10000E-03    15.555       -.33361E-06** at limit **
  22  Prefactor     10.503        14.550       -.61680E-05   -.45734E-04
  23  Prefactor     24.722        28.380        .36204E-05    .75494E-06
  24  Normalizat    1.4217        .40506       -.93748E-05    .21456E-03
  25  Prefactor     .81582        .18494        .14769E-05   -.53713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 9.91949
  Prefactor  = 0.0001
  Prefactor  = 268.493
  Prefactor  = 18.9268
  Prefactor  = 1.17411
  Prefactor  = 17.5456
  norm       = 3.11396
  Prefactor  = 14.0751
  norm       = 0.0001
  Prefactor  = 195.215
  Prefactor  = 0.000101418
  Prefactor  = 0.0001
  Prefactor  = 4.51921
  Prefactor  = 0.0001
  Prefactor  = 4.26797
  Prefactor  = 41.6153
  Prefactor  = 6.8178
  Prefactor  = 0.0001
  Prefactor  = 10.5031
  Prefactor  = 24.7223
  Normalizat = 1.42175
  Prefactor  = 0.815816
 **********
 **   18 **HESSE 
 **********

 FCN=   4854.263     FROM HESSE     STATUS=OK           437 CALLS     3408 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.1155        .13585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    70.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.9195        9.0524        .12723E-03   -1.5078    
   5  Prefactor     .10000E-03    10.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     268.49        191.75        .12373E-03   -1.2416    
   7  Prefactor     18.927        28.783        .92101E-04   -1.4838    
   8  Prefactor     1.1741        .46773        .28193E-04   -1.5491    
   9  Prefactor     17.546        17.843        .95599E-04   -1.4870    
  10  norm          3.1140        1.8936        .71061E-04   -1.5355    
  11  Prefactor     14.075        23.248        .10677E-03   -1.4957    
  12  norm          .10000E-03    1.7618        .89591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     195.22        115.13        .14452E-03   -1.2904    
  14  Prefactor     .10142E-03    33.376        .92354E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5192        .63740        .18049E-04   -1.5283    
  17  Prefactor     .10000E-03    9.1947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2680        13.740        .19474E-03   -1.5295    
  19  Prefactor     41.615        29.437        .62141E-04   -1.4417    
  20  Prefactor     6.8178        44.998        .15208E-03   -1.5186    
  21  Prefactor     .10000E-03    15.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.503        14.559        .12363E-03   -1.5060    
  23  Prefactor     24.722        28.371        .80568E-04   -1.4713    
  24  Normalizat    1.4217        .47748        .41347E-03   -.80002    
  25  Prefactor     .81582        .21699        .26093E-03   -.99148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7802e-09
Minuit parameter uncertainties:
  1  4.65262e-06
  2  2.31388e-05
  3  0.0011074
  4  9.05365
  5  2.03653e-05
  6  192.198
  7  28.8037
  8  0.467734
  9  17.8481
  10  1.89367
  11  23.2629
  12  2.43522e-06
  13  115.262
  14  0.0137682
  15  0.000104073
  16  0.6374
  17  1.04747e-05
  18  13.7504
  19  29.4472
  20  35.0687
  21  1.38039e-05
  22  14.5643
  23  28.3861
  24  0.478996
  25  0.217222
Done.

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

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.000e-04  2.435e-06  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:  8.158e-01  2.172e-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.422e+00  4.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.990 20.357
Photon Flux Upper Limit: 8.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/449625/likelihoodResults_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.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): 102
logL (Free Index) = 4854.2654359
delta logL = -0.00264009366947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4853.527682
delta logL = 0.735113809025

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15561E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87463       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4853.528     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      487 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15559E-01    .16792E-01    .77720E-04    .10428E-02
   2  alpha         5.0000        .95548        .50000    ** at limit **
   3  Normalizat    1.2333        .46178        .43746E-03   -.20375E-04
   4  Prefactor     .87489        .22146        .25272E-03   -.66938E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0155589
  alpha      = 5
  Normalizat = 1.23335
  Prefactor  = 0.874893
 **********
 **   18 **HESSE 
 **********

 FCN=   4853.528     FROM HESSE     STATUS=OK            31 CALLS      518 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15559E-01    .16344E-01    .31088E-05   -1.5683    
   2  alpha         5.0000        .91008        .50000        1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2333        .46308        .17498E-04   -.85579    
   4  Prefactor     .87489        .22187        .10109E-04   -.97024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32966e-09
Minuit parameter uncertainties:
  1  0.0163442
  2  0.000335512
  3  0.464638
  4  0.2221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/449625': 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) = 4853.52768094
delta logL = 0.73511486284

Extracting fit parameters...

4FGL J2243.9+2021
   Spectrum: LogParabola
288         norm:  1.556e-02  1.634e-02  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  5.000e+00  3.355e-04  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:  8.749e-01  2.221e-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.233e+00  4.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 340.990 20.357
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.90e-07 +/- 1.99e-07
Energy Flux (Free Index): 2.61e-05 +/- 2.74e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/449625/cmap_HighResolution_432950401_433209601_4FGL_J2243.9+2021_daily_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-04', comment='SUCCESS', energy_flux2='2.61e-05', dlogl='7.35e-01', photon_flux2='1.90e-07', job_status='DONE', time_completed='2021-09-28 19:29:44.705652', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='2.74e-05', EG='1.42', time_epoch_completed='1632882584.71', return_code='0', job_id='449625', GAL2='0.87', EG2='1.23', return_code2='0', photon_flux_error2='1.99e-07', ts2='1.62', photon_index='1.72' WHERE bin_id='747' AND source_name='4FGL J2243.9+2021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:29:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 449625: <4FGL_J2243.9+2021_daily_bin747> in cluster <slac> Done

Job <4FGL_J2243.9+2021_daily_bin747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 28 19:15:27 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:15:28 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:15:28 2021
Terminated at Tue Sep 28 19:29:45 2021
Results reported at Tue Sep 28 19:29:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.9+2021_daily_bin747 340.99 20.3565 432950401 433209601 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 :                                   631.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            858 sec.

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

