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


Performing analysis on: 4FGL_J1256.1-0547_daily_bin1473
RA = 194.042, Dec = -5.7887
tmin = 621129601, tmax = 621388801
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='30451', job_status='RUN', time_executed='2021-09-06 11:21:24.709787', time_epoch_executed='1630952484.71' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/30451

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/30451/ft1_4FGL_J1256.1-0547_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/30451/ft1_4FGL_J1256.1-0547_daily_bin1473.fits outfile=/scratch/kocevski/30451/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin1473.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=621129601.0 tmax=621388801.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.09
user 2.88
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.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/30451/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin1473.fits evtable="EVENTS" outfile="/scratch/kocevski/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/30451/ltcube_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.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/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits
.....................!
real 12.77
user 12.19
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/30451/ltcube_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.fits outfile=/scratch/kocevski/30451/expmap_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.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/30451/ltcube_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.fits
.....................!
real 191.01
user 185.50
sys 4.81

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/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits scfile=/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits outfile=/scratch/kocevski/30451/cmap_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits scfile=/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits outfile=/scratch/kocevski/30451/cmap_HighResolution_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/30451/ft2_4FGL_J1256.1-0547_daily_bin1473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/30451/Model_4FGL_J1256.1-0547_daily_bin1473.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/30451/ft1_filtered_4FGL_J1256.1-0547_daily_bin1473.fits.....................!
real 50.24
user 48.69
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.836       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7630       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0284       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.6785       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.9664       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.127       1.0000         .10000E-03   10000.    
    15 'norm      '    .10071E-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 '    .89316E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.147       1.0000         .10000E-03   10000.    
    21 'norm      '    .22294E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80935       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2304       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=   5710.253     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     3027 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.786        47.731        .19517E-04   -.14239E-03
   2  norm          3.3755        8.1121       -.75789E-05   -.50611E-03
   3  Prefactor     .10000E-03    2.8078       -.14786E-06** at limit **
   4  norm          3.4797        1.4461       -.29933E-06    .13229E-03
   5  Prefactor     6.7629        2.4544       -.39009E-08    .10331E-03
   6  Prefactor     5.0216        15.330       -.21390E-06   -.59851E-04
   7  Prefactor     .10000E-03    6.7266       -.14776E-06** at limit **
   8  norm          2.6784        2.4138        .83370E-09    .21366E-04
   9  Prefactor     .10000E-03    16.809        .17184E-06** at limit **
  10  Prefactor     .10000E-03    53.046        .14209E-05** at limit **
  11  Prefactor     .10000E-03    43.022        .14433E-06** at limit **
  12  norm          .10000E-03    141.33        .13228E-05** at limit **
  13  norm          2.9662        .48661       -.53282E-07    .73587E-03
  14  Prefactor     13.057        57.029        .16788E-04   -.61135E-04
  15  norm          .10000E-03    13.928        .62022E-07** at limit **
  16  norm          .10000E-03    5.1953       -.60315E-07** at limit **
  17  Prefactor     .10000E-03    3.0915       -.18597E-07** at limit **
  18  Prefactor     .11537E-03    21.325       -.25370E-05** at limit **
  19  Prefactor     .10000E-03    12.485        .35873E-06** at limit **
  20  Prefactor     28.132        19.716       -.60162E-05    .36959E-03
  21  norm          .10000E-03    .54920        .14383E-07** at limit **
  22  norm          .10000E-03    2.2796        .35020E-06** at limit **
  23  norm          .10000E-03    10.823       -.19956E-08** at limit **
  24  Normalizat    .80929        .27013        .17902E-06    .12611E-03
  25  Prefactor     1.2304        .17236        .42147E-06    .15534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7861
  norm       = 3.37551
  Prefactor  = 0.0001
  norm       = 3.4797
  Prefactor  = 6.7629
  Prefactor  = 5.02164
  Prefactor  = 0.0001
  norm       = 2.67842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.96618
  Prefactor  = 13.0573
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000115368
  Prefactor  = 0.0001
  Prefactor  = 28.1318
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.809291
  Prefactor  = 1.23041
 **********
 **   18 **HESSE 
 **********

 FCN=   5710.253     FROM HESSE     STATUS=OK           425 CALLS     3452 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.786        48.666        .75934E-04   -1.4653    
   2  norm          3.3755        8.3197        .22049E-03   -1.5340    
   3  Prefactor     .10000E-03    2.8197        .12364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4797        1.4453        .54565E-04   -1.5335    
   5  Prefactor     6.7629        2.4558        .69474E-04   -1.5188    
   6  Prefactor     5.0216        15.298        .17932E-03   -1.5260    
   7  Prefactor     .10000E-03    6.7539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6784        2.4150        .10765E-03   -1.5381    
   9  Prefactor     .10000E-03    16.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    53.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    43.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    143.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9662        .48813        .19883E-04   -1.5364    
  14  Prefactor     13.057        56.453        .11055E-03   -1.4985    
  15  norm          .10000E-03    14.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.2019        .16822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.0955        .12975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11537E-03    27.543        .92591E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.960        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.132        19.562        .75514E-04   -1.4647    
  21  norm          .10000E-03    3.9939        .10839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.3013        .11129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    10.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .80929        .31312        .39637E-03   -.99725    
  25  Prefactor     1.2304        .20128        .21942E-03   -.85401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43121e-09
Minuit parameter uncertainties:
  1  48.7356
  2  8.32257
  3  9.16473e-07
  4  1.4453
  5  2.45587
  6  15.3098
  7  1.08658e-07
  8  2.41511
  9  4.13865e-05
  10  0.000113899
  11  1.32083e-05
  12  0.000440963
  13  0.488128
  14  54.3871
  15  6.48548e-05
  16  3.1088e-07
  17  1.13256e-05
  18  0.0411659
  19  0.00010027
  20  19.5665
  21  1.05488e-05
  22  6.74854e-05
  23  1.04668e-07
  24  0.31382
  25  0.201402
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  2.966e+00  4.881e-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:  1.230e+00  2.014e-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:  8.093e-01  3.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 129.04
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 6.70e-07 +/- 1.10e-07
Energy Flux (Fixed Index): 2.52e-04 +/- 4.15e-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) = 5710.03129413
delta logL = 0.221573395593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5710.02168712
delta logL = 0.231180405151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9549       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0827       1.0000          .0000       5.0000    
     3 'Normalizat'    .85928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2098       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=   5710.022     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9549        .49264        .45759E-02   -.10020E-02
   2  alpha         2.0827        .16435        .10811        .11921E-03
   3  Normalizat    .85936        .26184        .87237E-01    .63229E-04
   4  Prefactor     1.2098        .17108        .50022E-01   -.52508E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.95491
  alpha      = 2.08269
  Normalizat = 0.859356
  Prefactor  = 1.20976
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9549        .49208        .20226E-04   -1.5364    
   2  alpha         2.0827        .16604        .47314E-03   -.16771    
   3  Normalizat    .85936        .30842        .38635E-03   -.97903    
   4  Prefactor     1.2098        .20084        .22113E-03   -.86031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13908e-10
Minuit parameter uncertainties:
  1  0.492078
  2  0.166167
  3  0.309056
  4  0.200964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/30451': 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) = 5710.02168704
delta logL = 0.23118048942

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  2.955e+00  4.921e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.083e+00  1.662e-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:  1.210e+00  2.010e-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:  8.594e-01  3.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 128.05
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 2.08 +/- 0.17
Photon Flux (Free Index): 6.19e-07 +/- 1.28e-07
Energy Flux (Free Index): 2.72e-04 +/- 5.59e-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/30451/cmap_HighResolution_621129601_621388801_4FGL_J1256.1-0547_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.70e-07', energy_flux2='2.72e-04', photon_flux_error='1.10e-07', dlogl='2.31e-01', energy_flux='2.52e-04', photon_flux2='6.19e-07', job_status='DONE', time_completed='2021-09-06 11:33:16.048168', photon_index_error2='0.17', photon_index2='2.08', ts='129.04', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='5.59e-05', EG='0.81', time_epoch_completed='1630953196.05', return_code='0', job_id='30451', GAL2='1.21', EG2='0.86', return_code2='0', energy_flux_error='4.15e-05', photon_flux_error2='1.28e-07', ts2='128.05', photon_index='2.20' WHERE bin_id='1473' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:33:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 30451: <4FGL_J1256.1-0547_daily_bin1473> in cluster <slac> Done

Job <4FGL_J1256.1-0547_daily_bin1473> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep  6 11:21:03 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 11:21:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 11:21:04 2021
Terminated at Mon Sep  6 11:33:16 2021
Results reported at Mon Sep  6 11:33:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin1473 194.042 -5.7887 621129601 621388801 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 :                                   629.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

