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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1317
RA = 340.865, Dec = -25.7363
tmin = 580694401, tmax = 580953601
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='438251', job_status='RUN', time_executed='2021-09-28 18:41:21.570272', time_epoch_executed='1632879681.57' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1317'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438251

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438251/ft1_4FGL_J2243.4-2544_daily_bin1317.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438251/ft1_4FGL_J2243.4-2544_daily_bin1317.fits outfile=/scratch/kocevski/438251/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1317.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=580694401.0 tmax=580953601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.80
user 2.56
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438251/ft1_filtered_4FGL_J2243.4-2544_daily_bin1317.fits" evtable="EVENTS" scfile=/scratch/kocevski/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits sctable="SC_DATA" outfile=/scratch/kocevski/438251/ltcube_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.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/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits
.....................!
real 12.94
user 12.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438251/ft1_filtered_4FGL_J2243.4-2544_daily_bin1317.fits evtable="EVENTS" scfile=/scratch/kocevski/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits sctable="SC_DATA" expcube=/scratch/kocevski/438251/ltcube_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.fits outfile=/scratch/kocevski/438251/expmap_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.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/438251/ltcube_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.fits
.....................!
real 191.08
user 186.83
sys 3.92

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/438251/ft1_filtered_4FGL_J2243.4-2544_daily_bin1317.fits scfile=/scratch/kocevski/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits outfile=/scratch/kocevski/438251/cmap_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438251/ft1_filtered_4FGL_J2243.4-2544_daily_bin1317.fits scfile=/scratch/kocevski/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits outfile=/scratch/kocevski/438251/cmap_HighResolution_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438251/ft1_filtered_4FGL_J2243.4-2544_daily_bin1317.fits evtable="EVENTS" scfile=/scratch/kocevski/438251/ft2_4FGL_J2243.4-2544_daily_bin1317.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438251/Model_4FGL_J2243.4-2544_daily_bin1317.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/438251/ft1_filtered_4FGL_J2243.4-2544_daily_bin1317.fits.....................!
real 70.76
user 69.46
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.818       1.0000         .10000E-03   10000.    
     3 'norm      '    .31383       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.553       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7162       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4480       1.0000         .10000E-03   10000.    
    11 'norm      '    2.5173       1.0000         .10000E-03   10000.    
    12 'norm      '    .44252       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.971       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0427       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.3677       1.0000         .10000E-03   10000.    
    18 'norm      '    .76133       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4651       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .47913       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1381       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88231       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=   9577.115     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2901 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    38.080        .52216E-05** at limit **
   2  Prefactor     30.811        37.701        .20201E-05   -.21476E-03
   3  norm          .31384        .17126        .40381E-08   -.27829E-03
   4  Prefactor     .10000E-03    2.1088       -.56264E-08** at limit **
   5  Prefactor     .10000E-03    10.285        .88426E-08** at limit **
   6  Prefactor     .10000E-03    1.4679       -.59475E-08** at limit **
   7  Prefactor     .10001E-03    57.337       -.56555E-05** at limit **
   8  norm          12.554        12.318       -.17052E-07   -.46046E-04
   9  Prefactor     5.7155        12.504        .39209E-05   -.28149E-03
  10  Prefactor     3.4484        8.4146        .46309E-06   -.11432E-03
  11  norm          2.5173        .86094        .15574E-07    .53123E-04
  12  norm          .44235        1.0360        .58491E-06    .49497E-03
  13  Prefactor     15.972        20.940       -.68080E-06   -.69293E-04
  14  Prefactor     2.0427        5.5627        .18746E-05    .11561E-03
  15  norm          .10000E-03    1.3527       -.27318E-07** at limit **
  16  Prefactor     .10000E-03    2.9566       -.20897E-07** at limit **
  17  Prefactor     7.3670        7.1899       -.83194E-09   -.17284E-03
  18  norm          .76139        .56666        .38532E-07   -.34588E-03
  19  Prefactor     .10000E-03    16.410        .14461E-06** at limit **
  20  Prefactor     5.4651        9.7012        .39160E-06   -.35517E-04
  21  Prefactor     .10000E-03    2.4229       -.15062E-07** at limit **
  22  norm          .47901        1.6226        .10829E-05   -.21111E-03
  23  Prefactor     .10000E-03    29.134       -.29793E-05** at limit **
  24  Normalizat    1.1381        .14754       -.76799E-06   -.12655E-03
  25  Prefactor     .88225        .13412       -.16496E-06   -.13563E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Prefactor  = 30.8113
  norm       = 0.313837
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 12.554
  Prefactor  = 5.71551
  Prefactor  = 3.44836
  norm       = 2.51727
  norm       = 0.44235
  Prefactor  = 15.9718
  Prefactor  = 2.04272
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.36701
  norm       = 0.761387
  Prefactor  = 0.0001
  Prefactor  = 5.46509
  Prefactor  = 0.0001
  norm       = 0.47901
  Prefactor  = 0.000100002
  Normalizat = 1.13815
  Prefactor  = 0.882251
 **********
 **   18 **HESSE 
 **********

 FCN=   9577.115     FROM HESSE     STATUS=OK           433 CALLS     3334 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    40.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.811        37.570        .72175E-04   -1.4597    
   3  norm          .31384        .17130        .29113E-04   -1.5596    
   4  Prefactor     .10000E-03    2.1169        .13877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.4722        .11578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    59.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.554        12.303        .11306E-03   -1.4999    
   9  Prefactor     5.7155        12.653        .84001E-03   -1.5230    
  10  Prefactor     3.4484        8.3873        .21781E-03   -1.5337    
  11  norm          2.5173        .85979        .51270E-04   -1.5391    
  12  norm          .44235        .90439        .14468E-02   -1.5575    
  13  Prefactor     15.972        20.476        .10022E-03   -1.4908    
  14  Prefactor     2.0427        5.5480        .28932E-03   -1.5422    
  15  norm          .10000E-03    1.3804        .22167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.9584        .16421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.3670        7.3727        .14776E-03   -1.5165    
  18  norm          .76139        .56211        .46783E-03   -1.5533    
  19  Prefactor     .10000E-03    16.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.4651        9.6976        .17188E-03   -1.5240    
  21  Prefactor     .10000E-03    2.4315        .14857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .47901        1.6031        .22473E-03   -1.5570    
  23  Prefactor     .10000E-03    29.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1381        .17382        .23034E-03   -.88536    
  25  Prefactor     .88225        .15819        .24318E-03   -.96764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05165e-09
Minuit parameter uncertainties:
  1  0.00110833
  2  37.5985
  3  0.171305
  4  8.33204e-07
  5  8.94399e-06
  6  7.91008e-07
  7  0.00125178
  8  12.3058
  9  12.6591
  10  8.39011
  11  0.859793
  12  0.904413
  13  20.4853
  14  5.5494
  15  9.60177e-07
  16  1.63497e-07
  17  7.37358
  18  0.562109
  19  1.35118e-05
  20  9.70042
  21  4.68222e-07
  22  1.60328
  23  0.000497815
  24  0.173905
  25  0.158269
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  4.424e-01  9.044e-01  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.823e-01  1.583e-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.138e+00  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/438251/likelihoodResults_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.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) = 9576.53026228
delta logL = 0.584679304542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9576.52821272
delta logL = 0.586728857263

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40610       1.0000         .10000E-03   10000.    
     2 'alpha     '    .89158       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88086       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=   9576.528     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40626        .80537        .18777E-01    .22058E-03
   2  alpha         .89086        .71280        .50000       -.32222E-04
   3  Normalizat    1.1404        .14005        .36552E-01    .15293E-03
   4  Prefactor     .88081        .13262        .44761E-01    .29212E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.40626
  alpha      = 0.890864
  Normalizat = 1.14045
  Prefactor  = 0.880813
 **********
 **   18 **HESSE 
 **********

 FCN=   9576.528     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40626        .77835        .10688E-02   -1.5581    
   2  alpha         .89086        .93095        .32295E-02   -.69926    
   3  Normalizat    1.1404        .16360        .23010E-03   -.88464    
   4  Prefactor     .88081        .15487        .24329E-03   -.96815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50441e-10
Minuit parameter uncertainties:
  1  0.778368
  2  0.972257
  3  0.163676
  4  0.154949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438251': 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) = 9576.52821175
delta logL = 0.586729833678

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  4.063e-01  7.784e-01  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  8.909e-01  9.723e-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.808e-01  1.549e-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.140e+00  1.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 0.89 +/- 0.97
Photon Flux (Free Index): 2.21e-09 +/- 3.37e-09
Energy Flux (Free Index): 1.59e-05 +/- 2.87e-05

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/438251/cmap_HighResolution_580694401_580953601_4FGL_J2243.4-2544_daily_bin1317.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='5.87e-01', photon_flux2='2.21e-09', job_status='DONE', time_completed='2021-09-28 18:55:47.246381', photon_index_error2='0.97', photon_index2='0.89', ts='0.36', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='3.14e-08', energy_flux_error2='2.87e-05', EG='1.14', time_epoch_completed='1632880547.25', return_code='0', job_id='438251', GAL2='0.88', EG2='1.14', return_code2='0', photon_flux_error2='3.37e-09', ts2='1.53', photon_index='2.00' WHERE bin_id='1317' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:55:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 438251: <4FGL_J2243.4-2544_daily_bin1317> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1317 340.865 -25.7363 580694401 580953601 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 :                                   853.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

