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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin789
RA = 344.025, Dec = -27.6739
tmin = 443836801, tmax = 444096001
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='592330', job_status='RUN', time_executed='2021-09-29 02:48:20.418996', time_epoch_executed='1632908900.42' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592330

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592330/ft1_4FGL_J2256.0-2740_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592330/ft2_4FGL_J2256.0-2740_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592330/ft1_4FGL_J2256.0-2740_daily_bin789.fits outfile=/scratch/kocevski/592330/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin789.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=443836801.0 tmax=444096001.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.45
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592330/ft2_4FGL_J2256.0-2740_daily_bin789.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/592330/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin789.fits evtable="EVENTS" outfile="/scratch/kocevski/592330/ft1_filtered_4FGL_J2256.0-2740_daily_bin789.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592330/ft1_filtered_4FGL_J2256.0-2740_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/592330/ft2_4FGL_J2256.0-2740_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/592330/ltcube_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.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/592330/ft2_4FGL_J2256.0-2740_daily_bin789.fits
.....................!
real 11.88
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592330/ft1_filtered_4FGL_J2256.0-2740_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/592330/ft2_4FGL_J2256.0-2740_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/592330/ltcube_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.fits outfile=/scratch/kocevski/592330/expmap_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.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/592330/ltcube_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.fits
.....................!
real 190.87
user 185.59
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/592330/ft1_filtered_4FGL_J2256.0-2740_daily_bin789.fits scfile=/scratch/kocevski/592330/ft2_4FGL_J2256.0-2740_daily_bin789.fits outfile=/scratch/kocevski/592330/cmap_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.167       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6315       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8190       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5990       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8711       1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    65.885       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.170       1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.023       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7750       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10498E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    77.187       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .83832       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0007       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=   5192.920     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2357 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.166        13.518       -.83496E-06   -.29916E-04
   2  Prefactor     .10000E-03    12.168       -.65306E-06** at limit **
   3  norm          .10000E-03    27.702       -.19172E-06** at limit **
   4  Prefactor     .10000E-03    7.0732        .92205E-07** at limit **
   5  Prefactor     .10000E-03    3.0470       -.81671E-07** at limit **
   6  norm          1.6316        1.5389        .19515E-06    .20328E-02
   7  Prefactor     .10000E-03    17.183       -.10812E-06** at limit **
   8  Prefactor     5.8195        12.459       -.17185E-05   -.87454E-04
   9  norm          .10000E-03    .90809        .57942E-09** at limit **
  10  Prefactor     4.5991        9.1226        .45777E-06   -.19832E-03
  11  Prefactor     1.8759        6.3923       -.21792E-05   -.96442E-03
  12  norm          .10000E-03    .23817        .16521E-06** at limit **
  13  Prefactor     65.883        44.895       -.26428E-05    .75441E-05
  14  Prefactor     .10000E-03    5.8530        .16632E-07** at limit **
  15  Prefactor     .10000E-03    5.6606        .23659E-06** at limit **
  16  norm          11.170        7.7512       -.75656E-06   -.97127E-03
  17  Prefactor     58.024        49.604        .11350E-05    .13296E-04
  18  norm          1.7731        3.1526       -.22298E-06   -.64296E-03
  19  Prefactor     .10000E-03    71.312        .45111E-05** at limit **
  20  Prefactor     77.118        89.475       -.71526E-04   -.11491E-05
  21  Normalizat    .83835        .18370        .46475E-05   -.14990E-03
  22  Prefactor     1.0007        .17573       -.27640E-06    .11370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1665
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.63162
  Prefactor  = 0.0001
  Prefactor  = 5.81946
  norm       = 0.0001
  Prefactor  = 4.59912
  Prefactor  = 1.8759
  norm       = 0.0001
  Prefactor  = 65.8826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1697
  Prefactor  = 58.0244
  norm       = 1.77315
  Prefactor  = 0.000100004
  Prefactor  = 77.1179
  Normalizat = 0.838348
  Prefactor  = 1.00065
 **********
 **   18 **HESSE 
 **********

 FCN=   5192.920     FROM HESSE     STATUS=OK           342 CALLS     2699 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.166        13.517        .12567E-03   -1.5070    
   2  Prefactor     .10000E-03    12.678        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    27.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.0815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0519        .12284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6316        1.5498        .42185E-03   -1.5452    
   7  Prefactor     .10000E-03    17.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8195        12.522        .16649E-03   -1.5225    
   9  norm          .10000E-03    .90862        .67027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5991        8.9315        .18769E-03   -1.5279    
  11  Prefactor     1.8759        5.8120        .24567E-03   -1.5434    
  12  norm          .10000E-03    .29776        .61799E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     65.883        44.891        .49444E-04   -1.4083    
  14  Prefactor     .10000E-03    5.8684        .17027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6938        .16700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.170        7.7641        .59936E-03   -1.5039    
  17  Prefactor     58.024        49.873        .52667E-04   -1.4183    
  18  norm          1.7731        3.1360        .16352E-03   -1.5442    
  19  Prefactor     .10000E-03    72.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     77.118        88.996        .22853E-03   -1.3949    
  21  Normalizat    .83835        .22339        .23769E-03   -.98662    
  22  Prefactor     1.0007        .21408        .22002E-03   -.92708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25775e-09
Minuit parameter uncertainties:
  1  13.5207
  2  0.000141132
  3  0.000126129
  4  1.20294e-05
  5  8.94985e-06
  6  1.5498
  7  3.74302e-05
  8  12.5274
  9  2.81817e-07
  10  8.93411
  11  5.81374
  12  6.73898e-06
  13  44.9141
  14  1.12751e-05
  15  1.43433e-05
  16  7.76475
  17  49.9092
  18  3.13627
  19  0.00110839
  20  89.1499
  21  0.223637
  22  0.21426
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.876e+00  5.814e+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.001e+00  2.143e-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.383e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/592330/likelihoodResults_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.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) = 5192.919477
delta logL = 0.000176005636604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5192.91947277
delta logL = 0.000180232426828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8709       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0588       1.0000          .0000       10.000    
     3 'Normalizat'    .83807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0009       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=   5192.919     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      271 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8711        4.9282        .24498E-03   -.13425E-03
   2  Index         3.0589        1.8767        .14665E-01   -.27089E-04
   3  Normalizat    .83809        .21084        .23772E-03    .86656E-04
   4  Prefactor     1.0009        .21036        .22000E-03    .50643E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.87112
  Index      = 3.05889
  Normalizat = 0.838095
  Prefactor  = 1.00085
 **********
 **   18 **HESSE 
 **********

 FCN=   5192.919     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8711        4.8995        .97992E-05   -1.5434    
   2  Index         3.0589        1.8673        .58662E-03   -.39870    
   3  Normalizat    .83809        .21116        .95089E-05   -.98671    
   4  Prefactor     1.0009        .21064        .88000E-05   -.92701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59077e-10
Minuit parameter uncertainties:
  1  4.90054
  2  1.9226
  3  0.211365
  4  0.210813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592330': 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) = 5192.91947276
delta logL = 0.000180244543117

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.871e+00  4.901e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.059e+00  1.923e+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.001e+00  2.108e-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.381e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/592330/cmap_HighResolution_443836801_444096001_4FGL_J2256.0-2740_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.81e-03', job_status='DONE', photon_flux_upper_limit='9.75e-08', time_completed='2021-09-29 02:58:08.661244', job_id='592330', GAL2='1.00', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632909488.66', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.80e-04', ts2='0.17', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='789' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 592330: <4FGL_J2256.0-2740_daily_bin789> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin789 344.025 -27.6739 443836801 444096001 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 :                                   573.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             237.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            772 sec.

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

