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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1032
RA = 344.025, Dec = -27.6739
tmin = 506822401, tmax = 507081601
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='592696', job_status='RUN', time_executed='2021-09-29 02:49:30.663897', time_epoch_executed='1632908970.66' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592696

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592696/ft1_4FGL_J2256.0-2740_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592696/ft1_4FGL_J2256.0-2740_daily_bin1032.fits outfile=/scratch/kocevski/592696/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1032.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=506822401.0 tmax=507081601.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.50
user 3.30
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.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/592696/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1032.fits evtable="EVENTS" outfile="/scratch/kocevski/592696/ft1_filtered_4FGL_J2256.0-2740_daily_bin1032.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.53
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592696/ft1_filtered_4FGL_J2256.0-2740_daily_bin1032.fits" evtable="EVENTS" scfile=/scratch/kocevski/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.fits sctable="SC_DATA" outfile=/scratch/kocevski/592696/ltcube_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.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/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.fits
.....................!
real 11.79
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592696/ft1_filtered_4FGL_J2256.0-2740_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/592696/ltcube_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.fits outfile=/scratch/kocevski/592696/expmap_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.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/592696/ltcube_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.fits
.....................!
real 192.19
user 187.32
sys 4.56

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/592696/ft1_filtered_4FGL_J2256.0-2740_daily_bin1032.fits scfile=/scratch/kocevski/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.fits outfile=/scratch/kocevski/592696/cmap_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592696/ft1_filtered_4FGL_J2256.0-2740_daily_bin1032.fits scfile=/scratch/kocevski/592696/ft2_4FGL_J2256.0-2740_daily_bin1032.fits outfile=/scratch/kocevski/592696/cmap_HighResolution_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.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.58
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2452       1.0000         .10000E-03   10000.    
     3 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.020       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.152       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .86906E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40633       1.0000         .10000E-03   10000.    
    12 'norm      '    .69315       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.425       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.099       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .15002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .49233E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.068       1.0000         .10000E-03   10000.    
    20 'Prefactor '    70.250       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92102       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0101       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=   6911.489     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2505 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.459       -.95132E-06** at limit **
   2  Prefactor     2.2448        6.8186       -.10750E-05   -.54014E-03
   3  norm          .10000E-03    8.0701       -.10554E-05** at limit **
   4  Prefactor     19.021        17.549       -.91464E-06   -.12921E-06
   5  Prefactor     .10000E-03    2.4990        .79300E-07** at limit **
   6  norm          .10000E-03    .67047        .25213E-06** at limit **
   7  Prefactor     38.157        32.757       -.93064E-05   -.95828E-04
   8  Prefactor     .10000E-03    5.3899        .41736E-07** at limit **
   9  norm          .10004E-03    1.5484        .99633E-06** at limit **
  10  Prefactor     .10000E-03    11.729       -.28457E-07** at limit **
  11  Prefactor     .41122        3.3210       -.23954E-07   -.34179E-03
  12  norm          .69307        .43314        .23612E-08   -.18917E-02
  13  Prefactor     35.347        44.738       -.83920E-05   -.18158E-05
  14  Prefactor     10.097        13.022        .56721E-05   -.31544E-04
  15  Prefactor     .10000E-03    3.2461        .18062E-07** at limit **
  16  norm          .10000E-03    2.9375       -.36940E-07** at limit **
  17  Prefactor     .10000E-03    13.262        .10584E-05** at limit **
  18  norm          .47192E-01    1.0498       -.10609E-05    .34324E-03
  19  Prefactor     34.062        24.705        .84232E-05    .20235E-03
  20  Prefactor     70.244        94.631       -.62822E-05    .18090E-04
  21  Normalizat    .92101        .16147        .11974E-05   -.28457E-04
  22  Prefactor     1.0102        .15471       -.45502E-06    .80135E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.24483
  norm       = 0.0001
  Prefactor  = 19.0213
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.1571
  Prefactor  = 0.0001
  norm       = 0.000100041
  Prefactor  = 0.0001
  Prefactor  = 0.411216
  norm       = 0.693069
  Prefactor  = 35.3469
  Prefactor  = 10.0971
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0471922
  Prefactor  = 34.0622
  Prefactor  = 70.2441
  Normalizat = 0.921009
  Prefactor  = 1.01017
 **********
 **   18 **HESSE 
 **********

 FCN=   6911.489     FROM HESSE     STATUS=OK           346 CALLS     2851 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2448        6.8664        .27426E-03   -1.5408    
   3  norm          .10000E-03    8.0803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.021        17.501        .91838E-04   -1.4835    
   5  Prefactor     .10000E-03    2.5045        .12834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .67635        .66420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.157        32.777        .64889E-04   -1.4472    
   8  Prefactor     .10000E-03    5.4472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10004E-03    10.187        .18936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .41122        22.908        .24520E-02   -1.5580    
  12  norm          .69307        .48422        .37252E-04   -1.5541    
  13  Prefactor     35.347        44.739        .67332E-04   -1.4518    
  14  Prefactor     10.097        12.947        .12609E-03   -1.5072    
  15  Prefactor     .10000E-03    3.2633        .14613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1923        .27735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .47192E-01    15.141        .16127E-02   -1.5665    
  19  Prefactor     34.062        24.863        .68655E-04   -1.4540    
  20  Prefactor     70.244        95.051        .47894E-04   -1.4030    
  21  Normalizat    .92101        .19267        .23568E-03   -.95726    
  22  Prefactor     1.0102        .18467        .22794E-03   -.92391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.05821e-09
Minuit parameter uncertainties:
  1  6.0339e-06
  2  6.8688
  3  2.18691e-05
  4  17.506
  5  1.21235e-05
  6  2.08365e-05
  7  32.792
  8  7.42108e-06
  9  0.00128737
  10  7.22183e-06
  11  6.14013
  12  0.484222
  13  44.7812
  14  12.9511
  15  3.6782e-06
  16  9.81093e-06
  17  3.82953e-06
  18  1.68922
  19  24.8702
  20  95.2571
  21  0.192815
  22  0.184786
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.112e-01  6.140e+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.010e+00  1.848e-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:  9.210e-01  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 8.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592696/likelihoodResults_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.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) = 6911.48076595
delta logL = 0.0083378270383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6911.47815003
delta logL = 0.0109537449953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70555       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3619       1.0000          .0000       10.000    
     3 'Normalizat'    .92123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6911.478     FROM MIGRAD    STATUS=FAILED       107 CALLS      292 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70789        7.0492        .28983E-02    .35536E-02
   2  Index         2.3621        2.5347        .11647E-01   -.41637E-04
   3  Normalizat    .92125        .18026        .23564E-03    .26052E-04
   4  Prefactor     1.0091        .18162        .22801E-03    .90744E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6911.478     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      369 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70789        7.0492        .14780E-03   -1.5540    
   2  Index         2.3621        2.5347        .35763E-02   -.55576    
   3  Normalizat    .92125        .18026        .26823E-03   -.95718    
   4  Prefactor     1.0091        .18162        .30039E-03   -.92426    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6911.478     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      399 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70790        6.9257        .57966E-03    .14327E-03
   2  Index         2.3621        2.5191        .23295E-02   -.16769E-05
   3  Normalizat    .92125        .18029        .94258E-05   -.72367E-06
   4  Prefactor     1.0091        .18180        .91206E-05   -.74789E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.707898
  Index      = 2.36207
  Normalizat = 0.921245
  Prefactor  = 1.00913
 **********
 **   18 **HESSE 
 **********

 FCN=   6911.478     FROM HESSE     STATUS=OK            27 CALLS      426 TOTAL
                     EDM=   .54E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70790        6.9003        .11593E-03   -1.5540    
   2  Index         2.3621        2.5159        .46589E-03   -.55576    
   3  Normalizat    .92125        .17999        .18852E-05   -.95718    
   4  Prefactor     1.0091        .18157        .18241E-05   -.92426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40222e-15
Minuit parameter uncertainties:
  1  4.42062
  2  2.69268
  3  0.180109
  4  0.18168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592696': 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) = 6911.47814986
delta logL = 0.0109539216601

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  7.079e-01  4.421e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.362e+00  2.693e+00  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.009e+00  1.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:  9.212e-01  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/592696/cmap_HighResolution_506822401_507081601_4FGL_J2256.0-2740_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-29 03:00:55.231210', job_id='592696', GAL2='1.01', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632909655.23', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.10e-02', ts2='0.03', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1032' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:00:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 592696: <4FGL_J2256.0-2740_daily_bin1032> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1032 344.025 -27.6739 506822401 507081601 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 :                                   682.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             270.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            910 sec.

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

