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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin934
RA = 340.957, Dec = -25.1701
tmin = 481420801, tmax = 481680001
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='443497', job_status='RUN', time_executed='2021-09-28 18:56:08.668382', time_epoch_executed='1632880568.67' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443497

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443497/ft1_4FGL_J2243.8-2510_daily_bin934.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443497/ft1_4FGL_J2243.8-2510_daily_bin934.fits outfile=/scratch/kocevski/443497/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin934.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=481420801.0 tmax=481680001.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.78
user 3.50
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443497/ft1_filtered_4FGL_J2243.8-2510_daily_bin934.fits" evtable="EVENTS" scfile=/scratch/kocevski/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits sctable="SC_DATA" outfile=/scratch/kocevski/443497/ltcube_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.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/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits
.....................!
real 12.04
user 11.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443497/ft1_filtered_4FGL_J2243.8-2510_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits sctable="SC_DATA" expcube=/scratch/kocevski/443497/ltcube_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.fits outfile=/scratch/kocevski/443497/expmap_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.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/443497/ltcube_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.fits
.....................!
real 191.83
user 186.57
sys 4.93

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/443497/ft1_filtered_4FGL_J2243.8-2510_daily_bin934.fits scfile=/scratch/kocevski/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits outfile=/scratch/kocevski/443497/cmap_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443497/ft1_filtered_4FGL_J2243.8-2510_daily_bin934.fits scfile=/scratch/kocevski/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits outfile=/scratch/kocevski/443497/cmap_HighResolution_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443497/ft1_filtered_4FGL_J2243.8-2510_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/443497/ft2_4FGL_J2243.8-2510_daily_bin934.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443497/Model_4FGL_J2243.8-2510_daily_bin934.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/443497/ft1_filtered_4FGL_J2243.8-2510_daily_bin934.fits.....................!
real 44.08
user 42.74
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4780       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39439E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.986       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.264       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9463       1.0000         .10000E-03   10000.    
    11 'norm      '    .97389       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.6819       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .50527       1.0000         .10000E-03   10000.    
    17 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10609E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10706E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.551       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4896       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69976       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=   4865.291     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2781 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.099        .24391E-06** at limit **
   2  norm          1.4779        .49747        .24071E-08   -.46382E-04
   3  Prefactor     .10000E-03    5.8269       -.82110E-07** at limit **
   4  Prefactor     .10000E-03    17.066       -.12993E-06** at limit **
   5  Prefactor     .10198E-03    39.111        .13668E-04** at limit **
   6  Prefactor     .10000E-03    48.540       -.15693E-06** at limit **
   7  norm          11.980        16.130       -.20772E-06   -.30723E-04
   8  Prefactor     12.249        24.753        .20717E-06   -.54216E-04
   9  Prefactor     .10000E-03    4.4119       -.40349E-07** at limit **
  10  norm          1.9461        1.1604       -.20360E-08    .11465E-04
  11  norm          .97273        1.8908        .14175E-05    .95890E-04
  12  Prefactor     8.6863        44.594       -.43801E-05   -.55288E-04
  13  Prefactor     .10000E-03    6.5869       -.60466E-07** at limit **
  14  norm          .10000E-03    2.0050       -.12512E-06** at limit **
  15  Prefactor     .10000E-03    7.6031       -.15638E-06** at limit **
  16  Prefactor     .47840        16.183       -.86574E-05   -.69840E-03
  17  norm          .10000E-03    .39707       -.42640E-06** at limit **
  18  Prefactor     .10000E-03    34.002       -.12838E-06** at limit **
  19  Prefactor     .10000E-03    16.607       -.19327E-06** at limit **
  20  Prefactor     .10000E-03    10.161       -.24938E-06** at limit **
  21  norm          .10000E-03    4.8539        .25496E-05** at limit **
  22  Prefactor     20.448        52.878       -.12324E-05   -.62759E-04
  23  Normalizat    1.4897        .22550        .14292E-05   -.34755E-03
  24  Prefactor     .69976        .19168       -.13683E-05   -.58253E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 1.47789
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101979
  Prefactor  = 0.0001
  norm       = 11.9803
  Prefactor  = 12.2485
  Prefactor  = 0.0001
  norm       = 1.94615
  norm       = 0.972728
  Prefactor  = 8.68633
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.478399
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 20.4484
  Normalizat = 1.48969
  Prefactor  = 0.699758
 **********
 **   18 **HESSE 
 **********

 FCN=   4865.291     FROM HESSE     STATUS=OK           397 CALLS     3178 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4779        .49741        .27704E-04   -1.5465    
   3  Prefactor     .10000E-03    5.8525        .16443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10198E-03    120.00        .33865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    48.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.980        16.131        .11571E-03   -1.5016    
   8  Prefactor     12.249        24.581        .11439E-03   -1.5008    
   9  Prefactor     .10000E-03    4.4162        .14307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9461        1.1578        .55703E-04   -1.5429    
  11  norm          .97273        1.9014        .14265E-02   -1.5511    
  12  Prefactor     8.6863        44.921        .13604E-03   -1.5118    
  13  Prefactor     .10000E-03    6.6028        .17482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.0152        .96310E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.6196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .47840        21.113        .27884E-02   -1.5570    
  17  norm          .10000E-03    .62487        .76997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.9312        .29679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.448        53.102        .88354E-04   -1.4803    
  23  Normalizat    1.4897        .26462        .23122E-03   -.78069    
  24  Prefactor     .69976        .22718        .28158E-03   -1.0354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98518e-08
Minuit parameter uncertainties:
  1  0.000422117
  2  0.497415
  3  1.04882e-05
  4  1.29494e-05
  5  0.0308823
  6  0.000126483
  7  16.1368
  8  24.6016
  9  2.63874e-06
  10  1.15778
  11  1.90152
  12  39.5533
  13  7.08215e-06
  14  8.01925e-06
  15  1.92517e-05
  16  6.35801
  17  3.03523e-06
  18  0.000150914
  19  4.87174e-05
  20  5.60564e-05
  21  0.000113743
  22  53.2246
  23  0.264863
  24  0.227484
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  8.686e+00  3.955e+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:  6.998e-01  2.275e-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.490e+00  2.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443497/likelihoodResults_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.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) = 4865.27729006
delta logL = 0.0138361313229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4865.27150989
delta logL = 0.0196163042629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.471       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3445       1.0000          .0000       10.000    
     3 'Normalizat'    1.4908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69826       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=   4865.272     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      265 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.458        46.554        .10913E-03    .38279E-03
   2  Index         2.3487        1.5733        .13090E-01    .24116E-03
   3  Normalizat    1.4913        .25707        .23110E-03   -.99890E-03
   4  Prefactor     .69788        .22409        .28190E-03   -.80765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4584
  Index      = 2.34869
  Normalizat = 1.49126
  Prefactor  = 0.69788
 **********
 **   18 **HESSE 
 **********

 FCN=   4865.272     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.458        45.787        .21827E-04   -1.4974    
   2  Index         2.3487        1.5489        .52362E-03   -.55891    
   3  Normalizat    1.4913        .25731        .46221E-04   -.78024    
   4  Prefactor     .69788        .22426        .56381E-04   -1.0361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05832e-08
Minuit parameter uncertainties:
  1  45.9069
  2  1.58562
  3  0.257533
  4  0.22455
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443497': 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) = 4865.27150482
delta logL = 0.0196213745357

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.346e+01  4.591e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.349e+00  1.586e+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:  6.979e-01  2.246e-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.491e+00  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/443497/cmap_HighResolution_481420801_481680001_4FGL_J2243.8-2510_daily_bin934.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.82e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-28 19:05:37.950543', job_id='443497', GAL2='0.70', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1632881137.95', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='1.96e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='934' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:05:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 443497: <4FGL_J2243.8-2510_daily_bin934> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin934 340.957 -25.1701 481420801 481680001 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 :                                   567.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

