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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1375
RA = 340.865, Dec = -25.7363
tmin = 595728001, tmax = 595987201
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='438335', job_status='RUN', time_executed='2021-09-28 18:42:17.482309', time_epoch_executed='1632879737.48' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438335

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438335/ft1_4FGL_J2243.4-2544_daily_bin1375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438335/ft1_4FGL_J2243.4-2544_daily_bin1375.fits outfile=/scratch/kocevski/438335/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1375.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=595728001.0 tmax=595987201.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.59
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.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/438335/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1375.fits evtable="EVENTS" outfile="/scratch/kocevski/438335/ft1_filtered_4FGL_J2243.4-2544_daily_bin1375.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438335/ft1_filtered_4FGL_J2243.4-2544_daily_bin1375.fits" evtable="EVENTS" scfile=/scratch/kocevski/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.fits sctable="SC_DATA" outfile=/scratch/kocevski/438335/ltcube_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.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/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.fits
.....................!
real 13.52
user 13.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438335/ft1_filtered_4FGL_J2243.4-2544_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.fits sctable="SC_DATA" expcube=/scratch/kocevski/438335/ltcube_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.fits outfile=/scratch/kocevski/438335/expmap_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.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/438335/ltcube_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.fits
.....................!
real 191.37
user 186.28
sys 4.69

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/438335/ft1_filtered_4FGL_J2243.4-2544_daily_bin1375.fits scfile=/scratch/kocevski/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.fits outfile=/scratch/kocevski/438335/cmap_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438335/ft1_filtered_4FGL_J2243.4-2544_daily_bin1375.fits scfile=/scratch/kocevski/438335/ft2_4FGL_J2243.4-2544_daily_bin1375.fits outfile=/scratch/kocevski/438335/cmap_HighResolution_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=340.865 yref=-25.7363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.8623       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.045       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    31.191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    84.658       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.259       1.0000         .10000E-03   10000.    
    11 'norm      '    .73952       1.0000         .10000E-03   10000.    
    12 'norm      '    3.4804       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0081       1.0000         .10000E-03   10000.    
    15 'norm      '    2.2670       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4387       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1149       1.0000         .10000E-03   10000.    
    19 'Prefactor '    102.02       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.4852       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74041       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0911       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=   6230.646     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2884 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5423        .20285E-07** at limit **
   2  Prefactor     .10000E-03    13.853       -.16914E-07** at limit **
   3  norm          3.8623        .61290        .62727E-08   -.10516E-04
   4  Prefactor     .10000E-03    2.6061        .83984E-08** at limit **
   5  Prefactor     12.046        16.806        .47712E-07   -.80339E-05
   6  Prefactor     .10000E-03    2.4159       -.15646E-08** at limit **
   7  Prefactor     .10000E-03    35.090       -.29022E-06** at limit **
   8  norm          31.183        27.581       -.21563E-05   -.42806E-04
   9  Prefactor     84.661        30.661        .35193E-06    .18692E-04
  10  Prefactor     27.248        15.748        .11314E-05    .31496E-04
  11  norm          .73942        .79911        .19614E-07   -.63233E-04
  12  norm          3.4783        2.3259        .49922E-07    .21897E-05
  13  Prefactor     .10000E-03    86.333        .14712E-06** at limit **
  14  Prefactor     3.0071        5.2713        .79024E-06   -.84934E-03
  15  norm          2.2676        4.3858        .22160E-06   -.76650E-04
  16  Prefactor     .10000E-03    6.2427       -.46785E-08** at limit **
  17  Prefactor     6.4497        13.362       -.82593E-06   -.37316E-04
  18  norm          1.1141        .88680        .81807E-07   -.23175E-03
  19  Prefactor     102.03        68.624        .80545E-05    .70564E-04
  20  Prefactor     .10000E-03    4.8375        .75689E-08** at limit **
  21  Prefactor     .10000E-03    5.2302        .43193E-07** at limit **
  22  norm          7.4849        4.7672        .10884E-06   -.56711E-03
  23  Prefactor     .10000E-03    19.868        .70185E-07** at limit **
  24  Normalizat    .74002        .20201       -.90008E-06   -.46318E-05
  25  Prefactor     1.0914        .17741        .16134E-07   -.27640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.86234
  Prefactor  = 0.0001
  Prefactor  = 12.0458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 31.1828
  Prefactor  = 84.6605
  Prefactor  = 27.2476
  norm       = 0.739422
  norm       = 3.47831
  Prefactor  = 0.0001
  Prefactor  = 3.00707
  norm       = 2.26763
  Prefactor  = 0.0001
  Prefactor  = 6.44974
  norm       = 1.11406
  Prefactor  = 102.028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.48492
  Prefactor  = 0.0001
  Normalizat = 0.740025
  Prefactor  = 1.09139
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.646     FROM HESSE     STATUS=OK           429 CALLS     3313 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8623        .61357        .23866E-04   -1.5315    
   4  Prefactor     .10000E-03    2.6099        .12444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.046        16.818        .11542E-03   -1.5014    
   6  Prefactor     .10000E-03    2.4249        .11980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          31.183        27.614        .71744E-04   -1.4591    
   9  Prefactor     84.661        30.708        .43660E-04   -1.3865    
  10  Prefactor     27.248        15.799        .76732E-04   -1.4664    
  11  norm          .73942        .76403        .70934E-03   -1.5536    
  12  norm          3.4783        2.3215        .94166E-04   -1.5335    
  13  Prefactor     .10000E-03    86.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0071        11.503        .11701E-02   -1.5361    
  15  norm          2.2676        4.3043        .20353E-03   -1.5407    
  16  Prefactor     .10000E-03    6.2471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4497        14.207        .15817E-03   -1.5200    
  18  norm          1.1141        .91488        .48288E-04   -1.5497    
  19  Prefactor     102.03        69.101        .39807E-04   -1.3684    
  20  Prefactor     .10000E-03    4.8492        .16955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.2384        .17612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.4849        4.8633        .67429E-03   -1.5161    
  23  Prefactor     .10000E-03    19.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .74002        .24250        .30411E-03   -1.0233    
  25  Prefactor     1.0914        .21028        .23741E-03   -.89742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56161e-09
Minuit parameter uncertainties:
  1  6.75579e-07
  2  6.67651e-07
  3  0.613574
  4  7.50171e-07
  5  16.8248
  6  5.47525e-08
  7  1.9253e-06
  8  27.625
  9  30.7133
  10  15.8018
  11  0.764038
  12  2.32155
  13  4.20979e-06
  14  11.5118
  15  4.30492
  16  3.99671e-06
  17  14.2148
  18  0.914887
  19  69.1551
  20  1.4356e-06
  21  7.04891e-06
  22  4.86356
  23  4.11634e-06
  24  0.242856
  25  0.210444
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.478e+00  2.322e+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:  1.091e+00  2.104e-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.400e-01  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.76
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.37e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.43e-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) = 6230.60936352
delta logL = 0.0370022118796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6230.60883603
delta logL = 0.0375297061546

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4811       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7901       1.0000          .0000       5.0000    
     3 'Normalizat'    .74727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0887       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=   6230.609     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      219 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4868        75.966        .54181E-02   -.69017E-04
   2  alpha         1.7923        3.3672        .43474        .54546E-05
   3  Normalizat    .74730        .23960        .68436E-01    .36909E-04
   4  Prefactor     1.0886        .10339        .38031E-01   -.78840E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.48682
  alpha      = 1.79228
  Normalizat = 0.747298
  Prefactor  = 1.08863
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.609     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4868        2.3675        .96904E-04   -1.5334    
   2  alpha         1.7923        .72671        .17839E-01   -.28701    
   3  Normalizat    .74730        .21674        .30283E-03   -1.0205    
   4  Prefactor     1.0886        .20235        .23772E-03   -.89831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27329e-11
Minuit parameter uncertainties:
  1  2.36753
  2  0.738327
  3  0.216986
  4  0.20249
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438335': 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) = 6230.60882961
delta logL = 0.0375361198921

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.487e+00  2.368e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.792e+00  7.383e-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:  1.089e+00  2.025e-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.473e-01  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.84
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.79 +/- 0.74
Photon Flux (Free Index): 2.63e-08 +/- 2.91e-08
Energy Flux (Free Index): 2.42e-05 +/- 2.13e-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/438335/cmap_HighResolution_595728001_595987201_4FGL_J2243.4-2544_daily_bin1375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.37e-08', energy_flux2='2.42e-05', photon_flux_error='2.25e-08', dlogl='3.75e-02', energy_flux='2.14e-05', photon_flux2='2.63e-08', job_status='DONE', time_completed='2021-09-28 18:52:21.886570', photon_index_error2='0.74', photon_index2='1.79', ts='6.76', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='0.74', time_epoch_completed='1632880341.89', return_code='0', job_id='438335', GAL2='1.09', EG2='0.75', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='2.91e-08', ts2='6.84', photon_index='2.00' WHERE bin_id='1375' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:52:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 438335: <4FGL_J2243.4-2544_daily_bin1375> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1375> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:41 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:40:42 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:42 2021
Terminated at Tue Sep 28 18:52:22 2021
Results reported at Tue Sep 28 18:52:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1375 340.865 -25.7363 595728001 595987201 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 :                                   583.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            701 sec.

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

