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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1403
RA = 340.865, Dec = -25.7363
tmin = 602985601, tmax = 603244801
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='438374', job_status='RUN', time_executed='2021-09-28 18:42:09.713114', time_epoch_executed='1632879729.71' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438374

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438374/ft1_4FGL_J2243.4-2544_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438374/ft1_4FGL_J2243.4-2544_daily_bin1403.fits outfile=/scratch/kocevski/438374/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1403.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=602985601.0 tmax=603244801.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.01
user 2.81
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.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/438374/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1403.fits evtable="EVENTS" outfile="/scratch/kocevski/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.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/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits" evtable="EVENTS" scfile=/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits sctable="SC_DATA" outfile=/scratch/kocevski/438374/ltcube_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.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/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits
.....................!
real 12.58
user 12.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/438374/ltcube_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.fits outfile=/scratch/kocevski/438374/expmap_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.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/438374/ltcube_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.fits
.....................!
real 193.14
user 187.83
sys 4.92

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/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits scfile=/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits outfile=/scratch/kocevski/438374/cmap_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits scfile=/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits outfile=/scratch/kocevski/438374/cmap_HighResolution_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438374/Model_4FGL_J2243.4-2544_daily_bin1403.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/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits..........................!
real 18.84
user 17.48
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits', '/scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits', expMap='/scratch/kocevski/438374/expmap_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.fits', expCube='/scratch/kocevski/438374/ltcube_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/438374/Model_4FGL_J2243.4-2544_daily_bin1403.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/438374/ft1_filtered_4FGL_J2243.4-2544_daily_bin1403.fits
Spacecraft file(s): /scratch/kocevski/438374/ft2_4FGL_J2243.4-2544_daily_bin1403.fits
Exposure map: /scratch/kocevski/438374/expmap_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.fits
Exposure cube: /scratch/kocevski/438374/ltcube_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/438374/Model_4FGL_J2243.4-2544_daily_bin1403.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) = 882.336378201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    629.49       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.332       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.951       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10893E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.331       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.164       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.235       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.239       1.0000         .10000E-03   10000.    
    22 'norm      '    .12743E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    101.25       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .46899       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .67480       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=   882.2983     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     3422 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        1705.0        .85574E-03** at limit **
   2  Prefactor    10000.0        6242.1        .35166E-03** at limit **
   3  norm          .10000E-03    57.581       -.43818E-04** at limit **
   4  Prefactor     630.32        1366.7        .34191E-03    .54616E-05
   5  Prefactor     .10000E-03    189.21        .82386E-04** at limit **
   6  Prefactor     44.365        84.523        .14843E-04    .25207E-04
   7  Prefactor     .10000E-03    688.54        .12980E-03** at limit **
   8  norm          .10000E-03    66.754        .30751E-04** at limit **
   9  Prefactor     .10000E-03    54.752        .22602E-04** at limit **
  10  Prefactor     30.940        48.061       -.21682E-05    .75228E-04
  11  norm          .10000E-03    2.2885       -.92254E-07** at limit **
  12  norm          .10000E-03    3.1203       -.48169E-07** at limit **
  13  Prefactor     .10000E-03    166.26       -.68772E-04** at limit **
  14  Prefactor     65.327        43.714       -.20801E-05    .25577E-04
  15  norm          .10000E-03    4.7221        .34695E-07** at limit **
  16  Prefactor     .10000E-03    17.960        .57681E-07** at limit **
  17  Prefactor     16.157        24.532       -.15908E-05    .49908E-04
  18  norm          .10000E-03    .93084        .68745E-07** at limit **
  19  Prefactor     .10000E-03    85.782       -.11108E-04** at limit **
  20  Prefactor     27.233        33.196        .18606E-05   -.98904E-05
  21  Prefactor     17.235        22.025        .42652E-06    .26258E-04
  22  norm          .10000E-03    8.4506        .62412E-06** at limit **
  23  Prefactor     101.25        89.917       -.48138E-06   -.36955E-04
  24  Normalizat    .46952        .46204       -.61055E-05   -.29909E-04
  25  Prefactor     .67437        .36923       -.16123E-05   -.45179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.000100003
  Prefactor  = 630.321
  Prefactor  = 0.000100002
  Prefactor  = 44.3652
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.94
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.3266
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1566
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2331
  Prefactor  = 17.2353
  norm       = 0.000100001
  Prefactor  = 101.251
  Normalizat = 0.469521
  Prefactor  = 0.674369
 **********
 **   18 **HESSE 
 **********

 FCN=   882.2983     FROM HESSE     STATUS=OK           411 CALLS     3833 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        1704.2        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        6242.2        .20577E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    57.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     630.32        1366.6        .82348E-04   -1.0632    
   5  Prefactor     .10000E-03    188.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.365        84.467        .60213E-04   -1.4375    
   7  Prefactor     .10000E-03    690.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    66.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    54.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.940        48.159        .72020E-04   -1.4595    
  11  norm          .10000E-03    2.3716        .87709E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.1218        .51246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    166.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     65.327        43.829        .49652E-04   -1.4090    
  15  norm          .10000E-03    4.7230        .63027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.962        .12297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.157        24.508        .99619E-04   -1.4904    
  18  norm          .10000E-03    .94375        .55128E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    85.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.233        33.177        .76765E-04   -1.4664    
  21  Prefactor     17.235        21.975        .96464E-04   -1.4877    
  22  norm          .10000E-03    15.736        .16140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     101.25        88.667        .39955E-04   -1.3692    
  24  Normalizat    .46952        .53051        .29789E-03   -1.1385    
  25  Prefactor     .67437        .42866        .22502E-03   -1.0454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4849e-10
Minuit parameter uncertainties:
  1  0.00182083
  2  0.00260922
  3  0.000840269
  4  1451.38
  5  0.00120727
  6  84.6966
  7  0.000993659
  8  0.000170052
  9  0.000106832
  10  48.22
  11  1.12419e-05
  12  6.29369e-06
  13  0.000168751
  14  43.8503
  15  2.49901e-06
  16  1.29249e-05
  17  24.5228
  18  6.06389e-06
  19  1.18268e-05
  20  33.1994
  21  21.9855
  22  0.000252761
  23  88.7836
  24  0.53636
  25  0.430775
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  6.294e-06  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:  6.744e-01  4.308e-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:  4.695e-01  5.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/438374/likelihoodResults_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.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) = 882.299193832
delta logL = -0.000864451616167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 882.298329363
delta logL = 1.68657834365e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9939       1.0000          .0000       5.0000    
     3 'Normalizat'    .46951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67436       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   882.2983     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      231 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2783        .51327E-03** at limit **
   2  alpha         1.6665        3.0697        .16909E-01   -.59924E-07
   3  Normalizat    .46952        .45520        .29789E-03    .14235E-04
   4  Prefactor     .67437        .41418        .22502E-03    .20279E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.66648
  Normalizat = 0.469521
  Prefactor  = 0.67437
 **********
 **   18 **HESSE 
 **********

 FCN=   882.2983     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2748        .10265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6665        3.0942        .67634E-03   -.33992    
   3  Normalizat    .46952        .45557        .11916E-04   -1.1385    
   4  Prefactor     .67437        .41452        .90008E-05   -1.0454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71981e-11
Minuit parameter uncertainties:
  1  8.7998e-06
  2  258.695
  3  0.459251
  4  0.416428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438374': 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) = 882.298328632
delta logL = 7.48036200093e-07

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  8.800e-06  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.666e+00  2.587e+02  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:  6.744e-01  4.164e-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:  4.695e-01  4.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.865 -25.736

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/438374/cmap_HighResolution_602985601_603244801_4FGL_J2243.4-2544_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-04', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-09-28 18:48:35.332328', job_id='438374', GAL2='0.67', fit_tolerance='1e-08', EG2='0.47', EG='0.47', time_epoch_completed='1632880115.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='7.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1403' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:48:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 438374: <4FGL_J2243.4-2544_daily_bin1403> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1403> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:43 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:40:44 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:40:44 2021
Terminated at Tue Sep 28 18:48:36 2021
Results reported at Tue Sep 28 18:48:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1403 340.865 -25.7363 602985601 603244801 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 :                                   366.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   471 sec.
    Turnaround time :                            473 sec.

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

