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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1281
RA = 344.025, Dec = -27.6739
tmin = 571363201, tmax = 571622401
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='594026', job_status='RUN', time_executed='2021-09-29 02:54:14.915007', time_epoch_executed='1632909254.92' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1281'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594026

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594026/ft1_4FGL_J2256.0-2740_daily_bin1281.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594026/ft1_4FGL_J2256.0-2740_daily_bin1281.fits outfile=/scratch/kocevski/594026/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1281.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=571363201.0 tmax=571622401.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 2.89
user 2.65
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits" evtable="EVENTS" scfile=/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits sctable="SC_DATA" outfile=/scratch/kocevski/594026/ltcube_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.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/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits
.....................!
real 12.17
user 11.78
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits sctable="SC_DATA" expcube=/scratch/kocevski/594026/ltcube_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.fits outfile=/scratch/kocevski/594026/expmap_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.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/594026/ltcube_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.fits
.....................!
real 190.25
user 185.27
sys 4.64

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/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits scfile=/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits outfile=/scratch/kocevski/594026/cmap_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits scfile=/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits outfile=/scratch/kocevski/594026/cmap_HighResolution_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits evtable="EVENTS" scfile=/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594026/Model_4FGL_J2256.0-2740_daily_bin1281.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/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits.....................!
real 25.37
user 23.77
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits', '/scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits', expMap='/scratch/kocevski/594026/expmap_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.fits', expCube='/scratch/kocevski/594026/ltcube_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/594026/Model_4FGL_J2256.0-2740_daily_bin1281.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/594026/ft1_filtered_4FGL_J2256.0-2740_daily_bin1281.fits
Spacecraft file(s): /scratch/kocevski/594026/ft2_4FGL_J2256.0-2740_daily_bin1281.fits
Exposure map: /scratch/kocevski/594026/expmap_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.fits
Exposure cube: /scratch/kocevski/594026/ltcube_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/594026/Model_4FGL_J2256.0-2740_daily_bin1281.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1914.30339991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    89.903       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16553E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .48203E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15934E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.205       1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.056       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.307       1.0000         .10000E-03   10000.    
     9 'norm      '    .15915E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15452E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .59979E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3521       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11128       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.081       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10212E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    21.502       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38505E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .94358       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.352       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11470E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .67269       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3487       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.

 FCN=   1914.235     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2131 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.778        136.36        .10594E-02    .14197E-04
   2  Prefactor     .10000E-03    8.5752        .10196E-01** at limit **
   3  norm          .10000E-03    41.759        .10588E-01** at limit **
   4  Prefactor     .10000E-03    23.897        .90712E-02** at limit **
   5  Prefactor     25.285        76.381        .23467E-02   -.12498E-03
   6  norm          .10000E-03    3.4562        .90712E-02** at limit **
   7  Prefactor     3.0958        6214.5        .26709E-02    .11918E-04
   8  Prefactor     13.360        33.399        .26473E-02   -.57063E-04
   9  norm          .10000E-03    11.591        .90712E-02** at limit **
  10  Prefactor     .10000E-03    18.764        .10224E-01** at limit **
  11  Prefactor     .10000E-03    21.036        .10532E-01** at limit **
  12  norm          1.3623        1.1927        .93798E-02   -.67843E-04
  13  Prefactor     .10000E-03    139.70        .95649E-02** at limit **
  14  Prefactor     14.640        40.448        .26685E-02   -.65869E-04
  15  Prefactor     .10000E-03    8.3221        .10374E-01** at limit **
  16  norm          21.365        13.957        .21595E-02   -.20375E-04
  17  Prefactor     .10000E-03    24.957        .97706E-02** at limit **
  18  norm          .92587        3.5955        .12965E-01    .18751E-03
  19  Prefactor     13.260        44.298        .28494E-02   -.25266E-04
  20  Prefactor     .10000E-03    78.984        .90803E-02** at limit **
  21  Normalizat    .67497        .35807        .69029E-01   -.85781E-04
  22  Prefactor     1.3460        .34142        .51501E-01   -.97334E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.7783
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2847
  norm       = 0.0001
  Prefactor  = 3.09579
  Prefactor  = 13.3601
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.36233
  Prefactor  = 0.0001
  Prefactor  = 14.6397
  Prefactor  = 0.0001
  norm       = 21.3645
  Prefactor  = 0.0001
  norm       = 0.925871
  Prefactor  = 13.2599
  Prefactor  = 0.000100003
  Normalizat = 0.674967
  Prefactor  = 1.34596
 **********
 **   18 **HESSE 
 **********

 FCN=   1914.235     FROM HESSE     STATUS=OK           332 CALLS     2463 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.778        136.32        .42378E-04   -1.3930    
   2  Prefactor     .10000E-03    8.5771        .12515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    41.776        .21175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.285        73.044        .93869E-04   -1.4702    
   6  norm          .10000E-03    3.4594        .79293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0958        6106.1        .10683E-03   -1.5356    
   8  Prefactor     13.360        33.731        .10589E-03   -1.4977    
   9  norm          .10000E-03    11.775        .14510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.780        .18505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.201        .19528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3623        1.1692        .41905E-04   -1.5475    
  13  Prefactor     .10000E-03    139.83        .19130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.640        40.531        .10674E-03   -1.4943    
  15  Prefactor     .10000E-03    8.3282        .12325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          21.365        13.960        .86378E-04   -1.4783    
  17  Prefactor     .10000E-03    24.964        .19541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .92587        3.4807        .15170E-03   -1.5516    
  19  Prefactor     13.260        44.185        .11398E-03   -1.4980    
  20  Prefactor     .10000E-03    79.004        .18161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .67497        .43375        .30549E-03   -1.0489    
  22  Prefactor     1.3460        .41836        .22769E-03   -.81951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00982e-09
Minuit parameter uncertainties:
  1  136.87
  2  7.18694e-06
  3  6.40204e-05
  4  3.14041e-05
  5  73.3037
  6  4.51432e-06
  7  178.606
  8  33.7792
  9  5.84529e-06
  10  3.47328e-05
  11  4.84013e-05
  12  1.16923
  13  0.000255856
  14  40.6075
  15  3.93073e-05
  16  13.9618
  17  2.62302e-05
  18  3.48145
  19  44.2939
  20  0.00105097
  21  0.435978
  22  0.419416
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.840e-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.346e+00  4.194e-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:  6.750e-01  4.360e-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: 2.71e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594026/likelihoodResults_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.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) = 1914.2356131
delta logL = -0.000224647876848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1914.23538988
delta logL = -1.4255899714e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.6178       1.0000          .0000       10.000    
     3 'Normalizat'    .67498       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3460       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=   1914.235     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      298 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    479.81        .15651E-01** at limit **
   2  Index         2.5157        8.6765        .50000        .13767E-07
   3  Normalizat    .67497        .36201E-01    .30549E-03    .73024E-04
   4  Prefactor     1.3460        .37026E-01    .22769E-03    .10447E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100026
  Index      = 2.51569
  Normalizat = 0.674969
  Prefactor  = 1.34596
 **********
 **   18 **HESSE 
 **********

 FCN=   1914.235     FROM HESSE     STATUS=OK            29 CALLS      327 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    45.369        .42317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5157        6.9294        .50000       -.51998    
   3  Normalizat    .67497        .39751        .12220E-04   -1.0489    
   4  Prefactor     1.3460        .40749        .45537E-04   -.81951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77341e-09
Minuit parameter uncertainties:
  1  0.00215639
  2  176.166
  3  0.399219
  4  0.408462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594026': 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) = 1914.23538805
delta logL = 4.02536215915e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  2.156e-03  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.516e+00  1.762e+02  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.346e+00  4.085e-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:  6.750e-01  3.992e-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/594026/cmap_HighResolution_571363201_571622401_4FGL_J2256.0-2740_daily_bin1281.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-02', job_status='DONE', photon_flux_upper_limit='2.71e-07', time_completed='2021-09-29 03:04:28.122900', job_id='594026', GAL2='1.35', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1632909868.12', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='4.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1281' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:04:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 594026: <4FGL_J2256.0-2740_daily_bin1281> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1281> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:26 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:29 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:29 2021
Terminated at Wed Sep 29 03:04:28 2021
Results reported at Wed Sep 29 03:04:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1281 344.025 -27.6739 571363201 571622401 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 :                                   403.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             220.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            842 sec.

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

