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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1077
RA = 340.865, Dec = -25.7363
tmin = 518486401, tmax = 518745601
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='436823', job_status='RUN', time_executed='2021-09-28 18:37:07.357526', time_epoch_executed='1632879427.36' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436823

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436823/ft1_4FGL_J2243.4-2544_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436823/ft1_4FGL_J2243.4-2544_daily_bin1077.fits outfile=/scratch/kocevski/436823/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1077.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.79
user 6.51
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.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/436823/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1077.fits evtable="EVENTS" outfile="/scratch/kocevski/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.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/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/436823/ltcube_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.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/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits
.....................!
real 11.66
user 11.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/436823/ltcube_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.fits outfile=/scratch/kocevski/436823/expmap_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.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/436823/ltcube_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.fits
.....................!
real 191.76
user 186.46
sys 4.99

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/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.fits scfile=/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits outfile=/scratch/kocevski/436823/cmap_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.fits scfile=/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits outfile=/scratch/kocevski/436823/cmap_HighResolution_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.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/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/436823/ft2_4FGL_J2243.4-2544_daily_bin1077.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436823/Model_4FGL_J2243.4-2544_daily_bin1077.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/436823/ft1_filtered_4FGL_J2243.4-2544_daily_bin1077.fits......................!
real 31.91
user 30.58
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1194       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .34464E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.966       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    21.164       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.642       1.0000         .10000E-03   10000.    
    11 'norm      '    2.2420       1.0000         .10000E-03   10000.    
    12 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10818E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2286       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6778       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.164       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    16.319       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .68508       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0819       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=   3162.373     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2476 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.844       -.15817E-05** at limit **
   2  Prefactor     .10001E-03    156.77        .86220E-05** at limit **
   3  norm          2.1193        .66248       -.45876E-07   -.26366E-02
   4  Prefactor     .10002E-03    118.56        .64864E-04** at limit **
   5  Prefactor     26.982        25.943        .18974E-05    .30497E-03
   6  Prefactor     .10002E-03    22.369       -.22488E-05** at limit **
   7  Prefactor     .10000E-03    43.332        .34177E-05** at limit **
   8  norm          21.162        25.080        .69935E-07    .40856E-04
   9  Prefactor     .10000E-03    12.061        .49641E-07** at limit **
  10  Prefactor     16.627        17.852        .54315E-06    .22364E-03
  11  norm          2.2418        1.3245       -.73239E-08   -.14425E-03
  12  norm          .10000E-03    1.0991        .76895E-07** at limit **
  13  Prefactor     .10000E-03    29.375       -.18293E-06** at limit **
  14  Prefactor     9.2177        18.060        .62515E-06    .17730E-03
  15  norm          .10000E-03    4.3546        .31078E-07** at limit **
  16  Prefactor     .10000E-03    9.9426       -.49151E-06** at limit **
  17  Prefactor     .10000E-03    13.526       -.30105E-06** at limit **
  18  norm          2.6779        1.0871        .11538E-06    .22320E-02
  19  Prefactor     .10000E-03    26.367       -.11517E-05** at limit **
  20  Prefactor     12.162        17.128        .45422E-06    .18405E-03
  21  Prefactor     .10000E-03    9.8631        .24945E-06** at limit **
  22  norm          16.318        7.7302        .37560E-06    .83919E-03
  23  Prefactor     .10000E-03    51.160       -.15641E-05** at limit **
  24  Normalizat    .68568        .26871       -.32304E-05   -.28768E-03
  25  Prefactor     1.0815        .24029        .19375E-05   -.16086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.000100014
  norm       = 2.1193
  Prefactor  = 0.000100018
  Prefactor  = 26.982
  Prefactor  = 0.000100021
  Prefactor  = 0.000100003
  norm       = 21.1623
  Prefactor  = 0.0001
  Prefactor  = 16.6268
  norm       = 2.24184
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.21768
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.67788
  Prefactor  = 0.0001
  Prefactor  = 12.1619
  Prefactor  = 0.0001
  norm       = 16.3177
  Prefactor  = 0.000100001
  Normalizat = 0.685682
  Prefactor  = 1.0815
 **********
 **   18 **HESSE 
 **********

 FCN=   3162.373     FROM HESSE     STATUS=OK           411 CALLS     2887 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    157.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.1193        .66419        .24910E-04   -1.5417    
   4  Prefactor     .10002E-03    117.04        .36905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.982        25.776        .77146E-04   -1.4669    
   6  Prefactor     .10002E-03    23.140        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    43.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          21.162        25.082        .87065E-04   -1.4788    
   9  Prefactor     .10000E-03    12.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.627        17.951        .98179E-04   -1.4892    
  11  norm          2.2418        1.3224        .48086E-04   -1.5409    
  12  norm          .10000E-03    1.1013        .57566E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    29.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2177        18.075        .13193E-03   -1.5101    
  15  norm          .10000E-03    4.3990        .11442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.9520        .17318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6779        1.0837        .35613E-04   -1.5381    
  19  Prefactor     .10000E-03    26.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.162        17.136        .11486E-03   -1.5010    
  21  Prefactor     .10000E-03    9.8937        .17238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          16.318        7.7458        .99146E-04   -1.4900    
  23  Prefactor     .10000E-03    51.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .68568        .31677        .30302E-03   -1.0446    
  25  Prefactor     1.0815        .28441        .22608E-03   -.90060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72088e-09
Minuit parameter uncertainties:
  1  0.000439255
  2  0.00292262
  3  0.664197
  4  0.00287173
  5  25.7865
  6  0.00138821
  7  0.000756393
  8  25.0943
  9  1.76959e-05
  10  17.9564
  11  1.32241
  12  7.18784e-06
  13  9.00029e-05
  14  18.0856
  15  1.86743e-06
  16  6.57349e-05
  17  5.46777e-05
  18  1.08372
  19  0.000223918
  20  17.1433
  21  5.60507e-06
  22  7.74629
  23  0.000453317
  24  0.317618
  25  0.284805
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  7.188e-06  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.081e+00  2.848e-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.857e-01  3.176e-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.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436823/likelihoodResults_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.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) = 3162.37612446
delta logL = -0.003483175366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3162.37264128
delta logL = -5.33873389941e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9952       1.0000          .0000       5.0000    
     3 'Normalizat'    .68562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0815       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=   3162.373     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      229 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3027        .57606E-03** at limit **
   2  alpha         1.7888        2.9570        .16906       -.12350E-06
   3  Normalizat    .68569        .30189        .30302E-03    .49767E-04
   4  Prefactor     1.0815        .27963        .11304E-02    .70497E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78883
  Normalizat = 0.685689
  Prefactor  = 1.08149
 **********
 **   18 **HESSE 
 **********

 FCN=   3162.373     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1221        .11521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7888        2.6217        .67624E-02   -.28845    
   3  Normalizat    .68569        .30312        .12121E-04   -1.0446    
   4  Prefactor     1.0815        .28077        .45215E-04   -.90060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.062e-11
Minuit parameter uncertainties:
  1  6.50782e-06
  2  156.977
  3  0.303864
  4  0.281155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436823': 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) = 3162.37264044
delta logL = 8.41852852318e-07

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  6.508e-06  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.789e+00  1.570e+02  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.081e+00  2.812e-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.857e-01  3.039e-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/436823/cmap_HighResolution_518486401_518745601_4FGL_J2243.4-2544_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-05', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-09-28 18:45:08.725955', job_id='436823', GAL2='1.08', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632879908.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='8.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1077' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:45:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 436823: <4FGL_J2243.4-2544_daily_bin1077> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1077 340.865 -25.7363 518486401 518745601 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 :                                   479.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            567 sec.

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

