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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1077
RA = 340.957, Dec = -25.1701
tmin = 518486401, tmax = 518745601
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='444779', job_status='RUN', time_executed='2021-09-28 19:01:16.919470', time_epoch_executed='1632880876.92' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444779/ft1_4FGL_J2243.8-2510_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444779/ft1_4FGL_J2243.8-2510_daily_bin1077.fits outfile=/scratch/kocevski/444779/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1077.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.83
user 6.54
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.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/444779/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1077.fits evtable="EVENTS" outfile="/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/444779/ltcube_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.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/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits
.....................!
real 11.43
user 11.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/444779/ltcube_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.fits outfile=/scratch/kocevski/444779/expmap_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.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/444779/ltcube_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.fits
.....................!
real 190.51
user 185.41
sys 4.73

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits scfile=/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits outfile=/scratch/kocevski/444779/cmap_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.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.957 yref=-25.1701 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits scfile=/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits outfile=/scratch/kocevski/444779/cmap_HighResolution_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.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.957 yref=-25.1701 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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444779/Model_4FGL_J2243.8-2510_daily_bin1077.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/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits.....................!
real 32.34
user 30.90
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits', '/scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits', expMap='/scratch/kocevski/444779/expmap_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.fits', expCube='/scratch/kocevski/444779/ltcube_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/444779/Model_4FGL_J2243.8-2510_daily_bin1077.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.8-2510'

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/444779/ft1_filtered_4FGL_J2243.8-2510_daily_bin1077.fits
Spacecraft file(s): /scratch/kocevski/444779/ft2_4FGL_J2243.8-2510_daily_bin1077.fits
Exposure map: /scratch/kocevski/444779/expmap_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.fits
Exposure cube: /scratch/kocevski/444779/ltcube_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/444779/Model_4FGL_J2243.8-2510_daily_bin1077.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) = 3229.15834771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1766       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .25289E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.396       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.796       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.295       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8952       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.0172       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.6570       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.9513       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    14.492       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68981       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1003       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3229.068     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2671 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    121.06       -.12163E-04** at limit **
   2  norm          2.1765        .68185        .11451E-08   -.27515E-04
   3  Prefactor     .10047E-03    12.197        .14027E-05** at limit **
   4  Prefactor     26.396        25.809       -.34808E-08   -.69983E-04
   5  Prefactor     .10000E-03    13.750        .94861E-06** at limit **
   6  Prefactor     .10000E-03    43.937        .18140E-04** at limit **
   7  norm          20.793        24.851       -.11562E-06   -.48236E-05
   8  Prefactor     .10000E-03    12.451        .16055E-05** at limit **
   9  Prefactor     16.294        17.674       -.64424E-06   -.40652E-03
  10  norm          1.8949        1.1887       -.88636E-08   -.16598E-03
  11  norm          .10000E-03    1.0938       -.13145E-07** at limit **
  12  Prefactor     .10000E-03    29.077        .73435E-05** at limit **
  13  Prefactor     9.0158        18.149        .30789E-06   -.23443E-04
  14  norm          .10000E-03    4.3052       -.38255E-07** at limit **
  15  Prefactor     .10000E-03    9.8952       -.12152E-05** at limit **
  16  Prefactor     .10000E-03    13.431       -.24013E-05** at limit **
  17  norm          2.6566        1.0862        .29086E-07    .28511E-03
  18  Prefactor     .10000E-03    35.769       -.16935E-04** at limit **
  19  Prefactor     9.9442        16.258        .10034E-05   -.33061E-04
  20  Prefactor     .10000E-03    9.7507        .10773E-05** at limit **
  21  norm          14.491        7.1370        .44065E-07    .11255E-04
  22  Prefactor     .10000E-03    39.557       -.55201E-05** at limit **
  23  Normalizat    .68962        .27112       -.14506E-06   -.89638E-04
  24  Prefactor     1.1005        .24088       -.19019E-06   -.97684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.1765
  Prefactor  = 0.000100473
  Prefactor  = 26.3958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.7934
  Prefactor  = 0.0001
  Prefactor  = 16.2942
  norm       = 1.89495
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.01582
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.65658
  Prefactor  = 0.0001
  Prefactor  = 9.94417
  Prefactor  = 0.0001
  norm       = 14.4913
  Prefactor  = 0.0001
  Normalizat = 0.689624
  Prefactor  = 1.10054
 **********
 **   18 **HESSE 
 **********

 FCN=   3229.068     FROM HESSE     STATUS=OK           393 CALLS     3064 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    121.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1765        .68327        .25568E-04   -1.5413    
   3  Prefactor     .10047E-03    134.21        .37433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.396        25.605        .77973E-04   -1.4680    
   5  Prefactor     .10000E-03    13.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    43.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.793        24.852        .87831E-04   -1.4796    
   8  Prefactor     .10000E-03    12.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.294        17.899        .49610E-03   -1.4900    
  10  norm          1.8949        1.1856        .47405E-04   -1.5433    
  11  norm          .10000E-03    1.0959        .58028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.0158        18.148        .13347E-03   -1.5107    
  14  norm          .10000E-03    4.3485        .11497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.9005        .17454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6566        1.0811        .36052E-04   -1.5382    
  18  Prefactor     .10000E-03    35.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.9442        16.240        .12702E-03   -1.5077    
  20  Prefactor     .10000E-03    9.7822        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          14.491        7.1343        .10234E-03   -1.4946    
  22  Prefactor     .10000E-03    39.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .68962        .31809        .30631E-03   -1.0430    
  24  Prefactor     1.1005        .28489        .22661E-03   -.89449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68372e-09
Minuit parameter uncertainties:
  1  2.44181e-05
  2  0.683269
  3  0.0159765
  4  25.6156
  5  2.87308e-06
  6  8.11987e-07
  7  24.8638
  8  1.75395e-07
  9  17.905
  10  1.18563
  11  6.25865e-07
  12  1.36751e-05
  13  18.159
  14  1.57941e-06
  15  1.55612e-06
  16  8.00283e-06
  17  1.08108
  18  4.8878e-08
  19  16.2469
  20  2.48222e-06
  21  7.13474
  22  3.9264e-06
  23  0.318942
  24  0.285288
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.368e-05  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.101e+00  2.853e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  6.896e-01  3.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444779/likelihoodResults_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.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) = 3229.06803974
delta logL = -0.000163446511124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3229.06787733
delta logL = -1.03758156911e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.8224       1.0000          .0000       10.000    
     3 'Normalizat'    .68961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+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=   3229.068     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      285 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10464E-03    5.7306        .18142E-01** at limit **
   2  Index         3.6478        5.4939        .50000        .69373E-05
   3  Normalizat    .68962        .33627E-02    .30631E-03   -.56044E-05
   4  Prefactor     1.1005        .31009E-02    .22661E-03   -.13571E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104637
  Index      = 3.64783
  Normalizat = 0.689624
  Prefactor  = 1.10054
 **********
 **   18 **HESSE 
 **********

 FCN=   3229.068     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10464E-03    1045.7        .48933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6478        8.1673        .50000       -.27384    
   3  Normalizat    .68962        .48142E-01    .12252E-04   -1.0430    
   4  Prefactor     1.1005        .44384E-01    .90644E-05   -.89449    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12644e-07
Minuit parameter uncertainties:
  1  0.141821
  2  2622.87
  3  0.0481447
  4  0.0443854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444779': 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): 102
logL (Free Index) = 3229.06787715
delta logL = -8.5991632659e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.046e-04  1.418e-01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.648e+00  2.623e+03  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.101e+00  4.439e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  6.896e-01  4.814e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

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/444779/cmap_HighResolution_518486401_518745601_4FGL_J2243.8-2510_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.32e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-28 19:09:26.587633', job_id='444779', GAL2='1.10', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632881366.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-8.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1077' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:09:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 444779: <4FGL_J2243.8-2510_daily_bin1077> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1077> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:13 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:00:15 2021
Terminated at Tue Sep 28 19:09:27 2021
Results reported at Tue Sep 28 19:09:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1077 340.957 -25.1701 518486401 518745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   487.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            554 sec.

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

