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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin808
RA = 340.865, Dec = -25.7363
tmin = 448761601, tmax = 449020801
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='436430', job_status='RUN', time_executed='2021-09-28 18:37:49.615656', time_epoch_executed='1632879469.62' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='808'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436430/ft1_4FGL_J2243.4-2544_daily_bin808.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436430/ft1_4FGL_J2243.4-2544_daily_bin808.fits outfile=/scratch/kocevski/436430/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin808.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=448761601.0 tmax=449020801.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 5.78
user 5.48
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.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/436430/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin808.fits evtable="EVENTS" outfile="/scratch/kocevski/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.fits" evtable="EVENTS" scfile=/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits sctable="SC_DATA" outfile=/scratch/kocevski/436430/ltcube_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.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/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits
.....................!
real 11.74
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits sctable="SC_DATA" expcube=/scratch/kocevski/436430/ltcube_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.fits outfile=/scratch/kocevski/436430/expmap_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.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/436430/ltcube_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.fits
.....................!
real 192.82
user 186.30
sys 6.13

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/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.fits scfile=/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits outfile=/scratch/kocevski/436430/cmap_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.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/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.fits scfile=/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits outfile=/scratch/kocevski/436430/cmap_HighResolution_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.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/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/436430/ft2_4FGL_J2243.4-2544_daily_bin808.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436430/Model_4FGL_J2243.4-2544_daily_bin808.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/436430/ft1_filtered_4FGL_J2243.4-2544_daily_bin808.fits.....................!
real 47.23
user 45.83
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .76111       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.327       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4984       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.087       1.0000         .10000E-03   10000.    
     7 'Prefactor '    62.710       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.900       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5473       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2571       1.0000         .10000E-03   10000.    
    12 'norm      '    .10460E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.407       1.0000         .10000E-03   10000.    
    15 'norm      '    .32629       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.875       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10180E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .85430       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0948       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=   5383.489     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     2917 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.128        .88729E-05** at limit **
   2  Prefactor     .10000E-03    38.478       -.74313E-05** at limit **
   3  norm          .76107        .30090        .65622E-09   -.17040E-03
   4  Prefactor     11.326        9.8220        .72221E-07   -.32219E-03
   5  Prefactor     7.4975        13.586        .89650E-07   -.21598E-03
   6  Prefactor     18.087        10.706        .10606E-06    .95406E-05
   7  Prefactor     62.711        52.491        .57897E-06    .39736E-05
   8  norm          .10000E-03    17.015       -.11518E-04** at limit **
   9  Prefactor     44.899        29.281        .13634E-06    .10380E-04
  10  Prefactor     1.5435        7.8068        .21573E-05   -.62612E-03
  11  norm          1.2572        1.2027       -.81712E-08   -.11986E-03
  12  norm          .10002E-03    1.3057       -.36902E-06** at limit **
  13  Prefactor     .10000E-03    22.950        .49298E-05** at limit **
  14  Prefactor     18.403        19.542        .10555E-05    .45149E-04
  15  norm          .31938        2.8617       -.41933E-06    .32194E-03
  16  Prefactor     14.867        13.103       -.14939E-06    .68472E-04
  17  Prefactor     .10000E-03    3.4642        .22240E-07** at limit **
  18  norm          .10000E-03    .24488        .31691E-07** at limit **
  19  Prefactor     .10000E-03    209.74       -.72871E-05** at limit **
  20  Prefactor     .10000E-03    9.8928        .25284E-05** at limit **
  21  Prefactor     .10000E-03    3.6658       -.48214E-07** at limit **
  22  norm          .10000E-03    4.7359        .21894E-08** at limit **
  23  Prefactor     .10000E-03    51.490        .65002E-05** at limit **
  24  Normalizat    .85438        .22048       -.53151E-06    .85571E-04
  25  Prefactor     1.0947        .19158       -.74381E-07    .10197E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.761068
  Prefactor  = 11.3262
  Prefactor  = 7.4975
  Prefactor  = 18.0868
  Prefactor  = 62.7114
  norm       = 0.0001
  Prefactor  = 44.8994
  Prefactor  = 1.54349
  norm       = 1.25717
  norm       = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 18.4028
  norm       = 0.319378
  Prefactor  = 14.8675
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.854379
  Prefactor  = 1.09466
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.489     FROM HESSE     STATUS=OK           427 CALLS     3344 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    38.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .76107        .30208        .24444E-04   -1.5533    
   4  Prefactor     11.326        9.9264        .59518E-03   -1.5035    
   5  Prefactor     7.4975        13.650        .73229E-03   -1.5160    
   6  Prefactor     18.087        10.748        .94175E-04   -1.4857    
   7  Prefactor     62.711        52.437        .50672E-04   -1.4122    
   8  norm          .10000E-03    17.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     44.899        29.301        .59833E-04   -1.4367    
  10  Prefactor     1.5435        42.043        .17126E-02   -1.5459    
  11  norm          1.2572        1.1832        .74718E-04   -1.5484    
  12  norm          .10002E-03    10.030        .16026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.403        19.721        .93353E-04   -1.4850    
  15  norm          .31938        13.425        .22698E-02   -1.5595    
  16  Prefactor     14.867        12.915        .10385E-03   -1.4937    
  17  Prefactor     .10000E-03    3.4740        .13326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .30800        .68373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    210.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.9234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.6680        .13718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.7629        .15594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    51.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .85438        .27010        .29265E-03   -.98082    
  25  Prefactor     1.0947        .23082        .23178E-03   -.89637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92448e-09
Minuit parameter uncertainties:
  1  0.000107226
  2  0.000146894
  3  0.302079
  4  9.92785
  5  13.6557
  6  10.7488
  7  52.4759
  8  0.000103075
  9  29.3107
  10  16.1234
  11  1.18327
  12  0.00094043
  13  9.1835e-05
  14  19.7275
  15  4.14168
  16  12.917
  17  3.59345e-06
  18  2.04099e-06
  19  0.000346832
  20  2.37292e-05
  21  1.18089e-06
  22  1.46355e-09
  23  0.000140876
  24  0.270526
  25  0.231028
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  9.404e-04  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.095e+00  2.310e-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.544e-01  2.705e-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: 5.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436430/likelihoodResults_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.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) = 5383.48945621
delta logL = -0.000479732353597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5383.48897675
delta logL = -2.79803316516e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10651E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0341       1.0000          .0000       5.0000    
     3 'Normalizat'    .85435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0947       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5383.489     FROM MIGRAD    STATUS=FAILED       100 CALLS      271 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10028E-03    244.52        .15683E-02** at limit **
   2  alpha         2.1127        2.5511        .50000       -.10009E-05
   3  Normalizat    .85438        .24495E-01    .29265E-03    .10178E-04
   4  Prefactor     1.0947        .21830E-01    .23178E-03   -.83384E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5383.489     FROM SIMPLEX   STATUS=UNCHANGED    133 CALLS      404 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10028E-03    244.52        .54991E-03** at limit **
   2  alpha         2.1127        2.5511        .35225E-04   -.10009E-05
   3  Normalizat    .85438        .24495E-01    .61326E-06    .10178E-04
   4  Prefactor     1.0947        .21830E-01    .63247E-06   -.83384E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5383.489     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      446 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1006.6        .31367E-03** at limit **
   2  alpha         2.1192        3.3964        .50000        .63392E-07
   3  Normalizat    .85438        .54970E-01    .11706E-04    .14373E-04
   4  Prefactor     1.0947        .48987E-01    .92712E-05    .26977E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11917
  Normalizat = 0.854379
  Prefactor  = 1.09466
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.489     FROM HESSE     STATUS=OK            29 CALLS      475 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    51.736        .62733E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1192        3.3840        .50000       -.15293    
   3  Normalizat    .85438        .25126        .23412E-05   -.98082    
   4  Prefactor     1.0947        .22394        .18542E-05   -.89637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43192e-11
Minuit parameter uncertainties:
  1  9.09332e-06
  2  210.658
  3  0.251599
  4  0.224129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436430': 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) = 5383.488976
delta logL = 4.7102184908e-07

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  9.093e-06  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.119e+00  2.107e+02  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.095e+00  2.241e-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.544e-01  2.516e-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/436430/cmap_HighResolution_448761601_449020801_4FGL_J2243.4-2544_daily_bin808.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-05', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2021-09-28 18:48:07.435500', job_id='436430', GAL2='1.09', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632880087.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='808' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:48:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 436430: <4FGL_J2243.4-2544_daily_bin808> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin808> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:35:15 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:35:17 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:35:17 2021
Terminated at Tue Sep 28 18:48:08 2021
Results reported at Tue Sep 28 18:48:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin808 340.865 -25.7363 448761601 449020801 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 :                                   618.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

