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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1320
RA = 344.025, Dec = -27.6739
tmin = 581472001, tmax = 581731201
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='594084', job_status='RUN', time_executed='2021-09-29 02:52:01.227453', time_epoch_executed='1632909121.23' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594084

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594084/ft1_4FGL_J2256.0-2740_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594084/ft1_4FGL_J2256.0-2740_daily_bin1320.fits outfile=/scratch/kocevski/594084/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1320.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=581472001.0 tmax=581731201.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 2.77
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.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/594084/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1320.fits evtable="EVENTS" outfile="/scratch/kocevski/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/594084/ltcube_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.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/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits
.....................!
real 12.42
user 12.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/594084/ltcube_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.fits outfile=/scratch/kocevski/594084/expmap_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.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/594084/ltcube_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.fits
.....................!
real 191.67
user 186.10
sys 5.25

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/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits scfile=/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits outfile=/scratch/kocevski/594084/cmap_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits scfile=/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits outfile=/scratch/kocevski/594084/cmap_HighResolution_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594084/Model_4FGL_J2256.0-2740_daily_bin1320.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/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits.....................!
real 49.18
user 47.84
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits', '/scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits', expMap='/scratch/kocevski/594084/expmap_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.fits', expCube='/scratch/kocevski/594084/ltcube_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/594084/Model_4FGL_J2256.0-2740_daily_bin1320.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/594084/ft1_filtered_4FGL_J2256.0-2740_daily_bin1320.fits
Spacecraft file(s): /scratch/kocevski/594084/ft2_4FGL_J2256.0-2740_daily_bin1320.fits
Exposure map: /scratch/kocevski/594084/expmap_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.fits
Exposure cube: /scratch/kocevski/594084/ltcube_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/594084/Model_4FGL_J2256.0-2740_daily_bin1320.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) = 6182.72000737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4346       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.286       1.0000         .10000E-03   10000.    
     3 'norm      '    69.570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.120       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27445E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.0187       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.405       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2187       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.447       1.0000         .10000E-03   10000.    
    17 'Prefactor '    71.245       1.0000         .10000E-03   10000.    
    18 'norm      '    .72034       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.490       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.812       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3312       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85608       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=   6182.639     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2338 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4365        26.179        .12438E-05    .66268E-05
   2  Prefactor     13.294        10.839        .58025E-06    .28476E-04
   3  norm          69.585        33.648        .75245E-07    .19983E-04
   4  Prefactor     16.120        15.077        .20007E-06    .39031E-05
   5  Prefactor     .10000E-03    35.698       -.54157E-05** at limit **
   6  norm          .10000E-03    .62456       -.42573E-07** at limit **
   7  Prefactor     .10000E-03    18.267       -.32531E-06** at limit **
   8  Prefactor     .10000E-03    8.9668       -.96805E-06** at limit **
   9  norm          4.0189        4.7175        .19126E-06    .19785E-03
  10  Prefactor     .10000E-03    24.701       -.53861E-06** at limit **
  11  Prefactor     20.405        16.270        .13554E-05    .51520E-04
  12  norm          2.2188        1.1605       -.14083E-06    .75656E-03
  13  Prefactor     .10000E-03    25.389       -.46990E-06** at limit **
  14  Prefactor     .10000E-03    4.7391       -.27507E-06** at limit **
  15  Prefactor     .10000E-03    3.2337       -.76313E-07** at limit **
  16  norm          10.450        8.8099        .19325E-06    .40981E-04
  17  Prefactor     71.226        40.816        .71723E-06   -.31437E-05
  18  norm          .72057        2.5079        .14720E-05    .43193E-03
  19  Prefactor     38.477        31.459        .15857E-05    .30707E-04
  20  Prefactor     11.144        215.15       -.22505E-04   -.71058E-04
  21  Normalizat    1.3306        .25240       -.86616E-05    .19754E-03
  22  Prefactor     .85646        .22630        .93784E-05   -.11358E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43649
  Prefactor  = 13.2942
  norm       = 69.5847
  Prefactor  = 16.1201
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.0189
  Prefactor  = 0.0001
  Prefactor  = 20.4051
  norm       = 2.21885
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.4504
  Prefactor  = 71.2265
  norm       = 0.720571
  Prefactor  = 38.4775
  Prefactor  = 11.1443
  Normalizat = 1.33063
  Prefactor  = 0.85646
 **********
 **   18 **HESSE 
 **********

 FCN=   6182.639     FROM HESSE     STATUS=OK           344 CALLS     2682 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4365        26.145        .19123E-03   -1.5287    
   2  Prefactor     13.294        10.837        .10989E-03   -1.4979    
   3  norm          69.585        33.647        .24063E-03   -1.4038    
   4  Prefactor     16.120        15.077        .99754E-04   -1.4905    
   5  Prefactor     .10000E-03    37.144        .39846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .62584        .60673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.0208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0189        4.6944        .16711E-03   -1.5307    
  10  Prefactor     .10000E-03    25.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.405        17.107        .88667E-04   -1.4804    
  12  norm          2.2188        1.2200        .43066E-04   -1.5410    
  13  Prefactor     .10000E-03    25.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.7455        .16720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2373        .13804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.450        8.8060        .12396E-03   -1.5061    
  17  Prefactor     71.226        40.811        .23780E-03   -1.4018    
  18  norm          .72057        2.4831        .21767E-03   -1.5538    
  19  Prefactor     38.477        31.017        .64604E-04   -1.4467    
  20  Prefactor     11.144        225.78        .12184E-03   -1.5040    
  21  Normalizat    1.3306        .26182        .24626E-03   -.82657    
  22  Prefactor     .85646        .23512        .28727E-03   -.97680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41651e-09
Minuit parameter uncertainties:
  1  21.5539
  2  10.8383
  3  33.6561
  4  15.081
  5  0.000614881
  6  6.92909e-07
  7  2.71814e-05
  8  6.02731e-05
  9  4.69483
  10  0.000159671
  11  17.1112
  12  1.22004
  13  4.09952e-05
  14  1.40644e-05
  15  4.91122e-06
  16  8.80706
  17  40.827
  18  2.48348
  19  31.0299
  20  100.761
  21  0.262077
  22  0.235399
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.041e+01  1.711e+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.565e-01  2.354e-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:  1.331e+00  2.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.74
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 1.17e-07
Energy Flux (Fixed Index): 2.76e-05 +/- 2.31e-05

TS (Fixed Index): 3.74
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 2.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594084/likelihoodResults_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.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) = 6182.63889867
delta logL = 3.65002570106e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6182.63889472
delta logL = 4.04500651712e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.405       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0152       1.0000          .0000       10.000    
     3 'Normalizat'    1.3312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85602       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=   6182.639     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      206 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.435        42.952        .22167E-02    .86028E-04
   2  Index         3.0137        2.4205        .22073       -.43234E-04
   3  Normalizat    1.3312        .20018        .55683E-01    .34032E-04
   4  Prefactor     .85602        .19488        .64958E-01    .39991E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.4355
  Index      = 3.01371
  Normalizat = 1.33118
  Prefactor  = 0.856018
 **********
 **   18 **HESSE 
 **********

 FCN=   6182.639     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.435        12.227        .88668E-04   -1.4804    
   2  Index         3.0137        .96180        .11079E-01   -.40853    
   3  Normalizat    1.3312        .25266        .24623E-03   -.82640    
   4  Prefactor     .85602        .23578        .28733E-03   -.97695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77403e-11
Minuit parameter uncertainties:
  1  12.2284
  2  0.968982
  3  0.252897
  4  0.236064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594084': 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) = 6182.63889113
delta logL = 4.40386065748e-05

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.044e+01  1.223e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.014e+00  9.690e-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.560e-01  2.361e-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:  1.331e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.02
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.01 +/- 0.97
Photon Flux (Free Index): 1.39e-07 +/- 8.31e-08
Energy Flux (Free Index): 2.76e-05 +/- 1.77e-05

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/594084/cmap_HighResolution_581472001_581731201_4FGL_J2256.0-2740_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.26e-02', comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='2.76e-05', photon_flux_error='1.17e-07', dlogl='4.40e-05', energy_flux='2.76e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-09-29 03:03:51.426040', photon_index_error2='0.97', photon_index2='3.01', ts='3.74', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='2.82e-07', energy_flux_error2='1.77e-05', EG='1.33', time_epoch_completed='1632909831.43', return_code='0', job_id='594084', GAL2='0.86', EG2='1.33', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='8.31e-08', ts2='4.02', photon_index='3.02' WHERE bin_id='1320' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:03:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 594084: <4FGL_J2256.0-2740_daily_bin1320> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1320> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:32 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:34 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:50:34 2021
Terminated at Wed Sep 29 03:03:52 2021
Results reported at Wed Sep 29 03:03:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1320 344.025 -27.6739 581472001 581731201 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 :                                   620.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            800 sec.

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

