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


Performing analysis on: 4FGL_J1256.1-0547_daily_bin431
RA = 194.042, Dec = -5.7887
tmin = 351043201, tmax = 351302401
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='20755', job_status='RUN', time_executed='2021-09-06 10:59:12.639499', time_epoch_executed='1630951152.64' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20755

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20755/ft1_4FGL_J1256.1-0547_daily_bin431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20755/ft1_4FGL_J1256.1-0547_daily_bin431.fits outfile=/scratch/kocevski/20755/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin431.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=351043201.0 tmax=351302401.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.43
user 3.23
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/20755/ft1_filtered_4FGL_J1256.1-0547_daily_bin431.fits" evtable="EVENTS" scfile=/scratch/kocevski/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits sctable="SC_DATA" outfile=/scratch/kocevski/20755/ltcube_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.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/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits
.....................!
real 12.53
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20755/ft1_filtered_4FGL_J1256.1-0547_daily_bin431.fits evtable="EVENTS" scfile=/scratch/kocevski/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits sctable="SC_DATA" expcube=/scratch/kocevski/20755/ltcube_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.fits outfile=/scratch/kocevski/20755/expmap_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.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/20755/ltcube_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.fits
.....................!
real 192.21
user 185.97
sys 5.56

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/20755/ft1_filtered_4FGL_J1256.1-0547_daily_bin431.fits scfile=/scratch/kocevski/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits outfile=/scratch/kocevski/20755/cmap_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20755/ft1_filtered_4FGL_J1256.1-0547_daily_bin431.fits scfile=/scratch/kocevski/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits outfile=/scratch/kocevski/20755/cmap_HighResolution_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/20755/ft1_filtered_4FGL_J1256.1-0547_daily_bin431.fits evtable="EVENTS" scfile=/scratch/kocevski/20755/ft2_4FGL_J1256.1-0547_daily_bin431.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/20755/Model_4FGL_J1256.1-0547_daily_bin431.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/20755/ft1_filtered_4FGL_J1256.1-0547_daily_bin431.fits.....................!
real 57.32
user 55.74
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8325       1.0000         .10000E-03   10000.    
     4 'norm      '    .62298       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6087       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8346       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0184       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.0394       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.791       1.0000         .10000E-03   10000.    
    13 'norm      '    .75967       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.1326       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.770       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1942       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1522       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2154       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=   6832.095     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2862 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5562       -.12397E-07** at limit **
   2  norm          .10000E-03    .81436       -.15107E-08** at limit **
   3  Prefactor     7.8322        7.1362       -.35208E-06   -.19714E-04
   4  norm          .62309        .56892        .83814E-07   -.18299E-04
   5  Prefactor     6.6088        2.8030       -.85165E-07   -.14351E-04
   6  Prefactor     .10000E-03    2.3351       -.77224E-08** at limit **
   7  Prefactor     1.8368        19.508        .13474E-04    .51559E-05
   8  norm          2.0184        1.9531        .13288E-06   -.53787E-04
   9  Prefactor     8.0393        7.1882        .13034E-06   -.38031E-04
  10  Prefactor     .10000E-03    7.6591        .15552E-06** at limit **
  11  Prefactor     .10000E-03    20.746       -.74951E-07** at limit **
  12  norm          12.792        17.344        .40877E-07   -.66660E-05
  13  norm          .75961        .24540       -.40103E-08   -.14633E-02
  14  Prefactor     .10000E-03    34.919        .88205E-06** at limit **
  15  norm          .10000E-03    11.483        .19584E-06** at limit **
  16  norm          9.1317        9.4614       -.70572E-07   -.70403E-04
  17  Prefactor     .10000E-03    9.7300       -.59808E-06** at limit **
  18  Prefactor     12.768        17.184        .24466E-06   -.10417E-03
  19  Prefactor     1.1843        22.134        .30299E-05    .36790E-04
  20  Prefactor     .10000E-03    32.758        .19848E-06** at limit **
  21  norm          .10000E-03    .44911       -.21377E-07** at limit **
  22  norm          .10000E-03    3.1771       -.12867E-07** at limit **
  23  norm          .10000E-03    25.382       -.10810E-05** at limit **
  24  Normalizat    1.1524        .24665       -.21419E-05   -.61000E-04
  25  Prefactor     1.2152        .15851       -.81540E-07   -.14220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.83223
  norm       = 0.623088
  Prefactor  = 6.60885
  Prefactor  = 0.0001
  Prefactor  = 1.83681
  norm       = 2.01838
  Prefactor  = 8.0393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.7924
  norm       = 0.759612
  Prefactor  = 0.000100002
  norm       = 0.000100003
  norm       = 9.13168
  Prefactor  = 0.000100001
  Prefactor  = 12.768
  Prefactor  = 1.18426
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100002
  Normalizat = 1.15242
  Prefactor  = 1.21519
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.095     FROM HESSE     STATUS=OK           425 CALLS     3287 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5677        .17229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .82229        .72832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8322        7.1391        .14328E-03   -1.5148    
   4  norm          .62309        .54482        .55012E-03   -1.5550    
   5  Prefactor     6.6088        2.8060        .84327E-04   -1.5194    
   6  Prefactor     .10000E-03    2.3368        .12335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8368        19.582        .15403E-02   -1.5437    
   8  norm          2.0184        1.9354        .10692E-03   -1.5424    
   9  Prefactor     8.0393        7.1876        .14141E-03   -1.5141    
  10  Prefactor     .10000E-03    7.6631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.792        17.342        .11200E-03   -1.4992    
  13  norm          .75961        .24508        .22195E-04   -1.5534    
  14  Prefactor     .10000E-03    35.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.1317        9.4532        .13262E-03   -1.5104    
  17  Prefactor     .10000E-03    9.8748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.768        17.230        .11209E-03   -1.4993    
  19  Prefactor     1.1843        22.436        .41629E-03   -1.5490    
  20  Prefactor     .10000E-03    33.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .46755        .10812E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.2214        .14374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    25.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1524        .29511        .32804E-03   -.88086    
  25  Prefactor     1.2152        .19191        .22275E-03   -.85865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55655e-09
Minuit parameter uncertainties:
  1  1.36371e-06
  2  1.6441e-07
  3  7.13991
  4  0.544822
  5  2.80603
  6  3.05904e-07
  7  11.9994
  8  1.93544
  9  7.18838
  10  3.08837e-05
  11  1.74675e-05
  12  17.3491
  13  0.245083
  14  0.000477156
  15  0.000354987
  16  9.45471
  17  0.000207746
  18  17.2369
  19  10.3134
  20  7.39397e-05
  21  1.08595e-06
  22  4.56834e-07
  23  0.000424494
  24  0.29554
  25  0.192025
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  7.596e-01  2.451e-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.215e+00  1.920e-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.152e+00  2.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.23
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 1.72e-07 +/- 5.54e-08
Energy Flux (Fixed Index): 6.47e-05 +/- 2.09e-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) = 6832.08620059
delta logL = 0.00927437439714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6832.08579136
delta logL = 0.00968359867056

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75810       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1523       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2121       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=   6832.086     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75801        .28835        .50392E-02   -.27847E-04
   2  alpha         2.1523        .35005        .22802       -.10835E-04
   3  Normalizat    1.1595        .22863        .73934E-01    .21014E-04
   4  Prefactor     1.2121        .15796        .50443E-01    .94536E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.758008
  alpha      = 2.15228
  Normalizat = 1.15946
  Prefactor  = 1.21206
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.086     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75801        .24568        .22324E-04   -1.5534    
   2  alpha         2.1523        .31537        .95633E-02   -.13954    
   3  Normalizat    1.1595        .27584        .32720E-03   -.87865    
   4  Prefactor     1.2121        .18975        .22301E-03   -.85961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68034e-11
Minuit parameter uncertainties:
  1  0.245685
  2  0.316224
  3  0.276184
  4  0.189854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20755': 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) = 6832.08579129
delta logL = 0.00968366839061

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  7.580e-01  2.457e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.152e+00  3.162e-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.212e+00  1.899e-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.159e+00  2.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.17
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 2.15 +/- 0.32
Photon Flux (Free Index): 1.66e-07 +/- 6.63e-08
Energy Flux (Free Index): 6.63e-05 +/- 2.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/20755/cmap_HighResolution_351043201_351302401_4FGL_J1256.1-0547_daily_bin431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.72e-07', energy_flux2='6.63e-05', photon_flux_error='5.54e-08', dlogl='9.68e-03', energy_flux='6.47e-05', photon_flux2='1.66e-07', job_status='DONE', time_completed='2021-09-06 11:10:47.523177', photon_index_error2='0.32', photon_index2='2.15', ts='25.23', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='2.49e-05', EG='1.15', time_epoch_completed='1630951847.52', return_code='0', job_id='20755', GAL2='1.21', EG2='1.16', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='6.63e-08', ts2='25.17', photon_index='2.20' WHERE bin_id='431' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:10:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 20755: <4FGL_J1256.1-0547_daily_bin431> in cluster <slac> Done

Job <4FGL_J1256.1-0547_daily_bin431> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Mon Sep  6 10:55:44 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 10:55:45 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:55:45 2021
Terminated at Mon Sep  6 11:10:48 2021
Results reported at Mon Sep  6 11:10:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin431 194.042 -5.7887 351043201 351302401 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 :                                   692.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

