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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1366
RA = 340.865, Dec = -25.7363
tmin = 593395201, tmax = 593654401
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='438323', job_status='RUN', time_executed='2021-09-28 18:41:13.628789', time_epoch_executed='1632879673.63' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1366'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438323

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438323/ft1_4FGL_J2243.4-2544_daily_bin1366.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438323/ft1_4FGL_J2243.4-2544_daily_bin1366.fits outfile=/scratch/kocevski/438323/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1366.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=593395201.0 tmax=593654401.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.13
user 3.88
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.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/438323/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1366.fits evtable="EVENTS" outfile="/scratch/kocevski/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.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/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.fits" evtable="EVENTS" scfile=/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits sctable="SC_DATA" outfile=/scratch/kocevski/438323/ltcube_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.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/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits
.....................!
real 12.10
user 11.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits sctable="SC_DATA" expcube=/scratch/kocevski/438323/ltcube_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.fits outfile=/scratch/kocevski/438323/expmap_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.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/438323/ltcube_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.fits
.....................!
real 190.98
user 185.38
sys 4.79

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/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.fits scfile=/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits outfile=/scratch/kocevski/438323/cmap_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.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/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.fits scfile=/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits outfile=/scratch/kocevski/438323/cmap_HighResolution_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/438323/ft2_4FGL_J2243.4-2544_daily_bin1366.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438323/Model_4FGL_J2243.4-2544_daily_bin1366.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/438323/ft1_filtered_4FGL_J2243.4-2544_daily_bin1366.fits.....................!
real 58.56
user 57.11
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.1675       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10474E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1805       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9458       1.0000         .10000E-03   10000.    
    11 'norm      '    .25546       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5906       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.874       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.615       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1861       1.0000         .10000E-03   10000.    
    19 'Prefactor '    55.972       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1721       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .23903E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82585       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0771       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=   7883.079     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2927 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.8270       -.10836E-05** at limit **
   2  Prefactor     .10000E-03    11.747        .26589E-05** at limit **
   3  norm          1.1675        .31489        .50420E-09    .25136E-03
   4  Prefactor     .10020E-03    3.8188       -.23018E-05** at limit **
   5  Prefactor     .10000E-03    11.646        .26849E-05** at limit **
   6  Prefactor     7.1817        7.5030       -.62159E-07   -.84149E-04
   7  Prefactor     .10000E-03    42.355       -.10462E-04** at limit **
   8  norm          .10000E-03    12.948        .26685E-05** at limit **
   9  Prefactor     .10000E-03    9.1616       -.65166E-05** at limit **
  10  Prefactor     5.9459        7.7531        .58752E-06   -.72904E-04
  11  norm          .25536        .69878       -.12834E-07   -.41791E-04
  12  norm          2.5908        2.4625        .10165E-05   -.21069E-03
  13  Prefactor     39.868        43.306       -.76612E-05   -.79043E-04
  14  Prefactor     .10000E-03    7.7044        .38179E-05** at limit **
  15  norm          .10000E-03    1.3296       -.22522E-07** at limit **
  16  Prefactor     .10000E-03    5.4854       -.28035E-07** at limit **
  17  Prefactor     15.619        9.7404        .37112E-06   -.95740E-04
  18  norm          1.1855        .74833       -.34526E-07    .87179E-04
  19  Prefactor     55.973        40.200        .10428E-05    .20431E-04
  20  Prefactor     1.1719        1.2913       -.27290E-07   -.64274E-03
  21  Prefactor     .10000E-03    1.8326       -.26012E-07** at limit **
  22  norm          .10001E-03    1.1030       -.25123E-07** at limit **
  23  Prefactor     .10000E-03    27.469        .14285E-04** at limit **
  24  Normalizat    .82577        .16022        .54366E-06    .90036E-04
  25  Prefactor     1.0771        .15047       -.48117E-08    .18343E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.16755
  Prefactor  = 0.000100199
  Prefactor  = 0.0001
  Prefactor  = 7.18167
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.94586
  norm       = 0.255359
  norm       = 2.59079
  Prefactor  = 39.8681
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.6193
  norm       = 1.18552
  Prefactor  = 55.9729
  Prefactor  = 1.17191
  Prefactor  = 0.0001
  norm       = 0.000100013
  Prefactor  = 0.000100001
  Normalizat = 0.825765
  Prefactor  = 1.07713
 **********
 **   18 **HESSE 
 **********

 FCN=   7883.079     FROM HESSE     STATUS=OK           431 CALLS     3358 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1675        .31627        .25168E-04   -1.5492    
   4  Prefactor     .10020E-03    17.899        .32087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.1817        7.5783        .74847E-03   -1.5172    
   7  Prefactor     .10000E-03    42.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    13.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.2408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.9459        7.7771        .82340E-03   -1.5220    
  11  norm          .25536        .69555        .11712E-03   -1.5607    
  12  norm          2.5908        2.4843        .10629E-03   -1.5386    
  13  Prefactor     39.868        43.864        .63477E-04   -1.4444    
  14  Prefactor     .10000E-03    7.8181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.3480        .99836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.619        10.314        .10136E-03   -1.4917    
  18  norm          1.1855        .77463        .44114E-04   -1.5490    
  19  Prefactor     55.973        40.211        .53618E-04   -1.4210    
  20  Prefactor     1.1719        8.8230        .21183E-02   -1.5491    
  21  Prefactor     .10000E-03    1.8341        .11734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10001E-03    2.7762        .32528E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    27.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .82577        .19001        .26009E-03   -.99120    
  25  Prefactor     1.0771        .17859        .22241E-03   -.90201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2191e-08
Minuit parameter uncertainties:
  1  1.68607e-05
  2  5.89e-05
  3  0.316267
  4  0.00377679
  5  6.11993e-05
  6  7.57929
  7  0.000411419
  8  5.52503e-05
  9  0.000119186
  10  7.7784
  11  0.695567
  12  2.48436
  13  43.8997
  14  3.79191e-05
  15  1.16678e-06
  16  4.48116e-06
  17  10.3155
  18  0.774637
  19  40.2307
  20  6.43215
  21  5.27206e-07
  22  0.000378233
  23  0.000350384
  24  0.190168
  25  0.178685
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.591e+00  2.484e+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.077e+00  1.787e-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.258e-01  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.87
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.51e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.53e-05

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

Saving results to:
/scratch/kocevski/438323/likelihoodResults_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.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) = 7882.98993927
delta logL = 0.0888658161166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7882.98940158
delta logL = 0.0894035091214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2455       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2439       1.0000          .0000       5.0000    
     3 'Normalizat'    .82041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0797       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=   7882.989     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      221 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2455        34.064        .68560E-02    .48096E-03
   2  alpha         2.2439        3.6108        .38117        .51875E-04
   3  Normalizat    .82041        .52729E-01    .43876E-01   -.22161E-04
   4  Prefactor     1.0797        .44993E-01    .38414E-01    .61351E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.24548
  alpha      = 2.24393
  Normalizat = 0.820412
  Prefactor  = 1.0797
 **********
 **   18 **HESSE 
 **********

 FCN=   7882.989     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2455        2.0558        .95188E-04   -1.5408    
   2  alpha         2.2439        .60278        .13027E-01   -.10261    
   3  Normalizat    .82041        .17940        .26079E-03   -.99316    
   4  Prefactor     1.0797        .17358        .22215E-03   -.90118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72236e-11
Minuit parameter uncertainties:
  1  2.05587
  2  0.608844
  3  0.179532
  4  0.173669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438323': 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) = 7882.98940157
delta logL = 0.0894035093106

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.245e+00  2.056e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.244e+00  6.088e-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.080e+00  1.737e-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.204e-01  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.09
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.24 +/- 0.61
Photon Flux (Free Index): 3.08e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/438323/cmap_HighResolution_593395201_593654401_4FGL_J2243.4-2544_daily_bin1366.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-05', comment='SUCCESS', photon_flux='2.51e-08', energy_flux2='1.37e-05', photon_flux_error='2.40e-08', dlogl='8.94e-02', energy_flux='1.59e-05', photon_flux2='3.08e-08', job_status='DONE', time_completed='2021-09-28 18:53:44.172038', photon_index_error2='0.61', photon_index2='2.24', ts='2.87', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='6.87e-08', energy_flux_error2='1.15e-05', EG='0.83', time_epoch_completed='1632880424.17', return_code='0', job_id='438323', GAL2='1.08', EG2='0.82', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='2.54e-08', ts2='3.09', photon_index='2.00' WHERE bin_id='1366' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:53:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 438323: <4FGL_J2243.4-2544_daily_bin1366> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1366> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:40 2021
Job was executed on host(s) <bullet0042>, 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:53:44 2021
Results reported at Tue Sep 28 18:53:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1366 340.865 -25.7363 593395201 593654401 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 :                                   746.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

