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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1060
RA = 344.025, Dec = -27.6739
tmin = 514080001, tmax = 514339201
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='592737', job_status='RUN', time_executed='2021-09-29 02:47:22.425300', time_epoch_executed='1632908842.43' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592737/ft1_4FGL_J2256.0-2740_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592737/ft1_4FGL_J2256.0-2740_daily_bin1060.fits outfile=/scratch/kocevski/592737/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1060.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=514080001.0 tmax=514339201.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.64
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.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/592737/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1060.fits evtable="EVENTS" outfile="/scratch/kocevski/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/592737/ltcube_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.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/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits
.....................!
real 14.04
user 13.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/592737/ltcube_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.fits outfile=/scratch/kocevski/592737/expmap_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.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/592737/ltcube_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.fits
.....................!
real 191.79
user 185.75
sys 5.63

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/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.fits scfile=/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits outfile=/scratch/kocevski/592737/cmap_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.fits scfile=/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits outfile=/scratch/kocevski/592737/cmap_HighResolution_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/592737/ft2_4FGL_J2256.0-2740_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592737/Model_4FGL_J2256.0-2740_daily_bin1060.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/592737/ft1_filtered_4FGL_J2256.0-2740_daily_bin1060.fits.....................!
real 39.28
user 37.89
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12131E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.7332       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.069       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.317       1.0000         .10000E-03   10000.    
     9 'norm      '    8.0783       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.596       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1105       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0381       1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.674       1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.374       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1327       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94212       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=   4560.194     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2385 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.215       -.29492E-06** at limit **
   2  Prefactor     .10014E-03    8.0491        .23301E-05** at limit **
   3  norm          6.6924        48.496       -.22360E-05   -.44331E-04
   4  Prefactor     .10000E-03    13.462        .71999E-07** at limit **
   5  Prefactor     .10000E-03    5.1938       -.17768E-06** at limit **
   6  norm          .10000E-03    2.4206       -.10540E-05** at limit **
   7  Prefactor     24.065        54.916        .60203E-06    .28754E-04
   8  Prefactor     25.322        19.746        .73858E-07   -.79857E-04
   9  norm          8.0772        8.8249        .40341E-05    .15942E-03
  10  Prefactor     .10000E-03    8.9466       -.47952E-07** at limit **
  11  Prefactor     15.600        19.326       -.18760E-05   -.75394E-04
  12  norm          1.1101        1.1878       -.26479E-06   -.78085E-03
  13  Prefactor     .10000E-03    76.939        .72270E-07** at limit **
  14  Prefactor     .10000E-03    8.1953       -.46771E-07** at limit **
  15  Prefactor     .10000E-03    11.227        .19495E-06** at limit **
  16  norm          .10000E-03    5.8632       -.35242E-08** at limit **
  17  Prefactor     .10000E-03    31.241       -.74669E-07** at limit **
  18  norm          1.0392        2.9061        .61109E-06    .55513E-04
  19  Prefactor     48.668        44.122       -.59603E-07   -.19116E-04
  20  Prefactor     18.500        155.97        .31941E-05    .56092E-04
  21  Normalizat    1.1324        .23268       -.24847E-05   -.70919E-04
  22  Prefactor     .94242        .21242        .20249E-05   -.16844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100136
  norm       = 6.69244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.065
  Prefactor  = 25.3222
  norm       = 8.07721
  Prefactor  = 0.0001
  Prefactor  = 15.6003
  norm       = 1.1101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.03916
  Prefactor  = 48.6678
  Prefactor  = 18.5
  Normalizat = 1.1324
  Prefactor  = 0.942415
 **********
 **   18 **HESSE 
 **********

 FCN=   4560.194     FROM HESSE     STATUS=OK           340 CALLS     2725 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10014E-03    34.095        .35397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.6924        48.702        .15463E-03   -1.5191    
   4  Prefactor     .10000E-03    13.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1997        .15026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.4653        .20364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.065        54.633        .81649E-04   -1.4726    
   8  Prefactor     25.322        19.898        .79614E-04   -1.4701    
   9  norm          8.0772        9.0114        .70532E-03   -1.5139    
  10  Prefactor     .10000E-03    8.9485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.600        20.244        .10142E-03   -1.4918    
  12  norm          1.1101        1.1983        .53549E-04   -1.5497    
  13  Prefactor     .10000E-03    77.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.8886        .15968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    31.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0392        2.8297        .17968E-03   -1.5504    
  19  Prefactor     48.668        43.674        .57477E-04   -1.4312    
  20  Prefactor     18.500        156.61        .93437E-04   -1.4847    
  21  Normalizat    1.1324        .28025        .25179E-03   -.88718    
  22  Prefactor     .94242        .25591        .25840E-03   -.94674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36321e-09
Minuit parameter uncertainties:
  1  2.56357e-06
  2  0.0043157
  3  36.1487
  4  2.50337e-05
  5  1.19566e-06
  6  1.29746e-05
  7  54.7464
  8  19.9037
  9  9.01295
  10  1.88758e-07
  11  20.2527
  12  1.19832
  13  0.000109777
  14  5.50024e-06
  15  2.14754e-05
  16  2.98938e-06
  17  7.86146e-05
  18  2.83006
  19  43.7023
  20  108.035
  21  0.280617
  22  0.256236
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.560e+01  2.025e+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:  9.424e-01  2.562e-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.132e+00  2.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.07e-07 +/- 1.38e-07
Energy Flux (Fixed Index): 2.11e-05 +/- 2.73e-05

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

Saving results to:
/scratch/kocevski/592737/likelihoodResults_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.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) = 4560.19360454
delta logL = 0.000674301471008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4560.19358146
delta logL = 0.000697384962223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.600       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9860       1.0000          .0000       10.000    
     3 'Normalizat'    1.1342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94109       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=   4560.194     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      199 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.686        21.423        .25351E-02    .37502E-03
   2  Index         2.9842        1.2675        .22140        .10576E-03
   3  Normalizat    1.1338        .21952        .56908E-01    .56412E-04
   4  Prefactor     .94121        .20471        .45527E-01   -.13300E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6857
  Index      = 2.98421
  Normalizat = 1.13384
  Prefactor  = 0.941206
 **********
 **   18 **HESSE 
 **********

 FCN=   4560.194     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.686        13.246        .10140E-03   -1.4916    
   2  Index         2.9842        1.0014        .11033E-01   -.41497    
   3  Normalizat    1.1338        .26614        .25165E-03   -.88673    
   4  Prefactor     .94121        .24660        .25853E-03   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40596e-10
Minuit parameter uncertainties:
  1  13.2486
  2  1.0096
  3  0.266453
  4  0.246893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592737': 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) = 4560.19356007
delta logL = 0.00071877531991

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.569e+01  1.325e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.984e+00  1.010e+00  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:  9.412e-01  2.469e-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.134e+00  2.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.98 +/- 1.01
Photon Flux (Free Index): 1.06e-07 +/- 9.06e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.87e-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/592737/cmap_HighResolution_514080001_514339201_4FGL_J2256.0-2740_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-02', comment='SUCCESS', photon_flux='1.07e-07', energy_flux2='2.13e-05', photon_flux_error='1.38e-07', dlogl='7.19e-04', energy_flux='2.11e-05', photon_flux2='1.06e-07', job_status='DONE', time_completed='2021-09-29 02:56:26.591507', photon_index_error2='1.01', photon_index2='2.98', ts='1.67', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='2.73e-07', energy_flux_error2='1.87e-05', EG='1.13', time_epoch_completed='1632909386.59', return_code='0', job_id='592737', GAL2='0.94', EG2='1.13', return_code2='0', energy_flux_error='2.73e-05', photon_flux_error2='9.06e-08', ts2='1.78', photon_index='3.02' WHERE bin_id='1060' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:56:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 592737: <4FGL_J2256.0-2740_daily_bin1060> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1060> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:47 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:48 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:48 2021
Terminated at Wed Sep 29 02:56:27 2021
Results reported at Wed Sep 29 02:56:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1060 344.025 -27.6739 514080001 514339201 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 :                                   535.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            640 sec.

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

