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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin909
RA = 344.025, Dec = -27.6739
tmin = 474940801, tmax = 475200001
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='592510', job_status='RUN', time_executed='2021-09-29 02:48:27.972561', time_epoch_executed='1632908907.97' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='909'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592510

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592510/ft1_4FGL_J2256.0-2740_daily_bin909.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592510/ft1_4FGL_J2256.0-2740_daily_bin909.fits outfile=/scratch/kocevski/592510/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin909.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=474940801.0 tmax=475200001.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.55
user 3.35
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.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/592510/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin909.fits evtable="EVENTS" outfile="/scratch/kocevski/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.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/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits" evtable="EVENTS" scfile=/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits sctable="SC_DATA" outfile=/scratch/kocevski/592510/ltcube_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.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/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits
.....................!
real 11.62
user 11.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits evtable="EVENTS" scfile=/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits sctable="SC_DATA" expcube=/scratch/kocevski/592510/ltcube_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.fits outfile=/scratch/kocevski/592510/expmap_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.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/592510/ltcube_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.fits
.....................!
real 189.24
user 184.15
sys 4.77

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

Setting source of interest to:
4FGL J2256.0-2740 @ 344.025 -27.6739

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits scfile=/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits outfile=/scratch/kocevski/592510/cmap_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.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=344.025 yref=-27.6739 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/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits scfile=/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits outfile=/scratch/kocevski/592510/cmap_HighResolution_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.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=344.025 yref=-27.6739 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/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits evtable="EVENTS" scfile=/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592510/Model_4FGL_J2256.0-2740_daily_bin909.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/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits.....................!
real 54.47
user 53.17
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits', '/scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits', expMap='/scratch/kocevski/592510/expmap_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.fits', expCube='/scratch/kocevski/592510/ltcube_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/592510/Model_4FGL_J2256.0-2740_daily_bin909.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2256.0-2740'

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.060e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/592510/ft1_filtered_4FGL_J2256.0-2740_daily_bin909.fits
Spacecraft file(s): /scratch/kocevski/592510/ft2_4FGL_J2256.0-2740_daily_bin909.fits
Exposure map: /scratch/kocevski/592510/expmap_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.fits
Exposure cube: /scratch/kocevski/592510/ltcube_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/592510/Model_4FGL_J2256.0-2740_daily_bin909.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) = 7428.02291589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.9934       1.0000         .10000E-03   10000.    
     3 'norm      '    12.917       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3436       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.611       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3660       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.420       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6640       1.0000         .10000E-03   10000.    
     9 'norm      '    .22551E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .68042       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.235       1.0000         .10000E-03   10000.    
    12 'norm      '    .17705       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10728E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .62746E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.522       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.529       1.0000         .10000E-03   10000.    
    18 'norm      '    .11441E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.185       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89497       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83984       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7427.976     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2461 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3779       -.83018E-08** at limit **
   2  Prefactor     5.9947        6.9576        .95285E-06    .56429E-03
   3  norm          12.914        13.315        .11602E-06   -.28909E-04
   4  Prefactor     5.3458        6.8049        .43624E-08    .13147E-04
   5  Prefactor     18.603        9.8995        .22309E-06   -.13290E-03
   6  norm          1.3634        1.9256        .50306E-06   -.38750E-03
   7  Prefactor     25.492        41.745       -.46456E-05   -.22338E-03
   8  Prefactor     2.6656        5.2608        .34850E-06    .85326E-04
   9  norm          .11492E-01    1.6332       -.49196E-06    .58718E-03
  10  Prefactor     .66873        11.779        .16573E-05   -.88742E-04
  11  Prefactor     12.219        9.3886       -.32763E-06   -.39602E-03
  12  norm          .17785        .53844        .10149E-06   -.15235E-04
  13  Prefactor     .10000E-03    172.71       -.20756E-05** at limit **
  14  Prefactor     .10057E-03    8.7584       -.21306E-05** at limit **
  15  Prefactor     .10000E-03    2.5716        .97403E-07** at limit **
  16  norm          10.523        5.8747        .15041E-06    .10771E-03
  17  Prefactor     15.548        21.285        .11844E-05    .90178E-04
  18  norm          .10000E-03    1.3688        .84685E-07** at limit **
  19  Prefactor     34.181        25.909        .23844E-07   -.44261E-04
  20  Prefactor     .10000E-03    49.642       -.31948E-06** at limit **
  21  Normalizat    .89508        .15257       -.12094E-05   -.94621E-04
  22  Prefactor     .83968        .14397        .85049E-06   -.54650E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.99471
  norm       = 12.9144
  Prefactor  = 5.34579
  Prefactor  = 18.6029
  norm       = 1.36342
  Prefactor  = 25.4922
  Prefactor  = 2.66557
  norm       = 0.0114922
  Prefactor  = 0.668726
  Prefactor  = 12.2188
  norm       = 0.177846
  Prefactor  = 0.000100001
  Prefactor  = 0.000100569
  Prefactor  = 0.0001
  norm       = 10.5225
  Prefactor  = 15.5479
  norm       = 0.0001
  Prefactor  = 34.1806
  Prefactor  = 0.0001
  Normalizat = 0.895078
  Prefactor  = 0.83968
 **********
 **   18 **HESSE 
 **********

 FCN=   7427.976     FROM HESSE     STATUS=OK           366 CALLS     2827 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3877        .15470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9947        7.0008        .82008E-03   -1.5218    
   3  norm          12.914        13.307        .11145E-03   -1.4989    
   4  Prefactor     5.3458        6.8018        .17386E-03   -1.5246    
   5  Prefactor     18.603        9.9069        .92840E-04   -1.4845    
   6  norm          1.3634        1.9158        .10618E-03   -1.5474    
   7  Prefactor     25.492        41.969        .79454E-04   -1.4698    
   8  Prefactor     2.6656        5.2419        .24971E-03   -1.5381    
   9  norm          .11492E-01    2.6241        .34153E-01   -1.5687    
  10  Prefactor     .66873        37.958        .41452E-02   -1.5544    
  11  Prefactor     12.219        10.406        .57262E-03   -1.5009    
  12  norm          .17785        .48768        .69151E-04   -1.5624    
  13  Prefactor     .10000E-03    175.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10057E-03    60.934        .38511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5812        .13492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.523        5.8770        .12352E-03   -1.5059    
  17  Prefactor     15.548        21.330        .10164E-03   -1.4919    
  18  norm          .10000E-03    4.1442        .19221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.181        25.564        .68538E-04   -1.4538    
  20  Prefactor     .10000E-03    49.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89508        .18132        .22485E-03   -.96633    
  22  Prefactor     .83968        .17080        .23074E-03   -.98282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03457e-07
Minuit parameter uncertainties:
  1  2.25482e-07
  2  7.00173
  3  13.3101
  4  6.8028
  5  9.90779
  6  1.91584
  7  42.0179
  8  5.24281
  9  0.345815
  10  10.0824
  11  10.4072
  12  0.487688
  13  0.000600621
  14  0.0117879
  15  7.28002e-06
  16  5.8773
  17  21.34
  18  1.25395e-06
  19  25.5718
  20  4.89742e-05
  21  0.181446
  22  0.170911
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.222e+01  1.041e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  8.397e-01  1.709e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.951e-01  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.21
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 8.36e-08 +/- 7.11e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.40e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7427.41636545
delta logL = 0.559673955364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7427.40846115
delta logL = 0.567578258167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.050       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4952       1.0000          .0000       10.000    
     3 'Normalizat'    .92036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81894       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7427.408     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.049        5.5480        .28850E-02    .31010E-02
   2  Index         2.4948        .36664        .18040       -.79032E-04
   3  Normalizat    .92030        .14052        .45161E-01    .15482E-04
   4  Prefactor     .81894        .13957        .43963E-01    .17734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.049
  Index      = 2.49479
  Normalizat = 0.920296
  Prefactor  = 0.818941
 **********
 **   18 **HESSE 
 **********

 FCN=   7427.408     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.049        5.8455        .57699E-03   -1.5014    
   2  Index         2.4948        .43682        .70578E-02   -.52480    
   3  Normalizat    .92030        .16911        .22211E-03   -.95751    
   4  Prefactor     .81894        .16689        .23317E-03   -.99034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.84197e-10
Minuit parameter uncertainties:
  1  5.84574
  2  0.437564
  3  0.169208
  4  0.166997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592510': 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) = 7427.40846024
delta logL = 0.567579167985

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.205e+01  5.846e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.495e+00  4.376e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  8.189e-01  1.670e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  9.203e-01  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.49 +/- 0.44
Photon Flux (Free Index): 7.05e-08 +/- 3.67e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/592510/cmap_HighResolution_474940801_475200001_4FGL_J2256.0-2740_daily_bin909.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.36e-08', energy_flux2='2.06e-05', photon_flux_error='7.11e-08', dlogl='5.68e-01', energy_flux='1.65e-05', photon_flux2='7.05e-08', job_status='DONE', time_completed='2021-09-29 02:59:11.257560', photon_index_error2='0.44', photon_index2='2.49', ts='7.21', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.06e-05', EG='0.90', time_epoch_completed='1632909551.26', return_code='0', job_id='592510', GAL2='0.82', EG2='0.92', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='3.67e-08', ts2='8.38', photon_index='3.02' WHERE bin_id='909' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:59:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 592510: <4FGL_J2256.0-2740_daily_bin909> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin909> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:31 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:45:33 2021
Terminated at Wed Sep 29 02:59:11 2021
Results reported at Wed Sep 29 02:59:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin909 344.025 -27.6739 474940801 475200001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2256.0-2740 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   632.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

