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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin289
RA = 344.025, Dec = -27.6739
tmin = 314236801, tmax = 314496001
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='589524', job_status='RUN', time_executed='2021-09-29 02:39:46.075329', time_epoch_executed='1632908386.08' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='289'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589524

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589524/ft1_4FGL_J2256.0-2740_daily_bin289.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589524/ft1_4FGL_J2256.0-2740_daily_bin289.fits outfile=/scratch/kocevski/589524/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin289.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=314236801.0 tmax=314496001.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.34
user 3.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589524/ft1_filtered_4FGL_J2256.0-2740_daily_bin289.fits" evtable="EVENTS" scfile=/scratch/kocevski/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits sctable="SC_DATA" outfile=/scratch/kocevski/589524/ltcube_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.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/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits
.....................!
real 11.96
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589524/ft1_filtered_4FGL_J2256.0-2740_daily_bin289.fits evtable="EVENTS" scfile=/scratch/kocevski/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits sctable="SC_DATA" expcube=/scratch/kocevski/589524/ltcube_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.fits outfile=/scratch/kocevski/589524/expmap_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.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/589524/ltcube_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.fits
.....................!
real 193.70
user 188.57
sys 4.75

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/589524/ft1_filtered_4FGL_J2256.0-2740_daily_bin289.fits scfile=/scratch/kocevski/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits outfile=/scratch/kocevski/589524/cmap_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589524/ft1_filtered_4FGL_J2256.0-2740_daily_bin289.fits scfile=/scratch/kocevski/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits outfile=/scratch/kocevski/589524/cmap_HighResolution_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589524/ft1_filtered_4FGL_J2256.0-2740_daily_bin289.fits evtable="EVENTS" scfile=/scratch/kocevski/589524/ft2_4FGL_J2256.0-2740_daily_bin289.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589524/Model_4FGL_J2256.0-2740_daily_bin289.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/589524/ft1_filtered_4FGL_J2256.0-2740_daily_bin289.fits.....................!
real 57.17
user 55.76
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.445       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0695       1.0000         .10000E-03   10000.    
     3 'norm      '    11.508       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4247       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9684       1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.157       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .53371       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8475       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2946       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.194       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63478       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2459       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=   7971.972     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2368 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.445        11.600       -.48812E-07   -.40006E-05
   2  Prefactor     8.0690        6.8465       -.22790E-06    .22362E-05
   3  norm          11.508        10.882        .14458E-06   -.27100E-05
   4  Prefactor     .10000E-03    15.744       -.17144E-05** at limit **
   5  Prefactor     1.4226        4.1545        .57297E-06   -.14944E-04
   6  norm          3.9690        2.1878        .87388E-06   -.11704E-03
   7  Prefactor     38.146        34.372       -.11137E-04   -.34106E-04
   8  Prefactor     .10000E-03    2.3936       -.19600E-07** at limit **
   9  norm          .53354        1.6656        .40364E-07    .74484E-04
  10  Prefactor     .10000E-03    12.331       -.11871E-05** at limit **
  11  Prefactor     2.8472        2.1222        .14186E-06   -.12917E-02
  12  norm          2.2947        .63853        .28853E-07   -.50657E-03
  13  Prefactor     .10000E-03    31.924       -.61510E-06** at limit **
  14  Prefactor     .10000E-03    3.9355       -.31310E-08** at limit **
  15  Prefactor     .10000E-03    13.647        .27085E-05** at limit **
  16  norm          .10000E-03    3.4713        .28080E-08** at limit **
  17  Prefactor     28.190        25.907       -.32517E-05   -.33506E-05
  18  norm          .10000E-03    1.1127       -.16974E-07** at limit **
  19  Prefactor     .10000E-03    20.342       -.28634E-05** at limit **
  20  Prefactor     .10000E-03    23.670        .34962E-05** at limit **
  21  Normalizat    .63491        .14985        .19161E-05   -.80661E-04
  22  Prefactor     1.2458        .15110       -.49288E-06    .69407E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4449
  Prefactor  = 8.06902
  norm       = 11.5078
  Prefactor  = 0.0001
  Prefactor  = 1.42263
  norm       = 3.96902
  Prefactor  = 38.1463
  Prefactor  = 0.0001
  norm       = 0.533543
  Prefactor  = 0.0001
  Prefactor  = 2.84715
  norm       = 2.29469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.1902
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.634907
  Prefactor  = 1.24576
 **********
 **   18 **HESSE 
 **********

 FCN=   7971.972     FROM HESSE     STATUS=OK           344 CALLS     2712 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.445        11.601        .11355E-03   -1.5002    
   2  Prefactor     8.0690        6.8627        .14114E-03   -1.5140    
   3  norm          11.508        10.881        .11809E-03   -1.5029    
   4  Prefactor     .10000E-03    15.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4226        4.1062        .30102E-03   -1.5469    
   6  norm          3.9690        2.1856        .86653E-04   -1.5309    
   7  Prefactor     38.146        34.688        .64884E-04   -1.4472    
   8  Prefactor     .10000E-03    2.4013        .13489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .53354        1.8083        .18870E-02   -1.5562    
  10  Prefactor     .10000E-03    12.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8472        9.3700        .12048E-02   -1.5370    
  12  norm          2.2947        .82530        .34283E-04   -1.5405    
  13  Prefactor     .10000E-03    32.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9446        .17298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.5316        .16243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.190        25.944        .75451E-04   -1.4646    
  18  norm          .10000E-03    1.1525        .18384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63491        .17819        .27907E-03   -1.0652    
  22  Prefactor     1.2458        .17819        .21204E-03   -.84934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65952e-09
Minuit parameter uncertainties:
  1  11.6035
  2  6.86335
  3  10.8833
  4  1.16976e-05
  5  4.10698
  6  2.18566
  7  34.7059
  8  1.11131e-06
  9  1.80845
  10  2.77388e-05
  11  9.37482
  12  0.825301
  13  2.30354e-05
  14  1.74213e-06
  15  2.58942e-05
  16  6.83439e-07
  17  25.9547
  18  1.9726e-06
  19  2.68805e-05
  20  2.42282e-06
  21  0.178353
  22  0.178277
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.847e+00  9.375e+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

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.246e+00  1.783e-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:  6.349e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589524/likelihoodResults_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.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) = 7971.8570241
delta logL = 0.1146530524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7971.82436463
delta logL = 0.147312527096

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2812       1.0000         .10000E-03   10000.    
     2 'Index     '    5.3913       1.0000          .0000       10.000    
     3 'Normalizat'    .61406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2620       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=   7971.824     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      226 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2808        35.347        .98017E-02    .14291E-02
   2  Index         5.3910        7.6259        .50000        .48182E-04
   3  Normalizat    .61401        .27351E-01    .64059E-01    .41874E-04
   4  Prefactor     1.2621        .28393E-01    .47723E-01    .45268E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.28079
  Index      = 5.39096
  Normalizat = 0.614013
  Prefactor  = 1.26206
 **********
 **   18 **HESSE 
 **********

 FCN=   7971.824     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      257 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2808        134.73        .14032E-03   -1.5482    
   2  Index         5.3910        6.6100        .22239E-01    .78272E-01
   3  Normalizat    .61401        .15151        .28344E-03   -1.0739    
   4  Prefactor     1.2621        .15069        .21096E-03   -.84442    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23454e-06
Minuit parameter uncertainties:
  1  26.3329
  2  27.6874
  3  0.151617
  4  0.150739
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589524': 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) = 7971.82436446
delta logL = 0.147312695597

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.281e+00  2.633e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  5.391e+00  2.769e+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.262e+00  1.507e-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:  6.140e-01  1.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/589524/cmap_HighResolution_314236801_314496001_4FGL_J2256.0-2740_daily_bin289.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.98e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-29 02:51:35.493109', job_id='589524', GAL2='1.26', fit_tolerance='1e-08', EG2='0.61', EG='0.63', time_epoch_completed='1632909095.49', return_code2='102', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.47e-01', ts2='0.53', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='289' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:51:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 589524: <4FGL_J2256.0-2740_daily_bin289> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin289> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:35:38 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:35:39 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:35:39 2021
Terminated at Wed Sep 29 02:51:36 2021
Results reported at Wed Sep 29 02:51:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin289 344.025 -27.6739 314236801 314496001 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 :                                   708.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             233.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

