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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1232
RA = 344.025, Dec = -27.6739
tmin = 558662401, tmax = 558921601
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='593951', job_status='RUN', time_executed='2021-09-29 02:51:49.996265', time_epoch_executed='1632909110.0' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593951/ft1_4FGL_J2256.0-2740_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593951/ft1_4FGL_J2256.0-2740_daily_bin1232.fits outfile=/scratch/kocevski/593951/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1232.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=558662401.0 tmax=558921601.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.64
user 3.41
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593951/ft1_filtered_4FGL_J2256.0-2740_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/593951/ltcube_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.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/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits
.....................!
real 11.89
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593951/ft1_filtered_4FGL_J2256.0-2740_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/593951/ltcube_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.fits outfile=/scratch/kocevski/593951/expmap_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.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/593951/ltcube_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.fits
.....................!
real 191.02
user 185.49
sys 5.21

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/593951/ft1_filtered_4FGL_J2256.0-2740_daily_bin1232.fits scfile=/scratch/kocevski/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits outfile=/scratch/kocevski/593951/cmap_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.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/593951/ft1_filtered_4FGL_J2256.0-2740_daily_bin1232.fits scfile=/scratch/kocevski/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits outfile=/scratch/kocevski/593951/cmap_HighResolution_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.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/593951/ft1_filtered_4FGL_J2256.0-2740_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/593951/ft2_4FGL_J2256.0-2740_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593951/Model_4FGL_J2256.0-2740_daily_bin1232.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/593951/ft1_filtered_4FGL_J2256.0-2740_daily_bin1232.fits......................!
real 25.87
user 24.59
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3398       1.0000         .10000E-03   10000.    
     3 'norm      '    40.626       1.0000         .10000E-03   10000.    
     4 'Prefactor '    100.20       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.553       1.0000         .10000E-03   10000.    
     6 'norm      '    .11068E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    90.570       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.3330       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.877       1.0000         .10000E-03   10000.    
    16 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    79.771       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    52.721       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10947E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59450       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2032       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=   1796.291     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     3115 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.247        .85017E-07** at limit **
   2  Prefactor     5.6040        743.45       -.29658E-04   -.13616E-04
   3  norm          40.617        62.177        .36297E-06    .48758E-05
   4  Prefactor     100.30        187.15        .54125E-05    .17995E-04
   5  Prefactor     47.554        45.738       -.42606E-06    .96929E-05
   6  norm          .10000E-03    5.1577       -.12906E-05** at limit **
   7  Prefactor     90.532        118.04        .36314E-06    .20502E-04
   8  Prefactor     .10000E-03    36.481        .69514E-06** at limit **
   9  norm          .10000E-03    4.3680       -.37783E-07** at limit **
  10  Prefactor     .10000E-03    17.265       -.91918E-07** at limit **
  11  Prefactor     .10000E-03    35.293        .33976E-07** at limit **
  12  norm          3.3332        2.9522        .17162E-06   -.29788E-04
  13  Prefactor     .10000E-03    341.60        .55701E-06** at limit **
  14  Prefactor     .10000E-03    5.7356       -.10547E-06** at limit **
  15  Prefactor     43.867        57.754       -.14771E-05    .71581E-05
  16  norm          .10000E-03    150.49       -.11288E-05** at limit **
  17  Prefactor     79.777        176.53       -.69392E-06   -.28037E-05
  18  norm          .10000E-03    3.1268       -.31520E-06** at limit **
  19  Prefactor     52.723        53.451       -.36027E-06    .17824E-04
  20  Prefactor     .10000E-03    247.35       -.41076E-06** at limit **
  21  Normalizat    .59480        .44767        .11689E-04    .14481E-06
  22  Prefactor     1.2029        .38173       -.62397E-05    .98145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.60398
  norm       = 40.6171
  Prefactor  = 100.305
  Prefactor  = 47.5537
  norm       = 0.0001
  Prefactor  = 90.5325
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.33321
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.8671
  norm       = 0.0001
  Prefactor  = 79.7772
  norm       = 0.0001
  Prefactor  = 52.7226
  Prefactor  = 0.0001
  Normalizat = 0.594798
  Prefactor  = 1.20286
 **********
 **   18 **HESSE 
 **********

 FCN=   1796.291     FROM HESSE     STATUS=OK           336 CALLS     3451 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6040        774.57        .17392E-02   -1.5234    
   3  norm          40.617        62.177        .62889E-04   -1.4432    
   4  Prefactor     100.30        187.91        .20081E-03   -1.3702    
   5  Prefactor     47.554        45.743        .58147E-04   -1.4328    
   6  norm          .10000E-03    5.2153        .93961E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     90.532        117.64        .21112E-03   -1.3802    
   8  Prefactor     .10000E-03    36.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3714        .86502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.269        .17203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    35.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.3332        3.0265        .47397E-04   -1.5343    
  13  Prefactor     .10000E-03    341.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.7383        .99153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     43.867        59.288        .60524E-04   -1.4382    
  16  norm          .10000E-03    151.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     79.777        176.67        .44966E-04   -1.3919    
  18  norm          .10000E-03    3.1838        .73155E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     52.723        53.460        .55238E-04   -1.4254    
  20  Prefactor     .10000E-03    247.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .59480        .46258        .35871E-03   -1.0821    
  22  Prefactor     1.2029        .39992        .23422E-03   -.86243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78399e-10
Minuit parameter uncertainties:
  1  2.73682e-06
  2  133.569
  3  62.2769
  4  189.042
  5  45.7764
  6  3.54754e-05
  7  117.941
  8  4.42148e-05
  9  1.97167e-06
  10  6.25424e-06
  11  4.8875e-05
  12  3.0266
  13  7.52431e-05
  14  6.15736e-06
  15  59.3676
  16  0.000277899
  17  177.857
  18  1.36351e-05
  19  53.5083
  20  4.07478e-05
  21  0.465632
  22  0.400931
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.887e-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:  1.203e+00  4.009e-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:  5.948e-01  4.656e-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: 4.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/593951/likelihoodResults_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.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) = 1796.29117245
delta logL = -0.000134652298129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1796.2910391
delta logL = -1.29393674797e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10725E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6369       1.0000          .0000       10.000    
     3 'Normalizat'    .59484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2029       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=   1796.225     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      341 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6721        241.45        .18142E-01    .22587E-03
   2  Index         6.0518        5.1168        .50000        .11868E-04
   3  Normalizat    .52492        .72840E-01    .35870E-02    .39507E-05
   4  Prefactor     1.2448        .65518E-01    .23423E-03   -.51279E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.6721
  Index      = 6.05179
  Normalizat = 0.524916
  Prefactor  = 1.24481
 **********
 **   18 **HESSE 
 **********

 FCN=   1796.225     FROM HESSE     STATUS=OK            31 CALLS      372 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6721        26.149        .17432E-03   -1.5381    
   2  Index         6.0518        7.9408        .20192E-01    .21194    
   3  Normalizat    .52492        .47087        .14348E-03   -1.1127    
   4  Prefactor     1.2448        .40956        .46846E-04   -.84963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43907e-09
Minuit parameter uncertainties:
  1  16.7272
  2  7.43552
  3  0.474508
  4  0.410615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593951': 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) = 1796.22505795
delta logL = 0.0659798533422

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.672e+00  1.673e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  6.052e+00  7.436e+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.245e+00  4.106e-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:  5.249e-01  4.745e-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/593951/cmap_HighResolution_558662401_558921601_4FGL_J2256.0-2740_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-02', job_status='DONE', photon_flux_upper_limit='4.25e-07', time_completed='2021-09-29 02:58:47.729185', job_id='593951', GAL2='1.24', fit_tolerance='1e-08', EG2='0.52', EG='0.59', time_epoch_completed='1632909527.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='6.60e-02', ts2='0.16', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1232' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 593951: <4FGL_J2256.0-2740_daily_bin1232> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1232 344.025 -27.6739 558662401 558921601 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 :                                   415.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   505 sec.
    Turnaround time :                            507 sec.

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

