/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 146 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 = 7386
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1256.1-0547_daily_bin325
RA = 194.042, Dec = -5.7887
tmin = 323568001, tmax = 323827201
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='19190', job_status='RUN', time_executed='2021-09-06 10:53:15.142114', time_epoch_executed='1630950795.14' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19190

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19190/ft1_4FGL_J1256.1-0547_daily_bin325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19190/ft1_4FGL_J1256.1-0547_daily_bin325.fits outfile=/scratch/kocevski/19190/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin325.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=323568001.0 tmax=323827201.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.33
user 3.13
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.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/19190/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin325.fits evtable="EVENTS" outfile="/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits" evtable="EVENTS" scfile=/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits sctable="SC_DATA" outfile=/scratch/kocevski/19190/ltcube_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.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/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits
.....................!
real 15.05
user 14.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits evtable="EVENTS" scfile=/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits sctable="SC_DATA" expcube=/scratch/kocevski/19190/ltcube_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.fits outfile=/scratch/kocevski/19190/expmap_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.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/19190/ltcube_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.fits
.....................!
real 193.09
user 187.71
sys 4.92

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 195 point sources and 0 extended sources

Setting source of interest to:
4FGL J1256.1-0547 @ 194.042 -5.7887

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits scfile=/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits outfile=/scratch/kocevski/19190/cmap_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.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=194.042 yref=-5.7887 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.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits scfile=/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits outfile=/scratch/kocevski/19190/cmap_HighResolution_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.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=194.042 yref=-5.7887 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits evtable="EVENTS" scfile=/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/19190/Model_4FGL_J1256.1-0547_daily_bin325.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/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits.....................!
real 54.44
user 53.07
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits', '/scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits', expMap='/scratch/kocevski/19190/expmap_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.fits', expCube='/scratch/kocevski/19190/ltcube_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/19190/Model_4FGL_J1256.1-0547_daily_bin325.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1256.1-0547'

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  3.298e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.196e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.366e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  4.660e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/19190/ft1_filtered_4FGL_J1256.1-0547_daily_bin325.fits
Spacecraft file(s): /scratch/kocevski/19190/ft2_4FGL_J1256.1-0547_daily_bin325.fits
Exposure map: /scratch/kocevski/19190/expmap_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.fits
Exposure cube: /scratch/kocevski/19190/ltcube_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/19190/Model_4FGL_J1256.1-0547_daily_bin325.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) = 6408.89458193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82837       1.0000         .10000E-03   10000.    
     2 'norm      '    3.0971       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5996       1.0000         .10000E-03   10000.    
     4 'norm      '    4.1507       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5906       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.767       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6232       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.632       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.7453       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.916       1.0000         .10000E-03   10000.    
    15 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9295       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8086       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .81681E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    38.154       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3320       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6408.850     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2930 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82146        11.624       -.15616E-05   -.56360E-04
   2  norm          3.0979        2.9459       -.25633E-06    .20503E-03
   3  Prefactor     7.5993        5.8685       -.93174E-06   -.20596E-02
   4  norm          4.1506        .91242        .22332E-07    .12296E-02
   5  Prefactor     3.5908        2.1678        .72216E-07   -.11278E-04
   6  Prefactor     .10000E-03    9.1193       -.61321E-05** at limit **
   7  Prefactor     24.767        15.580       -.24557E-06   -.34471E-05
   8  norm          4.6230        2.3130        .57083E-07    .16111E-04
   9  Prefactor     .10000E-03    6.0215       -.26653E-05** at limit **
  10  Prefactor     .10000E-03    25.486       -.17894E-04** at limit **
  11  Prefactor     59.637        52.213        .63540E-05   -.31781E-05
  12  norm          .10000E-03    22.019        .18363E-04** at limit **
  13  norm          1.7452        .37768       -.11557E-06    .94332E-03
  14  Prefactor     43.924        62.747        .11650E-04   -.14747E-04
  15  norm          .10000E-03    7.4484        .26829E-05** at limit **
  16  norm          .10000E-03    3.2025       -.20749E-07** at limit **
  17  Prefactor     .10000E-03    3.6401        .14293E-06** at limit **
  18  Prefactor     5.9293        13.168       -.45900E-06   -.53554E-04
  19  Prefactor     9.8081        10.750       -.76872E-07   -.28796E-04
  20  Prefactor     .10000E-03    7.1668        .39582E-05** at limit **
  21  norm          .81834E-01    .66316       -.81971E-06   -.41497E-03
  22  norm          .10000E-03    1.0995        .22119E-07** at limit **
  23  norm          38.154        31.174        .13651E-06    .78894E-05
  24  Normalizat    1.3322        .26017       -.53200E-06    .19119E-03
  25  Prefactor     .86756        .16542        .27431E-06    .12027E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.821459
  norm       = 3.0979
  Prefactor  = 7.59925
  norm       = 4.15059
  Prefactor  = 3.59077
  Prefactor  = 0.0001
  Prefactor  = 24.7672
  norm       = 4.62304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.6371
  norm       = 0.0001
  norm       = 1.74523
  Prefactor  = 43.9239
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.92931
  Prefactor  = 9.80805
  Prefactor  = 0.0001
  norm       = 0.0818338
  norm       = 0.0001
  norm       = 38.1542
  Normalizat = 1.3322
  Prefactor  = 0.867556
 **********
 **   18 **HESSE 
 **********

 FCN=   6408.850     FROM HESSE     STATUS=OK           431 CALLS     3361 TOTAL
                     EDM=   .99E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82146        49.391        .45242E-02   -1.5527    
   2  norm          3.0979        3.3201        .11198E-03   -1.5356    
   3  Prefactor     7.5993        6.0101        .72736E-03   -1.5157    
   4  norm          4.1506        .91459        .33623E-04   -1.5300    
   5  Prefactor     3.5908        2.1703        .87847E-04   -1.5329    
   6  Prefactor     .10000E-03    9.1572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.767        15.591        .80491E-04   -1.4712    
   8  norm          4.6230        2.3136        .82314E-04   -1.5278    
   9  Prefactor     .10000E-03    6.0616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    25.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     59.637        52.341        .51956E-04   -1.4162    
  12  norm          .10000E-03    21.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7452        .38028        .20949E-04   -1.5444    
  14  Prefactor     43.924        62.485        .60497E-04   -1.4381    
  15  norm          .10000E-03    7.4849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2030        .13992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.6448        .14915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.9293        13.172        .16491E-03   -1.5221    
  19  Prefactor     9.8081        10.775        .12795E-03   -1.5082    
  20  Prefactor     .10000E-03    7.1695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .81834E-01    1.4547        .12634E-02   -1.5651    
  22  norm          .10000E-03    1.1020        .81972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          38.154        31.175        .64887E-04   -1.4472    
  24  Normalizat    1.3322        .31015        .32418E-03   -.82610    
  25  Prefactor     .86756        .19691        .25777E-03   -.97284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92758e-08
Minuit parameter uncertainties:
  1  12.7496
  2  3.32032
  3  6.01053
  4  0.914591
  5  2.17034
  6  1.91828e-05
  7  15.5938
  8  2.31364
  9  6.58366e-06
  10  1.23142e-05
  11  52.3816
  12  3.66198e-05
  13  0.380284
  14  62.5782
  15  5.20916e-05
  16  5.94481e-07
  17  3.142e-07
  18  13.1783
  19  10.7768
  20  7.12513e-07
  21  0.689647
  22  5.7694e-08
  23  31.1881
  24  0.310589
  25  0.197069
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  1.745e+00  3.803e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.196e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.366e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  4.660e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  8.676e-01  1.971e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  1.332e+00  3.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 73.20
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 3.94e-07 +/- 8.59e-08
Energy Flux (Fixed Index): 1.49e-04 +/- 3.24e-05

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) = 6407.94937061
delta logL = 0.900912969027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6407.94552159
delta logL = 0.904761992202

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6823       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9321       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6407.946     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6826        .36368        .48527E-02   -.19483E-02
   2  alpha         1.9322        .18134        .13252       -.90640E-04
   3  Normalizat    1.4031        .25085        .71806E-01   -.18889E-03
   4  Prefactor     .83944        .16373        .44229E-01   -.22646E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.6826
  alpha      = 1.93221
  Normalizat = 1.40307
  Prefactor  = 0.839436
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.946     FROM HESSE     STATUS=OK            27 CALLS      231 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6826        .38099        .21454E-04   -1.5449    
   2  alpha         1.9322        .19334        .57628E-03   -.22912    
   3  Normalizat    1.4031        .29871        .31772E-03   -.80540    
   4  Prefactor     .83944        .19411        .26178E-03   -.98291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13772e-10
Minuit parameter uncertainties:
  1  0.380992
  2  0.193548
  3  0.299086
  4  0.194271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19190': 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) = 6407.9455211
delta logL = 0.904762482902

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  1.683e+00  3.810e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  1.932e+00  1.935e-01  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  7.366e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  4.660e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  8.394e-01  1.943e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  1.403e+00  2.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 74.92
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 1.93 +/- 0.19
Photon Flux (Free Index): 3.23e-07 +/- 8.83e-08
Energy Flux (Free Index): 1.82e-04 +/- 5.07e-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/19190/cmap_HighResolution_323568001_323827201_4FGL_J1256.1-0547_daily_bin325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.94e-07', energy_flux2='1.82e-04', photon_flux_error='8.59e-08', dlogl='9.05e-01', energy_flux='1.49e-04', photon_flux2='3.23e-07', job_status='DONE', time_completed='2021-09-06 11:04:38.810667', photon_index_error2='0.19', photon_index2='1.93', ts='73.20', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='5.07e-05', EG='1.33', time_epoch_completed='1630951478.81', return_code='0', job_id='19190', GAL2='0.84', EG2='1.40', return_code2='0', energy_flux_error='3.24e-05', photon_flux_error2='8.83e-08', ts2='74.92', photon_index='2.20' WHERE bin_id='325' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:04:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 19190: <4FGL_J1256.1-0547_daily_bin325> in cluster <slac> Done

Job <4FGL_J1256.1-0547_daily_bin325> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Sep  6 10:50:39 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 10:50:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 10:50:40 2021
Terminated at Mon Sep  6 11:04:39 2021
Results reported at Mon Sep  6 11:04:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin325 194.042 -5.7887 323568001 323827201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1256.1-0547 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

