/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 3 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1256.1-0547_daily_bin10
RA = 194.042, Dec = -5.7887
tmin = 241920001, tmax = 242179201
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='17565', job_status='RUN', time_executed='2021-09-06 10:45:45.225185', time_epoch_executed='1630950345.23' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17565

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17565/ft1_4FGL_J1256.1-0547_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17565/ft1_4FGL_J1256.1-0547_daily_bin10.fits outfile=/scratch/kocevski/17565/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin10.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=241920001.0 tmax=242179201.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 1.41
user 1.23
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17565/ft1_filtered_4FGL_J1256.1-0547_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/17565/ltcube_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.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/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits
.....................!
real 12.54
user 12.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17565/ft1_filtered_4FGL_J1256.1-0547_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/17565/ltcube_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.fits outfile=/scratch/kocevski/17565/expmap_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.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/17565/ltcube_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.fits
.....................!
real 190.10
user 185.24
sys 4.49

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/17565/ft1_filtered_4FGL_J1256.1-0547_daily_bin10.fits scfile=/scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits outfile=/scratch/kocevski/17565/cmap_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17565/ft1_filtered_4FGL_J1256.1-0547_daily_bin10.fits scfile=/scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits outfile=/scratch/kocevski/17565/cmap_HighResolution_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.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.53
user 0.38
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17565/ft1_filtered_4FGL_J1256.1-0547_daily_bin10.fits', '/scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits', expMap='/scratch/kocevski/17565/expmap_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.fits', expCube='/scratch/kocevski/17565/ltcube_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17565/Model_4FGL_J1256.1-0547_daily_bin10.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/17565/ft1_filtered_4FGL_J1256.1-0547_daily_bin10.fits
Spacecraft file(s): /scratch/kocevski/17565/ft2_4FGL_J1256.1-0547_daily_bin10.fits
Exposure map: /scratch/kocevski/17565/expmap_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.fits
Exposure cube: /scratch/kocevski/17565/ltcube_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17565/Model_4FGL_J1256.1-0547_daily_bin10.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) = 11156.1849788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .17229       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6166       1.0000         .10000E-03   10000.    
     4 'norm      '    2.7398       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8876       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4823       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .45000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .46719       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .39701E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7039       1.0000         .10000E-03   10000.    
    12 'norm      '    6.5814       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2499       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.9764       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6816       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11941E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.717       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .76837       1.0000         .10000E-03   10000.    
    23 'norm      '    15.403       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6122       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93275       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=   11156.12     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2550 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3561       -.20124E-06** at limit **
   2  norm          .17208        .94736        .30931E-06   -.34192E-03
   3  Prefactor     5.6032        4.7059        .30334E-07    .18068E-04
   4  norm          2.7401        .57848        .14287E-07    .20013E-03
   5  Prefactor     5.8896        1.9689        .72308E-08   -.11702E-05
   6  Prefactor     7.4387        7.0418        .20858E-06    .23281E-04
   7  Prefactor     .10000E-03    4.2831        .14113E-06** at limit **
   8  norm          .46714        .93929       -.35423E-07   -.25438E-03
   9  Prefactor     .10000E-03    3.2230       -.13714E-06** at limit **
  10  Prefactor     .10000E-03    17.004       -.47422E-06** at limit **
  11  Prefactor     3.6749        43.966        .61345E-05   -.32299E-04
  12  norm          6.5879        8.7320        .46510E-07    .99804E-05
  13  norm          1.2500        .24037       -.13416E-07    .55266E-03
  14  Prefactor     .10000E-03    12.938        .40569E-06** at limit **
  15  norm          .10000E-03    1.8954       -.11796E-07** at limit **
  16  norm          5.9752        5.6483       -.33355E-06   -.35262E-04
  17  Prefactor     3.7020        8.0335        .31131E-05    .13077E-03
  18  Prefactor     .10000E-03    5.6115        .61576E-07** at limit **
  19  Prefactor     .10000E-03    4.8037        .41171E-07** at limit **
  20  Prefactor     11.728        21.329       -.44154E-06    .12795E-03
  21  norm          .10000E-03    .34066       -.48270E-08** at limit **
  22  norm          .76601        4.6663        .27366E-06   -.13544E-03
  23  norm          15.406        18.635       -.18982E-06    .66692E-05
  24  Normalizat    1.6123        .19153       -.16074E-06    .50355E-04
  25  Prefactor     .93272        .12869       -.13439E-06    .61411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.172076
  Prefactor  = 5.60321
  norm       = 2.74006
  Prefactor  = 5.88963
  Prefactor  = 7.4387
  Prefactor  = 0.000100001
  norm       = 0.467144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.67494
  norm       = 6.58792
  norm       = 1.24996
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.97518
  Prefactor  = 3.70199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7281
  norm       = 0.0001
  norm       = 0.766014
  norm       = 15.4061
  Normalizat = 1.61227
  Prefactor  = 0.932715
 **********
 **   18 **HESSE 
 **********

 FCN=   11156.12     FROM HESSE     STATUS=OK           441 CALLS     2991 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .17208        1.9974        .19524E-02   -1.5625    
   3  Prefactor     5.6032        4.6887        .16951E-03   -1.5235    
   4  norm          2.7401        .57616        .34998E-04   -1.5377    
   5  Prefactor     5.8896        1.9713        .81060E-04   -1.5223    
   6  Prefactor     7.4387        6.9994        .14662E-03   -1.5162    
   7  Prefactor     .10000E-03    24.659        .41122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .46714        .81948        .13995E-02   -1.5571    
   9  Prefactor     .10000E-03    9.5320        .36398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6749        42.636        .20984E-03   -1.5325    
  12  norm          6.5879        8.7212        .15643E-03   -1.5195    
  13  norm          1.2500        .24060        .21015E-04   -1.5484    
  14  Prefactor     .10000E-03    12.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.9000        .14200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.9752        5.6508        .82126E-03   -1.5219    
  17  Prefactor     3.7020        7.9980        .10525E-02   -1.5323    
  18  Prefactor     .10000E-03    5.7026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.8793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.728        19.712        .11703E-03   -1.5023    
  21  norm          .10000E-03    .35346        .12029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .76601        3.9364        .29590E-03   -1.5533    
  23  norm          15.406        18.633        .10205E-03   -1.4923    
  24  Normalizat    1.6123        .22600        .29618E-03   -.74671    
  25  Prefactor     .93272        .15327        .25687E-03   -.95007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12384e-08
Minuit parameter uncertainties:
  1  1.07247e-05
  2  1.17224
  3  4.68905
  4  0.576158
  5  1.97133
  6  7.00019
  7  0.000229622
  8  0.819496
  9  1.77354e-05
  10  1.84859e-05
  11  25.0568
  12  8.72284
  13  0.240605
  14  1.06938e-05
  15  7.67934e-08
  16  5.65128
  17  8.00029
  18  2.41102e-06
  19  7.61332e-06
  20  19.7234
  21  4.98745e-08
  22  3.47308
  23  18.6404
  24  0.226147
  25  0.153341
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  1.250e+00  2.406e-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:  9.327e-01  1.533e-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.612e+00  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 83.71
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.82e-07 +/- 5.44e-08
Energy Flux (Fixed Index): 1.06e-04 +/- 2.05e-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) = 11155.17709
delta logL = 0.940754114379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11155.1551273
delta logL = 0.962716842037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2194       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9457       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90764       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=   11155.16     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2197        .23781        .49044E-02    .91564E-04
   2  alpha         1.9455        .16733        .16176       -.45833E-04
   3  Normalizat    1.6702        .18779        .66095E-01    .29680E-05
   4  Prefactor     .90767        .12766        .45102E-01    .22309E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21965
  alpha      = 1.9455
  Normalizat = 1.67021
  Prefactor  = 0.907669
 **********
 **   18 **HESSE 
 **********

 FCN=   11155.16     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2197        .24521        .21693E-04   -1.5487    
   2  alpha         1.9455        .17763        .69609E-02   -.22366    
   3  Normalizat    1.6702        .22521        .29234E-03   -.73101    
   4  Prefactor     .90767        .15216        .26002E-03   -.95874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88175e-13
Minuit parameter uncertainties:
  1  0.245212
  2  0.177792
  3  0.225345
  4  0.152232
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17565': 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) = 11155.1551253
delta logL = 0.962718761193

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  1.220e+00  2.452e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  1.946e+00  1.778e-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:  9.077e-01  1.522e-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.670e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 85.09
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 1.95 +/- 0.18
Photon Flux (Free Index): 2.36e-07 +/- 5.73e-08
Energy Flux (Free Index): 1.29e-04 +/- 3.30e-05

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/17565/cmap_HighResolution_241920001_242179201_4FGL_J1256.1-0547_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.82e-07', energy_flux2='1.29e-04', photon_flux_error='5.44e-08', dlogl='9.63e-01', energy_flux='1.06e-04', photon_flux2='2.36e-07', job_status='DONE', time_completed='2021-09-06 11:00:39.969617', photon_index_error2='0.18', photon_index2='1.95', ts='83.71', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='3.30e-05', EG='1.61', time_epoch_completed='1630951239.97', return_code='0', job_id='17565', GAL2='0.91', EG2='1.67', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='5.73e-08', ts2='85.09', photon_index='2.20' WHERE bin_id='10' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:00:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 17565: <4FGL_J1256.1-0547_daily_bin10> in cluster <slac> Done

Job <4FGL_J1256.1-0547_daily_bin10> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep  6 10:45:30 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 10:45:32 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:45:32 2021
Terminated at Mon Sep  6 11:00:40 2021
Results reported at Mon Sep  6 11:00:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin10 194.042 -5.7887 241920001 242179201 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 :                                   892.00 sec.
    Max Memory :                                 977 MB
    Average Memory :                             347.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            910 sec.

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

