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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin390
RA = 340.957, Dec = -25.1701
tmin = 340416001, tmax = 340675201
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='441670', job_status='RUN', time_executed='2021-09-28 18:52:25.871514', time_epoch_executed='1632880345.87' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441670

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441670/ft1_4FGL_J2243.8-2510_daily_bin390.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441670/ft2_4FGL_J2243.8-2510_daily_bin390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441670/ft1_4FGL_J2243.8-2510_daily_bin390.fits outfile=/scratch/kocevski/441670/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin390.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=340416001.0 tmax=340675201.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 6.79
user 6.50
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441670/ft2_4FGL_J2243.8-2510_daily_bin390.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/441670/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin390.fits evtable="EVENTS" outfile="/scratch/kocevski/441670/ft1_filtered_4FGL_J2243.8-2510_daily_bin390.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/441670/ft1_filtered_4FGL_J2243.8-2510_daily_bin390.fits" evtable="EVENTS" scfile=/scratch/kocevski/441670/ft2_4FGL_J2243.8-2510_daily_bin390.fits sctable="SC_DATA" outfile=/scratch/kocevski/441670/ltcube_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.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/441670/ft2_4FGL_J2243.8-2510_daily_bin390.fits
.....................!
real 11.29
user 10.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441670/ft1_filtered_4FGL_J2243.8-2510_daily_bin390.fits evtable="EVENTS" scfile=/scratch/kocevski/441670/ft2_4FGL_J2243.8-2510_daily_bin390.fits sctable="SC_DATA" expcube=/scratch/kocevski/441670/ltcube_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.fits outfile=/scratch/kocevski/441670/expmap_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.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/441670/ltcube_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.fits
.....................!
real 190.66
user 185.84
sys 4.34

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/441670/ft1_filtered_4FGL_J2243.8-2510_daily_bin390.fits scfile=/scratch/kocevski/441670/ft2_4FGL_J2243.8-2510_daily_bin390.fits outfile=/scratch/kocevski/441670/cmap_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441670/ft1_filtered_4FGL_J2243.8-2510_daily_bin390.fits scfile=/scratch/kocevski/441670/ft2_4FGL_J2243.8-2510_daily_bin390.fits outfile=/scratch/kocevski/441670/cmap_HighResolution_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .62865       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.364       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5705       1.0000         .10000E-03   10000.    
     7 'norm      '    10.775       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.359       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8606       1.0000         .10000E-03   10000.    
    10 'norm      '    .33059       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8005       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2155       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.6015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9811       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5000       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8149       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10698E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11132E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1225       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79091       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=   4554.735     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2735 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    68.727        .18100E-05** at limit **
   2  norm          .62861        .36078        .82056E-08   -.30625E-03
   3  Prefactor     .10000E-03    5.6427        .40486E-06** at limit **
   4  Prefactor     21.346        25.774        .17408E-04    .30858E-03
   5  Prefactor     .10000E-03    10.933        .41339E-06** at limit **
   6  Prefactor     4.4080        140.19       -.44051E-04   -.64323E-04
   7  norm          10.775        19.019       -.32178E-06   -.49076E-04
   8  Prefactor     25.358        20.541       -.20807E-06   -.39439E-04
   9  Prefactor     1.8556        25.727        .50196E-05   -.20594E-03
  10  norm          .33147        .66585        .25868E-06    .58949E-03
  11  norm          1.8005        2.0133       -.65700E-06   -.46527E-03
  12  Prefactor     2.1217        280.57        .25883E-04   -.18068E-04
  13  Prefactor     .10000E-03    5.4553       -.24225E-05** at limit **
  14  norm          5.6009        4.1240       -.12667E-05   -.46829E-03
  15  Prefactor     .10000E-03    4.8237       -.35206E-06** at limit **
  16  Prefactor     3.9717        12.237        .19694E-04    .78244E-04
  17  norm          1.5005        .90379       -.12488E-05    .91576E-03
  18  Prefactor     .10000E-03    35.395       -.32523E-05** at limit **
  19  Prefactor     8.8137        9.4111        .19863E-05    .65026E-04
  20  Prefactor     .10001E-03    12.915       -.19667E-05** at limit **
  21  norm          .10000E-03    1.8818        .83090E-06** at limit **
  22  Prefactor     .10000E-03    8.3862       -.61496E-07** at limit **
  23  Normalizat    1.1231        .22009       -.96910E-05    .63031E-04
  24  Prefactor     .79051        .18911        .42073E-05   -.50101E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.628613
  Prefactor  = 0.0001
  Prefactor  = 21.3464
  Prefactor  = 0.0001
  Prefactor  = 4.40796
  norm       = 10.7751
  Prefactor  = 25.358
  Prefactor  = 1.85561
  norm       = 0.331472
  norm       = 1.80054
  Prefactor  = 2.12173
  Prefactor  = 0.0001
  norm       = 5.6009
  Prefactor  = 0.0001
  Prefactor  = 3.97168
  norm       = 1.50046
  Prefactor  = 0.0001
  Prefactor  = 8.81368
  Prefactor  = 0.000100007
  norm       = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.12307
  Prefactor  = 0.790511
 **********
 **   18 **HESSE 
 **********

 FCN=   4554.735     FROM HESSE     STATUS=OK           401 CALLS     3136 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62861        .36160        .29851E-04   -1.5549    
   3  Prefactor     .10000E-03    5.6553        .15652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.346        25.861        .86658E-04   -1.4784    
   5  Prefactor     .10000E-03    11.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4080        140.49        .18829E-03   -1.5288    
   7  norm          10.775        18.991        .12206E-03   -1.5051    
   8  Prefactor     25.358        20.549        .79549E-04   -1.4700    
   9  Prefactor     1.8556        24.684        .30550E-03   -1.5436    
  10  norm          .33147        .55985        .75241E-03   -1.5593    
  11  norm          1.8005        1.9780        .90058E-04   -1.5440    
  12  Prefactor     2.1217        260.43        .27631E-03   -1.5417    
  13  Prefactor     .10000E-03    5.4748        .15396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.6009        4.1141        .11033E-03   -1.5235    
  15  Prefactor     .10000E-03    4.8255        .14475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9717        12.176        .20214E-03   -1.5309    
  17  norm          1.5005        .90410        .39142E-04   -1.5463    
  18  Prefactor     .10000E-03    35.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.8137        9.4085        .13500E-03   -1.5114    
  20  Prefactor     .10001E-03    13.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.4395        .18005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.3876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1231        .25296        .23367E-03   -.89015    
  24  Prefactor     .79051        .21999        .24554E-03   -1.0008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94365e-09
Minuit parameter uncertainties:
  1  2.0674e-05
  2  0.361605
  3  4.12327e-05
  4  25.8744
  5  8.65271e-05
  6  49.8981
  7  19.0016
  8  20.5544
  9  13.5421
  10  0.559861
  11  1.97804
  12  47.2235
  13  3.97473e-05
  14  4.11435
  15  5.75656e-05
  16  12.1836
  17  0.904104
  18  0.000103098
  19  9.41011
  20  0.000601082
  21  0.000215039
  22  1.41991e-06
  23  0.253232
  24  0.220236
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.122e+00  4.722e+01  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:  7.905e-01  2.202e-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.123e+00  2.532e-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.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441670/likelihoodResults_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.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) = 4554.73428699
delta logL = 0.000545100490854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4554.73321077
delta logL = 0.00162132661899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5141       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9947       1.0000          .0000       10.000    
     3 'Normalizat'    1.1219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79091       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=   4554.733     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      267 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5309        152.27        .25768E-03   -.37502E-04
   2  Index         2.9903        6.4949        .19662E-01    .21911E-04
   3  Normalizat    1.1214        .23916        .23382E-03    .33954E-02
   4  Prefactor     .79125        .21224        .24543E-03    .24270E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.53091
  Index      = 2.99027
  Normalizat = 1.12142
  Prefactor  = 0.791249
 **********
 **   18 **HESSE 
 **********

 FCN=   4554.733     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5309        125.90        .10307E-04   -1.5390    
   2  Index         2.9903        6.4846        .78649E-03   -.41364    
   3  Normalizat    1.1214        .23958        .46763E-04   -.89067    
   4  Prefactor     .79125        .21247        .49086E-04   -1.0005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78627e-08
Minuit parameter uncertainties:
  1  35.7805
  2  4.87696
  3  0.23981
  4  0.212695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441670': 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) = 4554.73320724
delta logL = 0.00162485409146

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.531e+00  3.578e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.990e+00  4.877e+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:  7.912e-01  2.127e-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.121e+00  2.398e-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/441670/cmap_HighResolution_340416001_340675201_4FGL_J2243.8-2510_daily_bin390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.30e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-28 19:01:55.079014', job_id='441670', GAL2='0.79', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632880915.08', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.62e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='390' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:01:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 441670: <4FGL_J2243.8-2510_daily_bin390> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin390> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:20 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50:21 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:50:21 2021
Terminated at Tue Sep 28 19:01:55 2021
Results reported at Tue Sep 28 19:01:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin390 340.957 -25.1701 340416001 340675201 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 :                                   565.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            695 sec.

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

