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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1184
RA = 340.865, Dec = -25.7363
tmin = 546220801, tmax = 546480001
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='438058', job_status='RUN', time_executed='2021-09-28 18:41:08.830579', time_epoch_executed='1632879668.83' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438058

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438058/ft1_4FGL_J2243.4-2544_daily_bin1184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438058/ft1_4FGL_J2243.4-2544_daily_bin1184.fits outfile=/scratch/kocevski/438058/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1184.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=546220801.0 tmax=546480001.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.89
user 3.66
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438058/ft1_filtered_4FGL_J2243.4-2544_daily_bin1184.fits" evtable="EVENTS" scfile=/scratch/kocevski/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits sctable="SC_DATA" outfile=/scratch/kocevski/438058/ltcube_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.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/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits
.....................!
real 11.92
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438058/ft1_filtered_4FGL_J2243.4-2544_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits sctable="SC_DATA" expcube=/scratch/kocevski/438058/ltcube_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.fits outfile=/scratch/kocevski/438058/expmap_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.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/438058/ltcube_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.fits
.....................!
real 190.03
user 185.10
sys 4.40

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/438058/ft1_filtered_4FGL_J2243.4-2544_daily_bin1184.fits scfile=/scratch/kocevski/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits outfile=/scratch/kocevski/438058/cmap_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438058/ft1_filtered_4FGL_J2243.4-2544_daily_bin1184.fits scfile=/scratch/kocevski/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits outfile=/scratch/kocevski/438058/cmap_HighResolution_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.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/438058/ft1_filtered_4FGL_J2243.4-2544_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/438058/ft2_4FGL_J2243.4-2544_daily_bin1184.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438058/Model_4FGL_J2243.4-2544_daily_bin1184.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/438058/ft1_filtered_4FGL_J2243.4-2544_daily_bin1184.fits.....................!
real 42.06
user 40.26
sys 1.54

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4745       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18736E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1094       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.068       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.445       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.219       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9266       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1999       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.823       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.356       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1426       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60939E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.3299       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7441       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11262E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    4.3862       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0209       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91277       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=   4904.536     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2955 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4465        25.426       -.22840E-05    .26019E-03
   2  Prefactor     .10000E-03    128.07       -.16171E-05** at limit **
   3  norm          1.1094        .43437       -.71466E-08    .84317E-03
   4  Prefactor     15.065        14.022       -.12968E-06    .82544E-04
   5  Prefactor     .10000E-03    6.8224       -.10490E-07** at limit **
   6  Prefactor     .10000E-03    5.8168       -.12292E-06** at limit **
   7  Prefactor     .10000E-03    43.795       -.32280E-06** at limit **
   8  norm          .10000E-03    11.249       -.65361E-07** at limit **
   9  Prefactor     24.444        21.959       -.71344E-07   -.30906E-04
  10  Prefactor     31.214        20.671       -.32051E-06    .16954E-03
  11  norm          2.9265        1.7151       -.82355E-08    .45909E-04
  12  norm          2.1989        3.7242       -.11772E-06    .45859E-04
  13  Prefactor     53.862        87.958        .21401E-05    .16476E-03
  14  Prefactor     11.357        9.3722       -.88374E-08    .69632E-04
  15  norm          4.1466        4.7152        .27097E-06    .73068E-03
  16  Prefactor     .10000E-03    11.365       -.39899E-06** at limit **
  17  Prefactor     .10000E-03    12.042       -.77236E-06** at limit **
  18  norm          1.3319        .76440        .39043E-06    .28839E-02
  19  Prefactor     .10000E-03    94.532        .21047E-05** at limit **
  20  Prefactor     1.7411        32.264       -.20298E-05    .49633E-04
  21  Prefactor     .10004E-03    85.514        .10294E-04** at limit **
  22  norm          4.3862        3.2560       -.13940E-07    .34653E-04
  23  Prefactor     .10000E-03    10.942        .78470E-07** at limit **
  24  Normalizat    1.0208        .22557        .88865E-06    .37473E-03
  25  Prefactor     .91292        .20724       -.85591E-07    .99901E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.44654
  Prefactor  = 0.000100002
  norm       = 1.10936
  Prefactor  = 15.0651
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.4435
  Prefactor  = 31.2139
  norm       = 2.92653
  norm       = 2.19889
  Prefactor  = 53.8617
  Prefactor  = 11.3568
  norm       = 4.14656
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.33189
  Prefactor  = 0.0001
  Prefactor  = 1.74114
  Prefactor  = 0.000100042
  norm       = 4.38619
  Prefactor  = 0.0001
  Normalizat = 1.02083
  Prefactor  = 0.912919
 **********
 **   18 **HESSE 
 **********

 FCN=   4904.536     FROM HESSE     STATUS=OK           429 CALLS     3384 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4465        25.434        .14669E-03   -1.5162    
   2  Prefactor     .10000E-03    127.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1094        .43515        .27828E-04   -1.5497    
   4  Prefactor     15.065        14.027        .10318E-03   -1.4931    
   5  Prefactor     .10000E-03    6.8247        .17866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8814        .16486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    43.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.444        21.983        .81020E-04   -1.4719    
  10  Prefactor     31.214        20.696        .71711E-04   -1.4590    
  11  norm          2.9265        1.7147        .68260E-04   -1.5366    
  12  norm          2.1989        3.6915        .13877E-03   -1.5411    
  13  Prefactor     53.862        88.120        .54672E-04   -1.4239    
  14  Prefactor     11.357        9.3712        .11888E-03   -1.5034    
  15  norm          4.1466        4.7129        .14639E-03   -1.5301    
  16  Prefactor     .10000E-03    11.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.101        .37789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.3319        .77191        .42278E-04   -1.5477    
  19  Prefactor     .10000E-03    94.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7411        32.756        .15880E-02   -1.5444    
  21  Prefactor     .10004E-03    94.041        .39527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.3862        3.2536        .53007E-03   -1.5289    
  23  Prefactor     .10000E-03    10.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0208        .26890        .26157E-03   -.92336    
  25  Prefactor     .91292        .24753        .25555E-03   -.95691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34876e-09
Minuit parameter uncertainties:
  1  25.4707
  2  0.000951505
  3  0.435154
  4  14.0304
  5  4.18314e-06
  6  2.3819e-05
  7  2.37561e-05
  8  6.4722e-06
  9  21.9905
  10  20.7003
  11  1.7147
  12  3.69185
  13  88.3348
  14  9.37238
  15  4.71331
  16  3.18426e-05
  17  0.000487501
  18  0.771911
  19  0.000273776
  20  15.1132
  21  0.00399364
  22  3.25376
  23  4.3073e-06
  24  0.269261
  25  0.24784
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.199e+00  3.692e+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.129e-01  2.478e-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.021e+00  2.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/438058/likelihoodResults_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.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) = 4904.51394604
delta logL = 0.0222386150299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4904.5130247
delta logL = 0.0231599540284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2881       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7510       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90926       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=   4904.513     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      237 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2868        3.1106        .13949E-03    .10595E-05
   2  alpha         1.7510        1.0452        .23510E-01   -.22403E-05
   3  Normalizat    1.0269        .25725        .26094E-03   -.39212E-06
   4  Prefactor     .90925        .24068        .25602E-03   -.31084E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.28684
  alpha      = 1.75096
  Normalizat = 1.02693
  Prefactor  = 0.909245
 **********
 **   18 **HESSE 
 **********

 FCN=   4904.513     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .22E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2868        3.1222        .55797E-05   -1.5406    
   2  alpha         1.7510        1.0491        .94042E-03   -.30429    
   3  Normalizat    1.0269        .25744        .10437E-04   -.92134    
   4  Prefactor     .90925        .24089        .10241E-04   -.95819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24092e-15
Minuit parameter uncertainties:
  1  3.12242
  2  1.08624
  3  0.257748
  4  0.241177
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438058': 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) = 4904.51302462
delta logL = 0.0231600358584

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.287e+00  3.122e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.751e+00  1.086e+00  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.092e-01  2.412e-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.027e+00  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
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/438058/cmap_HighResolution_546220801_546480001_4FGL_J2243.4-2544_daily_bin1184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-05', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2021-09-28 18:50:47.724490', job_id='438058', GAL2='0.91', fit_tolerance='1e-08', EG2='1.03', EG='1.02', time_epoch_completed='1632880247.72', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.32e-02', ts2='0.72', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1184' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:50:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 438058: <4FGL_J2243.4-2544_daily_bin1184> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1184 340.865 -25.7363 546220801 546480001 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 :                                   576.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            627 sec.

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

