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


Performing analysis on: 4FGL_J1256.1-0547_daily_bin728
RA = 194.042, Dec = -5.7887
tmin = 428025601, tmax = 428284801
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='25268', job_status='RUN', time_executed='2021-09-06 11:08:37.031018', time_epoch_executed='1630951717.03' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25268

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25268/ft1_4FGL_J1256.1-0547_daily_bin728.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25268/ft1_4FGL_J1256.1-0547_daily_bin728.fits outfile=/scratch/kocevski/25268/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin728.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=428025601.0 tmax=428284801.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 5.60
user 5.32
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25268/ft1_filtered_4FGL_J1256.1-0547_daily_bin728.fits" evtable="EVENTS" scfile=/scratch/kocevski/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits sctable="SC_DATA" outfile=/scratch/kocevski/25268/ltcube_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.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/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits
.....................!
real 12.87
user 12.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25268/ft1_filtered_4FGL_J1256.1-0547_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits sctable="SC_DATA" expcube=/scratch/kocevski/25268/ltcube_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.fits outfile=/scratch/kocevski/25268/expmap_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.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/25268/ltcube_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.fits
.....................!
real 191.07
user 185.01
sys 5.16

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/25268/ft1_filtered_4FGL_J1256.1-0547_daily_bin728.fits scfile=/scratch/kocevski/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits outfile=/scratch/kocevski/25268/cmap_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.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/25268/ft1_filtered_4FGL_J1256.1-0547_daily_bin728.fits scfile=/scratch/kocevski/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits outfile=/scratch/kocevski/25268/cmap_HighResolution_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.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/25268/ft1_filtered_4FGL_J1256.1-0547_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/25268/ft2_4FGL_J1256.1-0547_daily_bin728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25268/Model_4FGL_J1256.1-0547_daily_bin728.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/25268/ft1_filtered_4FGL_J1256.1-0547_daily_bin728.fits.....................!
real 67.25
user 65.77
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1401       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .83927       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.458       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    32.453       1.0000         .10000E-03   10000.    
    13 'norm      '    7.1285       1.0000         .10000E-03   10000.    
    14 'Prefactor '    75.021       1.0000         .10000E-03   10000.    
    15 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.514       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12417E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.7006       1.0000         .10000E-03   10000.    
    22 'norm      '    .14335E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6731       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0575       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=   7993.875     FROM MIGRAD    STATUS=CONVERGED    598 CALLS     2943 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.677       -.32791E-06** at limit **
   2  norm          2.1394        2.8652       -.36229E-06   -.52775E-03
   3  Prefactor     .10000E-03    2.4827       -.31110E-06** at limit **
   4  norm          .83913        .65756       -.14050E-06   -.85062E-03
   5  Prefactor     10.459        3.2650       -.77336E-07    .89399E-04
   6  Prefactor     .10000E-03    4.5592        .13308E-05** at limit **
   7  Prefactor     .10000E-03    5.3583       -.26462E-06** at limit **
   8  norm          .10000E-03    .94247       -.10840E-06** at limit **
   9  Prefactor     .10000E-03    5.8776       -.15875E-06** at limit **
  10  Prefactor     .10000E-03    90.376        .33942E-04** at limit **
  11  Prefactor     .10000E-03    106.01       -.35138E-04** at limit **
  12  norm          32.446        35.492       -.33799E-05    .77170E-05
  13  norm          7.1289        .67951        .46517E-06   -.14905E-03
  14  Prefactor     74.926        87.858       -.94867E-04    .30968E-04
  15  norm          .10000E-03    4.3569       -.18645E-05** at limit **
  16  norm          .10000E-03    3.7370       -.22247E-06** at limit **
  17  Prefactor     .10000E-03    4.1509        .71085E-06** at limit **
  18  Prefactor     11.512        17.517        .14430E-05    .19187E-04
  19  Prefactor     .10024E-03    5.2705       -.16256E-05** at limit **
  20  Prefactor     .10000E-03    10.498       -.54335E-05** at limit **
  21  norm          1.7005        1.6859        .24738E-07   -.43007E-03
  22  norm          .10002E-03    2.1706        .67170E-06** at limit **
  23  norm          .10000E-03    12.137        .26030E-05** at limit **
  24  Normalizat    1.6734        .28832        .47407E-05    .12046E-03
  25  Prefactor     1.0572        .17859       -.37480E-07    .36373E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.13938
  Prefactor  = 0.0001
  norm       = 0.839129
  Prefactor  = 10.4588
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 32.4461
  norm       = 7.12885
  Prefactor  = 74.9263
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.512
  Prefactor  = 0.000100239
  Prefactor  = 0.0001
  norm       = 1.70048
  norm       = 0.000100024
  norm       = 0.0001
  Normalizat = 1.67341
  Prefactor  = 1.05722
 **********
 **   18 **HESSE 
 **********

 FCN=   7993.875     FROM HESSE     STATUS=OK           427 CALLS     3370 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1394        2.8432        .16949E-03   -1.5415    
   3  Prefactor     .10000E-03    2.4877        .13755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .83913        .63384        .61421E-03   -1.5525    
   5  Prefactor     10.459        3.2672        .87642E-04   -1.5061    
   6  Prefactor     .10000E-03    4.5640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.3677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.8312        .16867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    91.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    106.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          32.446        35.482        .70338E-04   -1.4568    
  13  norm          7.1289        .68383        .20971E-04   -1.5174    
  14  Prefactor     74.926        87.907        .23178E-03   -1.3975    
  15  norm          .10000E-03    4.3592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7384        .16880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1585        .17787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.512        17.519        .11806E-03   -1.5029    
  19  Prefactor     .10024E-03    53.755        .38842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7005        1.6712        .10960E-03   -1.5447    
  22  norm          .10002E-03    9.5593        .25493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    12.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6734        .34780        .37753E-03   -.73015    
  25  Prefactor     1.0572        .21735        .29522E-03   -.90846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33605e-09
Minuit parameter uncertainties:
  1  2.83708e-05
  2  2.84335
  3  3.81037e-06
  4  0.633842
  5  3.26726
  6  5.67707e-06
  7  1.69644e-05
  8  1.40759e-05
  9  3.90204e-06
  10  0.000364381
  11  0.000348895
  12  35.5053
  13  0.683828
  14  88.0604
  15  8.07593e-05
  16  3.7049e-06
  17  8.19584e-06
  18  17.5265
  19  0.00718111
  20  2.30814e-05
  21  1.67122
  22  0.000966962
  23  2.3984e-06
  24  0.348311
  25  0.217527
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  7.129e+00  6.838e-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.057e+00  2.175e-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.673e+00  3.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 371.54
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 1.61e-06 +/- 1.54e-07
Energy Flux (Fixed Index): 6.07e-04 +/- 5.82e-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) = 7992.04203526
delta logL = 1.83284111302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7992.0414216
delta logL = 1.8334547745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8790       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1351       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=   7992.041     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8790        .73169        .38242E-02   -.10505E-02
   2  alpha         2.3927        .11367        .74081E-01    .56177E-04
   3  Normalizat    1.5003        .28448        .88622E-01    .70298E-05
   4  Prefactor     1.1351        .18000        .64661E-01   -.28304E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.87904
  alpha      = 2.39274
  Normalizat = 1.50035
  Prefactor  = 1.13507
 **********
 **   18 **HESSE 
 **********

 FCN=   7992.041     FROM HESSE     STATUS=OK            29 CALLS      237 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8790        .66675        .20049E-04   -1.5183    
   2  alpha         2.3927        .10464        .32657E-03   -.42916E-01
   3  Normalizat    1.5003        .35149        .39240E-03   -.77769    
   4  Prefactor     1.1351        .22111        .28600E-03   -.88353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50073e-11
Minuit parameter uncertainties:
  1  0.66675
  2  0.10467
  3  0.352062
  4  0.221286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25268': 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) = 7992.0414216
delta logL = 1.83345477481

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  6.879e+00  6.667e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.393e+00  1.047e-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.135e+00  2.213e-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.500e+00  3.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 375.59
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 2.39 +/- 0.10
Photon Flux (Free Index): 1.80e-06 +/- 1.92e-07
Energy Flux (Free Index): 5.46e-04 +/- 5.65e-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/25268/cmap_HighResolution_428025601_428284801_4FGL_J1256.1-0547_daily_bin728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.61e-06', energy_flux2='5.46e-04', photon_flux_error='1.54e-07', dlogl='1.83e+00', energy_flux='6.07e-04', photon_flux2='1.80e-06', job_status='DONE', time_completed='2021-09-06 11:21:52.733755', photon_index_error2='0.10', photon_index2='2.39', ts='371.54', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='5.65e-05', EG='1.67', time_epoch_completed='1630952512.73', return_code='0', job_id='25268', GAL2='1.14', EG2='1.50', return_code2='0', energy_flux_error='5.82e-05', photon_flux_error2='1.92e-07', ts2='375.59', photon_index='2.20' WHERE bin_id='728' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:21:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 25268: <4FGL_J1256.1-0547_daily_bin728> in cluster <slac> Done

Job <4FGL_J1256.1-0547_daily_bin728> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep  6 11:05:22 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 11:05:24 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:05:24 2021
Terminated at Mon Sep  6 11:21:53 2021
Results reported at Mon Sep  6 11:21:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin728 194.042 -5.7887 428025601 428284801 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 :                                   791.17 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             264.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

