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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1010
RA = 344.025, Dec = -27.6739
tmin = 501120001, tmax = 501379201
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='592663', job_status='RUN', time_executed='2021-09-29 02:49:41.805578', time_epoch_executed='1632908981.81' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592663

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592663/ft1_4FGL_J2256.0-2740_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592663/ft1_4FGL_J2256.0-2740_daily_bin1010.fits outfile=/scratch/kocevski/592663/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1010.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=501120001.0 tmax=501379201.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.55
user 3.30
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.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/592663/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1010.fits evtable="EVENTS" outfile="/scratch/kocevski/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/592663/ltcube_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.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/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits
.....................!
real 12.39
user 11.90
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/592663/ltcube_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.fits outfile=/scratch/kocevski/592663/expmap_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.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/592663/ltcube_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.fits
.....................!
real 191.12
user 184.91
sys 5.65

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/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.fits scfile=/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits outfile=/scratch/kocevski/592663/cmap_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.fits scfile=/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits outfile=/scratch/kocevski/592663/cmap_HighResolution_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.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.56
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/592663/ft2_4FGL_J2256.0-2740_daily_bin1010.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592663/Model_4FGL_J2256.0-2740_daily_bin1010.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/592663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1010.fits.....................!
real 43.29
user 41.87
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.270       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .96044E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.695       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10943E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.8958       1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.990       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5578       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .51467       1.0000         .10000E-03   10000.    
    12 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17351E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3591       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1380       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.697       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4181       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12031E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    94.684       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96126       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97361       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=   5078.748     FROM MIGRAD    STATUS=CONVERGED    892 CALLS     2861 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.264        28.785        .46281E-04    .23435E-04
   2  Prefactor     .10001E-03    45.327        .39338E-02** at limit **
   3  norm          .10000E-03    13.070        .18142E-02** at limit **
   4  Prefactor     28.715        24.107        .74790E-04   -.11030E-03
   5  Prefactor     .10001E-03    22.227        .36285E-03** at limit **
   6  norm          3.8933        4.2656        .10698E-03   -.16185E-03
   7  Prefactor     33.025        83.867        .69764E-04    .27703E-05
   8  Prefactor     1.5609        23.143        .17051E-02    .31903E-04
   9  norm          .10000E-03    1.6850        .90095E-03** at limit **
  10  Prefactor     .10000E-03    22.888        .18142E-02** at limit **
  11  Prefactor     .46742        99.012        .28007E-02    .90534E-04
  12  norm          .10000E-03    .77764        .85870E-03** at limit **
  13  Prefactor     .10000E-03    177.76        .18142E-02** at limit **
  14  Prefactor     1.3540        38.246        .18736E-02    .18270E-03
  15  Prefactor     2.1579        45.990        .28191E-03    .28472E-04
  16  norm          .10000E-03    7.0393        .18142E-02** at limit **
  17  Prefactor     20.696        29.592        .88041E-04   -.40030E-05
  18  norm          1.4172        2.5291        .14630E-03   -.21307E-03
  19  Prefactor     .10000E-03    34.102        .10541    ** at limit **
  20  Prefactor     94.678        91.027        .41304E-04   -.12826E-04
  21  Normalizat    .96102        .24953        .24324E-03    .42531E-05
  22  Prefactor     .97397        .22690        .23875E-03    .15714E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.2639
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 28.7151
  Prefactor  = 0.000100005
  norm       = 3.89331
  Prefactor  = 33.0252
  Prefactor  = 1.56091
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.467415
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.35404
  Prefactor  = 2.15786
  norm       = 0.0001
  Prefactor  = 20.6963
  norm       = 1.4172
  Prefactor  = 0.000100001
  Prefactor  = 94.6784
  Normalizat = 0.961018
  Prefactor  = 0.973965
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.748     FROM HESSE     STATUS=OK           336 CALLS     3197 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.264        28.782        .92562E-05   -1.3971    
   2  Prefactor     .10001E-03    46.104        .78676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.071        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.715        24.094        .14958E-04   -1.4636    
   5  Prefactor     .10001E-03    22.227        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.8933        4.2640        .42791E-05   -1.5313    
   7  Prefactor     33.025        83.182        .27906E-05   -1.4558    
   8  Prefactor     1.5609        22.830        .68205E-04   -1.5458    
   9  norm          .10000E-03    1.6850        .18019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.889        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .46742        73.960        .11203E-03   -1.5571    
  12  norm          .10000E-03    .77864        .17174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    177.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3540        38.210        .37471E-03   -1.5475    
  15  Prefactor     2.1579        35.462        .11276E-04   -1.5414    
  16  norm          .10000E-03    7.0431        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.696        29.597        .35216E-05   -1.4798    
  18  norm          1.4172        2.5286        .58521E-05   -1.5470    
  19  Prefactor     .10000E-03    32.714        .10835       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     94.678        91.014        .82608E-05   -1.3759    
  21  Normalizat    .96102        .24803        .97298E-05   -.94348    
  22  Prefactor     .97397        .22633        .95501E-05   -.93602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84691e-10
Minuit parameter uncertainties:
  1  28.7873
  2  0.00125875
  3  3.4163e-05
  4  24.1018
  5  0.000688536
  6  4.26436
  7  83.4761
  8  11.9441
  9  3.86696e-06
  10  5.9624e-05
  11  11.7728
  12  1.00141e-05
  13  7.13152e-05
  14  14.3954
  15  17.5073
  16  9.16303e-06
  17  29.6179
  18  2.52878
  19  0.000363514
  20  91.1483
  21  0.24833
  22  0.226546
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.674e-01  1.177e+01  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:  9.740e-01  2.265e-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.610e-01  2.483e-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.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592663/likelihoodResults_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.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) = 5078.74764236
delta logL = 0.000319550006679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5078.74764189
delta logL = 0.000320014395584

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46742       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1399       1.0000          .0000       10.000    
     3 'Normalizat'    .96077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97416       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=   5078.748     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      274 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49838        38.639        .27742E-02    .11151E-03
   2  Index         3.1444        6.5692        .34361E-01    .58950E-05
   3  Normalizat    .96056        .22779        .24330E-03   -.81306E-05
   4  Prefactor     .97424        .21883        .23872E-03   -.38098E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.498382
  Index      = 3.14443
  Normalizat = 0.960555
  Prefactor  = 0.97424
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.748     FROM HESSE     STATUS=OK            27 CALLS      301 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49838        31.593        .11097E-03   -1.5567    
   2  Index         3.1444        6.5449        .13744E-02   -.38021    
   3  Normalizat    .96056        .22629        .97319E-05   -.94364    
   4  Prefactor     .97424        .21898        .95490E-05   -.93593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16774e-10
Minuit parameter uncertainties:
  1  7.93973
  2  4.84076
  3  0.226512
  4  0.219181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592663': 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) = 5078.74763361
delta logL = 0.000328301246554

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.984e-01  7.940e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.144e+00  4.841e+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:  9.742e-01  2.192e-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.606e-01  2.265e-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/592663/cmap_HighResolution_501120001_501379201_4FGL_J2256.0-2740_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-29 02:59:38.461961', job_id='592663', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632909578.46', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.28e-04', ts2='0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1010' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:59:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 592663: <4FGL_J2256.0-2740_daily_bin1010> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1010> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:42 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:44 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:44 2021
Terminated at Wed Sep 29 02:59:39 2021
Results reported at Wed Sep 29 02:59:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1010 344.025 -27.6739 501120001 501379201 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 :                                   593.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            837 sec.

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

