/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 225 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1708
RA = 340.957, Dec = -25.1701
tmin = 682041601, tmax = 682300801
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='248744', job_status='RUN', time_executed='2022-09-17 00:13:48.601515', time_epoch_executed='1663398828.6' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248744/ft1_4FGL_J2243.8-2510_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248744/ft1_4FGL_J2243.8-2510_daily_bin1708.fits outfile=/scratch/kocevski/248744/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1708.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.05
user 3.79
sys 0.23

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

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

Number of photons that the gtmktime cut: 412

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/248744/ltcube_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.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/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits
.....................!
real 14.36
user 13.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/248744/ltcube_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.fits outfile=/scratch/kocevski/248744/expmap_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.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/248744/ltcube_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.fits
.....................!
real 191.45
user 186.04
sys 4.70

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/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits scfile=/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits outfile=/scratch/kocevski/248744/cmap_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.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.59
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits scfile=/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits outfile=/scratch/kocevski/248744/cmap_HighResolution_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248744/Model_4FGL_J2243.8-2510_daily_bin1708.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/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits.....................!
real 43.13
user 41.71
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits', '/scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits', expMap='/scratch/kocevski/248744/expmap_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.fits', expCube='/scratch/kocevski/248744/ltcube_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248744/Model_4FGL_J2243.8-2510_daily_bin1708.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  0.000e+00  1.000e+06 ( 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/248744/ft1_filtered_4FGL_J2243.8-2510_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/248744/ft2_4FGL_J2243.8-2510_daily_bin1708.fits
Exposure map: /scratch/kocevski/248744/expmap_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.fits
Exposure cube: /scratch/kocevski/248744/ltcube_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248744/Model_4FGL_J2243.8-2510_daily_bin1708.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) = 4694.56269835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34277E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.0243       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18551E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.118       1.0000          .0000       .10000E+07
     5 'Prefactor '    .59408E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    33.678       1.0000          .0000       .10000E+07
     7 'norm      '    13.098       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12021E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.983       1.0000          .0000       .10000E+07
    10 'norm      '    .31641E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .16437E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40131       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.146       1.0000          .0000       .10000E+07
    14 'norm      '    3.2761       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.5869       1.0000          .0000       .10000E+07
    16 'Prefactor '    .48630       1.0000          .0000       .10000E+07
    17 'norm      '    .79979       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.1913       1.0000          .0000       .10000E+07
    19 'Prefactor '    18.259       1.0000          .0000       .10000E+07
    20 'norm      '    .32733E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3112       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .58728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4694.551     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1711 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        22.719        .36940E-09** at limit **
   2  norm          1.0242        .40477       -.13770E-07   -.40931E-01
   3  Prefactor     .55511E-10    5.6544       -.75188E-07** at limit **
   4  Prefactor     11.082        1.1278       -.67545E-08    .40737E-01
   5  Prefactor      .0000        3.1673       -.22615E-07** at limit **
   6  Prefactor     33.572        10.837       -.72148E-07    .14033    
   7  norm          13.104        1.0553        .38874E-08   -.16679E-01
   8  Prefactor     .11102E-09    10.034        .21127E-06** at limit **
   9  Prefactor     15.000        1.0401        .40713E-08   -.25351E-01
  10  norm           .0000        .25184        .17740E-07** at limit **
  11  norm          .55511E-10    1.3021        .24050E-07** at limit **
  12  Prefactor     .94647E-07    68.562       -.53256E-06** at limit **
  13  Prefactor     25.165        2.9962        .82711E-08    .82295E-01
  14  norm          3.3066        5.4114       -.18453E-07   -.45199E-02
  15  Prefactor     9.6462        6.6422        .76157E-07    .38479E-01
  16  Prefactor     .20970        301.52       -.13122E-05** at limit **
  17  norm          .80652        .83050        .18035E-07   -.46484E-02
  18  Prefactor     3.1604        1.7500       -.21031E-07    .45910E-01
  19  Prefactor     18.355        5.8222        .51207E-07    .24977E-01
  20  norm           .0000        4.2763       -.28053E-07** at limit **
  21  Normalizat    1.3128        .25581        .15211E-05   -.45843E-03
  22  Prefactor     .58643        .21682       -.31808E-05   -.46742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.02418
  Prefactor  = 5.55112e-11
  Prefactor  = 11.0819
  Prefactor  = 0
  Prefactor  = 33.5721
  norm       = 13.1038
  Prefactor  = 1.11022e-10
  Prefactor  = 15.0004
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 9.46465e-08
  Prefactor  = 25.1646
  norm       = 3.30661
  Prefactor  = 9.64619
  Prefactor  = 0.209698
  norm       = 0.806525
  Prefactor  = 3.16044
  Prefactor  = 18.3549
  norm       = 0
  Normalizat = 1.31284
  Prefactor  = 0.58643
 **********
 **   18 **HESSE 
 **********

 FCN=   4694.551     FROM HESSE     STATUS=OK           394 CALLS     2105 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        22.712        .16233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0242        .40428        .60271E-03   -1.5688    
   3  Prefactor     .55511E-10    5.6615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.082        12.467        .30021E-03   -1.5641    
   5  Prefactor      .0000        3.1739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     33.572        65.555        .17234E-03   -1.5592    
   7  norm          13.104        16.970        .27652E-03   -1.5636    
   8  Prefactor     .11102E-09    10.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.000        14.645        .25849E-03   -1.5631    
  10  norm           .0000        .25215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    1.3020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94647E-07    70.589        .89335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.165        17.143        .19946E-03   -1.5608    
  14  norm          3.3066        5.7340        .55920E-03   -1.5672    
  15  Prefactor     9.6462        17.350        .32341E-03   -1.5646    
  16  Prefactor     .20970        21.245        .80100E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .80652        .91935        .52951E-03   -1.5690    
  18  Prefactor     3.1604        18.540        .56697E-03   -1.5672    
  19  Prefactor     18.355        15.883        .23412E-03   -1.5622    
  20  norm           .0000        4.2432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3128        .22015        .51613E-01   -.83184    
  22  Prefactor     .58643        .18395        .63977E-01   -1.0816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07946e-06
Minuit parameter uncertainties:
  1  4.51815e-07
  2  0.404285
  3  3.3001e-05
  4  12.4672
  5  5.20296e-06
  6  65.5559
  7  16.9699
  8  6.46537e-05
  9  14.6453
  10  3.67763e-06
  11  1.33831e-05
  12  0.00517009
  13  17.1428
  14  5.73398
  15  17.35
  16  4.22144
  17  0.919352
  18  15.3094
  19  15.8832
  20  1.12175e-05
  21  0.22031
  22  0.184135
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  9.465e-08  5.170e-03  0.000e+00  1.000e+06 ( 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:  5.864e-01  1.841e-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.313e+00  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/248744/likelihoodResults_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.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) = 4694.55759402
delta logL = -0.00685124770189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4694.54865778
delta logL = 0.00208499596101

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83754       1.0000          .0000       .10000E+07
     2 'Index     '    3.8276       1.0000          .0000       10.000    
     3 'Normalizat'    1.3080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58887       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4694.549     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      285 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93342        131.57        .10036E-03   -.61513E-04
   2  Index         3.8123        6.8095        .13991E-01    .93930E-06
   3  Normalizat    1.3076        .26142        .22856E-03    .39474E-04
   4  Prefactor     .58910        .21755        .28248E-03    .25435E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.933424
  Index      = 3.81229
  Normalizat = 1.3076
  Prefactor  = 0.589098
 **********
 **   18 **HESSE 
 **********

 FCN=   4694.549     FROM HESSE     STATUS=OK            27 CALLS      312 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93342        75.185        .40142E-05   -1.5689    
   2  Index         3.8123        6.8911        .55966E-03   -.23983    
   3  Normalizat    1.3076        .25946        .45712E-04   -.83340    
   4  Prefactor     .58910        .21723        .11299E-04   -1.0805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80495e-12
Minuit parameter uncertainties:
  1  16.7548
  2  5.93038
  3  0.259717
  4  0.217536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248744': 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) = 4694.54864072
delta logL = 0.00210205069834

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  9.334e-01  1.675e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.812e+00  5.930e+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:  5.891e-01  2.175e-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.308e+00  2.597e-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/248744/cmap_HighResolution_682041601_682300801_4FGL_J2243.8-2510_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.82e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2022-09-17 00:22:03.817655', job_id='248744', GAL2='0.59', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1663399323.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='2.10e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1708' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:22:03 PDT 2022

'1.31', EG='1.31', time_epoch_completed='1663399177.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='2.10e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1708' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:19:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 248723: <4FGL_J2243.8-2510_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:25 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:09:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:09:44 2022
Terminated at Sat Sep 17 00:19:38 2022
Results reported at Sat Sep 17 00:19:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1708 340.957 -25.1701 682041601 682300801 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 :                                   503.16 sec.
    Max Memory :                                 617 MB
    Average Memory :                             253.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            853 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 248744: <4FGL_J2243.8-2510_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1708> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:26 2022
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:09:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:09:51 2022
Terminated at Sat Sep 17 00:22:04 2022
Results reported at Sat Sep 17 00:22:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1708 340.957 -25.1701 682041601 682300801 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 :                                   496.57 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             230.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            998 sec.

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

