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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin288
RA = 340.957, Dec = -25.1701
tmin = 313977601, tmax = 314236801
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='440140', job_status='RUN', time_executed='2021-09-28 18:48:24.477584', time_epoch_executed='1632880104.48' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440140/ft1_4FGL_J2243.8-2510_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440140/ft2_4FGL_J2243.8-2510_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440140/ft1_4FGL_J2243.8-2510_daily_bin288.fits outfile=/scratch/kocevski/440140/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin288.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=313977601.0 tmax=314236801.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.39
user 3.18
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440140/ft1_filtered_4FGL_J2243.8-2510_daily_bin288.fits" evtable="EVENTS" scfile=/scratch/kocevski/440140/ft2_4FGL_J2243.8-2510_daily_bin288.fits sctable="SC_DATA" outfile=/scratch/kocevski/440140/ltcube_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.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/440140/ft2_4FGL_J2243.8-2510_daily_bin288.fits
.....................!
real 11.77
user 11.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440140/ft1_filtered_4FGL_J2243.8-2510_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/440140/ft2_4FGL_J2243.8-2510_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/440140/ltcube_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.fits outfile=/scratch/kocevski/440140/expmap_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.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/440140/ltcube_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.fits
.....................!
real 189.22
user 184.81
sys 4.04

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/440140/ft1_filtered_4FGL_J2243.8-2510_daily_bin288.fits scfile=/scratch/kocevski/440140/ft2_4FGL_J2243.8-2510_daily_bin288.fits outfile=/scratch/kocevski/440140/cmap_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440140/ft1_filtered_4FGL_J2243.8-2510_daily_bin288.fits scfile=/scratch/kocevski/440140/ft2_4FGL_J2243.8-2510_daily_bin288.fits outfile=/scratch/kocevski/440140/cmap_HighResolution_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.324       1.0000         .10000E-03   10000.    
     2 'norm      '    1.9710       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .25411       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4734       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7239       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0541       1.0000         .10000E-03   10000.    
    11 'norm      '    5.2585       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.044       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8823       1.0000         .10000E-03   10000.    
    17 'norm      '    .42975       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.3514       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10035       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2295       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .68127       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=   8126.375     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2750 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.282        62.376       -.35666E-04    .92489E-05
   2  norm          1.9710        .42045        .14233E-06    .17537E-03
   3  Prefactor     .10000E-03    2.7036        .10359E-06** at limit **
   4  Prefactor     .10000E-03    14.490        .64014E-07** at limit **
   5  Prefactor     .10000E-03    3.8935       -.99971E-08** at limit **
   6  Prefactor     .10000E-03    58.139        .69931E-06** at limit **
   7  norm          .27199        9.6279       -.33887E-05    .70674E-03
   8  Prefactor     1.4531        66.519       -.50853E-05   -.93471E-04
   9  Prefactor     4.7223        8.5899       -.27997E-05   -.80867E-05
  10  norm          1.0540        .68717       -.93465E-07   -.60795E-03
  11  norm          5.2579        2.3075        .86852E-07    .11536E-02
  12  Prefactor     .10000E-03    24.038        .93082E-06** at limit **
  13  Prefactor     .10000E-03    8.1225       -.11216E-06** at limit **
  14  norm          11.042        4.5426       -.49827E-06    .87792E-03
  15  Prefactor     .10000E-03    5.7456       -.13296E-06** at limit **
  16  Prefactor     7.9086        9.3604        .28996E-05    .58588E-03
  17  norm          .42988        .50574       -.42089E-06    .80914E-03
  18  Prefactor     .10000E-03    72.971       -.23615E-05** at limit **
  19  Prefactor     8.3512        6.8390        .62127E-06   -.18049E-04
  20  Prefactor     .36456E-01    4.9804       -.16335E-05    .38657E-04
  21  norm          .10000E-03    .94415       -.33002E-07** at limit **
  22  Prefactor     .10000E-03    22.794       -.86223E-06** at limit **
  23  Normalizat    1.2295        .15414        .10014E-05    .75705E-03
  24  Prefactor     .68133        .13734        .11492E-05    .55930E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.2824
  norm       = 1.97101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.271986
  Prefactor  = 1.45308
  Prefactor  = 4.72235
  norm       = 1.054
  norm       = 5.25793
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0417
  Prefactor  = 0.0001
  Prefactor  = 7.90862
  norm       = 0.429879
  Prefactor  = 0.0001
  Prefactor  = 8.35117
  Prefactor  = 0.0364559
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22949
  Prefactor  = 0.681332
 **********
 **   18 **HESSE 
 **********

 FCN=   8126.375     FROM HESSE     STATUS=OK           413 CALLS     3163 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.282        62.199        .66496E-04   -1.4503    
   2  norm          1.9710        .42084        .25955E-04   -1.5427    
   3  Prefactor     .10000E-03    2.7167        .14475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9379        .17362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    58.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27199        15.700        .95718E-01   -1.5604    
   8  Prefactor     1.4531        68.555        .35391E-03   -1.5467    
   9  Prefactor     4.7223        8.6269        .18514E-03   -1.5273    
  10  norm          1.0540        .67221        .58111E-04   -1.5503    
  11  norm          5.2579        2.3091        .85881E-04   -1.5249    
  12  Prefactor     .10000E-03    24.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.2302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.042        4.5459        .10987E-03   -1.5043    
  15  Prefactor     .10000E-03    5.7529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9086        9.9430        .14282E-03   -1.5145    
  17  norm          .42988        .47876        .52444E-03   -1.5577    
  18  Prefactor     .10000E-03    73.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.3512        6.8351        .13872E-03   -1.5130    
  20  Prefactor     .36456E-01    12.839        .54015E-01   -1.5670    
  21  norm          .10000E-03    .95315        .85522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2295        .18528        .22148E-03   -.85696    
  24  Prefactor     .68133        .16415        .26386E-03   -1.0426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30152e-09
Minuit parameter uncertainties:
  1  62.3103
  2  0.420844
  3  1.54684e-05
  4  4.35901e-05
  5  7.46416e-07
  6  9.16751e-05
  7  4.13324
  8  19.9852
  9  8.62916
  10  0.672216
  11  2.30912
  12  2.52052e-05
  13  3.30892e-05
  14  4.546
  15  2.76795e-05
  16  9.94505
  17  0.478766
  18  5.2063e-05
  19  6.83575
  20  1.36672
  21  3.02813e-06
  22  3.84934e-05
  23  0.185382
  24  0.164266
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.521e-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:  6.813e-01  1.643e-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.229e+00  1.854e-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: 6.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440140/likelihoodResults_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.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) = 8126.37547335
delta logL = -0.000197851497433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8126.37527584
delta logL = -3.35719960276e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3403       1.0000          .0000       10.000    
     3 'Normalizat'    1.2295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68133       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=   8126.375     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      285 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10086E-03    199.86        .18142E-02** at limit **
   2  Index         3.2910        8.1448        .50000        .51661E-05
   3  Normalizat    1.2295        .11421E-01    .22148E-03    .40039E-04
   4  Prefactor     .68133        .10482E-01    .26386E-03    .19604E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100862
  Index      = 3.29099
  Normalizat = 1.22949
  Prefactor  = 0.681332
 **********
 **   18 **HESSE 
 **********

 FCN=   8126.375     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10086E-03    862.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2910        6.8646        .50000       -.34883    
   3  Normalizat    1.2295        .24900E-01    .88590E-05   -.85696    
   4  Prefactor     .68133        .22852E-01    .10555E-04   -1.0426    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.84995e-09
Minuit parameter uncertainties:
  1  0.0553377
  2  1225.55
  3  0.0249001
  4  0.0228525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440140': 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) = 8126.3752758
delta logL = -2.99140992865e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.009e-04  5.534e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.291e+00  1.226e+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:  6.813e-01  2.285e-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:  1.229e+00  2.490e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/440140/cmap_HighResolution_313977601_314236801_4FGL_J2243.8-2510_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.45e-03', job_status='DONE', photon_flux_upper_limit='6.92e-08', time_completed='2021-09-28 19:00:59.845650', job_id='440140', GAL2='0.68', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632880859.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='-2.99e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='288' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:00:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 440140: <4FGL_J2243.8-2510_daily_bin288> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin288> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:37 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:40 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:45:40 2021
Terminated at Tue Sep 28 19:01:00 2021
Results reported at Tue Sep 28 19:01:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin288 340.957 -25.1701 313977601 314236801 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 :                                   753.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            923 sec.

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

