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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1563
RA = 344.025, Dec = -27.6739
tmin = 644457601, tmax = 644716801
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='595438', job_status='RUN', time_executed='2021-09-29 02:56:34.759318', time_epoch_executed='1632909394.76' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1563'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595438

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595438/ft1_4FGL_J2256.0-2740_daily_bin1563.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595438/ft1_4FGL_J2256.0-2740_daily_bin1563.fits outfile=/scratch/kocevski/595438/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1563.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=644457601.0 tmax=644716801.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.80
user 2.57
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595438/ft1_filtered_4FGL_J2256.0-2740_daily_bin1563.fits" evtable="EVENTS" scfile=/scratch/kocevski/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits sctable="SC_DATA" outfile=/scratch/kocevski/595438/ltcube_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.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/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits
.....................!
real 12.18
user 11.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595438/ft1_filtered_4FGL_J2256.0-2740_daily_bin1563.fits evtable="EVENTS" scfile=/scratch/kocevski/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits sctable="SC_DATA" expcube=/scratch/kocevski/595438/ltcube_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.fits outfile=/scratch/kocevski/595438/expmap_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.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/595438/ltcube_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.fits
.....................!
real 191.09
user 185.77
sys 4.85

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/595438/ft1_filtered_4FGL_J2256.0-2740_daily_bin1563.fits scfile=/scratch/kocevski/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits outfile=/scratch/kocevski/595438/cmap_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.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/595438/ft1_filtered_4FGL_J2256.0-2740_daily_bin1563.fits scfile=/scratch/kocevski/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits outfile=/scratch/kocevski/595438/cmap_HighResolution_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595438/ft1_filtered_4FGL_J2256.0-2740_daily_bin1563.fits evtable="EVENTS" scfile=/scratch/kocevski/595438/ft2_4FGL_J2256.0-2740_daily_bin1563.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595438/Model_4FGL_J2256.0-2740_daily_bin1563.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/595438/ft1_filtered_4FGL_J2256.0-2740_daily_bin1563.fits.....................!
real 62.72
user 61.26
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1513       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.566       1.0000         .10000E-03   10000.    
     3 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31731       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .19907       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16502E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.911       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3515       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.167       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28070E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .89376       1.0000         .10000E-03   10000.    
    13 'Prefactor '    50.673       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10202E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3134       1.0000         .10000E-03   10000.    
    18 'norm      '    4.2426       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10484E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87155       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1042       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=   8924.393     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2143 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1473        7.1326        .26324E-05   -.11976E-02
   2  Prefactor     10.580        7.8898       -.64034E-06   -.27056E-03
   3  norm          .10000E-03    9.9129        .59135E-07** at limit **
   4  Prefactor     .20505        15.169        .39411E-06    .34722E-04
   5  Prefactor     .10000E-03    2.8773        .11515E-07** at limit **
   6  norm          .19885        .95498       -.71620E-07   -.36491E-03
   7  Prefactor     .10000E-03    29.475       -.55186E-06** at limit **
   8  Prefactor     14.922        9.5721       -.85166E-06   -.29075E-03
   9  norm          3.3524        2.6617        .19206E-06   -.79214E-04
  10  Prefactor     11.175        9.9622       -.15011E-05   -.35614E-03
  11  Prefactor     .10000E-03    2.9680        .25609E-06** at limit **
  12  norm          .89441        .53812        .10625E-06   -.17000E-02
  13  Prefactor     50.665        39.451        .28256E-05    .11547E-03
  14  Prefactor     .10000E-03    6.4519        .14403E-06** at limit **
  15  Prefactor     .10000E-03    2.4419        .11171E-06** at limit **
  16  norm          .10000E-03    2.5562       -.37217E-06** at limit **
  17  Prefactor     9.2798        29.616        .94122E-05    .14491E-03
  18  norm          4.2410        2.1910        .15326E-06    .18755E-03
  19  Prefactor     .10001E-03    7.7191       -.33452E-06** at limit **
  20  Prefactor     .10000E-03    15.742       -.58793E-06** at limit **
  21  Normalizat    .87157        .14979       -.38112E-06   -.11508E-04
  22  Prefactor     1.1043        .14399       -.20666E-06   -.17592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.1473
  Prefactor  = 10.5801
  norm       = 0.0001
  Prefactor  = 0.205049
  Prefactor  = 0.0001
  norm       = 0.198855
  Prefactor  = 0.0001
  Prefactor  = 14.9222
  norm       = 3.35239
  Prefactor  = 11.1746
  Prefactor  = 0.000100003
  norm       = 0.894409
  Prefactor  = 50.6652
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.27979
  norm       = 4.24098
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Normalizat = 0.871571
  Prefactor  = 1.10431
 **********
 **   18 **HESSE 
 **********

 FCN=   8924.393     FROM HESSE     STATUS=OK           358 CALLS     2501 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1473        11.200        .11417E-02   -1.5353    
   2  Prefactor     10.580        7.9484        .12326E-03   -1.5057    
   3  norm          .10000E-03    9.9410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20505        21.267        .97761E-01   -1.5617    
   5  Prefactor     .10000E-03    2.8888        .15646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .19885        1.8794        .17713E-02   -1.5619    
   7  Prefactor     .10000E-03    29.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.922        9.6697        .10372E-03   -1.4935    
   9  norm          3.3524        2.6387        .12779E-03   -1.5342    
  10  Prefactor     11.175        9.9669        .11988E-03   -1.5039    
  11  Prefactor     .10000E-03    19.657        .26427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .89441        .49286        .43356E-04   -1.5519    
  13  Prefactor     50.665        39.491        .56338E-04   -1.4283    
  14  Prefactor     .10000E-03    6.5086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4541        .14406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.5899        .29295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.2798        30.004        .13132E-03   -1.5099    
  18  norm          4.2410        2.1665        .95830E-04   -1.5296    
  19  Prefactor     .10001E-03    54.736        .49997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .87157        .17450        .24909E-03   -.97466    
  22  Prefactor     1.1043        .16914        .22750E-03   -.89329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.22118e-08
Minuit parameter uncertainties:
  1  11.2076
  2  7.94922
  3  1.07379e-05
  4  4.17704
  5  2.65446e-06
  6  1.22242
  7  2.30876e-05
  8  9.67067
  9  2.6388
  10  9.96843
  11  0.000478919
  12  0.492867
  13  39.5118
  14  7.10651e-06
  15  4.84848e-06
  16  5.07376e-05
  17  30.0525
  18  2.16658
  19  0.00145442
  20  3.33069e-05
  21  0.174615
  22  0.169227
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.789e-04  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.104e+00  1.692e-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.716e-01  1.746e-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: 7.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595438/likelihoodResults_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.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) = 8924.39367714
delta logL = -0.000242797194005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8924.39343423
delta logL = 1.07704181573e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12781E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9246       1.0000          .0000       10.000    
     3 'Normalizat'    .87173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       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=   8924.393     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      286 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11784E-03    20.515        .47995E-01** at limit **
   2  Index         2.5933        6.7792        .50000        .19209E-06
   3  Normalizat    .87157        .63801E-02    .24909E-03    .91100E-04
   4  Prefactor     1.1043        .65140E-02    .22750E-03   -.26065E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000117844
  Index      = 2.59325
  Normalizat = 0.871574
  Prefactor  = 1.10431
 **********
 **   18 **HESSE 
 **********

 FCN=   8924.393     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      325 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11784E-03    15.761        .53961E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5933        8.2427        .50000       -.50219    
   3  Normalizat    .87157        .61897E-02    .99635E-05   -.97466    
   4  Prefactor     1.1043        .63198E-02    .45501E-04   -.89329    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.41533e-09
Minuit parameter uncertainties:
  1  0.0335491
  2  103.766
  3  0.00618966
  4  0.00631977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595438': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8924.39343169
delta logL = 2.64782829618e-06

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.178e-04  3.355e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.593e+00  1.038e+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.104e+00  6.320e-03  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.716e-01  6.190e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/595438/cmap_HighResolution_644457601_644716801_4FGL_J2256.0-2740_daily_bin1563.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2021-09-29 03:09:05.432908', job_id='595438', GAL2='1.10', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632910145.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.65e-06', ts2='0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1563' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:09:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 595438: <4FGL_J2256.0-2740_daily_bin1563> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1563> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:23 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:25 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:55:25 2021
Terminated at Wed Sep 29 03:09:06 2021
Results reported at Wed Sep 29 03:09:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1563 344.025 -27.6739 644457601 644716801 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 :                                   747.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

