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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1538
RA = 340.865, Dec = -25.7363
tmin = 637977601, tmax = 638236801
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='438565', job_status='RUN', time_executed='2021-09-28 18:42:17.728855', time_epoch_executed='1632879737.73' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1538'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438565/ft1_4FGL_J2243.4-2544_daily_bin1538.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438565/ft1_4FGL_J2243.4-2544_daily_bin1538.fits outfile=/scratch/kocevski/438565/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1538.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=637977601.0 tmax=638236801.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.84
user 3.39
sys 0.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438565/ft1_filtered_4FGL_J2243.4-2544_daily_bin1538.fits" evtable="EVENTS" scfile=/scratch/kocevski/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits sctable="SC_DATA" outfile=/scratch/kocevski/438565/ltcube_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.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/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits
.....................!
real 12.00
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438565/ft1_filtered_4FGL_J2243.4-2544_daily_bin1538.fits evtable="EVENTS" scfile=/scratch/kocevski/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits sctable="SC_DATA" expcube=/scratch/kocevski/438565/ltcube_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.fits outfile=/scratch/kocevski/438565/expmap_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.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/438565/ltcube_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.fits
.....................!
real 191.76
user 186.18
sys 5.27

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/438565/ft1_filtered_4FGL_J2243.4-2544_daily_bin1538.fits scfile=/scratch/kocevski/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits outfile=/scratch/kocevski/438565/cmap_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438565/ft1_filtered_4FGL_J2243.4-2544_daily_bin1538.fits scfile=/scratch/kocevski/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits outfile=/scratch/kocevski/438565/cmap_HighResolution_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438565/ft1_filtered_4FGL_J2243.4-2544_daily_bin1538.fits evtable="EVENTS" scfile=/scratch/kocevski/438565/ft2_4FGL_J2243.4-2544_daily_bin1538.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438565/Model_4FGL_J2243.4-2544_daily_bin1538.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/438565/ft1_filtered_4FGL_J2243.4-2544_daily_bin1538.fits.....................!
real 42.41
user 41.17
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .58552       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.296       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    90.173       1.0000         .10000E-03   10000.    
     8 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .29021       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6460       1.0000         .10000E-03   10000.    
    11 'norm      '    .72780       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1428       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.067       1.0000         .10000E-03   10000.    
    15 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.062       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7652       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.7666       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .95706       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84587       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=   4962.638     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2892 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.171       -.21985E-05** at limit **
   2  Prefactor     .10000E-03    38.458       -.10411E-04** at limit **
   3  norm          .58547        .33346       -.33111E-07   -.35368E-04
   4  Prefactor     .10000E-03    10.028       -.90291E-07** at limit **
   5  Prefactor     16.292        14.025        .28880E-06    .10789E-05
   6  Prefactor     .10000E-03    4.0383       -.21364E-06** at limit **
   7  Prefactor     90.162        61.366       -.10091E-04   -.14155E-05
   8  norm          .10000E-03    15.160        .15604E-05** at limit **
   9  Prefactor     .91897E-01    18.739       -.33416E-05   -.14576E-04
  10  Prefactor     8.6468        13.412        .18624E-04    .20276E-04
  11  norm          .72752        1.0457       -.99040E-07   -.24846E-03
  12  norm          3.1454        2.9773        .94369E-05   -.67351E-03
  13  Prefactor     53.080        71.091       -.11612E-03   -.98136E-04
  14  Prefactor     21.066        19.024        .53564E-05   -.33609E-04
  15  norm          .10000E-03    3.4915        .82300E-06** at limit **
  16  Prefactor     .10000E-03    14.329        .11105E-04** at limit **
  17  Prefactor     27.089        17.985       -.80861E-05   -.60827E-03
  18  norm          1.7640        1.3225        .20793E-05   -.28785E-02
  19  Prefactor     .10000E-03    25.594       -.10566E-05** at limit **
  20  Prefactor     .10000E-03    12.970       -.39922E-05** at limit **
  21  Prefactor     .10000E-03    20.613        .12381E-04** at limit **
  22  norm          3.7664        3.2151       -.15997E-06    .22393E-04
  23  Prefactor     .10000E-03    17.216       -.12308E-04** at limit **
  24  Normalizat    .95712        .22490        .12284E-04   -.48397E-03
  25  Prefactor     .84593        .18978       -.47242E-05    .24324E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.585465
  Prefactor  = 0.0001
  Prefactor  = 16.2922
  Prefactor  = 0.0001
  Prefactor  = 90.1616
  norm       = 0.000100001
  Prefactor  = 0.0918968
  Prefactor  = 8.64684
  norm       = 0.727523
  norm       = 3.14544
  Prefactor  = 53.0798
  Prefactor  = 21.0656
  norm       = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 27.0889
  norm       = 1.76397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.76636
  Prefactor  = 0.0001
  Normalizat = 0.957116
  Prefactor  = 0.845929
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.638     FROM HESSE     STATUS=OK           429 CALLS     3321 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    38.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .58547        .33193        .29805E-04   -1.5555    
   4  Prefactor     .10000E-03    10.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.292        14.026        .99215E-04   -1.4900    
   6  Prefactor     .10000E-03    4.0692        .13823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     90.162        61.355        .21158E-03   -1.3806    
   8  norm          .10000E-03    15.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .91897E-01    21.504        .93820E-01   -1.5647    
  10  Prefactor     8.6468        13.408        .13632E-03   -1.5120    
  11  norm          .72752        1.0450        .48672E-04   -1.5537    
  12  norm          3.1454        2.9737        .10119E-03   -1.5353    
  13  Prefactor     53.080        71.320        .54984E-04   -1.4250    
  14  Prefactor     21.066        19.220        .87264E-04   -1.4790    
  15  norm          .10000E-03    3.5243        .12834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.089        18.718        .77009E-04   -1.4667    
  18  norm          1.7640        1.3542        .48221E-04   -1.5442    
  19  Prefactor     .10000E-03    25.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.7664        3.2162        .11338E-03   -1.5320    
  23  Prefactor     .10000E-03    17.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .95712        .27330        .26023E-03   -.94481    
  25  Prefactor     .84593        .23007        .24547E-03   -.98057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16853e-09
Minuit parameter uncertainties:
  1  1.57804e-05
  2  5.24461e-05
  3  0.331931
  4  6.04186e-05
  5  14.0291
  6  2.48832e-05
  7  61.3985
  8  0.000239683
  9  2.81102
  10  13.4125
  11  1.04503
  12  2.9738
  13  71.435
  14  19.2254
  15  0.000120708
  16  0.000366376
  17  18.7217
  18  1.35422
  19  5.47843e-05
  20  5.40666e-05
  21  0.000439228
  22  3.21635
  23  1.40786e-05
  24  0.273698
  25  0.230331
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.145e+00  2.974e+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:  8.459e-01  2.303e-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:  9.571e-01  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.91
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.04e-08 +/- 2.88e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.83e-05

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

Saving results to:
/scratch/kocevski/438565/likelihoodResults_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.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) = 4961.46937486
delta logL = 1.1681283919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4960.48259552
delta logL = 2.15490773818

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15490       1.0000         .10000E-03   10000.    
     2 'alpha     '    .12771E-03   1.0000          .0000       5.0000    
     3 'Normalizat'    .96597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85219       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=   4960.483     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      256 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15490        .32987        .61485E-02   -.32186E-02
   2  alpha         .22661E-07    3.7187        .46270    ** at limit **
   3  Normalizat    .96584        .20762        .45739E-01    .70214E-05
   4  Prefactor     .85243        .18635        .44393E-01    .61487E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.154896
  alpha      = 2.26613e-08
  Normalizat = 0.965841
  Prefactor  = 0.852434
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.483     FROM HESSE     STATUS=OK            37 CALLS      293 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15490        .23009        .24487E-03   -1.5629    
   2  alpha         .22661E-07    1.1208        .45148       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .96584        .24696        .25945E-03   -.94184    
   4  Prefactor     .85243        .22167        .24503E-03   -.97824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05755e-10
Minuit parameter uncertainties:
  1  0.23009
  2  0.000332032
  3  0.247253
  4  0.221902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438565': 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) = 4960.48258933
delta logL = 2.15491392459

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.549e-01  2.301e-01  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.266e-08  3.320e-04  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.524e-01  2.219e-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:  9.658e-01  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.23
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.79e-09 +/- 5.63e-09
Energy Flux (Free Index): 1.13e-04 +/- 1.67e-04

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/438565/cmap_HighResolution_637977601_638236801_4FGL_J2243.4-2544_daily_bin1538.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-05', comment='SUCCESS', photon_flux='3.04e-08', energy_flux2='1.13e-04', photon_flux_error='2.88e-08', dlogl='2.15e+00', energy_flux='1.94e-05', photon_flux2='3.79e-09', job_status='DONE', time_completed='2021-09-28 18:52:30.371685', photon_index_error2='0.00', photon_index2='0.00', ts='3.91', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='9.61e-08', energy_flux_error2='1.67e-04', EG='0.96', time_epoch_completed='1632880350.37', return_code='0', job_id='438565', GAL2='0.85', EG2='0.97', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='5.63e-09', ts2='8.23', photon_index='2.00' WHERE bin_id='1538' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:52:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 438565: <4FGL_J2243.4-2544_daily_bin1538> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1538 340.865 -25.7363 637977601 638236801 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 :                                   582.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            694 sec.

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

