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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1011
RA = 340.865, Dec = -25.7363
tmin = 501379201, tmax = 501638401
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='436728', job_status='RUN', time_executed='2021-09-28 18:38:14.096735', time_epoch_executed='1632879494.1' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436728

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436728/ft1_4FGL_J2243.4-2544_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436728/ft1_4FGL_J2243.4-2544_daily_bin1011.fits outfile=/scratch/kocevski/436728/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1011.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=501379201.0 tmax=501638401.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.56
user 3.34
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/436728/ltcube_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.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/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits
.....................!
real 11.75
user 11.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/436728/ltcube_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.fits outfile=/scratch/kocevski/436728/expmap_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.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/436728/ltcube_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.fits
.....................!
real 189.44
user 184.66
sys 4.47

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/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits scfile=/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits outfile=/scratch/kocevski/436728/cmap_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits scfile=/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits outfile=/scratch/kocevski/436728/cmap_HighResolution_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436728/Model_4FGL_J2243.4-2544_daily_bin1011.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/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits.....................!
real 49.13
user 47.91
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits', '/scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits', expMap='/scratch/kocevski/436728/expmap_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.fits', expCube='/scratch/kocevski/436728/ltcube_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436728/Model_4FGL_J2243.4-2544_daily_bin1011.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/436728/ft1_filtered_4FGL_J2243.4-2544_daily_bin1011.fits
Spacecraft file(s): /scratch/kocevski/436728/ft2_4FGL_J2243.4-2544_daily_bin1011.fits
Exposure map: /scratch/kocevski/436728/expmap_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.fits
Exposure cube: /scratch/kocevski/436728/ltcube_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436728/Model_4FGL_J2243.4-2544_daily_bin1011.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) = 5879.03366019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .64767       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .76728       1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.097       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7339       1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.693       1.0000         .10000E-03   10000.    
     8 'norm      '    .33199E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9548       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7275       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5343       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.498       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.0120       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .56382E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .53367       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.571       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5774       1.0000         .10000E-03   10000.    
    22 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0777       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .87257       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=   5878.973     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     2551 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.298       -.77810E-06** at limit **
   2  Prefactor     .10000E-03    21.131       -.79001E-05** at limit **
   3  norm          .64769        .32112        .38639E-07    .40352E-03
   4  Prefactor     .76561        1.0895        .26868E-06   -.19072E-02
   5  Prefactor     43.106        20.921       -.11323E-04    .59559E-05
   6  Prefactor     2.7336        8.1312       -.17442E-05    .14053E-04
   7  Prefactor     47.689        47.826       -.17070E-05   -.44989E-06
   8  norm          .10120E-03    16.774       -.94459E-06** at limit **
   9  Prefactor     .10000E-03    7.0627       -.57439E-08** at limit **
  10  Prefactor     2.9256        15.933        .10330E-04    .90677E-04
  11  norm          1.7278        1.0338       -.24526E-07   -.37024E-04
  12  norm          2.5348        1.9128       -.18347E-06    .25349E-03
  13  Prefactor     .10000E-03    12.883        .88654E-05** at limit **
  14  Prefactor     12.494        9.7454        .14496E-06    .31584E-03
  15  norm          .10000E-03    .94471        .30445E-08** at limit **
  16  Prefactor     5.9873        9.8556        .25178E-05    .10075E-02
  17  Prefactor     .10008E-03    4.7164       -.31288E-05** at limit **
  18  norm          .53325        .47092       -.11177E-06    .45445E-02
  19  Prefactor     .10000E-03    14.242       -.18063E-04** at limit **
  20  Prefactor     28.571        16.810        .94274E-06    .15466E-04
  21  Prefactor     4.5602        8.1100        .27653E-05    .82665E-03
  22  norm          .10000E-03    2.7377       -.29784E-07** at limit **
  23  Prefactor     .10000E-03    17.240        .16454E-04** at limit **
  24  Normalizat    1.0774        .19060        .61902E-06    .59347E-03
  25  Prefactor     .87278        .17111        .68650E-07    .40625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.64769
  Prefactor  = 0.765607
  Prefactor  = 43.1059
  Prefactor  = 2.73364
  Prefactor  = 47.689
  norm       = 0.000101198
  Prefactor  = 0.0001
  Prefactor  = 2.92562
  norm       = 1.72777
  norm       = 2.53475
  Prefactor  = 0.0001
  Prefactor  = 12.4935
  norm       = 0.0001
  Prefactor  = 5.98728
  Prefactor  = 0.000100078
  norm       = 0.533251
  Prefactor  = 0.0001
  Prefactor  = 28.5714
  Prefactor  = 4.5602
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07744
  Prefactor  = 0.872785
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.973     FROM HESSE     STATUS=OK           439 CALLS     2990 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .64769        .32283        .29713E-04   -1.5547    
   4  Prefactor     .76561        10.748        .23952E-02   -1.5533    
   5  Prefactor     43.106        20.906        .61066E-04   -1.4394    
   6  Prefactor     2.7336        8.1222        .24626E-03   -1.5377    
   7  Prefactor     47.689        47.846        .58062E-04   -1.4326    
   8  norm          .10120E-03    20.068        .98953E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.0724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.9256        15.843        .23625E-03   -1.5366    
  11  norm          1.7278        1.0346        .58084E-04   -1.5445    
  12  norm          2.5348        1.9087        .88812E-04   -1.5390    
  13  Prefactor     .10000E-03    12.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.494        9.7693        .11331E-03   -1.5001    
  15  norm          .10000E-03    .94655        .72745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9873        9.3263        .16376E-03   -1.5219    
  17  Prefactor     .10008E-03    30.454        .27068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .53325        .44471        .43825E-03   -1.5562    
  19  Prefactor     .10000E-03    14.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.571        16.810        .74953E-04   -1.4638    
  21  Prefactor     4.5602        7.9119        .18814E-03   -1.5281    
  22  norm          .10000E-03    2.8518        .24759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0774        .21746        .24136E-03   -.90479    
  25  Prefactor     .87278        .19739        .24822E-03   -.97099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92501e-08
Minuit parameter uncertainties:
  1  1.23986e-05
  2  1.9269e-05
  3  0.322834
  4  5.73815
  5  20.9094
  6  8.12545
  7  47.8848
  8  0.00981139
  9  3.06915e-06
  10  13.6215
  11  1.03466
  12  1.90877
  13  2.39259e-05
  14  9.77056
  15  9.2036e-07
  16  9.32857
  17  0.00307505
  18  0.444712
  19  1.60827e-05
  20  16.8131
  21  7.91371
  22  1.10546e-05
  23  1.34492e-06
  24  0.217644
  25  0.197547
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.535e+00  1.909e+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:  8.728e-01  1.975e-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:  1.077e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 1.85e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.17e-05

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) = 5878.84062806
delta logL = 0.132545178916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5878.83776486
delta logL = 0.135408377653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6842       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6743       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87120       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=   5878.838     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      198 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6845        82.299        .62176E-02    .39930E-05
   2  alpha         1.6743        3.3323        .44255        .21338E-05
   3  Normalizat    1.0832        .17418        .38730E-01    .93722E-05
   4  Prefactor     .87122        .11378        .44637E-01    .13746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.68447
  alpha      = 1.67433
  Normalizat = 1.08315
  Prefactor  = 0.871219
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.838     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6845        2.0665        .93956E-04   -1.5380    
   2  alpha         1.6743        .61340        .16165E-01   -.33659    
   3  Normalizat    1.0832        .20608        .24081E-03   -.90295    
   4  Prefactor     .87122        .19377        .24844E-03   -.97154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10991e-12
Minuit parameter uncertainties:
  1  2.06656
  2  0.620526
  3  0.206237
  4  0.193927
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436728': 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) = 5878.83776485
delta logL = 0.135408392724

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.684e+00  2.067e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.674e+00  6.205e-01  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:  8.712e-01  1.939e-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:  1.083e+00  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.67 +/- 0.62
Photon Flux (Free Index): 1.79e-08 +/- 1.79e-08
Energy Flux (Free Index): 2.10e-05 +/- 2.14e-05

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/436728/cmap_HighResolution_501379201_501638401_4FGL_J2243.4-2544_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='2.10e-05', photon_flux_error='1.85e-08', dlogl='1.35e-01', energy_flux='1.56e-05', photon_flux2='1.79e-08', job_status='DONE', time_completed='2021-09-28 18:47:17.917167', photon_index_error2='0.62', photon_index2='1.67', ts='5.32', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.14e-05', EG='1.08', time_epoch_completed='1632880037.92', return_code='0', job_id='436728', GAL2='0.87', EG2='1.08', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='1.79e-08', ts2='5.59', photon_index='2.00' WHERE bin_id='1011' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:47:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 436728: <4FGL_J2243.4-2544_daily_bin1011> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1011> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:35:36 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:35: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:35:37 2021
Terminated at Tue Sep 28 18:47:18 2021
Results reported at Tue Sep 28 18:47:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1011 340.865 -25.7363 501379201 501638401 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 :                                   543.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

