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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1024
RA = 340.865, Dec = -25.7363
tmin = 504748801, tmax = 505008001
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='436747', job_status='RUN', time_executed='2021-09-28 18:37:44.779441', time_epoch_executed='1632879464.78' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436747/ft1_4FGL_J2243.4-2544_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436747/ft1_4FGL_J2243.4-2544_daily_bin1024.fits outfile=/scratch/kocevski/436747/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1024.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.39
user 8.04
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.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/436747/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1024.fits evtable="EVENTS" outfile="/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/436747/ltcube_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.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/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits
.....................!
real 11.42
user 10.99
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/436747/ltcube_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.fits outfile=/scratch/kocevski/436747/expmap_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.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/436747/ltcube_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.fits
.....................!
real 189.85
user 185.61
sys 3.88

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.4-2544 @ 340.865 -25.7363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits scfile=/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits outfile=/scratch/kocevski/436747/cmap_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.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.865 yref=-25.7363 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits scfile=/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits outfile=/scratch/kocevski/436747/cmap_HighResolution_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.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.865 yref=-25.7363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436747/Model_4FGL_J2243.4-2544_daily_bin1024.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/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits.....................!
real 77.36
user 75.83
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits', '/scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits', expMap='/scratch/kocevski/436747/expmap_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.fits', expCube='/scratch/kocevski/436747/ltcube_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436747/Model_4FGL_J2243.4-2544_daily_bin1024.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.4-2544'

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.477e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/436747/ft1_filtered_4FGL_J2243.4-2544_daily_bin1024.fits
Spacecraft file(s): /scratch/kocevski/436747/ft2_4FGL_J2243.4-2544_daily_bin1024.fits
Exposure map: /scratch/kocevski/436747/expmap_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.fits
Exposure cube: /scratch/kocevski/436747/ltcube_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436747/Model_4FGL_J2243.4-2544_daily_bin1024.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) = 11061.6434681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5423       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4956       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9760       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.735       1.0000         .10000E-03   10000.    
     8 'norm      '    32.952       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8149       1.0000         .10000E-03   10000.    
    11 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .89693       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .68925       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1264       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.319       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.9599       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8352       1.0000         .10000E-03   10000.    
    22 'norm      '    .96483       1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.177       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87176       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11061.64     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     2959 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6439       -.68755E-07** at limit **
   2  Prefactor     .10000E-03    15.538        .17266E-07** at limit **
   3  norm          1.5423        .31189        .12308E-08   -.28235E-04
   4  Prefactor     1.4980        5.7035        .15890E-05   -.58647E-04
   5  Prefactor     2.6216        12.931       -.11017E-05   -.95348E-04
   6  Prefactor     1.9759        6.0782        .12648E-05   -.46990E-04
   7  Prefactor     28.754        34.364        .11867E-05    .58112E-04
   8  norm          32.954        14.866       -.13659E-05   -.39559E-03
   9  Prefactor     .10000E-03    5.8571        .57700E-07** at limit **
  10  Prefactor     5.8106        7.3311        .18500E-06    .19623E-03
  11  norm          .10000E-03    .22573        .37604E-07** at limit **
  12  norm          .89772        .74797        .14066E-07    .72866E-03
  13  Prefactor     .53969        20.032       -.22580E-05    .43023E-03
  14  Prefactor     .10000E-03    4.0407        .11915E-06** at limit **
  15  norm          1.1242        1.9681        .33912E-06   -.13708E-03
  16  Prefactor     .10000E-03    2.8885        .11528E-06** at limit **
  17  Prefactor     14.322        7.5943        .57992E-07   -.17055E-03
  18  norm          .10000E-03    .14232        .21684E-06** at limit **
  19  Prefactor     .10000E-03    97.261        .39483E-05** at limit **
  20  Prefactor     7.9605        5.7721        .77464E-07    .22657E-05
  21  Prefactor     7.8320        8.6737       -.52296E-06   -.29783E-03
  22  norm          .96606        1.8557        .62155E-06    .43903E-04
  23  Prefactor     20.166        23.279       -.45609E-07   -.13078E-04
  24  Normalizat    .87187        .13942       -.62131E-06   -.29359E-04
  25  Prefactor     1.0553        .12561       -.16061E-06   -.10708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.54233
  Prefactor  = 1.49796
  Prefactor  = 2.62157
  Prefactor  = 1.97588
  Prefactor  = 28.7541
  norm       = 32.9539
  Prefactor  = 0.0001
  Prefactor  = 5.81055
  norm       = 0.0001
  norm       = 0.89772
  Prefactor  = 0.539685
  Prefactor  = 0.0001
  norm       = 1.12418
  Prefactor  = 0.0001
  Prefactor  = 14.3222
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 7.96047
  Prefactor  = 7.83198
  norm       = 0.966065
  Prefactor  = 20.1655
  Normalizat = 0.871867
  Prefactor  = 1.05534
 **********
 **   18 **HESSE 
 **********

 FCN=   11061.64     FROM HESSE     STATUS=OK           447 CALLS     3406 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5423        .31261        .25652E-04   -1.5460    
   4  Prefactor     1.4980        5.7582        .35034E-03   -1.5463    
   5  Prefactor     2.6216        12.962        .25176E-03   -1.5384    
   6  Prefactor     1.9759        6.1564        .29491E-03   -1.5427    
   7  Prefactor     28.754        34.414        .74738E-04   -1.4635    
   8  norm          32.954        15.342        .69805E-04   -1.4559    
   9  Prefactor     .10000E-03    5.8684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.8106        7.3330        .16655E-03   -1.5226    
  11  norm          .10000E-03    .74697        .96766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .89772        .87580        .78515E-03   -1.5518    
  13  Prefactor     .53969        25.185        .11611       -1.5561    
  14  Prefactor     .10000E-03    4.0892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1242        1.9216        .18052E-03   -1.5496    
  16  Prefactor     .10000E-03    2.8903        .17445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.322        7.4531        .10585E-03   -1.4951    
  18  norm          .10000E-03    .22140        .70584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    100.14        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.9605        5.7742        .14212E-03   -1.5144    
  21  Prefactor     7.8320        8.6998        .14325E-03   -1.5148    
  22  norm          .96606        1.8239        .19214E-03   -1.5511    
  23  Prefactor     20.166        23.204        .89167E-04   -1.4810    
  24  Normalizat    .87187        .16647        .25491E-03   -.97456    
  25  Prefactor     1.0553        .14937        .22247E-03   -.90907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19314e-09
Minuit parameter uncertainties:
  1  2.7441e-06
  2  6.38932e-06
  3  0.312611
  4  5.76036
  5  11.6623
  6  6.15832
  7  34.4379
  8  15.3435
  9  2.86329e-06
  10  7.33417
  11  4.09849e-06
  12  0.875816
  13  7.37612
  14  3.79231e-06
  15  1.92174
  16  1.58856e-08
  17  7.45356
  18  4.4714e-06
  19  0.000816062
  20  5.77458
  21  8.70123
  22  1.82399
  23  23.2145
  24  0.166569
  25  0.149433
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  8.977e-01  8.758e-01  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  1.055e+00  1.494e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  8.719e-01  1.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.79
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 8.69e-09 +/- 8.47e-09
Energy Flux (Fixed Index): 5.53e-06 +/- 5.39e-06

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) = 11057.5784396
delta logL = 4.06123976496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11057.5757411
delta logL = 4.06393822772

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69849E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    .94613E-08   1.0000          .0000       5.0000    
     3 'Normalizat'    .87808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11057.58     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      262 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70077E-01    .21374        .61283E-02   -.44184E-02
   2  alpha         .19551E-11    3.6793        .46267    ** at limit **
   3  Normalizat    .87810        .12887        .44621E-01    .63255E-04
   4  Prefactor     1.0540        .12321        .39677E-01   -.43768E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.070077
  alpha      = 1.9551e-12
  Normalizat = 0.8781
  Prefactor  = 1.05403
 **********
 **   18 **HESSE 
 **********

 FCN=   11057.58     FROM HESSE     STATUS=OK            35 CALLS      297 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70077E-01    .70893E-01    .28788E-03   -1.5655    
   2  alpha         .19551E-11    .81611        .53950E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .87810        .15149        .25409E-03   -.97234    
   4  Prefactor     1.0540        .14488        .22260E-03   -.90949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17884e-11
Minuit parameter uncertainties:
  1  0.0708935
  2  2.60071e-06
  3  0.151562
  4  0.144938
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436747': 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) = 11057.5757357
delta logL = 4.06394358867

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  7.008e-02  7.089e-02  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.955e-12  2.601e-06  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  1.054e+00  1.449e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  8.781e-01  1.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.91
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 1.72e-09 +/- 1.74e-09
Energy Flux (Free Index): 5.09e-05 +/- 5.15e-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/436747/cmap_HighResolution_504748801_505008001_4FGL_J2243.4-2544_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.69e-09', energy_flux2='5.09e-05', photon_flux_error='8.47e-09', dlogl='4.06e+00', energy_flux='5.53e-06', photon_flux2='1.72e-09', job_status='DONE', time_completed='2021-09-28 18:51:33.774304', photon_index_error2='0.00', photon_index2='0.00', ts='8.79', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='5.15e-05', EG='0.87', time_epoch_completed='1632880293.77', return_code='0', job_id='436747', GAL2='1.05', EG2='0.88', return_code2='0', energy_flux_error='5.39e-06', photon_flux_error2='1.74e-09', ts2='16.91', photon_index='2.00' WHERE bin_id='1024' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:51:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 436747: <4FGL_J2243.4-2544_daily_bin1024> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1024> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:35:37 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:35:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 18:35:38 2021
Terminated at Tue Sep 28 18:51:34 2021
Results reported at Tue Sep 28 18:51:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1024 340.865 -25.7363 504748801 505008001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.4-2544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   825.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            957 sec.

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

