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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin730
RA = 344.025, Dec = -27.6739
tmin = 428544001, tmax = 428803201
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='592243', job_status='RUN', time_executed='2021-09-29 02:45:23.418734', time_epoch_executed='1632908723.42' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592243

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592243/ft1_4FGL_J2256.0-2740_daily_bin730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592243/ft1_4FGL_J2256.0-2740_daily_bin730.fits outfile=/scratch/kocevski/592243/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin730.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=428544001.0 tmax=428803201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.20
user 5.90
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.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/592243/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.30
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/592243/ltcube_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.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/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits
.....................!
real 11.96
user 11.56
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/592243/ltcube_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.fits outfile=/scratch/kocevski/592243/expmap_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.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/592243/ltcube_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.fits
.....................!
real 190.62
user 184.60
sys 5.67

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/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits scfile=/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits outfile=/scratch/kocevski/592243/cmap_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits scfile=/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits outfile=/scratch/kocevski/592243/cmap_HighResolution_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/592243/ft2_4FGL_J2256.0-2740_daily_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592243/Model_4FGL_J2256.0-2740_daily_bin730.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/592243/ft1_filtered_4FGL_J2256.0-2740_daily_bin730.fits......................!
real 29.60
user 28.24
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.924       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7454       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.412       1.0000         .10000E-03   10000.    
     9 'norm      '    .15115E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5859       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .86490       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.604       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.891       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    204.61       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86531       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .63680       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=   2637.545     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2435 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.790       -.65501E-06** at limit **
   2  Prefactor     .10000E-03    5.7799       -.43675E-07** at limit **
   3  norm          .10000E-03    18.446        .25512E-06** at limit **
   4  Prefactor     23.853        29.240       -.86442E-06   -.21299E-04
   5  Prefactor     49.935        26.513        .43181E-05   -.51784E-04
   6  norm          1.7430        3.2741       -.40669E-06   -.58695E-03
   7  Prefactor     .10000E-03    40.879       -.16349E-05** at limit **
   8  Prefactor     29.411        20.962       -.51237E-06   -.12559E-03
   9  norm          .10000E-03    5.8990        .11204E-05** at limit **
  10  Prefactor     7.5659        20.480       -.25205E-05   -.21751E-03
  11  Prefactor     .10000E-03    8.8469        .13713E-06** at limit **
  12  norm          .86443        .78041        .11862E-06   -.14499E-02
  13  Prefactor     44.632        98.031        .38896E-04   -.68154E-05
  14  Prefactor     .10000E-03    11.376        .57494E-07** at limit **
  15  Prefactor     .10000E-03    3.5717       -.84285E-08** at limit **
  16  norm          24.894        14.017        .60493E-07   -.30235E-04
  17  Prefactor     .10000E-03    61.460        .21519E-05** at limit **
  18  norm          .10000E-03    1.0824       -.86218E-09** at limit **
  19  Prefactor     .10000E-03    15.698       -.13707E-06** at limit **
  20  Prefactor     204.60        138.41       -.32101E-05   -.82870E-05
  21  Normalizat    .86487        .24968       -.42913E-05   -.39283E-04
  22  Prefactor     .63714        .22241        .71114E-06   -.18012E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.8528
  Prefactor  = 49.935
  norm       = 1.743
  Prefactor  = 0.0001
  Prefactor  = 29.4106
  norm       = 0.000100001
  Prefactor  = 7.56587
  Prefactor  = 0.0001
  norm       = 0.86443
  Prefactor  = 44.6322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.8938
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 204.602
  Normalizat = 0.864871
  Prefactor  = 0.637143
 **********
 **   18 **HESSE 
 **********

 FCN=   2637.545     FROM HESSE     STATUS=OK           342 CALLS     2777 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.7970        .12057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    18.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.853        29.252        .82017E-04   -1.4731    
   5  Prefactor     49.935        26.572        .56756E-04   -1.4293    
   6  norm          1.7430        3.2006        .11915E-03   -1.5444    
   7  Prefactor     .10000E-03    40.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.411        21.010        .73875E-04   -1.4623    
   9  norm          .10000E-03    54.273        .21097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.5659        19.725        .14560E-03   -1.5158    
  11  Prefactor     .10000E-03    8.8741        .14842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .86443        .78021        .37264E-04   -1.5522    
  13  Prefactor     44.632        97.584        .60031E-04   -1.4371    
  14  Prefactor     .10000E-03    11.395        .16920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.5733        .94781E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.894        14.038        .80291E-04   -1.4710    
  17  Prefactor     .10000E-03    61.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.0856        .52179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     204.60        139.29        .14127E-03   -1.2837    
  21  Normalizat    .86487        .29693        .22500E-03   -.97706    
  22  Prefactor     .63714        .26384        .24415E-03   -1.0604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22254e-10
Minuit parameter uncertainties:
  1  0.000109664
  2  8.58092e-06
  3  6.93583e-06
  4  29.2695
  5  26.5778
  6  3.20095
  7  8.08965e-05
  8  21.0156
  9  0.000494378
  10  19.7415
  11  4.2639e-05
  12  0.780219
  13  97.9363
  14  1.0825e-05
  15  3.39456e-06
  16  14.0398
  17  0.000115315
  18  2.65052e-06
  19  3.1488e-05
  20  139.516
  21  0.297488
  22  0.264351
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.264e-05  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:  6.371e-01  2.644e-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.649e-01  2.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/592243/likelihoodResults_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2637.54523571
delta logL = -0.000536972018836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2637.54469843
delta logL = 3.04682544083e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9858       1.0000          .0000       10.000    
     3 'Normalizat'    .86488       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63713       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2637.545     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      278 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    33.028        .76948E-01** at limit **
   2  Index         2.2678        5.0549        .50000       -.55282E-06
   3  Normalizat    .86487        .12728E-01    .22500E-03    .87414E-05
   4  Prefactor     .63715        .12070E-01    .24415E-03    .83349E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100015
  Index      = 2.2678
  Normalizat = 0.864868
  Prefactor  = 0.637147
 **********
 **   18 **HESSE 
 **********

 FCN=   2637.545     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      309 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1846.4        .25514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2678        8.6629        .50000       -.57811    
   3  Normalizat    .86487        .49772E-01    .89999E-05   -.97706    
   4  Prefactor     .63715        .47196E-01    .97661E-05   -1.0604    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14513e-08
Minuit parameter uncertainties:
  1  0.0107741
  2  571.538
  3  0.0497744
  4  0.0471987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592243': 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) = 2637.54469479
delta logL = 3.94091784983e-06

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.077e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.268e+00  5.715e+02  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:  6.371e-01  4.720e-02  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.649e-01  4.977e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 344.025 -27.674

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/592243/cmap_HighResolution_428544001_428803201_4FGL_J2256.0-2740_daily_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2021-09-29 02:53:05.564146', job_id='592243', GAL2='0.64', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632909185.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='3.94e-06', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='730' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 592243: <4FGL_J2256.0-2740_daily_bin730> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:12 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:13 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:13 2021
Terminated at Wed Sep 29 02:53:06 2021
Results reported at Wed Sep 29 02:53:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin730 344.025 -27.6739 428544001 428803201 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 :                                   460.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             379.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   472 sec.
    Turnaround time :                            474 sec.

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

