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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1633
RA = 340.957, Dec = -25.1701
tmin = 662601601, tmax = 662860801
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='693039', job_status='RUN', time_executed='2022-01-03 00:36:14.416167', time_epoch_executed='1641198974.42' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693039

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693039/ft1_4FGL_J2243.8-2510_daily_bin1633.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693039/ft1_4FGL_J2243.8-2510_daily_bin1633.fits outfile=/scratch/kocevski/693039/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1633.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=662601601.0 tmax=662860801.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 2.92
user 2.72
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.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/693039/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1633.fits evtable="EVENTS" outfile="/scratch/kocevski/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.fits" evtable="EVENTS" scfile=/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits sctable="SC_DATA" outfile=/scratch/kocevski/693039/ltcube_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.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/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits
.....................!
real 16.50
user 16.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits sctable="SC_DATA" expcube=/scratch/kocevski/693039/ltcube_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.fits outfile=/scratch/kocevski/693039/expmap_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.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/693039/ltcube_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.fits
.....................!
real 193.15
user 188.09
sys 4.75

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/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.fits scfile=/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits outfile=/scratch/kocevski/693039/cmap_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.fits scfile=/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits outfile=/scratch/kocevski/693039/cmap_HighResolution_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/693039/ft2_4FGL_J2243.8-2510_daily_bin1633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693039/Model_4FGL_J2243.8-2510_daily_bin1633.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/693039/ft1_filtered_4FGL_J2243.8-2510_daily_bin1633.fits.....................!
real 55.36
user 54.11
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33504E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .50921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .44548E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.300       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.1974       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.838       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.278       1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.8294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.206       1.0000         .10000E-03   10000.    
    14 'norm      '    .21522E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.606       1.0000         .10000E-03   10000.    
    17 'norm      '    .60289       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.1983       1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.572       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94414       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93146       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=   7320.445     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2780 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    321.53       -.63033E-05** at limit **
   2  norm          .50882        .28248       -.77794E-07   -.13973E-02
   3  Prefactor     .10320E-03    7.0849        .25729E-05** at limit **
   4  Prefactor     14.288        20.578       -.57154E-06   -.26300E-03
   5  Prefactor     .10000E-03    1.8143        .11053E-07** at limit **
   6  Prefactor     .10000E-03    48.788       -.24575E-06** at limit **
   7  norm          9.2001        16.929        .14271E-06    .16958E-04
   8  Prefactor     10.837        14.813        .21120E-06    .34691E-05
   9  Prefactor     13.271        11.383        .21729E-05    .44017E-03
  10  norm          .10000E-03    .20277        .39379E-07** at limit **
  11  norm          2.8270        1.9523        .27023E-06    .58466E-03
  12  Prefactor     .10000E-03    96.844        .10373E-06** at limit **
  13  Prefactor     10.206        9.9850        .33253E-06    .39345E-04
  14  norm          .10004E-03    2.1049       -.54650E-06** at limit **
  15  Prefactor     .10000E-03    17.007       -.13606E-06** at limit **
  16  Prefactor     13.590        11.615       -.20258E-06    .45253E-03
  17  norm          .60267        .85754        .23477E-06    .17450E-02
  18  Prefactor     .10000E-03    30.061        .12219E-06** at limit **
  19  Prefactor     .10000E-03    1.8515        .13061E-07** at limit **
  20  Prefactor     .10000E-03    4.2683       -.28912E-07** at limit **
  21  norm          5.1981        2.8244        .95017E-07    .40574E-04
  22  Prefactor     24.572        20.456        .96491E-07   -.19131E-05
  23  Normalizat    .94446        .16937       -.10673E-05   -.31950E-03
  24  Prefactor     .93116        .14948       -.31418E-06   -.41254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100025
  norm       = 0.508815
  Prefactor  = 0.000103196
  Prefactor  = 14.2884
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.20008
  Prefactor  = 10.8375
  Prefactor  = 13.2706
  norm       = 0.0001
  norm       = 2.82703
  Prefactor  = 0.0001
  Prefactor  = 10.2065
  norm       = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 13.5899
  norm       = 0.60267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.19811
  Prefactor  = 24.5718
  Normalizat = 0.94446
  Prefactor  = 0.931161
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.445     FROM HESSE     STATUS=OK           409 CALLS     3189 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    326.04        .19705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .50882        .28459        .32901E-04   -1.5565    
   3  Prefactor     .10320E-03    8.7156        .63549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.288        20.605        .10592E-03   -1.4952    
   5  Prefactor     .10000E-03    1.8184        .11255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    48.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.2001        16.923        .13215E-03   -1.5101    
   8  Prefactor     10.837        14.813        .12170E-03   -1.5049    
   9  Prefactor     13.271        11.388        .54962E-03   -1.4979    
  10  norm          .10000E-03    .32070        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.8270        1.9438        .94788E-04   -1.5372    
  12  Prefactor     .10000E-03    98.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.206        10.032        .12542E-03   -1.5069    
  14  norm          .10004E-03    23.810        .21857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.590        11.413        .10859E-03   -1.4971    
  17  norm          .60267        .82608        .58009E-03   -1.5553    
  18  Prefactor     .10000E-03    30.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8535        .11370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2917        .17239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.1981        2.8245        .10117E-03   -1.5252    
  22  Prefactor     24.572        20.455        .80809E-04   -1.4716    
  23  Normalizat    .94446        .20555        .24665E-03   -.94915    
  24  Prefactor     .93116        .18134        .23079E-03   -.95061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30817e-09
Minuit parameter uncertainties:
  1  0.0057809
  2  0.284595
  3  0.0105577
  4  20.6149
  5  1.20854e-06
  6  0.000106635
  7  16.9317
  8  14.8184
  9  11.39
  10  1.14497e-06
  11  1.94386
  12  0.000260445
  13  10.0341
  14  0.00187675
  15  2.55054e-05
  16  11.4152
  17  0.826099
  18  5.5012e-05
  19  1.22241e-06
  20  4.10136e-06
  21  2.82453
  22  20.461
  23  0.205717
  24  0.181454
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.604e-04  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:  9.312e-01  1.815e-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:  9.445e-01  2.057e-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: 7.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693039/likelihoodResults_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.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) = 7320.44547883
delta logL = -4.84915453853e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7320.4454317
delta logL = -1.35925984068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20647E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9719       1.0000          .0000       10.000    
     3 'Normalizat'    .94446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93116       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=   7320.445     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      290 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11820E-03    .36184        .18142    ** at limit **
   2  Index         2.7691        6.8299        .50000        .61930E-05
   3  Normalizat    .94445        .60411E-03    .24665E-03   -.59764E-03
   4  Prefactor     .93117        .56472E-03    .23079E-03   -.20739E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000118196
  Index      = 2.76906
  Normalizat = 0.944454
  Prefactor  = 0.931166
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.445     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      321 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11820E-03    224.11        .63803E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7691        6.0823        .50000       -.46250    
   3  Normalizat    .94445        .62099E-02    .49330E-04   -.94915    
   4  Prefactor     .93117        .58050E-02    .92314E-05   -.95060    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.23809e-08
Minuit parameter uncertainties:
  1  0.128199
  2  424.467
  3  0.00620986
  4  0.00580498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693039': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7320.44543051
delta logL = -1.68651240529e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.182e-04  1.282e-01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.769e+00  4.245e+02  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:  9.312e-01  5.805e-03  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:  9.445e-01  6.210e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/693039/cmap_HighResolution_662601601_662860801_4FGL_J2243.8-2510_daily_bin1633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='7.82e-08', time_completed='2022-01-03 00:48:02.190018', job_id='693039', GAL2='0.93', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1641199682.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-1.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1633' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan  3 00:48:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 693039: <4FGL_J2243.8-2510_daily_bin1633> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1633> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jan  3 00:35:35 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan  3 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan  3 00:35:36 2022
Terminated at Mon Jan  3 00:48:03 2022
Results reported at Mon Jan  3 00:48:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1633 340.957 -25.1701 662601601 662860801 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 :                                   710.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            748 sec.

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

