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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1285
RA = 340.957, Dec = -25.1701
tmin = 572400001, tmax = 572659201
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='445084', job_status='RUN', time_executed='2021-09-28 19:01:10.902749', time_epoch_executed='1632880870.9' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445084/ft1_4FGL_J2243.8-2510_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445084/ft1_4FGL_J2243.8-2510_daily_bin1285.fits outfile=/scratch/kocevski/445084/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1285.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=572400001.0 tmax=572659201.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.77
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.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/445084/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1285.fits evtable="EVENTS" outfile="/scratch/kocevski/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/445084/ltcube_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.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/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits
.....................!
real 12.13
user 11.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/445084/ltcube_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.fits outfile=/scratch/kocevski/445084/expmap_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.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/445084/ltcube_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.fits
.....................!
real 190.31
user 185.29
sys 4.61

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/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.fits scfile=/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits outfile=/scratch/kocevski/445084/cmap_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.fits scfile=/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits outfile=/scratch/kocevski/445084/cmap_HighResolution_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/445084/ft2_4FGL_J2243.8-2510_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445084/Model_4FGL_J2243.8-2510_daily_bin1285.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/445084/ft1_filtered_4FGL_J2243.8-2510_daily_bin1285.fits.....................!
real 45.98
user 44.62
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.258       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2390       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6910       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6464       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2849       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.812       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.482       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.426       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8163       1.0000         .10000E-03   10000.    
    11 'norm      '    .10892E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.3843       1.0000         .10000E-03   10000.    
    17 'norm      '    .94171       1.0000         .10000E-03   10000.    
    18 'Prefactor '    99.206       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2431       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16293E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.2975       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6179       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93201       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2117       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=   5318.830     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2697 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.192        85.752       -.11846E-05   -.13859E-03
   2  norm          1.2390        .44763       -.10410E-07   -.54600E-04
   3  Prefactor     5.6890        8.6173        .10955E-06   -.20913E-04
   4  Prefactor     2.6452        9.7180        .48079E-06   -.96996E-05
   5  Prefactor     3.2858        5.8062        .59131E-05   -.28651E-03
   6  Prefactor     .10000E-03    25.446        .39507E-06** at limit **
   7  norm          19.753        37.024       -.13009E-05   -.22064E-03
   8  Prefactor     27.456        28.061       -.12764E-05   -.17906E-03
   9  Prefactor     35.426        18.896        .17496E-07   -.53197E-05
  10  norm          1.8163        1.1249        .30525E-07   -.19906E-04
  11  norm          .10000E-03    2.3111       -.12766E-05** at limit **
  12  Prefactor     .10000E-03    24.324       -.73054E-06** at limit **
  13  Prefactor     .10000E-03    9.0455       -.33355E-07** at limit **
  14  norm          .10000E-03    2.6223       -.29920E-06** at limit **
  15  Prefactor     .10000E-03    6.9455       -.44691E-07** at limit **
  16  Prefactor     8.3714        12.781       -.27973E-06   -.36734E-03
  17  norm          .94145        .79363       -.34505E-07   -.11867E-02
  18  Prefactor     99.174        103.12       -.64288E-06   -.52500E-04
  19  Prefactor     4.2427        11.984        .45733E-06   -.82271E-05
  20  Prefactor     .10018E-03    7.8594        .18400E-05** at limit **
  21  norm          4.2969        4.1592        .81079E-07   -.12112E-04
  22  Prefactor     5.6140        32.322        .11290E-06   -.13550E-04
  23  Normalizat    .93226        .23262       -.29415E-06   -.13346E-03
  24  Prefactor     1.2115        .20436       -.43283E-06   -.94998E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.1916
  norm       = 1.23896
  Prefactor  = 5.68902
  Prefactor  = 2.64525
  Prefactor  = 3.28578
  Prefactor  = 0.0001
  norm       = 19.7528
  Prefactor  = 27.4559
  Prefactor  = 35.4264
  norm       = 1.81628
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.37141
  norm       = 0.941445
  Prefactor  = 99.1736
  Prefactor  = 4.24273
  Prefactor  = 0.000100179
  norm       = 4.29694
  Prefactor  = 5.61405
  Normalizat = 0.932264
  Prefactor  = 1.21151
 **********
 **   18 **HESSE 
 **********

 FCN=   5318.830     FROM HESSE     STATUS=OK           399 CALLS     3096 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.192        85.885        .21628E-03   -1.3848    
   2  norm          1.2390        .44826        .28336E-04   -1.5485    
   3  Prefactor     5.6890        8.6157        .16838E-03   -1.5231    
   4  Prefactor     2.6452        9.6934        .25061E-03   -1.5383    
   5  Prefactor     3.2858        5.8266        .11170E-02   -1.5345    
   6  Prefactor     .10000E-03    25.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.753        37.055        .89984E-04   -1.4819    
   8  Prefactor     27.456        28.091        .76420E-04   -1.4660    
   9  Prefactor     35.426        18.955        .67330E-04   -1.4517    
  10  norm          1.8163        1.1239        .58669E-04   -1.5438    
  11  norm          .10000E-03    2.3691        .21526E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.0872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.6345        .11511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.9478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.3714        12.586        .13845E-03   -1.5129    
  17  norm          .94145        .79790        .48548E-04   -1.5514    
  18  Prefactor     99.174        103.20        .20181E-03   -1.3713    
  19  Prefactor     4.2427        11.981        .19561E-03   -1.5296    
  20  Prefactor     .10018E-03    44.596        .35957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.2969        4.1511        .14026E-03   -1.5293    
  22  Prefactor     5.6140        32.263        .16949E-03   -1.5234    
  23  Normalizat    .93226        .28619        .30075E-03   -.95336    
  24  Prefactor     1.2115        .25190        .24373E-03   -.85978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68052e-09
Minuit parameter uncertainties:
  1  86.0087
  2  0.448265
  3  8.6176
  4  9.69913
  5  5.82761
  6  9.81502e-05
  7  37.0977
  8  28.1042
  9  18.9582
  10  1.12387
  11  2.18812e-05
  12  8.45632e-05
  13  1.99931e-06
  14  6.9667e-06
  15  3.46942e-06
  16  12.5897
  17  0.79791
  18  103.383
  19  11.9874
  20  0.00565634
  21  4.15142
  22  26.9382
  23  0.286662
  24  0.25215
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  8.456e-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.212e+00  2.522e-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:  9.323e-01  2.867e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445084/likelihoodResults_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.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) = 5318.83058708
delta logL = -0.000195668764718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5318.83039327
delta logL = -1.85787030205e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2522       1.0000          .0000       10.000    
     3 'Normalizat'    .93226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2115       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=   5318.830     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      306 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    106.97        .18142E-01** at limit **
   2  Index         2.1432        5.3309        .50000        .90222E-07
   3  Normalizat    .93227        .97949E-02    .30074E-03    .14784E-03
   4  Prefactor     1.2115        .89659E-02    .24373E-03    .18576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 2.14318
  Normalizat = 0.932266
  Prefactor  = 1.21151
 **********
 **   18 **HESSE 
 **********

 FCN=   5318.830     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      335 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    532.62        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1432        5.1963        .50000       -.60817    
   3  Normalizat    .93227        .22296E-01    .12030E-04   -.95335    
   4  Prefactor     1.2115        .20409E-01    .48746E-04   -.85978    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.52601e-09
Minuit parameter uncertainties:
  1  0.00425445
  2  1116.16
  3  0.0222964
  4  0.0204093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445084': 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): 102
logL (Free Index) = 5318.83039085
delta logL = 5.59619365958e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.254e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.143e+00  1.116e+03  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.212e+00  2.041e-02  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:  9.323e-01  2.230e-02  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/445084/cmap_HighResolution_572400001_572659201_4FGL_J2243.8-2510_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.17e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-28 19:11:04.689209', job_id='445084', GAL2='1.21', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632881464.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='5.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1285' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:11:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 445084: <4FGL_J2243.8-2510_daily_bin1285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1285 340.957 -25.1701 572400001 572659201 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 :                                   590.48 sec.
    Max Memory :                                 1248 MB
    Average Memory :                             345.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            627 sec.

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

