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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin834
RA = 340.957, Dec = -25.1701
tmin = 455500801, tmax = 455760001
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='443351', job_status='RUN', time_executed='2021-09-28 18:57:37.075360', time_epoch_executed='1632880657.08' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='834'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443351

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443351/ft1_4FGL_J2243.8-2510_daily_bin834.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443351/ft1_4FGL_J2243.8-2510_daily_bin834.fits outfile=/scratch/kocevski/443351/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin834.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=455500801.0 tmax=455760001.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.41
user 3.16
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.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/443351/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin834.fits evtable="EVENTS" outfile="/scratch/kocevski/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.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/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.fits" evtable="EVENTS" scfile=/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits sctable="SC_DATA" outfile=/scratch/kocevski/443351/ltcube_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.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/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits sctable="SC_DATA" expcube=/scratch/kocevski/443351/ltcube_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.fits outfile=/scratch/kocevski/443351/expmap_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.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/443351/ltcube_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.fits
.....................!
real 190.65
user 185.04
sys 5.18

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/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.fits scfile=/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits outfile=/scratch/kocevski/443351/cmap_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.fits scfile=/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits outfile=/scratch/kocevski/443351/cmap_HighResolution_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.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/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/443351/ft2_4FGL_J2243.8-2510_daily_bin834.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443351/Model_4FGL_J2243.8-2510_daily_bin834.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/443351/ft1_filtered_4FGL_J2243.8-2510_daily_bin834.fits.....................!
real 46.11
user 44.69
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    70.162       1.0000         .10000E-03   10000.    
     2 'norm      '    .36458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.081       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.630       1.0000         .10000E-03   10000.    
     7 'norm      '    9.6688       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13625E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.602       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1042       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4425       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7590       1.0000         .10000E-03   10000.    
    14 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    46.032       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   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.1576       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71965       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=   5730.060     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2717 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     70.156        63.849       -.50147E-05    .24361E-05
   2  norm          .36457        .25605       -.64811E-08    .40124E-04
   3  Prefactor     12.081        11.008        .17365E-05   -.30065E-04
   4  Prefactor     .10000E-03    40.490       -.10778E-05** at limit **
   5  Prefactor     .10000E-03    5.3251       -.66723E-07** at limit **
   6  Prefactor     37.630        33.487       -.40608E-06   -.28359E-05
   7  norm          9.6688        14.275       -.17677E-06   -.74574E-04
   8  Prefactor     .10005E-03    163.44       -.87314E-04** at limit **
   9  Prefactor     15.603        13.135       -.66622E-06   -.37682E-03
  10  norm          1.1041        .77329       -.25158E-07   -.41627E-03
  11  norm          2.4429        1.8198       -.34260E-06   -.21225E-02
  12  Prefactor     .10000E-03    137.46        .71350E-04** at limit **
  13  Prefactor     2.7590        12.386       -.19462E-05   -.50494E-04
  14  norm          .10000E-03    1.4148        .40234E-07** at limit **
  15  Prefactor     .10000E-03    3.2445        .53170E-07** at limit **
  16  Prefactor     .10000E-03    2.7605        .20915E-07** at limit **
  17  norm          .10000E-03    .16363       -.90728E-08** at limit **
  18  Prefactor     46.030        55.437       -.17430E-05    .61632E-04
  19  Prefactor     .10000E-03    5.0118       -.63691E-07** at limit **
  20  Prefactor     .10000E-03    2.2040        .43159E-07** at limit **
  21  norm          .10000E-03    .81341       -.40765E-07** at limit **
  22  Prefactor     .10000E-03    21.632       -.19516E-06** at limit **
  23  Normalizat    1.1576        .17996        .83923E-06    .20605E-03
  24  Prefactor     .71972        .15919       -.53950E-06    .16473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 70.156
  norm       = 0.364566
  Prefactor  = 12.0815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.6299
  norm       = 9.66881
  Prefactor  = 0.000100051
  Prefactor  = 15.6032
  norm       = 1.10412
  norm       = 2.44294
  Prefactor  = 0.000100003
  Prefactor  = 2.75899
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 46.0297
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1576
  Prefactor  = 0.719717
 **********
 **   18 **HESSE 
 **********

 FCN=   5730.060     FROM HESSE     STATUS=OK           393 CALLS     3110 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     70.156        63.859        .47924E-04   -1.4031    
   2  norm          .36457        .25506        .31204E-04   -1.5587    
   3  Prefactor     12.081        10.992        .11525E-03   -1.5013    
   4  Prefactor     .10000E-03    41.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.3667        .17056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.630        33.481        .65335E-04   -1.4480    
   7  norm          9.6688        14.269        .12887E-03   -1.5086    
   8  Prefactor     .10005E-03    163.34        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.603        13.168        .10140E-03   -1.4918    
  10  norm          1.1041        .75485        .53815E-04   -1.5498    
  11  norm          2.4429        1.8178        .85299E-04   -1.5395    
  12  Prefactor     .10000E-03    140.37        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7590        12.516        .24505E-03   -1.5376    
  14  norm          .10000E-03    2.2465        .17404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2481        .13314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.7834        .12268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .19379        .59150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     46.030        55.410        .59096E-04   -1.4350    
  19  Prefactor     .10000E-03    5.0337        .16549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.2092        .10974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .81909        .66666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    21.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1576        .20943        .21872E-03   -.87923    
  24  Prefactor     .71972        .18517        .24703E-03   -1.0276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25815e-09
Minuit parameter uncertainties:
  1  63.9218
  2  0.255056
  3  10.9942
  4  0.00011407
  5  2.65314e-05
  6  33.4974
  7  14.2741
  8  0.00576808
  9  13.1702
  10  0.754855
  11  1.81783
  12  0.00137903
  13  11.7565
  14  3.39902e-06
  15  7.92906e-07
  16  1.48198e-06
  17  8.09234e-08
  18  55.4723
  19  1.17959e-06
  20  9.73215e-07
  21  3.15297e-07
  22  5.30766e-06
  23  0.209576
  24  0.185328
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.379e-03  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.197e-01  1.853e-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.158e+00  2.096e-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: 8.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443351/likelihoodResults_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.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) = 5730.05978398
delta logL = -3.38488353009e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5730.05978398
delta logL = -3.3847445593e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96352E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7067       1.0000          .0000       10.000    
     3 'Normalizat'    1.1576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71972       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=   5730.059     FROM MIGRAD    STATUS=CONVERGED    162 CALLS      308 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2124        8740.2        .36285E-02    .29201E-05
   2  Index         2.1616        7.1868        .50000       -.38670E-05
   3  Normalizat    1.1574        .22353E-01    .21872E-03    .25989E-05
   4  Prefactor     .71954        .20576E-01    .24703E-03    .12426E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21239
  Index      = 2.16158
  Normalizat = 1.15737
  Prefactor  = 0.719542
 **********
 **   18 **HESSE 
 **********

 FCN=   5730.059     FROM HESSE     STATUS=OK            29 CALLS      337 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2124        750.13        .14514E-03   -1.5488    
   2  Index         2.1616        5.5020        .40965E-01   -.60369    
   3  Normalizat    1.1574        .19911        .87487E-05   -.87931    
   4  Prefactor     .71954        .18251        .98811E-05   -1.0277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78885e-10
Minuit parameter uncertainties:
  1  61.0964
  2  6.83894
  3  0.199238
  4  0.182663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443351': 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) = 5730.05939839
delta logL = 0.000351735580807

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.212e+00  6.110e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.162e+00  6.839e+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.195e-01  1.827e-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.157e+00  1.992e-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/443351/cmap_HighResolution_455500801_455760001_4FGL_J2243.8-2510_daily_bin834.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.68e-08', time_completed='2021-09-28 19:07:49.093951', job_id='443351', GAL2='0.72', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632881269.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='3.52e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='834' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:07:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 443351: <4FGL_J2243.8-2510_daily_bin834> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin834> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:27 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:28 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:55:28 2021
Terminated at Tue Sep 28 19:07:49 2021
Results reported at Tue Sep 28 19:07:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin834 340.957 -25.1701 455500801 455760001 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 :                                   611.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            742 sec.

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

