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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin345
RA = 340.865, Dec = -25.7363
tmin = 328752001, tmax = 329011201
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='433945', job_status='RUN', time_executed='2021-09-28 18:29:40.272562', time_epoch_executed='1632878980.27' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='345'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433945

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433945/ft1_4FGL_J2243.4-2544_daily_bin345.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433945/ft1_4FGL_J2243.4-2544_daily_bin345.fits outfile=/scratch/kocevski/433945/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin345.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=328752001.0 tmax=329011201.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.51
user 3.28
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.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/433945/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin345.fits evtable="EVENTS" outfile="/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits" evtable="EVENTS" scfile=/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits sctable="SC_DATA" outfile=/scratch/kocevski/433945/ltcube_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.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/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits
.....................!
real 11.78
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits sctable="SC_DATA" expcube=/scratch/kocevski/433945/ltcube_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.fits outfile=/scratch/kocevski/433945/expmap_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.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/433945/ltcube_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.fits
.....................!
real 190.18
user 184.73
sys 4.95

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.4-2544 @ 340.865 -25.7363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits scfile=/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits outfile=/scratch/kocevski/433945/cmap_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.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.865 yref=-25.7363 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.52
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits scfile=/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits outfile=/scratch/kocevski/433945/cmap_HighResolution_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.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.865 yref=-25.7363 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433945/Model_4FGL_J2243.4-2544_daily_bin345.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/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits.....................!
real 54.58
user 53.17
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits', '/scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits', expMap='/scratch/kocevski/433945/expmap_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.fits', expCube='/scratch/kocevski/433945/ltcube_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433945/Model_4FGL_J2243.4-2544_daily_bin345.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.4-2544'

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.477e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/433945/ft1_filtered_4FGL_J2243.4-2544_daily_bin345.fits
Spacecraft file(s): /scratch/kocevski/433945/ft2_4FGL_J2243.4-2544_daily_bin345.fits
Exposure map: /scratch/kocevski/433945/expmap_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.fits
Exposure cube: /scratch/kocevski/433945/ltcube_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433945/Model_4FGL_J2243.4-2544_daily_bin345.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) = 6980.56945404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1835       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .90041       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7148       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5701       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.834       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.313       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .52310       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.706       1.0000         .10000E-03   10000.    
    15 'norm      '    15.515       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5237       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .55527       1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.120       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .88797       1.0000         .10000E-03   10000.    
    22 'norm      '    .10319E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    25.359       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82417       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98368       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6980.562     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2895 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1824        12.084        .59179E-07   -.12659E-04
   2  Prefactor     .10000E-03    22.469       -.52475E-08** at limit **
   3  norm          .90041        .27362       -.16027E-08   -.26166E-04
   4  Prefactor     1.7160        9.7861        .13077E-05   -.86706E-04
   5  Prefactor     4.5709        11.714       -.29123E-07   -.29731E-04
   6  Prefactor     .10000E-03    3.6971        .66876E-07** at limit **
   7  Prefactor     .10000E-03    33.128        .45841E-07** at limit **
   8  norm          .10000E-03    8.0884       -.51770E-08** at limit **
   9  Prefactor     26.834        15.598        .79905E-07    .31374E-05
  10  Prefactor     17.299        10.879       -.18797E-06   -.85211E-04
  11  norm          .10000E-03    .22864        .31674E-07** at limit **
  12  norm          .51881        1.3147        .54947E-06    .14835E-03
  13  Prefactor     .10000E-03    69.830       -.20454E-06** at limit **
  14  Prefactor     12.707        10.328        .12067E-06   -.19123E-04
  15  norm          15.515        5.4770       -.13651E-06   -.14327E-03
  16  Prefactor     1.5308        17.867        .92180E-06   -.10321E-03
  17  Prefactor     .10000E-03    7.1596       -.35496E-06** at limit **
  18  norm          .55542        .44553       -.15557E-06   -.76625E-03
  19  Prefactor     30.088        53.623       -.58413E-05   -.12198E-03
  20  Prefactor     .10000E-03    2.9970        .32140E-07** at limit **
  21  Prefactor     .88829        7.7552        .34205E-05   -.21523E-03
  22  norm          .10000E-03    1.7660       -.24017E-07** at limit **
  23  Prefactor     25.354        33.014       -.62677E-06   -.31967E-04
  24  Normalizat    .82427        .15959        .45235E-06   -.14578E-03
  25  Prefactor     .98352        .14436       -.68969E-06   -.38077E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.1824
  Prefactor  = 0.0001
  norm       = 0.900414
  Prefactor  = 1.71597
  Prefactor  = 4.57088
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.8335
  Prefactor  = 17.2991
  norm       = 0.0001
  norm       = 0.51881
  Prefactor  = 0.0001
  Prefactor  = 12.7065
  norm       = 15.5147
  Prefactor  = 1.53079
  Prefactor  = 0.0001
  norm       = 0.555418
  Prefactor  = 30.0883
  Prefactor  = 0.0001
  Prefactor  = 0.888291
  norm       = 0.0001
  Prefactor  = 25.3542
  Normalizat = 0.824273
  Prefactor  = 0.98352
 **********
 **   18 **HESSE 
 **********

 FCN=   6980.562     FROM HESSE     STATUS=OK           433 CALLS     3328 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1824        12.067        .17657E-03   -1.5253    
   2  Prefactor     .10000E-03    22.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .90041        .27445        .23454E-04   -1.5518    
   4  Prefactor     1.7160        9.8846        .32092E-03   -1.5446    
   5  Prefactor     4.5709        11.665        .18830E-03   -1.5280    
   6  Prefactor     .10000E-03    3.7506        .15683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.1068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.834        15.600        .77336E-04   -1.4671    
  10  Prefactor     17.299        10.889        .96256E-04   -1.4876    
  11  norm          .10000E-03    .23558        .77984E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .51881        1.1915        .15017E-02   -1.5564    
  13  Prefactor     .10000E-03    70.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.707        10.364        .11237E-03   -1.4995    
  15  norm          15.515        5.3774        .99732E-04   -1.4920    
  16  Prefactor     1.5308        16.832        .34602E-03   -1.5461    
  17  Prefactor     .10000E-03    7.3072        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55542        .44025        .43967E-04   -1.5559    
  19  Prefactor     30.088        56.430        .73005E-04   -1.4610    
  20  Prefactor     .10000E-03    3.0060        .14126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .88829        7.8965        .42581E-03   -1.5519    
  22  norm          .10000E-03    1.7931        .10822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     25.354        33.072        .79548E-04   -1.4700    
  24  Normalizat    .82427        .18692        .25290E-03   -.99175    
  25  Prefactor     .98352        .16926        .21976E-03   -.93281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31777e-10
Minuit parameter uncertainties:
  1  12.0722
  2  3.78444e-06
  3  0.274447
  4  8.23872
  5  11.6707
  6  8.71937e-07
  7  8.66847e-06
  8  4.8653e-06
  9  15.6026
  10  10.8904
  11  5.53624e-08
  12  1.19151
  13  0.000196933
  14  10.365
  15  5.37757
  16  10.1554
  17  3.89764e-05
  18  0.440256
  19  56.5306
  20  7.35795e-08
  21  5.29756
  22  2.87941e-06
  23  33.0956
  24  0.187062
  25  0.169352
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  5.188e-01  1.192e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  9.835e-01  1.694e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  8.243e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 4.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433945/likelihoodResults_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.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) = 6980.54683622
delta logL = 0.0148598469295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6980.54591459
delta logL = 0.0157814687509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56938       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7480       1.0000          .0000       5.0000    
     3 'Normalizat'    .82544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6980.546     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56978        64.379        .32433E-01    .39382E-03
   2  alpha         1.7486        4.0076        .43794        .21915E-04
   3  Normalizat    .82543        .34117E-01    .43941E-01    .19550E-03
   4  Prefactor     .98285        .32565E-01    .46052E-01    .25185E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.569782
  alpha      = 1.74864
  Normalizat = 0.825432
  Prefactor  = 0.982847
 **********
 **   18 **HESSE 
 **********

 FCN=   6980.546     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56978        1.2620        .15812E-02   -1.5557    
   2  alpha         1.7486        1.2969        .39068E-01   -.30526    
   3  Normalizat    .82543        .17627        .25274E-03   -.99132    
   4  Prefactor     .98285        .16708        .21982E-03   -.93304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97463e-10
Minuit parameter uncertainties:
  1  1.26205
  2  1.37128
  3  0.176388
  4  0.167163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433945': 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) = 6980.54591422
delta logL = 0.0157818398193

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  5.698e-01  1.262e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.749e+00  1.371e+00  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  9.828e-01  1.672e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  8.254e-01  1.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 340.865 -25.736

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/433945/cmap_HighResolution_328752001_329011201_4FGL_J2243.4-2544_daily_bin345.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', job_status='DONE', photon_flux_upper_limit='4.24e-08', time_completed='2021-09-28 18:41:12.785687', job_id='433945', GAL2='0.98', fit_tolerance='1e-08', EG2='0.83', EG='0.82', time_epoch_completed='1632879672.79', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.58e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='345' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:41:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 433945: <4FGL_J2243.4-2544_daily_bin345> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin345> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:25:59 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:26:01 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:26:01 2021
Terminated at Tue Sep 28 18:41:13 2021
Results reported at Tue Sep 28 18:41:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin345 340.865 -25.7363 328752001 329011201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.4-2544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

