/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 121 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 = 7473
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin269
RA = 340.957, Dec = -25.1701
tmin = 309052801, tmax = 309312001
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='440098', job_status='RUN', time_executed='2021-09-28 18:47:47.130101', time_epoch_executed='1632880067.13' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440098/ft1_4FGL_J2243.8-2510_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440098/ft1_4FGL_J2243.8-2510_daily_bin269.fits outfile=/scratch/kocevski/440098/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin269.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=309052801.0 tmax=309312001.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.40
user 3.15
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.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/440098/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin269.fits evtable="EVENTS" outfile="/scratch/kocevski/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/440098/ltcube_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.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/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits
.....................!
real 12.30
user 11.71
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/440098/ltcube_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.fits outfile=/scratch/kocevski/440098/expmap_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.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/440098/ltcube_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.fits
.....................!
real 194.21
user 185.26
sys 8.40

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/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.fits scfile=/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits outfile=/scratch/kocevski/440098/cmap_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.fits scfile=/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits outfile=/scratch/kocevski/440098/cmap_HighResolution_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.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/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/440098/ft2_4FGL_J2243.8-2510_daily_bin269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440098/Model_4FGL_J2243.8-2510_daily_bin269.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/440098/ft1_filtered_4FGL_J2243.8-2510_daily_bin269.fits.....................!
real 61.44
user 59.15
sys 2.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.097       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7913       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8162       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51447       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.626       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.576       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9294       1.0000         .10000E-03   10000.    
    10 'norm      '    .10551E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0749       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.448       1.0000         .10000E-03   10000.    
    14 'norm      '    8.2888       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11077E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.823       1.0000         .10000E-03   10000.    
    17 'norm      '    .61218       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .90550       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3820       1.0000         .10000E-03   10000.    
    21 'norm      '    5.5816       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.958       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1830       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .65564       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=   7807.414     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2771 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.107        70.333       -.68779E-06   -.10230E-04
   2  norm          2.7914        .49491        .10929E-07    .10814E-03
   3  Prefactor     4.8165        7.2622        .22531E-06    .30550E-03
   4  Prefactor     .48313        29.140       -.48858E-05    .26369E-03
   5  Prefactor     .10000E-03    7.7679       -.25795E-06** at limit **
   6  Prefactor     .10000E-03    14.961       -.82018E-06** at limit **
   7  norm          19.626        15.613        .38829E-07   -.20534E-05
   8  Prefactor     14.580        14.991       -.12917E-06   -.19678E-04
   9  Prefactor     1.9308        5.4907        .11412E-05    .65973E-03
  10  norm          .10961E-01    .27412        .28728E-07   -.15975E-03
  11  norm          1.0752        .98507        .94083E-08   -.22105E-03
  12  Prefactor     .10000E-03    12.954        .69274E-06** at limit **
  13  Prefactor     15.450        9.4060       -.79026E-07   -.68319E-05
  14  norm          8.2876        3.7604        .63398E-07   -.58947E-04
  15  Prefactor     .10000E-03    22.749       -.10098E-05** at limit **
  16  Prefactor     13.817        9.8204        .73774E-06    .12530E-03
  17  norm          .61259        .68662        .25909E-06    .99047E-03
  18  Prefactor     .10000E-03    21.493       -.66430E-06** at limit **
  19  Prefactor     .91749        6.1760        .42580E-06   -.14984E-03
  20  Prefactor     3.3816        4.5170       -.52851E-07    .28542E-04
  21  norm          5.5818        2.8731        .48387E-09   -.68613E-05
  22  Prefactor     10.960        26.865       -.11788E-06   -.91777E-05
  23  Normalizat    1.1828        .15723       -.78924E-07   -.22127E-04
  24  Prefactor     .65582        .13847       -.10980E-06   -.86577E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1067
  norm       = 2.79136
  Prefactor  = 4.81653
  Prefactor  = 0.483131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6257
  Prefactor  = 14.5796
  Prefactor  = 1.93077
  norm       = 0.010961
  norm       = 1.07522
  Prefactor  = 0.0001
  Prefactor  = 15.4502
  norm       = 8.28761
  Prefactor  = 0.000100002
  Prefactor  = 13.8173
  norm       = 0.612591
  Prefactor  = 0.0001
  Prefactor  = 0.91749
  Prefactor  = 3.38157
  norm       = 5.58181
  Prefactor  = 10.9598
  Normalizat = 1.18284
  Prefactor  = 0.655816
 **********
 **   18 **HESSE 
 **********

 FCN=   7807.414     FROM HESSE     STATUS=OK           419 CALLS     3190 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.107        70.407        .75581E-04   -1.4647    
   2  norm          2.7914        .49590        .25085E-04   -1.5374    
   3  Prefactor     4.8165        7.3263        .91657E-03   -1.5269    
   4  Prefactor     .48313        49.350        .43349E-02   -1.5569    
   5  Prefactor     .10000E-03    8.0666        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.626        15.610        .90410E-04   -1.4822    
   8  Prefactor     14.580        15.003        .10491E-03   -1.4944    
   9  Prefactor     1.9308        6.9095        .14952E-02   -1.5430    
  10  norm          .10961E-01    5.0879        .89268E-03   -1.5687    
  11  norm          1.0752        1.0600        .81462E-03   -1.5501    
  12  Prefactor     .10000E-03    12.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.450        9.4526        .10190E-03   -1.4922    
  14  norm          8.2876        3.7540        .10591E-03   -1.5132    
  15  Prefactor     .10000E-03    23.672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.817        9.6318        .10773E-03   -1.4964    
  17  norm          .61259        .65276        .55245E-03   -1.5551    
  18  Prefactor     .10000E-03    21.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .91749        15.812        .41550E-02   -1.5516    
  20  Prefactor     3.3816        4.4997        .20561E-03   -1.5340    
  21  norm          5.5818        2.8716        .10147E-03   -1.5235    
  22  Prefactor     10.960        26.880        .12103E-03   -1.5046    
  23  Normalizat    1.1828        .19248        .22590E-03   -.87135    
  24  Prefactor     .65582        .16913        .26702E-03   -1.0528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4604e-08
Minuit parameter uncertainties:
  1  70.6167
  2  0.4959
  3  7.32769
  4  9.77308
  5  4.98413e-07
  6  0.00010411
  7  15.6137
  8  15.0072
  9  6.91234
  10  0.470186
  11  1.06003
  12  6.56319e-05
  13  9.45356
  14  3.75413
  15  0.000446563
  16  9.63291
  17  0.652765
  18  0.000101747
  19  7.61955
  20  4.50011
  21  2.87163
  22  26.91
  23  0.192594
  24  0.169264
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  6.563e-05  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.558e-01  1.693e-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.183e+00  1.926e-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: 5.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440098/likelihoodResults_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.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) = 7807.41451051
delta logL = -0.000366813006622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7807.4141447
delta logL = -1.00159650174e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12101E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6812       1.0000          .0000       10.000    
     3 'Normalizat'    1.1827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65594       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=   7807.414     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      270 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    286.60        .18142E-01** at limit **
   2  Index         1.6265        5.8028        .50000       -.10762E-06
   3  Normalizat    1.1828        .11207E-01    .22590E-03   -.26791E-03
   4  Prefactor     .65582        .10188E-01    .26702E-03   -.22246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.62653
  Normalizat = 1.18284
  Prefactor  = 0.655815
 **********
 **   18 **HESSE 
 **********

 FCN=   7807.414     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1357.6        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6265        5.7910        .50000       -.74055    
   3  Normalizat    1.1828        .25527E-01    .45180E-04   -.87135    
   4  Prefactor     .65582        .23206E-01    .10681E-04   -1.0528    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.21794e-09
Minuit parameter uncertainties:
  1  0.00332577
  2  1022.84
  3  0.0255275
  4  0.0232062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440098': 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) = 7807.41414132
delta logL = 2.37584117713e-06

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.326e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.627e+00  1.023e+03  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.558e-01  2.321e-02  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.183e+00  2.553e-02  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/440098/cmap_HighResolution_309052801_309312001_4FGL_J2243.8-2510_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.38e-08', time_completed='2021-09-28 19:00:26.237910', job_id='440098', GAL2='0.66', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632880826.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.38e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='269' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:00:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 440098: <4FGL_J2243.8-2510_daily_bin269> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin269> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:35 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:37 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:45:37 2021
Terminated at Tue Sep 28 19:00:26 2021
Results reported at Tue Sep 28 19:00:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin269 340.957 -25.1701 309052801 309312001 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 :                                   758.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            891 sec.

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

