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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1107
RA = 340.865, Dec = -25.7363
tmin = 526262401, tmax = 526521601
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='437948', job_status='RUN', time_executed='2021-09-28 18:41:00.383489', time_epoch_executed='1632879660.38' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437948/ft1_4FGL_J2243.4-2544_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437948/ft1_4FGL_J2243.4-2544_daily_bin1107.fits outfile=/scratch/kocevski/437948/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1107.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=526262401.0 tmax=526521601.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 4.02
user 3.74
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/437948/ft1_filtered_4FGL_J2243.4-2544_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/437948/ltcube_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.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/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits
.....................!
real 12.38
user 11.95
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437948/ft1_filtered_4FGL_J2243.4-2544_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/437948/ltcube_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.fits outfile=/scratch/kocevski/437948/expmap_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.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/437948/ltcube_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.fits
.....................!
real 191.52
user 185.79
sys 5.37

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/437948/ft1_filtered_4FGL_J2243.4-2544_daily_bin1107.fits scfile=/scratch/kocevski/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits outfile=/scratch/kocevski/437948/cmap_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.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/437948/ft1_filtered_4FGL_J2243.4-2544_daily_bin1107.fits scfile=/scratch/kocevski/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits outfile=/scratch/kocevski/437948/cmap_HighResolution_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/437948/ft1_filtered_4FGL_J2243.4-2544_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/437948/ft2_4FGL_J2243.4-2544_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/437948/Model_4FGL_J2243.4-2544_daily_bin1107.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/437948/ft1_filtered_4FGL_J2243.4-2544_daily_bin1107.fits.....................!
real 47.99
user 46.54
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3892       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33838E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2141       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.862       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0153       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7804       1.0000         .10000E-03   10000.    
    13 'Prefactor '    87.726       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.060       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.2020       1.0000         .10000E-03   10000.    
    19 'Prefactor '    83.076       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6119       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.8915       1.0000         .10000E-03   10000.    
    22 'norm      '    6.6516       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .84870       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99768       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=   5935.773     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2884 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8694        .12208E-05** at limit **
   2  Prefactor     .10000E-03    19.930       -.27709E-05** at limit **
   3  norm          1.3892        .38999        .46376E-08   -.24970E-04
   4  Prefactor     .10000E-03    5.9107        .53435E-07** at limit **
   5  Prefactor     .10001E-03    17.273        .30665E-06** at limit **
   6  Prefactor     4.2152        7.2449        .29503E-06   -.86556E-04
   7  Prefactor     .10000E-03    22.252        .28773E-05** at limit **
   8  norm          .10000E-03    7.4367       -.27588E-06** at limit **
   9  Prefactor     .10000E-03    13.725        .26404E-05** at limit **
  10  Prefactor     15.863        16.193       -.34304E-06   -.94729E-04
  11  norm          1.0153        .73660        .32872E-08   -.18225E-04
  12  norm          2.7801        2.6483       -.72396E-07   -.39037E-04
  13  Prefactor     87.732        61.015        .90834E-06    .68772E-04
  14  Prefactor     .10000E-03    10.072       -.18625E-05** at limit **
  15  norm          .10000E-03    1.6696        .65517E-08** at limit **
  16  Prefactor     18.061        14.343       -.56676E-06   -.12233E-03
  17  Prefactor     .10000E-03    4.4638       -.87329E-07** at limit **
  18  norm          4.2022        .99666       -.63463E-07    .89017E-04
  19  Prefactor     83.091        61.672        .34159E-05    .25328E-03
  20  Prefactor     6.6113        9.7436        .15617E-05   -.44934E-03
  21  Prefactor     5.8907        8.4989        .25399E-05   -.79366E-03
  22  norm          6.6526        4.2738        .32548E-07   -.15638E-04
  23  Prefactor     .10000E-03    17.100       -.15878E-05** at limit **
  24  Normalizat    .84830        .19802       -.73726E-06   -.17158E-04
  25  Prefactor     .99802        .17707       -.45326E-07   -.46309E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  norm       = 1.38919
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 4.21518
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 15.863
  norm       = 1.01529
  norm       = 2.78007
  Prefactor  = 87.7316
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 18.0608
  Prefactor  = 0.0001
  norm       = 4.20217
  Prefactor  = 83.0908
  Prefactor  = 6.6113
  Prefactor  = 5.89068
  norm       = 6.65264
  Prefactor  = 0.000100001
  Normalizat = 0.848303
  Prefactor  = 0.998021
 **********
 **   18 **HESSE 
 **********

 FCN=   5935.773     FROM HESSE     STATUS=OK           427 CALLS     3311 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3892        .39085        .24747E-04   -1.5472    
   4  Prefactor     .10000E-03    5.9451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    145.29        .60060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2152        7.2443        .19630E-03   -1.5297    
   7  Prefactor     .10000E-03    22.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.4448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.863        16.265        .10056E-03   -1.4911    
  11  norm          1.0153        .73817        .54706E-04   -1.5506    
  12  norm          2.7801        2.6523        .10586E-03   -1.5374    
  13  Prefactor     87.732        61.495        .42896E-04   -1.3832    
  14  Prefactor     .10000E-03    10.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.6829        .97146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.061        14.430        .94247E-04   -1.4858    
  17  Prefactor     .10000E-03    4.4787        .15869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.2022        1.0110        .33265E-04   -1.5298    
  19  Prefactor     83.091        63.291        .22035E-03   -1.3882    
  20  Prefactor     6.6113        10.012        .78031E-03   -1.5194    
  21  Prefactor     5.8907        9.2821        .82724E-03   -1.5223    
  22  norm          6.6526        4.2720        .12352E-03   -1.5192    
  23  Prefactor     .10000E-03    17.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .84830        .23342        .27447E-03   -.98301    
  25  Prefactor     .99802        .21119        .23811E-03   -.92796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26742e-09
Minuit parameter uncertainties:
  1  0.000135446
  2  0.000458263
  3  0.390852
  4  7.34513e-06
  5  0.00182727
  6  7.24581
  7  0.000506962
  8  2.70973e-05
  9  0.000354739
  10  16.2699
  11  0.738174
  12  2.65236
  13  61.5397
  14  0.00022114
  15  1.25496e-06
  16  14.433
  17  3.59267e-06
  18  1.01101
  19  63.3422
  20  10.0148
  21  9.28433
  22  4.27222
  23  0.000240661
  24  0.233693
  25  0.211364
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.780e+00  2.652e+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:  9.980e-01  2.114e-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:  8.483e-01  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.81
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.57e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.63e-05

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

Saving results to:
/scratch/kocevski/437948/likelihoodResults_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.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) = 5935.74750791
delta logL = 0.0255759243046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5935.7446005
delta logL = 0.0284833384985

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9634       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8221       1.0000          .0000       5.0000    
     3 'Normalizat'    .85223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99575       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=   5935.745     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      194 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9631        86.619        .58971E-02    .15167E-03
   2  alpha         1.8221        2.8673        .43248        .83987E-05
   3  Normalizat    .85217        .10544        .44288E-01    .18392E-04
   4  Prefactor     .99583        .73588E-01    .46214E-01    .34876E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.9631
  alpha      = 1.82214
  Normalizat = 0.852167
  Prefactor  = 0.995827
 **********
 **   18 **HESSE 
 **********

 FCN=   5935.745     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9631        2.5744        .11003E-03   -1.5364    
   2  alpha         1.8221        .71909        .16987E-01   -.27458    
   3  Normalizat    .85217        .22303        .27395E-03   -.98162    
   4  Prefactor     .99583        .20924        .23835E-03   -.92869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07742e-10
Minuit parameter uncertainties:
  1  2.57452
  2  0.730243
  3  0.223268
  4  0.209411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437948': 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) = 5935.7446004
delta logL = 0.0284834317172

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.963e+00  2.575e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.822e+00  7.302e-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:  9.958e-01  2.094e-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:  8.522e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.90
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.82 +/- 0.73
Photon Flux (Free Index): 2.31e-08 +/- 2.48e-08
Energy Flux (Free Index): 2.01e-05 +/- 2.27e-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/437948/cmap_HighResolution_526262401_526521601_4FGL_J2243.4-2544_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-05', comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='2.01e-05', photon_flux_error='2.57e-08', dlogl='2.85e-02', energy_flux='1.71e-05', photon_flux2='2.31e-08', job_status='DONE', time_completed='2021-09-28 18:51:48.295366', photon_index_error2='0.73', photon_index2='1.82', ts='2.81', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='8.30e-08', energy_flux_error2='2.27e-05', EG='0.85', time_epoch_completed='1632880308.3', return_code='0', job_id='437948', GAL2='1.00', EG2='0.85', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='2.48e-08', ts2='2.90', photon_index='2.00' WHERE bin_id='1107' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:51:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 437948: <4FGL_J2243.4-2544_daily_bin1107> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1107> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:13 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:40:14 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:14 2021
Terminated at Tue Sep 28 18:51:48 2021
Results reported at Tue Sep 28 18:51:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1107 340.865 -25.7363 526262401 526521601 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 :                                   644.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            695 sec.

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

