/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 147 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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.4-2544_daily_bin432
RA = 340.865, Dec = -25.7363
tmin = 351302401, tmax = 351561601
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='434081', job_status='RUN', time_executed='2021-09-28 18:28:47.991282', time_epoch_executed='1632878927.99' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434081/ft1_4FGL_J2243.4-2544_daily_bin432.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434081/ft1_4FGL_J2243.4-2544_daily_bin432.fits outfile=/scratch/kocevski/434081/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin432.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=351302401.0 tmax=351561601.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.51
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.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/434081/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin432.fits evtable="EVENTS" outfile="/scratch/kocevski/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.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.53
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/434081/ltcube_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.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/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits
.....................!
real 12.74
user 12.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/434081/ltcube_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.fits outfile=/scratch/kocevski/434081/expmap_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.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/434081/ltcube_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.fits
.....................!
real 192.31
user 186.66
sys 5.26

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/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.fits scfile=/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits outfile=/scratch/kocevski/434081/cmap_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.fits scfile=/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits outfile=/scratch/kocevski/434081/cmap_HighResolution_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/434081/ft2_4FGL_J2243.4-2544_daily_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434081/Model_4FGL_J2243.4-2544_daily_bin432.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/434081/ft1_filtered_4FGL_J2243.4-2544_daily_bin432.fits.....................!
real 60.73
user 59.38
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.447       1.0000         .10000E-03   10000.    
     3 'norm      '    .75896       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.261       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15986E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .84849       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2300       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    26.591       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    36.031       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3313       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    12.923       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.980       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .55049       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2753       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=   8199.080     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2958 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.662       -.63479E-05** at limit **
   2  Prefactor     16.469        52.973        .28556E-04    .33712E-04
   3  norm          .75897        .30132       -.12266E-06   -.54132E-03
   4  Prefactor     .10000E-03    4.1555       -.50084E-07** at limit **
   5  Prefactor     .10000E-03    8.2109       -.15017E-06** at limit **
   6  Prefactor     .10000E-03    3.1579       -.41737E-07** at limit **
   7  Prefactor     25.260        60.103       -.11152E-05   -.17552E-05
   8  norm          .10000E-03    19.489        .76898E-05** at limit **
   9  Prefactor     .10012E-03    9.1634        .12460E-05** at limit **
  10  Prefactor     .10000E-03    6.9066       -.17156E-07** at limit **
  11  norm          .84828        .69584        .80270E-08   -.20641E-03
  12  norm          1.2300        1.6607        .11750E-06   -.68069E-03
  13  Prefactor     9.7211        24.481       -.22193E-05   -.42700E-03
  14  Prefactor     .10000E-03    3.9172       -.43723E-07** at limit **
  15  norm          26.591        6.7366       -.33565E-06    .81512E-04
  16  Prefactor     .10000E-03    17.416       -.33947E-05** at limit **
  17  Prefactor     36.033        12.802        .52964E-06    .13319E-03
  18  norm          1.3312        .83128       -.45411E-07   -.91189E-04
  19  Prefactor     .10000E-03    179.29       -.17271E-05** at limit **
  20  Prefactor     .10000E-03    2.8099       -.48610E-08** at limit **
  21  Prefactor     .10000E-03    3.3762       -.10473E-07** at limit **
  22  norm          12.923        4.4631       -.24582E-05   -.47800E-04
  23  Prefactor     16.986        31.291        .89136E-06   -.23088E-05
  24  Normalizat    .55036        .16352       -.83047E-06   -.94254E-04
  25  Prefactor     1.2754        .15416        .22385E-06   -.12274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 16.4687
  norm       = 0.758972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2596
  norm       = 0.0001
  Prefactor  = 0.000100119
  Prefactor  = 0.0001
  norm       = 0.848279
  norm       = 1.22996
  Prefactor  = 9.72114
  Prefactor  = 0.0001
  norm       = 26.5908
  Prefactor  = 0.0001
  Prefactor  = 36.0325
  norm       = 1.3312
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.9226
  Prefactor  = 16.9861
  Normalizat = 0.550361
  Prefactor  = 1.27536
 **********
 **   18 **HESSE 
 **********

 FCN=   8199.080     FROM HESSE     STATUS=OK           429 CALLS     3387 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.469        52.911        .98757E-04   -1.4896    
   3  norm          .75897        .30186        .30008E-04   -1.5534    
   4  Prefactor     .10000E-03    4.1993        .18023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.2038        .15705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.260        59.859        .79702E-04   -1.4702    
   8  norm          .10000E-03    19.960        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10012E-03    60.717        .52931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.1995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .84828        .69971        .65135E-04   -1.5524    
  12  norm          1.2300        1.6440        .11502E-03   -1.5486    
  13  Prefactor     9.7211        24.969        .64263E-03   -1.5084    
  14  Prefactor     .10000E-03    3.9508        .17498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          26.591        6.7388        .77687E-04   -1.4676    
  16  Prefactor     .10000E-03    17.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.033        12.946        .66765E-04   -1.4507    
  18  norm          1.3312        .82074        .49468E-04   -1.5477    
  19  Prefactor     .10000E-03    184.32        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8142        .14823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3888        .16237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          12.923        4.4369        .10546E-03   -1.4989    
  23  Prefactor     16.986        31.284        .97197E-04   -1.4883    
  24  Normalizat    .55036        .19437        .32399E-03   -1.1014    
  25  Prefactor     1.2754        .18563        .21465E-03   -.84043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03259e-09
Minuit parameter uncertainties:
  1  0.000659009
  2  53.0621
  3  0.301859
  4  2.32936e-05
  5  2.00357e-05
  6  2.28668e-06
  7  60.0019
  8  9.74253e-05
  9  0.00537707
  10  1.16008e-05
  11  0.699719
  12  1.64407
  13  24.9961
  14  8.86864e-07
  15  6.73901
  16  2.13947e-06
  17  12.9468
  18  0.820749
  19  0.000135877
  20  1.4875e-06
  21  7.89875e-07
  22  4.43703
  23  31.314
  24  0.194606
  25  0.185723
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.230e+00  1.644e+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.275e+00  1.857e-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:  5.504e-01  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.19e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 7.57e-06 +/- 1.01e-05

TS (Fixed Index): 1.23
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 4.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434081/likelihoodResults_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.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) = 8198.97888948
delta logL = 0.101586229024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8198.96769964
delta logL = 0.112776068043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0271       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4299       1.0000          .0000       5.0000    
     3 'Normalizat'    .54404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2780       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=   8198.968     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0270        18.338        .21601E-01    .92981E-03
   2  alpha         2.4307        3.7144        .41172        .47179E-04
   3  Normalizat    .54378        .30029E-01    .73571E-01    .49492E-04
   4  Prefactor     1.2784        .28636E-01    .48494E-01   -.21282E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.027
  alpha      = 2.4307
  Normalizat = 0.543781
  Prefactor  = 1.27843
 **********
 **   18 **HESSE 
 **********

 FCN=   8198.968     FROM HESSE     STATUS=OK            35 CALLS      273 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0270        1.5146        .10241E-02   -1.5505    
   2  alpha         2.4307        1.0258        .18903E-01   -.27722E-01
   3  Normalizat    .54378        .18580        .32573E-03   -1.1043    
   4  Prefactor     1.2784        .18157        .21437E-03   -.83951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02399e-12
Minuit parameter uncertainties:
  1  1.51463
  2  1.05704
  3  0.186015
  4  0.181657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434081': 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) = 8198.96769538
delta logL = 0.112780333509

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.027e+00  1.515e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.431e+00  1.057e+00  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.278e+00  1.817e-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:  5.438e-01  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.43 +/- 1.06
Photon Flux (Free Index): 1.89e-08 +/- 2.33e-08
Energy Flux (Free Index): 6.75e-06 +/- 7.58e-06

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/434081/cmap_HighResolution_351302401_351561601_4FGL_J2243.4-2544_daily_bin432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-05', comment='SUCCESS', photon_flux='1.19e-08', energy_flux2='6.75e-06', photon_flux_error='1.59e-08', dlogl='1.13e-01', energy_flux='7.57e-06', photon_flux2='1.89e-08', job_status='DONE', time_completed='2021-09-28 18:41:46.894294', photon_index_error2='1.06', photon_index2='2.43', ts='1.23', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='4.82e-08', energy_flux_error2='7.58e-06', EG='0.55', time_epoch_completed='1632879706.89', return_code='0', job_id='434081', GAL2='1.28', EG2='0.54', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.33e-08', ts2='1.46', photon_index='2.00' WHERE bin_id='432' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:41:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 434081: <4FGL_J2243.4-2544_daily_bin432> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin432> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:26:11 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:26:13 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:26:13 2021
Terminated at Tue Sep 28 18:41:47 2021
Results reported at Tue Sep 28 18:41:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin432 340.865 -25.7363 351302401 351561601 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 :                                   778.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

