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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1164
RA = 344.025, Dec = -27.6739
tmin = 541036801, tmax = 541296001
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='593851', job_status='RUN', time_executed='2021-09-29 02:51:14.255527', time_epoch_executed='1632909074.26' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593851

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593851/ft1_4FGL_J2256.0-2740_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593851/ft1_4FGL_J2256.0-2740_daily_bin1164.fits outfile=/scratch/kocevski/593851/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1164.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=541036801.0 tmax=541296001.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.61
user 3.37
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593851/ft1_filtered_4FGL_J2256.0-2740_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/593851/ltcube_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.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/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits
.....................!
real 12.04
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593851/ft1_filtered_4FGL_J2256.0-2740_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/593851/ltcube_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.fits outfile=/scratch/kocevski/593851/expmap_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.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/593851/ltcube_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.fits
.....................!
real 191.03
user 185.79
sys 4.93

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/593851/ft1_filtered_4FGL_J2256.0-2740_daily_bin1164.fits scfile=/scratch/kocevski/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits outfile=/scratch/kocevski/593851/cmap_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593851/ft1_filtered_4FGL_J2256.0-2740_daily_bin1164.fits scfile=/scratch/kocevski/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits outfile=/scratch/kocevski/593851/cmap_HighResolution_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593851/ft1_filtered_4FGL_J2256.0-2740_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/593851/ft2_4FGL_J2256.0-2740_daily_bin1164.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593851/Model_4FGL_J2256.0-2740_daily_bin1164.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/593851/ft1_filtered_4FGL_J2256.0-2740_daily_bin1164.fits.....................!
real 38.03
user 36.65
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    14.633       1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.473       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.974       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.191       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.539       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7867       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.933       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.398       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    86.394       1.0000         .10000E-03   10000.    
    18 'norm      '    .24527E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5112       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .67230       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3380       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=   4213.542     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2423 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.262        .18747E-05** at limit **
   2  Prefactor     .10000E-03    6.7219       -.26001E-06** at limit **
   3  norm          14.643        26.983        .90440E-06    .32016E-04
   4  Prefactor     37.457        36.587       -.54537E-06   -.11296E-03
   5  Prefactor     .10000E-03    10.591        .88065E-06** at limit **
   6  norm          .10000E-03    2.3064        .95765E-06** at limit **
   7  Prefactor     41.986        55.571        .62043E-06   -.16713E-04
   8  Prefactor     21.191        22.532        .72736E-06   -.23540E-04
   9  norm          .10000E-03    1.9704        .40555E-07** at limit **
  10  Prefactor     .10000E-03    10.018       -.57163E-06** at limit **
  11  Prefactor     23.539        18.244        .68679E-06   -.37419E-04
  12  norm          1.7866        1.1715       -.93290E-07   -.21440E-03
  13  Prefactor     27.880        76.258       -.56600E-05   -.11228E-03
  14  Prefactor     27.394        20.357       -.78155E-08   -.61600E-04
  15  Prefactor     .10000E-03    12.291       -.63423E-06** at limit **
  16  norm          .10000E-03    11.415       -.32540E-06** at limit **
  17  Prefactor     86.370        86.909       -.22436E-06   -.80198E-04
  18  norm          .10003E-03    4.6078        .30722E-05** at limit **
  19  Prefactor     8.5507        45.320       -.46695E-05   -.20657E-03
  20  Prefactor     .10000E-03    41.209       -.10828E-06** at limit **
  21  Normalizat    .67256        .27347       -.28191E-05   -.49245E-03
  22  Prefactor     1.3379        .23437        .35707E-06   -.63994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 14.6431
  Prefactor  = 37.4572
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 41.9863
  Prefactor  = 21.1907
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.5388
  norm       = 1.78663
  Prefactor  = 27.8798
  Prefactor  = 27.3943
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 86.3697
  norm       = 0.000100028
  Prefactor  = 8.55066
  Prefactor  = 0.0001
  Normalizat = 0.672563
  Prefactor  = 1.3379
 **********
 **   18 **HESSE 
 **********

 FCN=   4213.542     FROM HESSE     STATUS=OK           332 CALLS     2755 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.7335        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.643        27.012        .10471E-03   -1.4942    
   4  Prefactor     37.457        36.608        .65472E-04   -1.4483    
   5  Prefactor     .10000E-03    10.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.3289        .19081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.986        55.145        .61875E-04   -1.4411    
   8  Prefactor     21.191        22.725        .87010E-04   -1.4787    
   9  norm          .10000E-03    1.9724        .88936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.539        18.707        .41281E-03   -1.4737    
  12  norm          1.7866        1.1890        .44234E-04   -1.5441    
  13  Prefactor     27.880        77.057        .75802E-04   -1.4651    
  14  Prefactor     27.394        20.360        .76536E-04   -1.4661    
  15  Prefactor     .10000E-03    12.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    11.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     86.370        88.127        .43222E-04   -1.3847    
  18  norm          .10003E-03    7.9836        .19712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.5507        48.132        .13741E-03   -1.5123    
  20  Prefactor     .10000E-03    41.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .67256        .33349        .32644E-03   -1.0499    
  22  Prefactor     1.3379        .28732        .23030E-03   -.82187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81746e-09
Minuit parameter uncertainties:
  1  0.000457244
  2  6.60086e-06
  3  27.0343
  4  36.6296
  5  8.43622e-05
  6  2.83829e-05
  7  55.212
  8  22.7343
  9  6.35118e-07
  10  6.3642e-05
  11  18.7112
  12  1.18897
  13  77.3344
  14  20.3648
  15  7.4224e-05
  16  1.69081e-05
  17  88.2604
  18  0.000942053
  19  40.6239
  20  4.17311e-05
  21  0.334496
  22  0.287664
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.354e+01  1.871e+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.338e+00  2.877e-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.726e-01  3.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.30
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.61e-07 +/- 1.28e-07
Energy Flux (Fixed Index): 3.18e-05 +/- 2.53e-05

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

Saving results to:
/scratch/kocevski/593851/likelihoodResults_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.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) = 4213.28159505
delta logL = 0.260135449204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4213.27569939
delta logL = 0.266031103324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.044       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5630       1.0000          .0000       10.000    
     3 'Normalizat'    .63780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3649       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=   4213.276     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      258 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.050        14.662        .85312E-04    .31982E-05
   2  Index         3.5625        .84215        .87772E-02    .20439E-05
   3  Normalizat    .63763        .29871        .33448E-03    .22093E-05
   4  Prefactor     1.3649        .28105        .22842E-03    .74655E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0498
  Index      = 3.56255
  Normalizat = 0.63763
  Prefactor  = 1.36487
 **********
 **   18 **HESSE 
 **********

 FCN=   4213.276     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .39E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.050        14.409        .34125E-05   -1.4768    
   2  Index         3.5625        .82755        .35109E-03   -.29161    
   3  Normalizat    .63763        .29918        .13379E-04   -1.0641    
   4  Prefactor     1.3649        .28142        .91370E-05   -.81398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89376e-14
Minuit parameter uncertainties:
  1  14.4117
  2  0.831726
  3  0.299943
  4  0.281734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593851': 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) = 4213.27569853
delta logL = 0.26603196926

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.205e+01  1.441e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.563e+00  8.317e-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.365e+00  2.817e-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.376e-01  2.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.17
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.56 +/- 0.83
Photon Flux (Free Index): 1.91e-07 +/- 1.12e-07
Energy Flux (Free Index): 3.12e-05 +/- 1.84e-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/593851/cmap_HighResolution_541036801_541296001_4FGL_J2256.0-2740_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-02', comment='SUCCESS', photon_flux='1.61e-07', energy_flux2='3.12e-05', photon_flux_error='1.28e-07', dlogl='2.66e-01', energy_flux='3.18e-05', photon_flux2='1.91e-07', job_status='DONE', time_completed='2021-09-29 03:00:02.506725', photon_index_error2='0.83', photon_index2='3.56', ts='3.30', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='3.43e-07', energy_flux_error2='1.84e-05', EG='0.67', time_epoch_completed='1632909602.51', return_code='0', job_id='593851', GAL2='1.36', EG2='0.64', return_code2='0', energy_flux_error='2.53e-05', photon_flux_error2='1.12e-07', ts2='4.17', photon_index='3.02' WHERE bin_id='1164' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:00:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 593851: <4FGL_J2256.0-2740_daily_bin1164> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1164> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:14 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:50:15 2021
Terminated at Wed Sep 29 03:00:03 2021
Results reported at Wed Sep 29 03:00:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1164 344.025 -27.6739 541036801 541296001 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 :                                   520.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            589 sec.

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

