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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1210
RA = 340.865, Dec = -25.7363
tmin = 552960001, tmax = 553219201
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='438095', job_status='RUN', time_executed='2021-09-28 18:41:23.310724', time_epoch_executed='1632879683.31' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438095

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438095/ft1_4FGL_J2243.4-2544_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438095/ft2_4FGL_J2243.4-2544_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438095/ft1_4FGL_J2243.4-2544_daily_bin1210.fits outfile=/scratch/kocevski/438095/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1210.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=552960001.0 tmax=553219201.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.79
user 2.60
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438095/ft1_filtered_4FGL_J2243.4-2544_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/438095/ft2_4FGL_J2243.4-2544_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/438095/ltcube_552960001_553219201_4FGL_J2243.4-2544_daily_bin1210.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/438095/ft2_4FGL_J2243.4-2544_daily_bin1210.fits
.....................!
real 12.56
user 12.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438095/ft1_filtered_4FGL_J2243.4-2544_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/438095/ft2_4FGL_J2243.4-2544_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/438095/ltcube_552960001_553219201_4FGL_J2243.4-2544_daily_bin1210.fits outfile=/scratch/kocevski/438095/expmap_552960001_553219201_4FGL_J2243.4-2544_daily_bin1210.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/438095/ltcube_552960001_553219201_4FGL_J2243.4-2544_daily_bin1210.fits
.....................!
real 190.14
user 185.37
sys 4.44

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

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438095/ft1_filtered_4FGL_J2243.4-2544_daily_bin1210.fits scfile=/scratch/kocevski/438095/ft2_4FGL_J2243.4-2544_daily_bin1210.fits outfile=/scratch/kocevski/438095/cmap_HighResolution_552960001_553219201_4FGL_J2243.4-2544_daily_bin1210.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .47557       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .98268E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3974       1.0000         .10000E-03   10000.    
     7 'Prefactor '    74.608       1.0000         .10000E-03   10000.    
     8 'norm      '    12.183       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.159       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.430       1.0000         .10000E-03   10000.    
    11 'norm      '    .80208       1.0000         .10000E-03   10000.    
    12 'norm      '    3.2778       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.796       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.465       1.0000         .10000E-03   10000.    
    18 'norm      '    .35432       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3157       1.0000         .10000E-03   10000.    
    22 'norm      '    8.5267       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.9299       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1381       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91485       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=   4178.108     FROM MIGRAD    STATUS=CONVERGED   1044 CALLS     3403 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.860        .18142E-02** at limit **
   2  Prefactor     .10000E-03    95.575        .18142E-02** at limit **
   3  norm          .47556        .49224        .46154E-03   -.72023E-04
   4  Prefactor     .38400E-01    19.876        .79208E-01    .81245E-04
   5  Prefactor     .10000E-03    11.568        .18142E-02** at limit **
   6  Prefactor     8.3952        17.145        .13834E-03    .17669E-04
   7  Prefactor     74.591        66.204        .23242E-03    .60654E-05
   8  norm          12.169        42.625        .11477E-03    .16048E-04
   9  Prefactor     12.158        25.383        .11488E-03    .25730E-05
  10  Prefactor     11.429        17.940        .11850E-03    .28207E-04
  11  norm          .80199        .77977        .51506E-03    .78644E-04
  12  norm          3.2778        2.9407        .99210E-04    .63140E-04
  13  Prefactor     .10000E-03    26.678        .18142E-02** at limit **
  14  Prefactor     33.792        18.939        .68931E-04    .82465E-06
  15  norm          .10000E-03    5.6102        .14781E-02** at limit **
  16  Prefactor     .10000E-03    24.367        .18142E-02** at limit **
  17  Prefactor     38.466        23.703        .64625E-04    .12912E-03
  18  norm          .35439        1.3711        .86241E-04    .30583E-03
  19  Prefactor     .10000E-03    140.16        .18142E-02** at limit **
  20  Prefactor     .10000E-03    4.2473        .12999E-02** at limit **
  21  Prefactor     5.3153        10.011        .17432E-03   -.10500E-04
  22  norm          8.5260        4.7875        .97858E-04    .27650E-04
  23  Prefactor     6.9375        83.104        .15240E-03    .67137E-06
  24  Normalizat    1.1381        .31614        .26855E-03    .92837E-04
  25  Prefactor     .91494        .26479        .26734E-03    .73015E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.475559
  Prefactor  = 0.0383996
  Prefactor  = 0.0001
  Prefactor  = 8.39521
  Prefactor  = 74.5908
  norm       = 12.1687
  Prefactor  = 12.1578
  Prefactor  = 11.4287
  norm       = 0.801992
  norm       = 3.27782
  Prefactor  = 0.0001
  Prefactor  = 33.7923
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 38.4664
  norm       = 0.354392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.31532
  norm       = 8.52599
  Prefactor  = 6.93754
  Normalizat = 1.13806
  Prefactor  = 0.914943
 **********
 **   18 **HESSE 
 **********

 FCN=   4178.108     FROM HESSE     STATUS=OK           415 CALLS     3818 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.860        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    95.576        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .47556        .49223        .18462E-04   -1.5570    
   4  Prefactor     .38400E-01    18.708        .82710E-01   -1.5669    
   5  Prefactor     .10000E-03    11.568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3952        17.144        .55336E-05   -1.5128    
   7  Prefactor     74.591        66.201        .92968E-05   -1.3978    
   8  norm          12.169        42.615        .45906E-05   -1.5010    
   9  Prefactor     12.158        25.381        .45951E-05   -1.5010    
  10  Prefactor     11.429        17.937        .47398E-05   -1.5032    
  11  norm          .80199        .77977        .20603E-04   -1.5529    
  12  norm          3.2778        2.9404        .39684E-05   -1.5346    
  13  Prefactor     .10000E-03    26.678        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.792        18.938        .27572E-05   -1.4545    
  15  norm          .10000E-03    5.6125        .29561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     38.466        23.632        .25850E-05   -1.4467    
  18  norm          .35439        1.3667        .34497E-05   -1.5589    
  19  Prefactor     .10000E-03    140.18        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2475        .25998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.3153        10.010        .69728E-05   -1.5247    
  22  norm          8.5260        4.7867        .39143E-05   -1.5124    
  23  Prefactor     6.9375        82.945        .60960E-05   -1.5181    
  24  Normalizat    1.1381        .31647        .10742E-04   -.88539    
  25  Prefactor     .91494        .26505        .10694E-04   -.95621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81752e-10
Minuit parameter uncertainties:
  1  1.271e-05
  2  8.55448e-06
  3  0.492236
  4  1.69347
  5  1.00673e-05
  6  17.1539
  7  66.2666
  8  42.7218
  9  25.4036
  10  17.9457
  11  0.779781
  12  2.94055
  13  2.10344e-05
  14  18.9415
  15  7.84055e-05
  16  0.000343117
  17  23.6376
  18  1.36685
  19  0.000502286
  20  5.18036e-06
  21  10.0131
  22  4.78688
  23  48.0594
  24  0.316998
  25  0.265421
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.278e+00  2.941e+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.149e-01  2.654e-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.138e+00  3.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.46
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.17e-08 +/- 2.84e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.81e-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) = 4178.10232578
delta logL = 0.00590066679615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4178.10215349
delta logL = 0.00607295100599

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2601       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9089       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91460       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=   4178.102     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      225 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2511        110.17        .56073E-02   -.92827E-04
   2  alpha         1.9055        3.3339        .42708        .30429E-04
   3  Normalizat    1.1407        .16363        .60667E-01   -.65180E-04
   4  Prefactor     .91466        .10454        .45191E-01   -.82527E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.25112
  alpha      = 1.90554
  Normalizat = 1.14069
  Prefactor  = 0.914659
 **********
 **   18 **HESSE 
 **********

 FCN=   4178.102     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2511        2.9384        .10125E-03   -1.5347    
   2  alpha         1.9055        .84266        .15984E-01   -.24008    
   3  Normalizat    1.1407        .28255        .26832E-03   -.88456    
   4  Prefactor     .91466        .25575        .26742E-03   -.95631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71482e-11
Minuit parameter uncertainties:
  1  2.9385
  2  0.860562
  3  0.282923
  4  0.256086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438095': 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) = 4178.10214273
delta logL = 0.00608371189355

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.251e+00  2.938e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.906e+00  8.606e-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.147e-01  2.561e-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.141e+00  2.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.47
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.91 +/- 0.86
Photon Flux (Free Index): 2.79e-08 +/- 4.13e-08
Energy Flux (Free Index): 2.09e-05 +/- 2.02e-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/438095/cmap_HighResolution_552960001_553219201_4FGL_J2243.4-2544_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.17e-08', energy_flux2='2.09e-05', photon_flux_error='2.84e-08', dlogl='6.08e-03', energy_flux='2.02e-05', photon_flux2='2.79e-08', job_status='DONE', time_completed='2021-09-28 18:49:58.238158', photon_index_error2='0.86', photon_index2='1.91', ts='5.46', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.02e-05', EG='1.14', time_epoch_completed='1632880198.24', return_code='0', job_id='438095', GAL2='0.91', EG2='1.14', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='4.13e-08', ts2='5.47', photon_index='2.00' WHERE bin_id='1210' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:49:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 438095: <4FGL_J2243.4-2544_daily_bin1210> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1210> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:23 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:40:25 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:25 2021
Terminated at Tue Sep 28 18:49:59 2021
Results reported at Tue Sep 28 18:49:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1210 340.865 -25.7363 552960001 553219201 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 :                                   512.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            576 sec.

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

