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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1010
RA = 340.865, Dec = -25.7363
tmin = 501120001, tmax = 501379201
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='436727', job_status='RUN', time_executed='2021-09-28 18:36:44.276728', time_epoch_executed='1632879404.28' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436727

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436727/ft1_4FGL_J2243.4-2544_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436727/ft1_4FGL_J2243.4-2544_daily_bin1010.fits outfile=/scratch/kocevski/436727/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1010.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=501120001.0 tmax=501379201.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.50
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.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/436727/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1010.fits evtable="EVENTS" outfile="/scratch/kocevski/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.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/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/436727/ltcube_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.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/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits
.....................!
real 12.07
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/436727/ltcube_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.fits outfile=/scratch/kocevski/436727/expmap_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.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/436727/ltcube_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.fits
.....................!
real 192.84
user 187.28
sys 5.19

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/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.fits scfile=/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits outfile=/scratch/kocevski/436727/cmap_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.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.62
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.fits scfile=/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits outfile=/scratch/kocevski/436727/cmap_HighResolution_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.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.64
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/436727/ft2_4FGL_J2243.4-2544_daily_bin1010.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436727/Model_4FGL_J2243.4-2544_daily_bin1010.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/436727/ft1_filtered_4FGL_J2243.4-2544_daily_bin1010.fits.....................!
real 45.99
user 44.58
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4597       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    74.676       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .39438E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6628       1.0000         .10000E-03   10000.    
     8 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.578       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.8327       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.973       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21093E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60623E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1258       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6167       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17092E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.2061       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97673       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0833       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=   5415.771     FROM MIGRAD    STATUS=CONVERGED   1080 CALLS     3097 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.691        .18142E-02** at limit **
   2  Prefactor     .10000E-03    43.271        .18142E-02** at limit **
   3  norm          1.4597        .46961        .27723E-04   -.34201E-03
   4  Prefactor     .10000E-03    8.6143        .18142E-02** at limit **
   5  Prefactor     74.696        28.824        .46463E-04   -.57256E-05
   6  Prefactor     .10000E-03    27.405        .39162E-02** at limit **
   7  Prefactor     1.6711        139.45        .32712E-03   -.21200E-05
   8  norm          .10000E-03    11.835        .18142E-02** at limit **
   9  Prefactor     25.579        23.866        .79207E-04    .93783E-04
  10  Prefactor     .10000E-03    14.659        .18142E-02** at limit **
  11  norm          .10000E-03    1.0661        .10835E-02** at limit **
  12  norm          3.8381        4.1974        .10954E-03   -.86242E-04
  13  Prefactor     21.865        82.456        .85448E-04   -.27807E-04
  14  Prefactor     .10028E-03    16.405        .62151E-01** at limit **
  15  norm          .10000E-03    1.6156        .91128E-03** at limit **
  16  Prefactor     .10000E-03    21.216        .18142E-02** at limit **
  17  Prefactor     .54437E-01    20.735        .50913E-01    .48394E-04
  18  norm          .10000E-03    .63626        .84460E-03** at limit **
  19  Prefactor     1.0628        438.60        .97887E-02    .83753E-04
  20  Prefactor     5.6210        14.500        .16951E-03   -.65057E-05
  21  Prefactor     .10002E-03    30.014        .58945E-01** at limit **
  22  norm          1.2060        2.5282        .16798E-03   -.40810E-04
  23  Prefactor     .10000E-03    47.765        .18142E-02** at limit **
  24  Normalizat    .97699        .25707        .26417E-03   -.12003E-03
  25  Prefactor     1.0831        .22526        .23654E-03   -.19726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.45968
  Prefactor  = 0.0001
  Prefactor  = 74.6961
  Prefactor  = 0.0001
  Prefactor  = 1.67113
  norm       = 0.0001
  Prefactor  = 25.5785
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.83809
  Prefactor  = 21.8651
  Prefactor  = 0.000100275
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0544366
  norm       = 0.0001
  Prefactor  = 1.06279
  Prefactor  = 5.62099
  Prefactor  = 0.000100023
  norm       = 1.20598
  Prefactor  = 0.0001
  Normalizat = 0.976991
  Prefactor  = 1.08309
 **********
 **   18 **HESSE 
 **********

 FCN=   5415.771     FROM HESSE     STATUS=OK           433 CALLS     3530 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    43.273        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4597        .46959        .11089E-05   -1.5466    
   4  Prefactor     .10000E-03    8.6164        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     74.696        28.818        .92926E-05   -1.3977    
   6  Prefactor     .10000E-03    27.662        .78324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6711        139.40        .13085E-04   -1.5449    
   8  norm          .10000E-03    11.835        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.579        23.860        .15841E-04   -1.4696    
  10  Prefactor     .10000E-03    14.666        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0691        .21669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8381        4.1989        .43818E-05   -1.5316    
  13  Prefactor     21.865        82.375        .34179E-05   -1.4772    
  14  Prefactor     .10028E-03    13.300        .70811E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.6157        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    21.221        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .54437E-01    16.296        .56093E-01   -1.5661    
  18  norm          .10000E-03    .63698        .16892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0628        455.15        .39155E-03   -1.5502    
  20  Prefactor     5.6210        14.497        .67803E-05   -1.5234    
  21  Prefactor     .10002E-03    20.982        .70225E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2060        2.5279        .67192E-05   -1.5488    
  23  Prefactor     .10000E-03    47.774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .97699        .25676        .10567E-04   -.93805    
  25  Prefactor     1.0831        .22517        .47308E-04   -.90009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55635e-09
Minuit parameter uncertainties:
  1  2.08593e-05
  2  5.49985e-05
  3  0.46959
  4  6.53201e-06
  5  28.8229
  6  4.89772e-05
  7  30.5992
  8  1.36857e-05
  9  23.8684
  10  3.52651e-06
  11  3.74084e-05
  12  4.1992
  13  82.8081
  14  0.00382582
  15  2.88089e-06
  16  3.26333e-05
  17  1.88249
  18  2.22476e-05
  19  44.3287
  20  14.5056
  21  0.00139711
  22  2.52812
  23  0.000265045
  24  0.257081
  25  0.225369
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.838e+00  4.199e+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

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  1.083e+00  2.254e-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:  9.770e-01  2.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.66
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.71e-08 +/- 4.06e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 2.58e-05

TS (Fixed Index): 2.66
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436727/likelihoodResults_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.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) = 5415.35290493
delta logL = 0.417737463031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5415.34335627
delta logL = 0.427286125378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9158       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5947       1.0000          .0000       5.0000    
     3 'Normalizat'    .94163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0985       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=   5415.343     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      284 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9160        2.9465        .77698E-04   -.12686E-03
   2  alpha         2.5947        .68491        .10045E-01   -.10067E-04
   3  Normalizat    .94165        .23308        .26829E-03    .11399E-03
   4  Prefactor     1.0984        .21646        .23493E-03    .19755E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.916
  alpha      = 2.59471
  Normalizat = 0.941654
  Prefactor  = 1.0984
 **********
 **   18 **HESSE 
 **********

 FCN=   5415.343     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9160        2.7350        .31079E-05   -1.5366    
   2  alpha         2.5947        .63619        .40182E-03    .37895E-01
   3  Normalizat    .94165        .23283        .10732E-04   -.95012    
   4  Prefactor     1.0984        .21637        .46987E-04   -.89518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73337e-11
Minuit parameter uncertainties:
  1  2.73511
  2  0.643278
  3  0.233077
  4  0.21654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436727': 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) = 5415.34335618
delta logL = 0.427286220617

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.916e+00  2.735e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.595e+00  6.433e-01  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.098e+00  2.165e-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:  9.417e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.53
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.59 +/- 0.64
Photon Flux (Free Index): 7.05e-08 +/- 5.46e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.43e-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/436727/cmap_HighResolution_501120001_501379201_4FGL_J2243.4-2544_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.53e-05', comment='SUCCESS', photon_flux='3.71e-08', energy_flux2='2.16e-05', photon_flux_error='4.06e-08', dlogl='4.27e-01', energy_flux='2.36e-05', photon_flux2='7.05e-08', job_status='DONE', time_completed='2021-09-28 18:47:09.474077', photon_index_error2='0.64', photon_index2='2.59', ts='2.66', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.43e-05', EG='0.98', time_epoch_completed='1632880029.47', return_code='0', job_id='436727', GAL2='1.10', EG2='0.94', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='5.46e-08', ts2='3.53', photon_index='2.00' WHERE bin_id='1010' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:47:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 436727: <4FGL_J2243.4-2544_daily_bin1010> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1010> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:35:36 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:35:37 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:37 2021
Terminated at Tue Sep 28 18:47:09 2021
Results reported at Tue Sep 28 18:47:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1010 340.865 -25.7363 501120001 501379201 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 :                                   624.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            693 sec.

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

