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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin625
RA = 340.957, Dec = -25.1701
tmin = 401328001, tmax = 401587201
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='442038', job_status='RUN', time_executed='2021-09-28 18:54:58.201257', time_epoch_executed='1632880498.2' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/442038

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/442038/ft1_4FGL_J2243.8-2510_daily_bin625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/442038/ft2_4FGL_J2243.8-2510_daily_bin625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/442038/ft1_4FGL_J2243.8-2510_daily_bin625.fits outfile=/scratch/kocevski/442038/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin625.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=401328001.0 tmax=401587201.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.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/442038/ft2_4FGL_J2243.8-2510_daily_bin625.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/442038/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin625.fits evtable="EVENTS" outfile="/scratch/kocevski/442038/ft1_filtered_4FGL_J2243.8-2510_daily_bin625.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/442038/ft1_filtered_4FGL_J2243.8-2510_daily_bin625.fits" evtable="EVENTS" scfile=/scratch/kocevski/442038/ft2_4FGL_J2243.8-2510_daily_bin625.fits sctable="SC_DATA" outfile=/scratch/kocevski/442038/ltcube_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.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/442038/ft2_4FGL_J2243.8-2510_daily_bin625.fits
.....................!
real 11.83
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/442038/ft1_filtered_4FGL_J2243.8-2510_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/442038/ft2_4FGL_J2243.8-2510_daily_bin625.fits sctable="SC_DATA" expcube=/scratch/kocevski/442038/ltcube_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.fits outfile=/scratch/kocevski/442038/expmap_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.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/442038/ltcube_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.fits
.....................!
real 190.69
user 185.32
sys 5.01

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/442038/ft1_filtered_4FGL_J2243.8-2510_daily_bin625.fits scfile=/scratch/kocevski/442038/ft2_4FGL_J2243.8-2510_daily_bin625.fits outfile=/scratch/kocevski/442038/cmap_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.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.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    1.0557       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .89158       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.934       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.827       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6278       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.404       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6486       1.0000         .10000E-03   10000.    
    14 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2624       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7568       1.0000         .10000E-03   10000.    
    17 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10780E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2755       1.0000         .10000E-03   10000.    
    21 'norm      '    2.1513       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .75048E-02   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75004       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88141       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=   6595.712     FROM MIGRAD    STATUS=CONVERGED    993 CALLS     3216 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    72.261        .18142E-02** at limit **
   2  norm          1.0557        .30529        .23419E-04   -.32574E-03
   3  Prefactor     .10000E-03    3.7227        .15244E-02** at limit **
   4  Prefactor     .88886        22.853        .44163E-02    .24215E-03
   5  Prefactor     .10000E-03    2.6432        .12840E-02** at limit **
   6  Prefactor     .10000E-03    17.374        .18142E-02** at limit **
   7  norm          19.932        17.835        .89707E-04   -.14447E-04
   8  Prefactor     .10000E-03    12.163        .18142E-02** at limit **
   9  Prefactor     10.826        10.156        .12176E-03   -.36694E-04
  10  norm          .10000E-03    .13599        .29007E-03** at limit **
  11  norm          2.6263        2.2251        .44033E-03    .13423E-03
  12  Prefactor     17.413        36.755        .96005E-04   -.45472E-04
  13  Prefactor     3.6478        5.8858        .21149E-03   -.38059E-04
  14  norm          .10000E-03    5.5644        .19271E-02** at limit **
  15  Prefactor     6.2520        13.976        .16041E-03   -.22467E-04
  16  Prefactor     9.7591        9.4786        .12829E-03   -.50069E-04
  17  norm          .10000E-03    .14861        .57508E-03** at limit **
  18  Prefactor     .10000E-03    80.259        .18142E-02** at limit **
  19  Prefactor     .10000E-03    9.9928        .55509E-01** at limit **
  20  Prefactor     3.2710        7.0825        .22374E-03    .18851E-04
  21  norm          2.1493        2.0287        .10852E-03    .41905E-04
  22  Prefactor     .10000E-03    56.396        .37171E-03** at limit **
  23  Normalizat    .75015        .17645        .23236E-03   -.22086E-03
  24  Prefactor     .88131        .16121        .20458E-03   -.40487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.05567
  Prefactor  = 0.0001
  Prefactor  = 0.88886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.9324
  Prefactor  = 0.0001
  Prefactor  = 10.8259
  norm       = 0.0001
  norm       = 2.6263
  Prefactor  = 17.413
  Prefactor  = 3.64783
  norm       = 0.000100001
  Prefactor  = 6.25196
  Prefactor  = 9.75911
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 3.27098
  norm       = 2.14929
  Prefactor  = 0.000100001
  Normalizat = 0.750153
  Prefactor  = 0.881306
 **********
 **   18 **HESSE 
 **********

 FCN=   6595.712     FROM HESSE     STATUS=OK           385 CALLS     3601 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.270        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0557        .30528        .93675E-06   -1.5502    
   3  Prefactor     .10000E-03    3.7234        .30489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88886        22.883        .17665E-03   -1.5519    
   5  Prefactor     .10000E-03    2.6436        .25679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.375        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.932        17.835        .35883E-05   -1.4815    
   8  Prefactor     .10000E-03    12.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.826        10.157        .48704E-05   -1.5050    
  10  norm          .10000E-03    .13600        .58014E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6263        2.2285        .17613E-04   -1.5384    
  12  Prefactor     17.413        36.822        .38402E-05   -1.4873    
  13  Prefactor     3.6478        5.8852        .84594E-05   -1.5326    
  14  norm          .10000E-03    5.5886        .38543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.2520        13.969        .64163E-05   -1.5208    
  16  Prefactor     9.7591        9.4731        .51316E-05   -1.5083    
  17  norm          .10000E-03    .14862        .11502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    80.274        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.8280        .64813E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2710        7.0780        .89496E-05   -1.5346    
  21  norm          2.1493        2.0286        .43408E-05   -1.5415    
  22  Prefactor     .10000E-03    56.399        .74341E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .75015        .17666        .92943E-05   -1.0195    
  24  Prefactor     .88131        .16128        .40916E-04   -.96797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57578e-10
Minuit parameter uncertainties:
  1  0.000344698
  2  0.305283
  3  1.03496e-05
  4  9.02318
  5  6.71764e-06
  6  1.37005e-05
  7  17.8401
  8  2.28462e-05
  9  10.1584
  10  3.94194e-07
  11  2.22856
  12  36.8697
  13  5.88618
  14  0.000135329
  15  13.9761
  16  9.47453
  17  1.0064e-06
  18  0.000235091
  19  0.000301674
  20  7.07983
  21  2.0287
  22  0.000495546
  23  0.17679
  24  0.16137
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.741e+01  3.687e+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:  8.813e-01  1.614e-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:  7.502e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 8.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/442038/likelihoodResults_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.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) = 6595.70752919
delta logL = 0.00444920877635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6595.70603526
delta logL = 0.00594314461523

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.721       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8640       1.0000          .0000       10.000    
     3 'Normalizat'    .74711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88328       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=   6595.706     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      262 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.719        35.284        .10101E-03    .96114E-04
   2  Index         2.8640        1.6215        .14025E-01    .26660E-04
   3  Normalizat    .74734        .16857        .23274E-03   -.24995E-03
   4  Prefactor     .88306        .15793        .20439E-03   -.26408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7195
  Index      = 2.86399
  Normalizat = 0.747343
  Prefactor  = 0.88306
 **********
 **   18 **HESSE 
 **********

 FCN=   6595.706     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.719        31.932        .40405E-05   -1.4915    
   2  Index         2.8640        1.4701        .56101E-03   -.44140    
   3  Normalizat    .74734        .16850        .93097E-05   -1.0205    
   4  Prefactor     .88306        .15792        .40878E-04   -.96736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20722e-10
Minuit parameter uncertainties:
  1  31.9665
  2  1.4973
  3  0.16862
  4  0.158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/442038': 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) = 6595.70603425
delta logL = 0.00594415649812

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.572e+01  3.197e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.864e+00  1.497e+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:  8.831e-01  1.580e-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:  7.473e-01  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/442038/cmap_HighResolution_401328001_401587201_4FGL_J2243.8-2510_daily_bin625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.89e-08', time_completed='2021-09-28 19:06:31.999951', job_id='442038', GAL2='0.88', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632881192.0', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='5.94e-03', ts2='0.47', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='625' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:06:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 442038: <4FGL_J2243.8-2510_daily_bin625> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin625 340.957 -25.1701 401328001 401587201 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 :                                   695.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            939 sec.

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

