/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 45 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 = 7392
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin430
RA = 344.025, Dec = -27.6739
tmin = 350784001, tmax = 351043201
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='590767', job_status='RUN', time_executed='2021-09-29 02:41:22.369038', time_epoch_executed='1632908482.37' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590767/ft1_4FGL_J2256.0-2740_daily_bin430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590767/ft1_4FGL_J2256.0-2740_daily_bin430.fits outfile=/scratch/kocevski/590767/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin430.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=350784001.0 tmax=351043201.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.35
user 3.15
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.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/590767/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin430.fits evtable="EVENTS" outfile="/scratch/kocevski/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.fits" evtable="EVENTS" scfile=/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits sctable="SC_DATA" outfile=/scratch/kocevski/590767/ltcube_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.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/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits
.....................!
real 11.84
user 11.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits sctable="SC_DATA" expcube=/scratch/kocevski/590767/ltcube_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.fits outfile=/scratch/kocevski/590767/expmap_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.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/590767/ltcube_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.fits
.....................!
real 191.67
user 185.78
sys 5.57

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/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.fits scfile=/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits outfile=/scratch/kocevski/590767/cmap_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.fits scfile=/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits outfile=/scratch/kocevski/590767/cmap_HighResolution_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.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/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/590767/ft2_4FGL_J2256.0-2740_daily_bin430.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590767/Model_4FGL_J2256.0-2740_daily_bin430.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/590767/ft1_filtered_4FGL_J2256.0-2740_daily_bin430.fits.....................!
real 59.27
user 57.90
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8828       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5722       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1797       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.274       1.0000         .10000E-03   10000.    
     9 'norm      '    20.046       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.826       1.0000         .10000E-03   10000.    
    12 'norm      '    5.1306       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5571       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10990E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .64050       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7890       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6696       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.854       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .53364       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2479       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=   8247.231     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2343 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8821        7.1011        .63591E-06   -.69139E-06
   2  Prefactor     3.5724        5.8395        .11337E-05    .55794E-06
   3  norm          .10000E-03    5.5685        .61615E-08** at limit **
   4  Prefactor     .10000E-03    16.985        .10231E-06** at limit **
   5  Prefactor     .10000E-03    2.8848        .73936E-08** at limit **
   6  norm          1.1799        1.3872        .52308E-07    .46706E-04
   7  Prefactor     .10000E-03    37.171       -.73206E-06** at limit **
   8  Prefactor     10.274        8.4866        .72406E-07    .34626E-06
   9  norm          20.046        5.4746        .31837E-08   -.12968E-04
  10  Prefactor     .10000E-03    4.6919       -.34396E-07** at limit **
  11  Prefactor     10.841        12.143       -.77614E-07   -.31644E-04
  12  norm          5.1303        1.0723       -.17181E-08   -.20227E-03
  13  Prefactor     .10000E-03    7.9203        .11480E-09** at limit **
  14  Prefactor     7.5569        7.7613        .36968E-07   -.51034E-06
  15  Prefactor     .10000E-03    19.019        .29391E-06** at limit **
  16  norm          .63796        3.1614       -.18122E-07    .30775E-04
  17  Prefactor     .10000E-03    47.306        .28369E-06** at limit **
  18  norm          2.7891        1.9993        .43083E-08   -.17776E-04
  19  Prefactor     7.6730        13.981       -.25205E-06   -.78217E-05
  20  Prefactor     17.722        58.401        .83023E-05    .29520E-06
  21  Normalizat    .53349        .15057       -.68032E-07   -.31868E-05
  22  Prefactor     1.2481        .14888       -.35956E-06    .17516E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88212
  Prefactor  = 3.57239
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.17991
  Prefactor  = 0.0001
  Prefactor  = 10.2737
  norm       = 20.0459
  Prefactor  = 0.0001
  Prefactor  = 10.8409
  norm       = 5.13026
  Prefactor  = 0.0001
  Prefactor  = 7.55688
  Prefactor  = 0.0001
  norm       = 0.637957
  Prefactor  = 0.0001
  norm       = 2.78911
  Prefactor  = 7.67304
  Prefactor  = 17.7223
  Normalizat = 0.53349
  Prefactor  = 1.2481
 **********
 **   18 **HESSE 
 **********

 FCN=   8247.231     FROM HESSE     STATUS=OK           350 CALLS     2693 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8821        7.0949        .10239E-02   -1.5314    
   2  Prefactor     3.5724        5.8611        .10691E-02   -1.5330    
   3  norm          .10000E-03    5.5766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8954        .15062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1799        1.3614        .11210E-03   -1.5491    
   7  Prefactor     .10000E-03    37.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.274        8.4828        .12501E-03   -1.5067    
   9  norm          20.046        5.4625        .89458E-04   -1.4812    
  10  Prefactor     .10000E-03    4.6945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.841        12.398        .12176E-03   -1.5049    
  12  norm          5.1303        1.0980        .32121E-04   -1.5255    
  13  Prefactor     .10000E-03    7.9211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5569        7.7616        .14588E-03   -1.5158    
  15  Prefactor     .10000E-03    19.437        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .63796        13.957        .30827E-02   -1.5548    
  17  Prefactor     .10000E-03    47.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7891        1.9930        .10452E-03   -1.5374    
  19  Prefactor     7.6730        13.969        .14480E-03   -1.5154    
  20  Prefactor     17.722        58.461        .94786E-04   -1.4866    
  21  Normalizat    .53349        .17820        .30552E-03   -1.1089    
  22  Prefactor     1.2481        .17706        .21442E-03   -.84864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24564e-10
Minuit parameter uncertainties:
  1  7.09645
  2  5.86206
  3  6.73349e-07
  4  1.42018e-05
  5  7.20678e-07
  6  1.36139
  7  6.94022e-06
  8  8.48379
  9  5.46261
  10  2.37919e-07
  11  12.4011
  12  1.09797
  13  2.32135e-07
  14  7.76264
  15  4.48953e-06
  16  5.96895
  17  1.06927e-05
  18  1.99303
  19  13.9752
  20  58.6509
  21  0.178394
  22  0.177142
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.084e+01  1.240e+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:  1.248e+00  1.771e-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:  5.335e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 7.42e-08 +/- 8.47e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.67e-05

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

Saving results to:
/scratch/kocevski/590767/likelihoodResults_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.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) = 8246.46517214
delta logL = 0.765406515236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8246.45842661
delta logL = 0.772152045714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7944       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1190       1.0000          .0000       10.000    
     3 'Normalizat'    .49413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2797       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=   8246.458     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      256 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7886        46.851        .45935E-02    .61842E-03
   2  Index         5.1208        7.5387        .29505        .84637E-04
   3  Normalizat    .49421        .44555E-01    .71452E-01    .53471E-04
   4  Prefactor     1.2797        .46558E-01    .47995E-01   -.55383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.78857
  Index      = 5.12075
  Normalizat = 0.494212
  Prefactor  = 1.27968
 **********
 **   18 **HESSE 
 **********

 FCN=   8246.458     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      287 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7886        84.813        .11242E-03   -1.5270    
   2  Index         5.1208        6.9509        .12007E-01    .24152E-01
   3  Normalizat    .49421        .17234        .31634E-03   -1.1268    
   4  Prefactor     1.2797        .17002        .21216E-03   -.83913    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.18488e-07
Minuit parameter uncertainties:
  1  40.3719
  2  11.5379
  3  0.172525
  4  0.170096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590767': 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) = 8246.45842625
delta logL = 0.772152401596

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.789e+00  4.037e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  5.121e+00  1.154e+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:  1.280e+00  1.701e-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:  4.942e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.45
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 5.12 +/- 11.54
Photon Flux (Free Index): 1.00e-07 +/- 1.32e-07
Energy Flux (Free Index): 1.32e-05 +/- 2.85e-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/590767/cmap_HighResolution_350784001_351043201_4FGL_J2256.0-2740_daily_bin430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', comment='SUCCESS', photon_flux='7.42e-08', energy_flux2='1.32e-05', photon_flux_error='8.47e-08', dlogl='7.72e-01', energy_flux='1.46e-05', photon_flux2='1.00e-07', job_status='DONE', time_completed='2021-09-29 02:53:55.519365', photon_index_error2='11.54', photon_index2='5.12', ts='1.42', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='1.84e-07', energy_flux_error2='2.85e-05', EG='0.53', time_epoch_completed='1632909235.52', return_code='0', job_id='590767', GAL2='1.28', EG2='0.49', return_code2='102', energy_flux_error='1.67e-05', photon_flux_error2='1.32e-07', ts2='3.45', photon_index='3.02' WHERE bin_id='430' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 590767: <4FGL_J2256.0-2740_daily_bin430> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin430> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:24 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:25 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:40:25 2021
Terminated at Wed Sep 29 02:53:56 2021
Results reported at Wed Sep 29 02:53:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin430 344.025 -27.6739 350784001 351043201 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 :                                   730.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

