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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1462
RA = 344.025, Dec = -27.6739
tmin = 618278401, tmax = 618537601
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='594292', job_status='RUN', time_executed='2021-09-29 02:52:05.995185', time_epoch_executed='1632909126.0' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1462'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594292

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594292/ft1_4FGL_J2256.0-2740_daily_bin1462.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594292/ft1_4FGL_J2256.0-2740_daily_bin1462.fits outfile=/scratch/kocevski/594292/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1462.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=618278401.0 tmax=618537601.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.75
user 3.48
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594292/ft1_filtered_4FGL_J2256.0-2740_daily_bin1462.fits" evtable="EVENTS" scfile=/scratch/kocevski/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits sctable="SC_DATA" outfile=/scratch/kocevski/594292/ltcube_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.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/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits
.....................!
real 12.25
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594292/ft1_filtered_4FGL_J2256.0-2740_daily_bin1462.fits evtable="EVENTS" scfile=/scratch/kocevski/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits sctable="SC_DATA" expcube=/scratch/kocevski/594292/ltcube_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.fits outfile=/scratch/kocevski/594292/expmap_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.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/594292/ltcube_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.fits
.....................!
real 189.44
user 184.81
sys 4.26

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/594292/ft1_filtered_4FGL_J2256.0-2740_daily_bin1462.fits scfile=/scratch/kocevski/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits outfile=/scratch/kocevski/594292/cmap_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.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/594292/ft1_filtered_4FGL_J2256.0-2740_daily_bin1462.fits scfile=/scratch/kocevski/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits outfile=/scratch/kocevski/594292/cmap_HighResolution_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594292/ft1_filtered_4FGL_J2256.0-2740_daily_bin1462.fits evtable="EVENTS" scfile=/scratch/kocevski/594292/ft2_4FGL_J2256.0-2740_daily_bin1462.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594292/Model_4FGL_J2256.0-2740_daily_bin1462.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/594292/ft1_filtered_4FGL_J2256.0-2740_daily_bin1462.fits.....................!
real 39.54
user 38.13
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.929       1.0000         .10000E-03   10000.    
     3 'norm      '    25.248       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.908       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0815       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.851       1.0000         .10000E-03   10000.    
     9 'norm      '    .49814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.074       1.0000         .10000E-03   10000.    
    12 'norm      '    .73421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.899       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.570       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10945E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    7.4355       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.9704       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    68.663       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94402       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=   4555.276     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2405 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.698       -.15236E-05** at limit **
   2  Prefactor     16.927        12.566        .42131E-07   -.22856E-04
   3  norm          25.215        28.862       -.98131E-06   -.66971E-04
   4  Prefactor     11.911        24.455        .59815E-07   -.82026E-05
   5  Prefactor     .10000E-03    5.4246        .53229E-07** at limit **
   6  norm          1.0836        2.4506        .26351E-06   -.80203E-04
   7  Prefactor     .10000E-03    24.624        .20797E-05** at limit **
   8  Prefactor     14.848        15.155        .68567E-07   -.34953E-04
   9  norm          .50440        4.4308        .13700E-06    .11204E-03
  10  Prefactor     .10000E-03    17.154        .31815E-06** at limit **
  11  Prefactor     13.100        15.173       -.15537E-05   -.86780E-03
  12  norm          .73375        .87032       -.72415E-07   -.22956E-02
  13  Prefactor     32.905        62.495        .94134E-06    .11339E-04
  14  Prefactor     12.569        12.819        .11555E-07   -.11513E-04
  15  Prefactor     .10016E-03    17.262        .39093E-05** at limit **
  16  norm          7.4351        9.5089        .13304E-05   -.65686E-03
  17  Prefactor     .10000E-03    20.856       -.83477E-06** at limit **
  18  norm          7.9697        4.6160        .50740E-07   -.50345E-04
  19  Prefactor     .10000E-03    114.73       -.11782E-05** at limit **
  20  Prefactor     68.631        116.96       -.37758E-05   -.38412E-04
  21  Normalizat    1.0181        .23014       -.20872E-06   -.22564E-03
  22  Prefactor     .94395        .20986       -.38751E-06   -.17197E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.9274
  norm       = 25.2146
  Prefactor  = 11.9106
  Prefactor  = 0.0001
  norm       = 1.08356
  Prefactor  = 0.0001
  Prefactor  = 14.8485
  norm       = 0.504398
  Prefactor  = 0.0001
  Prefactor  = 13.1002
  norm       = 0.733752
  Prefactor  = 32.9051
  Prefactor  = 12.5688
  Prefactor  = 0.000100161
  norm       = 7.43513
  Prefactor  = 0.0001
  norm       = 7.96967
  Prefactor  = 0.0001
  Prefactor  = 68.6315
  Normalizat = 1.01808
  Prefactor  = 0.943948
 **********
 **   18 **HESSE 
 **********

 FCN=   4555.276     FROM HESSE     STATUS=OK           350 CALLS     2755 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.927        12.584        .97343E-04   -1.4885    
   3  norm          25.215        28.605        .79723E-04   -1.4703    
   4  Prefactor     11.911        24.450        .11609E-03   -1.5018    
   5  Prefactor     .10000E-03    5.4377        .15352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0836        2.0340        .14803E-02   -1.5500    
   7  Prefactor     .10000E-03    24.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.848        15.154        .10393E-03   -1.4937    
   9  norm          .50440        15.904        .23882E-02   -1.5566    
  10  Prefactor     .10000E-03    17.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.100        15.281        .11078E-03   -1.4984    
  12  norm          .73375        .83800        .52778E-04   -1.5537    
  13  Prefactor     32.905        62.569        .69861E-04   -1.4560    
  14  Prefactor     12.569        12.820        .11298E-03   -1.4999    
  15  Prefactor     .10016E-03    71.712        .43978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.4351        9.4343        .73541E-03   -1.5163    
  17  Prefactor     .10000E-03    20.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.9697        4.6126        .10558E-03   -1.5143    
  19  Prefactor     .10000E-03    116.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.631        117.93        .48440E-04   -1.4049    
  21  Normalizat    1.0181        .27515        .25678E-03   -.92427    
  22  Prefactor     .94395        .25014        .25217E-03   -.94622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83124e-09
Minuit parameter uncertainties:
  1  0.000119439
  2  12.5858
  3  28.6203
  4  24.4702
  5  2.61616e-06
  6  2.03414
  7  0.00018875
  8  15.1579
  9  5.66571
  10  2.6942e-05
  11  15.286
  12  0.838017
  13  62.6938
  14  12.8228
  15  0.00680497
  16  9.43623
  17  6.40031e-05
  18  4.61284
  19  0.000243632
  20  118.335
  21  0.275531
  22  0.250445
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.310e+01  1.529e+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.439e-01  2.504e-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:  1.018e+00  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 8.96e-08 +/- 1.04e-07
Energy Flux (Fixed Index): 1.77e-05 +/- 2.06e-05

TS (Fixed Index): 1.54
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 2.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594292/likelihoodResults_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.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) = 4555.27468265
delta logL = 0.00129079975522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4555.27464353
delta logL = 0.00132992856652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.100       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9733       1.0000          .0000       10.000    
     3 'Normalizat'    1.0205       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94203       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=   4555.275     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      193 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.194        18.054        .27667E-02    .85260E-04
   2  Index         2.9719        1.1739        .22169       -.32678E-04
   3  Normalizat    1.0200        .22201        .43283E-01    .98231E-05
   4  Prefactor     .94219        .20792        .45538E-01    .10013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1939
  Index      = 2.97193
  Normalizat = 1.02001
  Prefactor  = 0.942186
 **********
 **   18 **HESSE 
 **********

 FCN=   4555.275     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.194        11.951        .11067E-03   -1.4981    
   2  Index         2.9719        .95312        .11013E-01   -.41765    
   3  Normalizat    1.0200        .26434        .25656E-03   -.92363    
   4  Prefactor     .94219        .24598        .25237E-03   -.94682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65964e-12
Minuit parameter uncertainties:
  1  11.9534
  2  0.960173
  3  0.264682
  4  0.246276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594292': 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) = 4555.27461226
delta logL = 0.00136119776107

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.319e+01  1.195e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.972e+00  9.602e-01  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.422e-01  2.463e-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:  1.020e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.97 +/- 0.96
Photon Flux (Free Index): 8.86e-08 +/- 8.14e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.68e-05

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/594292/cmap_HighResolution_618278401_618537601_4FGL_J2256.0-2740_daily_bin1462.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-02', comment='SUCCESS', photon_flux='8.96e-08', energy_flux2='1.79e-05', photon_flux_error='1.04e-07', dlogl='1.36e-03', energy_flux='1.77e-05', photon_flux2='8.86e-08', job_status='DONE', time_completed='2021-09-29 03:02:46.227158', photon_index_error2='0.96', photon_index2='2.97', ts='1.54', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='2.44e-07', energy_flux_error2='1.68e-05', EG='1.02', time_epoch_completed='1632909766.23', return_code='0', job_id='594292', GAL2='0.94', EG2='1.02', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='8.14e-08', ts2='1.57', photon_index='3.02' WHERE bin_id='1462' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:02:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 594292: <4FGL_J2256.0-2740_daily_bin1462> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1462 344.025 -27.6739 618278401 618537601 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 :                                   533.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

