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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1204
RA = 340.957, Dec = -25.1701
tmin = 551404801, tmax = 551664001
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='444961', job_status='RUN', time_executed='2021-09-28 19:00:50.157707', time_epoch_executed='1632880850.16' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444961

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444961/ft1_4FGL_J2243.8-2510_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444961/ft1_4FGL_J2243.8-2510_daily_bin1204.fits outfile=/scratch/kocevski/444961/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1204.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=551404801.0 tmax=551664001.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.54
user 3.34
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.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/444961/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1204.fits evtable="EVENTS" outfile="/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/444961/ltcube_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.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/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits
.....................!
real 11.60
user 11.28
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/444961/ltcube_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.fits outfile=/scratch/kocevski/444961/expmap_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.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/444961/ltcube_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.fits
.....................!
real 190.97
user 185.10
sys 5.55

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

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits scfile=/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits outfile=/scratch/kocevski/444961/cmap_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.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.957 yref=-25.1701 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits scfile=/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits outfile=/scratch/kocevski/444961/cmap_HighResolution_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.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.957 yref=-25.1701 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444961/Model_4FGL_J2243.8-2510_daily_bin1204.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/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits......................!
real 21.13
user 19.94
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits', '/scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits', expMap='/scratch/kocevski/444961/expmap_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.fits', expCube='/scratch/kocevski/444961/ltcube_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/444961/Model_4FGL_J2243.8-2510_daily_bin1204.xml', optimizer='MINUIT')

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

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/444961/ft1_filtered_4FGL_J2243.8-2510_daily_bin1204.fits
Spacecraft file(s): /scratch/kocevski/444961/ft2_4FGL_J2243.8-2510_daily_bin1204.fits
Exposure map: /scratch/kocevski/444961/expmap_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.fits
Exposure cube: /scratch/kocevski/444961/ltcube_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/444961/Model_4FGL_J2243.8-2510_daily_bin1204.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) = 1103.35024965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79886E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7343       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    57.925       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29366E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18780E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.8039       1.0000         .10000E-03   10000.    
    11 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28636E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12031E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    47.010       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .50361E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12251E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .17239E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18744       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21398E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15905E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    25.950       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12244E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1103.269     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     3154 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    583.73        .36913E-06** at limit **
   2  norm          .10000E-03    .41872       -.23974E-07** at limit **
   3  Prefactor     .10000E-03    66.839       -.18847E-05** at limit **
   4  Prefactor     2.7490        207.56        .28660E-04   -.35095E-05
   5  Prefactor     .10000E-03    83.325        .12945E-06** at limit **
   6  Prefactor     .10000E-03    100.41       -.97657E-07** at limit **
   7  norm          57.817        98.097       -.10065E-05   -.19344E-04
   8  Prefactor     .10000E-03    478.37       -.57393E-06** at limit **
   9  Prefactor     .10000E-03    47.775        .60736E-06** at limit **
  10  norm          2.8038        1.7375        .47320E-07   -.67519E-04
  11  norm          .10000E-03    6.6514        .11029E-05** at limit **
  12  Prefactor     .10000E-03    148.31        .18529E-05** at limit **
  13  Prefactor     .10000E-03    100.37        .15312E-07** at limit **
  14  norm          46.994        37.375        .49677E-06   -.17085E-03
  15  Prefactor     .10000E-03    210.78        .24313E-05** at limit **
  16  Prefactor     .10000E-03    84.843        .85978E-06** at limit **
  17  norm          .10003E-03    5.7133        .49177E-06** at limit **
  18  Prefactor     .10004E-03    7250.1       -.39315E-05** at limit **
  19  Prefactor     .10000E-03    20.760       -.40129E-07** at limit **
  20  Prefactor     .10000E-03    208.28        .17461E-05** at limit **
  21  norm          25.962        22.669       -.19128E-06   -.12314E-04
  22  Prefactor     .10000E-03    225.65       -.63079E-06** at limit **
  23  Normalizat    .10000E-01    .21015        .36799E-06** at limit **
  24  Prefactor     1.3998        .23927       -.15025E-05   -.50455E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.74896
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 57.8174
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.80381
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 46.9945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100026
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.9615
  Prefactor  = 0.000100001
  Normalizat = 0.01
  Prefactor  = 1.39976
 **********
 **   18 **HESSE 
 **********

 FCN=   1103.269     FROM HESSE     STATUS=OK           385 CALLS     3539 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    584.80        .18479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .42026        .20998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    69.867        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7490        209.09        .12312E-02   -1.5376    
   5  Prefactor     .10000E-03    83.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    100.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          57.817        97.954        .26356E-03   -1.4186    
   8  Prefactor     .10000E-03    478.49        .19851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    47.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8038        1.7398        .32435E-04   -1.5373    
  11  norm          .10000E-03    6.6522        .83549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    148.36        .21409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    100.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          46.994        32.446        .29240E-03   -1.4336    
  15  Prefactor     .10000E-03    210.99        .21154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    84.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10003E-03    22.448        .13297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10004E-03    7252.0        .19840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.832        .14783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    209.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          25.962        22.678        .78638E-04   -1.4688    
  22  Prefactor     .10000E-03    225.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .10000E-01    .24223        .82950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.3998        .21760        .18153E-03   -.80387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33183e-09
Minuit parameter uncertainties:
  1  0.00126658
  2  1.50652e-06
  3  0.000677113
  4  48.1235
  5  9.39302e-05
  6  2.58905e-05
  7  98.2284
  8  0.00131203
  9  5.18921e-05
  10  1.73985
  11  6.24343e-06
  12  4.17641e-05
  13  5.32808e-05
  14  32.458
  15  0.000558011
  16  0.000301575
  17  0.00152894
  18  0.029148
  19  2.11276e-05
  20  0.000202224
  21  22.6859
  22  0.000730931
  23  4.97112e-06
  24  0.217745
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.176e-05  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.400e+00  2.177e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.000e-02  4.971e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 3.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444961/likelihoodResults_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1103.26917103
delta logL = -3.26872193455e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1103.26913836
delta logL = -9.40644895309e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6702       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+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=   1103.269     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      275 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    155.51        .18142E-02** at limit **
   2  Index         2.6859        6.3419        .50000       -.10265E-05
   3  Normalizat    .10000E-01    .22081        .82948E-02** at limit **
   4  Prefactor     1.3998        .19378        .18153E-03   -.95424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.68587
  Normalizat = 0.01
  Prefactor  = 1.39976
 **********
 **   18 **HESSE 
 **********

 FCN=   1103.269     FROM HESSE     STATUS=OK            29 CALLS      304 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    138.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6859        6.3334        .50000       -.48118    
   3  Normalizat    .10000E-01    .22084        .16590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3998        .19374        .36306E-04   -.80387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63459e-11
Minuit parameter uncertainties:
  1  0.000294861
  2  4.44228
  3  1.21255e-06
  4  0.193838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444961': 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) = 1103.26913835
delta logL = -4.87966644869e-09

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.949e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.686e+00  4.442e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.400e+00  1.938e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.000e-02  1.213e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

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/444961/cmap_HighResolution_551404801_551664001_4FGL_J2243.8-2510_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-02', job_status='DONE', photon_flux_upper_limit='3.99e-07', time_completed='2021-09-28 19:07:05.358596', job_id='444961', GAL2='1.40', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632881225.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.40', dlogl='-4.88e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1204' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:07:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 444961: <4FGL_J2243.8-2510_daily_bin1204> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1204> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:29 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:00:30 2021
Terminated at Tue Sep 28 19:07:05 2021
Results reported at Tue Sep 28 19:07:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1204 340.957 -25.1701 551404801 551664001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   374.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   395 sec.
    Turnaround time :                            396 sec.

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

