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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin384
RA = 344.025, Dec = -27.6739
tmin = 338860801, tmax = 339120001
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='590697', job_status='RUN', time_executed='2021-09-29 02:44:21.354707', time_epoch_executed='1632908661.35' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590697

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590697/ft1_4FGL_J2256.0-2740_daily_bin384.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590697/ft1_4FGL_J2256.0-2740_daily_bin384.fits outfile=/scratch/kocevski/590697/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin384.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=338860801.0 tmax=339120001.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 4.76
user 4.52
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590697/ft1_filtered_4FGL_J2256.0-2740_daily_bin384.fits" evtable="EVENTS" scfile=/scratch/kocevski/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits sctable="SC_DATA" outfile=/scratch/kocevski/590697/ltcube_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.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/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits
.....................!
real 11.62
user 11.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590697/ft1_filtered_4FGL_J2256.0-2740_daily_bin384.fits evtable="EVENTS" scfile=/scratch/kocevski/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits sctable="SC_DATA" expcube=/scratch/kocevski/590697/ltcube_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.fits outfile=/scratch/kocevski/590697/expmap_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.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/590697/ltcube_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.fits
.....................!
real 191.05
user 185.88
sys 4.86

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/590697/ft1_filtered_4FGL_J2256.0-2740_daily_bin384.fits scfile=/scratch/kocevski/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits outfile=/scratch/kocevski/590697/cmap_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.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.60
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590697/ft1_filtered_4FGL_J2256.0-2740_daily_bin384.fits scfile=/scratch/kocevski/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits outfile=/scratch/kocevski/590697/cmap_HighResolution_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590697/ft1_filtered_4FGL_J2256.0-2740_daily_bin384.fits evtable="EVENTS" scfile=/scratch/kocevski/590697/ft2_4FGL_J2256.0-2740_daily_bin384.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590697/Model_4FGL_J2256.0-2740_daily_bin384.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/590697/ft1_filtered_4FGL_J2256.0-2740_daily_bin384.fits......................!
real 36.37
user 35.07
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    81.310       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.264       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5023       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0755       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.529       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    43.599       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.922       1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.578       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85412       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85590       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=   3845.716     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2741 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.351        .68487E-06** at limit **
   2  Prefactor     .10000E-03    4.9419       -.52071E-07** at limit **
   3  norm          .10000E-03    8.7906       -.14826E-06** at limit **
   4  Prefactor     .10000E-03    6.8180        .38604E-07** at limit **
   5  Prefactor     81.310        27.012       -.21490E-06    .10798E-03
   6  norm          .10000E-03    2.8738       -.17581E-05** at limit **
   7  Prefactor     13.237        96.173        .24604E-05    .28186E-04
   8  Prefactor     6.5019        12.396       -.14745E-06    .17921E-04
   9  norm          .10000E-03    4.8897       -.28158E-06** at limit **
  10  Prefactor     .10000E-03    11.078        .44488E-08** at limit **
  11  Prefactor     .10000E-03    12.655       -.90621E-06** at limit **
  12  norm          1.0756        .73591       -.49878E-07    .51754E-03
  13  Prefactor     .10000E-03    48.554       -.31423E-06** at limit **
  14  Prefactor     12.529        13.924       -.44463E-07    .13648E-04
  15  Prefactor     .10000E-03    8.5953       -.20932E-06** at limit **
  16  norm          43.599        15.450       -.78207E-07    .79059E-05
  17  Prefactor     .10000E-03    31.304        .12199E-06** at limit **
  18  norm          .10001E-03    3.9821       -.17303E-05** at limit **
  19  Prefactor     13.911        46.870        .41003E-05    .15444E-03
  20  Prefactor     27.584        231.62       -.30722E-05    .17937E-04
  21  Normalizat    .85416        .23082        .13394E-05    .30140E-03
  22  Prefactor     .85590        .20278       -.53608E-06    .33892E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 81.3099
  norm       = 0.0001
  Prefactor  = 13.2366
  Prefactor  = 6.50189
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.07556
  Prefactor  = 0.0001
  Prefactor  = 12.5293
  Prefactor  = 0.0001
  norm       = 43.599
  Prefactor  = 0.0001
  norm       = 0.000100008
  Prefactor  = 13.9106
  Prefactor  = 27.5836
  Normalizat = 0.854158
  Prefactor  = 0.855899
 **********
 **   18 **HESSE 
 **********

 FCN=   3845.716     FROM HESSE     STATUS=OK           330 CALLS     3071 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9854        .13462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.7942        .17959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.8207        .15815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     81.310        26.997        .44542E-04   -1.3902    
   6  norm          .10000E-03    2.8331        .19985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.237        95.627        .10998E-03   -1.4980    
   8  Prefactor     6.5019        12.452        .15739E-03   -1.5198    
   9  norm          .10000E-03    4.9741        .13361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.826        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0756        .72640        .41297E-04   -1.5501    
  13  Prefactor     .10000E-03    48.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.529        13.925        .11317E-03   -1.5000    
  15  Prefactor     .10000E-03    8.6376        .17738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          43.599        15.471        .60715E-04   -1.4386    
  17  Prefactor     .10000E-03    31.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    8.6819        .20343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.911        46.862        .10735E-03   -1.4962    
  20  Prefactor     27.584        234.04        .76287E-04   -1.4657    
  21  Normalizat    .85416        .27245        .25177E-03   -.98090    
  22  Prefactor     .85590        .23924        .23749E-03   -.97700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34851e-09
Minuit parameter uncertainties:
  1  0.00015479
  2  2.24845e-05
  3  4.15654e-06
  4  4.5637e-06
  5  27.0008
  6  2.37845e-06
  7  71.3166
  8  12.4568
  9  1.84338e-05
  10  8.71734e-05
  11  7.60046e-05
  12  0.726404
  13  0.000282242
  14  13.9285
  15  1.44404e-05
  16  15.4721
  17  2.19767e-05
  18  0.000526756
  19  46.9869
  20  161.555
  21  0.272893
  22  0.239529
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  7.600e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  8.559e-01  2.395e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.542e-01  2.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/590697/likelihoodResults_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3845.71660588
delta logL = -0.000371975884718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3845.71623391
delta logL = -6.17819750914e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0106       1.0000          .0000       10.000    
     3 'Normalizat'    .85416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85592       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=   3845.716     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      255 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    444.54        .36285E-02** at limit **
   2  Index         2.8467        7.8547        .50000       -.23891E-06
   3  Normalizat    .85416        .31098E-01    .25177E-03   -.27003E-04
   4  Prefactor     .85590        .29533E-01    .23749E-03   -.30278E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.84673
  Normalizat = 0.854158
  Prefactor  = 0.855898
 **********
 **   18 **HESSE 
 **********

 FCN=   3845.716     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1677.4        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8467        6.3708        .50000       -.44522    
   3  Normalizat    .85416        .73068E-01    .10071E-04   -.98090    
   4  Prefactor     .85590        .69395E-01    .94997E-05   -.97700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.1734e-08
Minuit parameter uncertainties:
  1  0.00513408
  2  1450.18
  3  0.0730761
  4  0.069402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590697': 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) = 3845.71623373
delta logL = 1.74340129888e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  5.134e-03  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.847e+00  1.450e+03  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:  8.559e-01  6.940e-02  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.542e-01  7.308e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/590697/cmap_HighResolution_338860801_339120001_4FGL_J2256.0-2740_daily_bin384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2021-09-29 02:53:03.968337', job_id='590697', GAL2='0.86', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632909183.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='384' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 590697: <4FGL_J2256.0-2740_daily_bin384> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin384> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:20 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:21 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:40:21 2021
Terminated at Wed Sep 29 02:53:04 2021
Results reported at Wed Sep 29 02:53:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin384 344.025 -27.6739 338860801 339120001 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 :                                   522.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             269.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            764 sec.

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

