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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1655
RA = 340.865, Dec = -25.7363
tmin = 668304001, tmax = 668563201
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='199795', job_status='RUN', time_executed='2022-03-10 00:41:03.947891', time_epoch_executed='1646901663.95' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199795/ft1_4FGL_J2243.4-2544_daily_bin1655.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199795/ft1_4FGL_J2243.4-2544_daily_bin1655.fits outfile=/scratch/kocevski/199795/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1655.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=668304001.0 tmax=668563201.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.71
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.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/199795/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1655.fits evtable="EVENTS" outfile="/scratch/kocevski/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.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.34
sys 0.14
Number of photons that survived the gtmktime cut: 494

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.fits" evtable="EVENTS" scfile=/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits sctable="SC_DATA" outfile=/scratch/kocevski/199795/ltcube_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.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/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits
.....................!
real 12.46
user 12.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.fits evtable="EVENTS" scfile=/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits sctable="SC_DATA" expcube=/scratch/kocevski/199795/ltcube_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.fits outfile=/scratch/kocevski/199795/expmap_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.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/199795/ltcube_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.fits
.....................!
real 190.35
user 185.39
sys 4.61

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/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.fits scfile=/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits outfile=/scratch/kocevski/199795/cmap_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.fits scfile=/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits outfile=/scratch/kocevski/199795/cmap_HighResolution_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.fits evtable="EVENTS" scfile=/scratch/kocevski/199795/ft2_4FGL_J2243.4-2544_daily_bin1655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/199795/Model_4FGL_J2243.4-2544_daily_bin1655.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/199795/ft1_filtered_4FGL_J2243.4-2544_daily_bin1655.fits.....................!
real 49.69
user 47.80
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10048E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0514       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2880       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.442       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    48.432       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.894       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4237       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.463       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.4095       1.0000         .10000E-03   10000.    
    15 'norm      '    .11212E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5181       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .48021       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6677       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.889       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.036       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    88.755       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71837       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.4218       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=   5635.868     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2890 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5030       -.97855E-07** at limit **
   2  Prefactor     .10000E-03    20.870       -.26324E-06** at limit **
   3  norm          1.0514        .39516        .25935E-08    .10300E-04
   4  Prefactor     8.2890        12.395        .31275E-05   -.31627E-04
   5  Prefactor     16.445        16.791       -.26271E-06    .92263E-06
   6  Prefactor     .10000E-03    6.7499       -.14420E-06** at limit **
   7  Prefactor     .10000E-03    17.657        .16626E-06** at limit **
   8  norm          48.441        28.866        .83666E-07    .21043E-04
   9  Prefactor     34.893        31.517        .50216E-06   -.13033E-04
  10  Prefactor     .10000E-03    5.3139        .98410E-07** at limit **
  11  norm          3.4236        1.3776        .18812E-07    .33999E-04
  12  norm          .10000E-03    1.2486        .43312E-06** at limit **
  13  Prefactor     28.474        48.570        .14522E-06   -.24080E-04
  14  Prefactor     8.4116        15.777        .68275E-06   -.32564E-04
  15  norm          .10000E-03    4.0337        .42849E-06** at limit **
  16  Prefactor     5.5235        16.833       -.11545E-05   -.51892E-05
  17  Prefactor     .10000E-03    9.4156        .39674E-06** at limit **
  18  norm          .48045        .88278        .46885E-06    .42076E-03
  19  Prefactor     9.7321        158.92        .26297E-05    .26020E-04
  20  Prefactor     24.887        18.803        .16532E-06   -.16740E-04
  21  Prefactor     13.036        13.240       -.49664E-06   -.79096E-04
  22  norm          .10000E-03    1.7226        .15190E-06** at limit **
  23  Prefactor     88.778        73.991        .85822E-06    .16031E-04
  24  Normalizat    .71818        .23774       -.37121E-05   -.14093E-04
  25  Prefactor     1.4220        .20768        .14834E-05   -.18536E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.05138
  Prefactor  = 8.28897
  Prefactor  = 16.4451
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 48.4406
  Prefactor  = 34.8927
  Prefactor  = 0.0001
  norm       = 3.42364
  norm       = 0.0001
  Prefactor  = 28.4739
  Prefactor  = 8.41157
  norm       = 0.0001
  Prefactor  = 5.52349
  Prefactor  = 0.0001
  norm       = 0.480455
  Prefactor  = 9.73211
  Prefactor  = 24.887
  Prefactor  = 13.0362
  norm       = 0.0001
  Prefactor  = 88.7779
  Normalizat = 0.718175
  Prefactor  = 1.42199
 **********
 **   18 **HESSE 
 **********

 FCN=   5635.868     FROM HESSE     STATUS=OK           429 CALLS     3319 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0514        .39635        .28073E-04   -1.5503    
   4  Prefactor     8.2890        12.456        .69628E-03   -1.5132    
   5  Prefactor     16.445        16.790        .98773E-04   -1.4897    
   6  Prefactor     .10000E-03    6.8328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          48.441        28.865        .57620E-04   -1.4315    
   9  Prefactor     34.893        31.516        .67840E-04   -1.4526    
  10  Prefactor     .10000E-03    5.3323        .16898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4236        1.3789        .53930E-04   -1.5338    
  12  norm          .10000E-03    1.2528        .81665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.474        48.536        .75094E-04   -1.4640    
  14  Prefactor     8.4116        15.767        .13824E-03   -1.5128    
  15  norm          .10000E-03    4.1565        .29256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.5235        16.695        .17104E-03   -1.5238    
  17  Prefactor     .10000E-03    9.4810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .48045        .83319        .73572E-03   -1.5569    
  19  Prefactor     9.7321        158.76        .12888E-03   -1.5084    
  20  Prefactor     24.887        18.811        .80294E-04   -1.4710    
  21  Prefactor     13.036        13.034        .11094E-03   -1.4986    
  22  norm          .10000E-03    1.7282        .96179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     88.778        74.092        .42649E-04   -1.3821    
  24  Normalizat    .71818        .27036        .33806E-03   -1.0318    
  25  Prefactor     1.4220        .24148        .23407E-03   -.79748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9976e-10
Minuit parameter uncertainties:
  1  1.47811e-05
  2  8.49645e-05
  3  0.39635
  4  12.4595
  5  16.7953
  6  2.6689e-05
  7  8.57661e-05
  8  28.8736
  9  31.5313
  10  4.84821e-07
  11  1.3789
  12  6.95776e-07
  13  48.6033
  14  15.7753
  15  1.14925e-05
  16  16.7087
  17  2.80273e-05
  18  0.833209
  19  78.862
  20  18.8157
  21  13.037
  22  2.948e-07
  23  74.1697
  24  0.270861
  25  0.241675
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  6.958e-07  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:  1.422e+00  2.417e-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:  7.182e-01  2.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/199795/likelihoodResults_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5635.87134134
delta logL = -0.00365468955169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5635.75364109
delta logL = 0.114045555271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14414E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.7669       1.0000          .0000       5.0000    
     3 'Normalizat'    .68861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4380       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=   5635.754     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      406 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14500E-01    3.2611        .18004E-03   -.42591E-02
   2  alpha         4.7645        2.6185        .10068       -.69469E-05
   3  Normalizat    .68859        .13883        .34450E-03   -.16616E-03
   4  Prefactor     1.4380        .12824        .23289E-03   -.21963E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0144996
  alpha      = 4.76447
  Normalizat = 0.688586
  Prefactor  = 1.43799
 **********
 **   18 **HESSE 
 **********

 FCN=   5635.754     FROM HESSE     STATUS=OK            27 CALLS      433 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14500E-01    .39085        .72017E-05   -1.5684    
   2  alpha         4.7645        3.5548        .40272E-02    1.1332    
   3  Normalizat    .68859        .25436        .13780E-04   -1.0435    
   4  Prefactor     1.4380        .23627        .46578E-04   -.79292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87549e-09
Minuit parameter uncertainties:
  1  0.150042
  2  4.59412
  3  0.2548
  4  0.236449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199795': 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) = 5635.75364079
delta logL = 0.114045856913

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.450e-02  1.500e-01  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  4.764e+00  4.594e+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:  1.438e+00  2.364e-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:  6.886e-01  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/199795/cmap_HighResolution_668304001_668563201_4FGL_J2243.4-2544_daily_bin1655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2022-03-10 00:51:28.146786', job_id='199795', GAL2='1.44', fit_tolerance='1e-08', EG2='0.69', EG='0.72', time_epoch_completed='1646902288.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='1.14e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1655' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar 10 00:51:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 199795: <4FGL_J2243.4-2544_daily_bin1655> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1655> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar 10 00:40:11 2022
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 10 00:40:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 10 00:40:13 2022
Terminated at Thu Mar 10 00:51:31 2022
Results reported at Thu Mar 10 00:51:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1655 340.865 -25.7363 668304001 668563201 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 :                                   626.26 sec.
    Max Memory :                                 1017 MB
    Average Memory :                             318.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            680 sec.

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

