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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin854
RA = 344.025, Dec = -27.6739
tmin = 460684801, tmax = 460944001
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='592429', job_status='RUN', time_executed='2021-09-29 02:47:46.933410', time_epoch_executed='1632908866.93' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592429

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592429/ft1_4FGL_J2256.0-2740_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592429/ft1_4FGL_J2256.0-2740_daily_bin854.fits outfile=/scratch/kocevski/592429/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin854.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=460684801.0 tmax=460944001.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.38
user 3.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592429/ft1_filtered_4FGL_J2256.0-2740_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/592429/ltcube_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.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/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits
.....................!
real 12.66
user 12.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592429/ft1_filtered_4FGL_J2256.0-2740_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/592429/ltcube_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.fits outfile=/scratch/kocevski/592429/expmap_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.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/592429/ltcube_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.fits
.....................!
real 191.36
user 185.67
sys 5.38

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/592429/ft1_filtered_4FGL_J2256.0-2740_daily_bin854.fits scfile=/scratch/kocevski/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits outfile=/scratch/kocevski/592429/cmap_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.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.52
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592429/ft1_filtered_4FGL_J2256.0-2740_daily_bin854.fits scfile=/scratch/kocevski/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits outfile=/scratch/kocevski/592429/cmap_HighResolution_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592429/ft1_filtered_4FGL_J2256.0-2740_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/592429/ft2_4FGL_J2256.0-2740_daily_bin854.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592429/Model_4FGL_J2256.0-2740_daily_bin854.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/592429/ft1_filtered_4FGL_J2256.0-2740_daily_bin854.fits.....................!
real 46.24
user 44.97
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.780       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.509       1.0000         .10000E-03   10000.    
     6 'norm      '    .89772       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16442E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6285       1.0000         .10000E-03   10000.    
     9 'norm      '    .35543E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .59526E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .22338       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13689E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.979       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2091       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .43961       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=   5796.168     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2056 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.777        15.738       -.50850E-07   -.12650E-04
   2  Prefactor     .10000E-03    2.6686        .88116E-07** at limit **
   3  norm          .10000E-03    4.6921       -.15467E-05** at limit **
   4  Prefactor     .10000E-03    6.8835        .84366E-06** at limit **
   5  Prefactor     30.499        11.907        .19857E-05    .48456E-03
   6  norm          .89684        1.0713       -.20831E-07    .38136E-03
   7  Prefactor     .10000E-03    42.699       -.97422E-05** at limit **
   8  Prefactor     2.6259        7.7185        .37024E-05   -.14000E-03
   9  norm          .10009E-03    2.1766       -.18060E-05** at limit **
  10  Prefactor     .10000E-03    4.5349        .43018E-05** at limit **
  11  Prefactor     .10000E-03    3.5050        .95805E-06** at limit **
  12  norm          .22323        .23281        .22701E-08    .10834E-02
  13  Prefactor     .10000E-03    93.734       -.12042E-04** at limit **
  14  Prefactor     .10000E-03    4.4974       -.27641E-05** at limit **
  15  Prefactor     .10000E-03    2.5693        .34479E-07** at limit **
  16  norm          .10000E-03    1.8059        .59872E-07** at limit **
  17  Prefactor     .10000E-03    103.86        .90467E-05** at limit **
  18  norm          .10000E-03    .79967        .40524E-07** at limit **
  19  Prefactor     30.964        23.629       -.20088E-05   -.14928E-03
  20  Prefactor     .10001E-03    51.876        .15038E-04** at limit **
  21  Normalizat    1.2091        .15423       -.86833E-06    .13816E-03
  22  Prefactor     .43966        .14386       -.15906E-07   -.10897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7768
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.4992
  norm       = 0.89684
  Prefactor  = 0.000100002
  Prefactor  = 2.62589
  norm       = 0.000100085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.223231
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 30.9636
  Prefactor  = 0.000100005
  Normalizat = 1.20914
  Prefactor  = 0.439662
 **********
 **   18 **HESSE 
 **********

 FCN=   5796.168     FROM HESSE     STATUS=OK           334 CALLS     2390 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.777        15.732        .82142E-04   -1.4732    
   2  Prefactor     .10000E-03    2.6953        .12144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.6978        .16113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.499        11.946        .72538E-04   -1.4603    
   6  norm          .89684        1.0455        .83317E-04   -1.5519    
   7  Prefactor     .10000E-03    43.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6259        7.5396        .25153E-03   -1.5384    
   9  norm          .10009E-03    10.150        .19049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5626        .15857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.995        .24444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22323        .23046        .35551E-04   -1.5613    
  13  Prefactor     .10000E-03    94.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5132        .15777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5748        .11911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.8092        .99914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    108.33        .41083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .80853        .66450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.964        23.690        .71987E-04   -1.4594    
  20  Prefactor     .10001E-03    52.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2091        .17358        .18305E-03   -.86321    
  22  Prefactor     .43966        .16360        .28018E-03   -1.1483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92371e-09
Minuit parameter uncertainties:
  1  15.7351
  2  2.56913e-06
  3  3.18923e-05
  4  2.08423e-05
  5  11.9466
  6  1.04555
  7  0.000657317
  8  7.54229
  9  0.00186123
  10  9.12135e-05
  11  0.000105757
  12  0.230458
  13  0.00100784
  14  5.13706e-05
  15  1.37571e-06
  16  1.42319e-06
  17  0.000705045
  18  3.56244e-06
  19  23.6967
  20  0.00105041
  21  0.173667
  22  0.163776
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.058e-04  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:  4.397e-01  1.638e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.209e+00  1.737e-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: 8.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592429/likelihoodResults_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.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) = 5796.16814311
delta logL = -0.000396873933823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5796.16774666
delta logL = -4.27690793003e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11596E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0997       1.0000          .0000       10.000    
     3 'Normalizat'    1.2094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43946       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=   5796.081     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      333 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17688E-01    .44939E-01    .24504E-02   -.10656E-01
   2  Index        10.0000        9.3293        .50000    ** at limit **
   3  Normalizat    1.1928        .17423        .18305E-03   -.10234E-03
   4  Prefactor     .45052        .16591        .28018E-03   -.78597E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0176879
  Index      = 10
  Normalizat = 1.19278
  Prefactor  = 0.450524
 **********
 **   18 **HESSE 
 **********

 FCN=   5796.081     FROM HESSE     STATUS=OK            31 CALLS      364 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17688E-01    .47780E-01    .24598E-04   -1.5734    
   2  Index        10.0000        9.5039        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1928        .17486        .36609E-04   -.86826    
   4  Prefactor     .45052        .16625        .11207E-04   -1.1430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08951e-10
Minuit parameter uncertainties:
  1  0.0477805
  2  0.00029492
  3  0.174943
  4  0.166427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592429': 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) = 5796.08096849
delta logL = 0.0867777454177

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.769e-02  4.778e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  1.000e+01  2.949e-04  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:  4.505e-01  1.664e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.193e+00  1.749e-01  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/592429/cmap_HighResolution_460684801_460944001_4FGL_J2256.0-2740_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.65e-08', time_completed='2021-09-29 02:58:00.263846', job_id='592429', GAL2='0.45', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1632909480.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='8.68e-02', ts2='0.18', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='854' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 592429: <4FGL_J2256.0-2740_daily_bin854> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin854 344.025 -27.6739 460684801 460944001 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 :                                   591.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            755 sec.

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

