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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1201
RA = 340.957, Dec = -25.1701
tmin = 550627201, tmax = 550886401
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='444957', job_status='RUN', time_executed='2021-09-28 19:02:11.373145', time_epoch_executed='1632880931.37' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444957

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444957/ft1_4FGL_J2243.8-2510_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444957/ft1_4FGL_J2243.8-2510_daily_bin1201.fits outfile=/scratch/kocevski/444957/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1201.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=550627201.0 tmax=550886401.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.91
user 3.72
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.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/444957/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1201.fits evtable="EVENTS" outfile="/scratch/kocevski/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.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/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.fits" evtable="EVENTS" scfile=/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits sctable="SC_DATA" outfile=/scratch/kocevski/444957/ltcube_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.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/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits
.....................!
real 11.66
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/444957/ltcube_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.fits outfile=/scratch/kocevski/444957/expmap_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.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/444957/ltcube_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.fits
.....................!
real 191.34
user 187.04
sys 3.99

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/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.fits scfile=/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits outfile=/scratch/kocevski/444957/cmap_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.fits scfile=/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits outfile=/scratch/kocevski/444957/cmap_HighResolution_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.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.53
user 0.36
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.fits', '/scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits', expMap='/scratch/kocevski/444957/expmap_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.fits', expCube='/scratch/kocevski/444957/ltcube_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/444957/Model_4FGL_J2243.8-2510_daily_bin1201.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/444957/ft1_filtered_4FGL_J2243.8-2510_daily_bin1201.fits
Spacecraft file(s): /scratch/kocevski/444957/ft2_4FGL_J2243.8-2510_daily_bin1201.fits
Exposure map: /scratch/kocevski/444957/expmap_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.fits
Exposure cube: /scratch/kocevski/444957/ltcube_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/444957/Model_4FGL_J2243.8-2510_daily_bin1201.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) = 4323.81936179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4809       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.817       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7246       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3243       1.0000         .10000E-03   10000.    
    10 'norm      '    .34886       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1113       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.194       1.0000         .10000E-03   10000.    
    14 'norm      '    1.4291       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .51940E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    1.9212       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.989       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    12.642       1.0000         .10000E-03   10000.    
    22 'Prefactor '    74.576       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83507       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0199       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=   4323.816     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     3555 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    289.06        .22297E-04** at limit **
   2  norm          1.4809        .47765        .79653E-07   -.41813E-03
   3  Prefactor     .10000E-03    15.915       -.19064E-06** at limit **
   4  Prefactor     .10000E-03    10.251        .43600E-06** at limit **
   5  Prefactor     .10000E-03    3.5401        .63691E-06** at limit **
   6  Prefactor     .10000E-03    117.29        .71145E-05** at limit **
   7  norm          22.818        21.532        .12352E-05   -.86230E-04
   8  Prefactor     8.7250        17.408       -.51450E-05   -.81903E-04
   9  Prefactor     2.3231        27.415        .27464E-04   -.12009E-03
  10  norm          .34543        1.4286        .65201E-06   -.10264E-02
  11  norm          2.1113        2.1707       -.20030E-06   -.41785E-03
  12  Prefactor     .10000E-03    96.515       -.58016E-05** at limit **
  13  Prefactor     41.197        19.499       -.56184E-05   -.48548E-03
  14  norm          1.4280        3.8234       -.14507E-06   -.90336E-03
  15  Prefactor     .10000E-03    6.3998        .14635E-06** at limit **
  16  Prefactor     .10006E-03    12.335        .23442E-05** at limit **
  17  norm          1.9208        .90678        .23389E-06   -.38331E-02
  18  Prefactor     16.128        153.36        .25338E-03    .73621E-05
  19  Prefactor     .10000E-03    24.033       -.87037E-06** at limit **
  20  Prefactor     .10000E-03    6.4096        .27868E-06** at limit **
  21  norm          12.642        6.3973        .42713E-06   -.14588E-03
  22  Prefactor     74.583        57.972        .42315E-05   -.41945E-04
  23  Normalizat    .83470        .23982       -.13112E-04   -.30767E-03
  24  Prefactor     1.0201        .20752       -.26060E-06   -.74723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 1.48087
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.8177
  Prefactor  = 8.72505
  Prefactor  = 2.32305
  norm       = 0.345432
  norm       = 2.11132
  Prefactor  = 0.0001
  Prefactor  = 41.1969
  norm       = 1.42797
  Prefactor  = 0.0001
  Prefactor  = 0.000100056
  norm       = 1.92081
  Prefactor  = 16.1279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6424
  Prefactor  = 74.5832
  Normalizat = 0.834698
  Prefactor  = 1.02014
 **********
 **   18 **HESSE 
 **********

 FCN=   4323.816     FROM HESSE     STATUS=OK           401 CALLS     3956 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    291.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4809        .47860        .25036E-04   -1.5465    
   3  Prefactor     .10000E-03    16.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5707        .12082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    117.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.818        21.521        .83856E-04   -1.4752    
   8  Prefactor     8.7250        17.404        .13570E-03   -1.5117    
   9  Prefactor     2.3231        27.142        .26903E-03   -1.5403    
  10  norm          .34543        2.2274        .15003E-02   -1.5590    
  11  norm          2.1113        2.1600        .94378E-04   -1.5417    
  12  Prefactor     .10000E-03    96.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.197        19.679        .62456E-04   -1.4423    
  14  norm          1.4280        3.7704        .19308E-03   -1.5469    
  15  Prefactor     .10000E-03    6.4025        .16240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10006E-03    18.247        .54669E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9208        .94059        .35918E-04   -1.5431    
  18  Prefactor     16.128        152.98        .10016E-03   -1.4905    
  19  Prefactor     .10000E-03    24.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.4423        .16248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.642        6.3970        .11120E-03   -1.4997    
  22  Prefactor     74.583        58.061        .46494E-04   -1.3979    
  23  Normalizat    .83470        .28726        .28713E-03   -.98794    
  24  Prefactor     1.0201        .24897        .24112E-03   -.92061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42964e-09
Minuit parameter uncertainties:
  1  0.00198031
  2  0.478605
  3  0.000206925
  4  4.47967e-05
  5  3.66862e-05
  6  0.000176671
  7  21.528
  8  17.4141
  9  15.8898
  10  1.75415
  11  2.16009
  12  0.00026693
  13  19.6824
  14  3.77106
  15  4.63817e-06
  16  0.00202182
  17  0.940592
  18  99.6798
  19  0.000188057
  20  3.19892e-05
  21  6.39737
  22  58.1049
  23  0.287782
  24  0.249255
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.669e-04  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.020e+00  2.493e-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:  8.347e-01  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/444957/likelihoodResults_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.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) = 4323.81638793
delta logL = -4.90812390126e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4323.81638792
delta logL = -4.90771926707e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96355E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7067       1.0000          .0000       10.000    
     3 'Normalizat'    .83469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0201       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=   4323.764     FROM MIGRAD    STATUS=CONVERGED    158 CALLS      302 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.322        125.09        .18143E-01    .15555E-03
   2  Index         1.7459        1.4254        .26967       -.44491E-04
   3  Normalizat    .83502        .26148        .28713E-03    .99974E-04
   4  Prefactor     1.0164        .24305        .24112E-03    .68933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3221
  Index      = 1.74586
  Normalizat = 0.835015
  Prefactor  = 1.01638
 **********
 **   18 **HESSE 
 **********

 FCN=   4323.764     FROM HESSE     STATUS=OK            29 CALLS      331 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.322        55.740        .72570E-03   -1.4900    
   2  Index         1.7459        1.2015        .14947E-01   -.70867    
   3  Normalizat    .83502        .26111        .11485E-04   -.98783    
   4  Prefactor     1.0164        .24189        .96447E-05   -.92185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77207e-11
Minuit parameter uncertainties:
  1  55.9186
  2  1.22254
  3  0.261506
  4  0.242147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444957': 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) = 4323.76403179
delta logL = 0.0523070529616

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.632e+01  5.592e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.746e+00  1.223e+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.016e+00  2.421e-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:  8.350e-01  2.615e-01  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/444957/cmap_HighResolution_550627201_550886401_4FGL_J2243.8-2510_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.85e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-09-28 19:11:44.185647', job_id='444957', GAL2='1.02', fit_tolerance='1e-08', EG2='0.84', EG='0.83', time_epoch_completed='1632881504.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.23e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1201' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:11:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 444957: <4FGL_J2243.8-2510_daily_bin1201> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1201> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:28 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:29 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:29 2021
Terminated at Tue Sep 28 19:11:44 2021
Results reported at Tue Sep 28 19:11:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1201 340.957 -25.1701 550627201 550886401 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 :                                   570.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            676 sec.

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

