/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 148 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 = 7382
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.4-2544_daily_bin230
RA = 340.865, Dec = -25.7363
tmin = 298944001, tmax = 299203201
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='433756', job_status='RUN', time_executed='2021-09-28 18:28:20.200678', time_epoch_executed='1632878900.2' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433756/ft1_4FGL_J2243.4-2544_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433756/ft1_4FGL_J2243.4-2544_daily_bin230.fits outfile=/scratch/kocevski/433756/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin230.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=298944001.0 tmax=299203201.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.47
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433756/ft1_filtered_4FGL_J2243.4-2544_daily_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/433756/ltcube_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.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/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits
.....................!
real 11.70
user 11.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433756/ft1_filtered_4FGL_J2243.4-2544_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/433756/ltcube_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.fits outfile=/scratch/kocevski/433756/expmap_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.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/433756/ltcube_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.fits
.....................!
real 192.21
user 186.76
sys 5.11

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/433756/ft1_filtered_4FGL_J2243.4-2544_daily_bin230.fits scfile=/scratch/kocevski/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits outfile=/scratch/kocevski/433756/cmap_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=340.865 yref=-25.7363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433756/ft1_filtered_4FGL_J2243.4-2544_daily_bin230.fits scfile=/scratch/kocevski/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits outfile=/scratch/kocevski/433756/cmap_HighResolution_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.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/433756/ft1_filtered_4FGL_J2243.4-2544_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/433756/ft2_4FGL_J2243.4-2544_daily_bin230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433756/Model_4FGL_J2243.4-2544_daily_bin230.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/433756/ft1_filtered_4FGL_J2243.4-2544_daily_bin230.fits.....................!
real 42.95
user 41.67
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7217       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .99617       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.992       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8083       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    56.739       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .79806       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4943       1.0000         .10000E-03   10000.    
    18 'norm      '    .72569       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21103E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.4703       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    6.1545       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.441       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1775       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82503       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=   5040.792     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     2903 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.156        .23506E-05** at limit **
   2  Prefactor     .10000E-03    40.105        .88311E-05** at limit **
   3  norm          1.7217        .51561       -.10159E-07   -.59497E-03
   4  Prefactor     .10000E-03    15.192       -.33844E-05** at limit **
   5  Prefactor     .95902        20.985        .43392E-05   -.51134E-03
   6  Prefactor     .10000E-03    2.4264       -.38233E-07** at limit **
   7  Prefactor     .10000E-03    33.688       -.14313E-04** at limit **
   8  norm          .10000E-03    26.005        .65993E-05** at limit **
   9  Prefactor     42.990        26.908       -.58142E-06   -.21291E-04
  10  Prefactor     .10000E-03    9.5658        .42820E-07** at limit **
  11  norm          1.8082        1.1445        .80366E-08    .42617E-04
  12  norm          .10000E-03    1.1716        .12837E-08** at limit **
  13  Prefactor     56.738        53.408       -.13397E-05   -.67217E-04
  14  Prefactor     .10000E-03    4.5725       -.10231E-07** at limit **
  15  norm          .80096        3.6285       -.15246E-06   -.89063E-04
  16  Prefactor     .10000E-03    7.5117       -.80534E-07** at limit **
  17  Prefactor     2.4876        3.2187       -.16496E-06   -.77394E-03
  18  norm          .72554        .59264        .32683E-07    .22276E-04
  19  Prefactor     .10000E-03    153.50       -.60470E-05** at limit **
  20  Prefactor     8.4664        12.497        .64830E-07   -.11171E-03
  21  Prefactor     .10000E-03    6.1258       -.11729E-06** at limit **
  22  norm          6.1542        4.8525        .62381E-06   -.37785E-03
  23  Prefactor     13.432        43.308       -.11359E-04   -.50818E-04
  24  Normalizat    1.1777        .20740        .54473E-06   -.32241E-03
  25  Prefactor     .82503        .18160       -.56252E-06   -.20367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.72171
  Prefactor  = 0.0001
  Prefactor  = 0.95902
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 42.9897
  Prefactor  = 0.0001
  norm       = 1.80819
  norm       = 0.0001
  Prefactor  = 56.7378
  Prefactor  = 0.0001
  norm       = 0.800964
  Prefactor  = 0.0001
  Prefactor  = 2.48763
  norm       = 0.725537
  Prefactor  = 0.0001
  Prefactor  = 8.46641
  Prefactor  = 0.0001
  norm       = 6.15423
  Prefactor  = 13.4321
  Normalizat = 1.17769
  Prefactor  = 0.825028
 **********
 **   18 **HESSE 
 **********

 FCN=   5040.792     FROM HESSE     STATUS=OK           425 CALLS     3328 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    40.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7217        .51640        .27069E-04   -1.5446    
   4  Prefactor     .10000E-03    15.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .95902        162.10        .57197E-02   -1.5512    
   6  Prefactor     .10000E-03    2.4298        .10800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    26.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.990        26.993        .61141E-04   -1.4396    
  10  Prefactor     .10000E-03    9.6036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8082        1.1400        .58304E-04   -1.5439    
  12  norm          .10000E-03    1.1888        .74795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     56.738        54.027        .53256E-04   -1.4200    
  14  Prefactor     .10000E-03    4.5903        .14825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .80096        3.6085        .24328E-03   -1.5529    
  16  Prefactor     .10000E-03    7.5263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.4876        11.868        .12940E-02   -1.5393    
  18  norm          .72554        .69785        .44765E-04   -1.5538    
  19  Prefactor     .10000E-03    154.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.4664        12.569        .68869E-03   -1.5126    
  21  Prefactor     .10000E-03    6.1593        .17149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.1542        4.9177        .64125E-03   -1.5212    
  23  Prefactor     13.432        43.468        .10925E-03   -1.4975    
  24  Normalizat    1.1777        .25698        .24178E-03   -.87295    
  25  Prefactor     .82503        .21861        .25601E-03   -.98812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80286e-08
Minuit parameter uncertainties:
  1  4.90194e-05
  2  0.000326856
  3  0.516402
  4  0.00012914
  5  25.0042
  6  1.18674e-07
  7  0.000508205
  8  0.000182007
  9  27.0008
  10  3.20185e-06
  11  1.13999
  12  2.7832e-06
  13  54.0736
  14  5.86118e-07
  15  3.40032
  16  5.65514e-06
  17  10.8705
  18  0.697862
  19  0.000410063
  20  12.5726
  21  4.51778e-06
  22  4.91798
  23  43.571
  24  0.257251
  25  0.218837
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  2.783e-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:  8.250e-01  2.188e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.178e+00  2.573e-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: 4.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433756/likelihoodResults_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.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) = 5040.79636276
delta logL = -0.00392390289289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5040.4796294
delta logL = 0.312809463378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17181E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85808       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=   5040.480     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      429 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17261E-01    .25740E-01    .12130E-04    .52956E-03
   2  alpha         5.0000        3.3693        .50000    ** at limit **
   3  Normalizat    1.1173        .24770        .24709E-03    .51998E-03
   4  Prefactor     .85809        .21638        .25144E-03    .47317E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0172607
  alpha      = 5
  Normalizat = 1.11732
  Prefactor  = 0.858093
 **********
 **   18 **HESSE 
 **********

 FCN=   5040.480     FROM HESSE     STATUS=OK            29 CALLS      458 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17261E-01    .25665E-01    .48518E-06   -1.5682    
   2  alpha         5.0000        3.3652        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1173        .24800        .49418E-04   -.89198    
   4  Prefactor     .85809        .21661        .50288E-04   -.97621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31715e-10
Minuit parameter uncertainties:
  1  0.0256652
  2  4.09293e-05
  3  0.248256
  4  0.216825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433756': 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) = 5040.47962271
delta logL = 0.312816153833

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.726e-02  2.567e-02  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  5.000e+00  4.093e-05  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  8.581e-01  2.168e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.117e+00  2.483e-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/433756/cmap_HighResolution_298944001_299203201_4FGL_J2243.4-2544_daily_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='4.69e-08', time_completed='2021-09-28 18:38:18.543318', job_id='433756', GAL2='0.86', fit_tolerance='1e-08', EG2='1.12', EG='1.18', time_epoch_completed='1632879498.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.13e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='230' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:38:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 433756: <4FGL_J2243.4-2544_daily_bin230> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin230> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:25:41 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:25: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:25:43 2021
Terminated at Tue Sep 28 18:38:19 2021
Results reported at Tue Sep 28 18:38:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin230 340.865 -25.7363 298944001 299203201 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 :                                   595.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            758 sec.

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

