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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin817
RA = 340.865, Dec = -25.7363
tmin = 451094401, tmax = 451353601
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='436443', job_status='RUN', time_executed='2021-09-28 18:38:04.702724', time_epoch_executed='1632879484.7' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='817'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436443/ft1_4FGL_J2243.4-2544_daily_bin817.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436443/ft1_4FGL_J2243.4-2544_daily_bin817.fits outfile=/scratch/kocevski/436443/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin817.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=451094401.0 tmax=451353601.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.20
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436443/ft1_filtered_4FGL_J2243.4-2544_daily_bin817.fits" evtable="EVENTS" scfile=/scratch/kocevski/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits sctable="SC_DATA" outfile=/scratch/kocevski/436443/ltcube_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.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/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits
.....................!
real 11.71
user 11.32
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436443/ft1_filtered_4FGL_J2243.4-2544_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits sctable="SC_DATA" expcube=/scratch/kocevski/436443/ltcube_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.fits outfile=/scratch/kocevski/436443/expmap_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.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/436443/ltcube_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.fits
.....................!
real 190.92
user 185.64
sys 4.97

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/436443/ft1_filtered_4FGL_J2243.4-2544_daily_bin817.fits scfile=/scratch/kocevski/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits outfile=/scratch/kocevski/436443/cmap_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436443/ft1_filtered_4FGL_J2243.4-2544_daily_bin817.fits scfile=/scratch/kocevski/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits outfile=/scratch/kocevski/436443/cmap_HighResolution_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.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.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436443/ft1_filtered_4FGL_J2243.4-2544_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/436443/ft2_4FGL_J2243.4-2544_daily_bin817.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436443/Model_4FGL_J2243.4-2544_daily_bin817.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/436443/ft1_filtered_4FGL_J2243.4-2544_daily_bin817.fits....................!
real 45.97
user 44.64
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .40583       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7346       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.255       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9767       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5401       1.0000         .10000E-03   10000.    
    12 'norm      '    4.7584       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.783       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .17427       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10843E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.595       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2290       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .55722       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=   5693.174     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2473 TOTAL
                     EDM=   .48E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.353        .18965E-05** at limit **
   2  Prefactor     .10000E-03    94.211        .17555E-05** at limit **
   3  norm          .40576        .25529        .22943E-09   -.35696E-03
   4  Prefactor     7.7329        6.5923        .66321E-07   -.24782E-04
   5  Prefactor     .10000E-03    10.185       -.50315E-07** at limit **
   6  Prefactor     .10000E-03    2.7250       -.81036E-08** at limit **
   7  Prefactor     .10000E-03    28.751        .18151E-05** at limit **
   8  norm          .10000E-03    20.705       -.19305E-05** at limit **
   9  Prefactor     42.251        23.419        .18907E-06    .11361E-04
  10  Prefactor     2.9769        10.512        .57593E-05    .13884E-05
  11  norm          1.5401        .92143        .10918E-07   -.83199E-04
  12  norm          4.7594        2.3761       -.10301E-06   -.83710E-04
  13  Prefactor     .10000E-03    22.774        .17754E-05** at limit **
  14  Prefactor     15.784        12.096        .49179E-06    .22089E-04
  15  norm          .10000E-03    2.2020        .34727E-07** at limit **
  16  Prefactor     .10000E-03    4.3647       -.33704E-07** at limit **
  17  Prefactor     .10000E-03    6.6982       -.21370E-08** at limit **
  18  norm          .17419        .42117        .10125E-06   -.49917E-04
  19  Prefactor     .10000E-03    34.067       -.45578E-05** at limit **
  20  Prefactor     .10000E-03    4.6801       -.24227E-07** at limit **
  21  Prefactor     .10000E-03    2.3807        .41757E-07** at limit **
  22  norm          .10000E-03    1.5477       -.73702E-08** at limit **
  23  Prefactor     19.597        28.676        .10409E-06    .16280E-05
  24  Normalizat    1.2289        .17567       -.98832E-06    .16234E-04
  25  Prefactor     .55729        .15372        .22069E-06   -.16286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.405757
  Prefactor  = 7.7329
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.2508
  Prefactor  = 2.97686
  norm       = 1.54007
  norm       = 4.7594
  Prefactor  = 0.0001
  Prefactor  = 15.7841
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.174187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5968
  Normalizat = 1.22891
  Prefactor  = 0.557288
 **********
 **   18 **HESSE 
 **********

 FCN=   5693.174     FROM HESSE     STATUS=OK           421 CALLS     2894 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    94.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .40576        .25793        .29379E-04   -1.5581    
   4  Prefactor     7.7329        6.5928        .14419E-03   -1.5152    
   5  Prefactor     .10000E-03    10.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7392        .12162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    20.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.251        23.418        .61669E-04   -1.4407    
  10  Prefactor     2.9769        10.522        .11766E-02   -1.5363    
  11  norm          1.5401        .91803        .53989E-04   -1.5460    
  12  norm          4.7594        2.3752        .79147E-04   -1.5272    
  13  Prefactor     .10000E-03    22.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.784        12.160        .50408E-03   -1.4913    
  15  norm          .10000E-03    2.2295        .10904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3701        .15380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.7819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .17419        .40949        .70932E-04   -1.5625    
  19  Prefactor     .10000E-03    34.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.7099        .15941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.3834        .11363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.6082        .18317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.597        28.677        .90482E-04   -1.4822    
  24  Normalizat    1.2289        .20356        .20504E-03   -.85714    
  25  Prefactor     .55729        .17843        .26597E-03   -1.0942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90422e-12
Minuit parameter uncertainties:
  1  3.20177e-05
  2  0.000106254
  3  0.25793
  4  6.59338
  5  3.73685e-06
  6  9.10134e-07
  7  6.59988e-06
  8  9.35938e-07
  9  23.4234
  10  10.5285
  11  0.918035
  12  2.37523
  13  9.04466e-06
  14  12.1622
  15  2.14604e-07
  16  4.88903e-09
  17  8.74462e-07
  18  0.409493
  19  1.96625e-05
  20  7.26556e-07
  21  1.24057e-07
  22  1.53086e-06
  23  28.6976
  24  0.203688
  25  0.178607
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  4.759e+00  2.375e+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:  5.573e-01  1.786e-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.229e+00  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.89
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 4.60e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.46e-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) = 5693.15212904
delta logL = 0.021952124217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5693.14850759
delta logL = 0.025573573067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5913       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1132       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56058       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5693.149     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      228 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5914        2.4456        .75426E-04   -.15205E-02
   2  alpha         2.1132        .50500        .10658E-01   -.12863E-03
   3  Normalizat    1.2218        .19722        .20552E-03    .11487E-03
   4  Prefactor     .56048        .17682        .26521E-03    .11960E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.59143
  alpha      = 2.11321
  Normalizat = 1.22179
  Prefactor  = 0.560482
 **********
 **   18 **HESSE 
 **********

 FCN=   5693.149     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5914        2.4088        .15085E-04   -1.5279    
   2  alpha         2.1132        .49714        .42632E-03   -.15534    
   3  Normalizat    1.2218        .19726        .41104E-04   -.85932    
   4  Prefactor     .56048        .17692        .10609E-04   -1.0928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24305e-10
Minuit parameter uncertainties:
  1  2.40887
  2  0.500562
  3  0.197385
  4  0.177095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436443': 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) = 5693.14850667
delta logL = 0.0255744985579

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  4.591e+00  2.409e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.113e+00  5.006e-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:  5.605e-01  1.771e-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.222e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.92
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.11 +/- 0.50
Photon Flux (Free Index): 5.19e-08 +/- 3.62e-08
Energy Flux (Free Index): 2.76e-05 +/- 1.48e-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/436443/cmap_HighResolution_451094401_451353601_4FGL_J2243.4-2544_daily_bin817.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.60e-08', energy_flux2='2.76e-05', photon_flux_error='2.30e-08', dlogl='2.56e-02', energy_flux='2.93e-05', photon_flux2='5.19e-08', job_status='DONE', time_completed='2021-09-28 18:47:00.163292', photon_index_error2='0.50', photon_index2='2.11', ts='17.89', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='1.23', time_epoch_completed='1632880020.16', return_code='0', job_id='436443', GAL2='0.56', EG2='1.22', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.62e-08', ts2='17.92', photon_index='2.00' WHERE bin_id='817' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:47:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 436443: <4FGL_J2243.4-2544_daily_bin817> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin817 340.865 -25.7363 451094401 451353601 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 :                                   536.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

