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


Performing analysis on: 4FGL_J1256.1-0547_daily_bin268
RA = 194.042, Dec = -5.7887
tmin = 308793601, tmax = 309052801
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='19110', job_status='RUN', time_executed='2021-09-06 10:54:21.425691', time_epoch_executed='1630950861.43' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19110

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19110/ft1_4FGL_J1256.1-0547_daily_bin268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19110/ft1_4FGL_J1256.1-0547_daily_bin268.fits outfile=/scratch/kocevski/19110/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin268.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=308793601.0 tmax=309052801.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.50
user 3.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19110/ft1_filtered_4FGL_J1256.1-0547_daily_bin268.fits" evtable="EVENTS" scfile=/scratch/kocevski/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits sctable="SC_DATA" outfile=/scratch/kocevski/19110/ltcube_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.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/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits
.....................!
real 12.55
user 12.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19110/ft1_filtered_4FGL_J1256.1-0547_daily_bin268.fits evtable="EVENTS" scfile=/scratch/kocevski/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits sctable="SC_DATA" expcube=/scratch/kocevski/19110/ltcube_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.fits outfile=/scratch/kocevski/19110/expmap_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.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/19110/ltcube_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.fits
.....................!
real 190.24
user 185.51
sys 4.35

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/19110/ft1_filtered_4FGL_J1256.1-0547_daily_bin268.fits scfile=/scratch/kocevski/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits outfile=/scratch/kocevski/19110/cmap_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19110/ft1_filtered_4FGL_J1256.1-0547_daily_bin268.fits scfile=/scratch/kocevski/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits outfile=/scratch/kocevski/19110/cmap_HighResolution_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.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.63
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/19110/ft1_filtered_4FGL_J1256.1-0547_daily_bin268.fits evtable="EVENTS" scfile=/scratch/kocevski/19110/ft2_4FGL_J1256.1-0547_daily_bin268.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/19110/Model_4FGL_J1256.1-0547_daily_bin268.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/19110/ft1_filtered_4FGL_J1256.1-0547_daily_bin268.fits.....................!
real 64.33
user 62.46
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10702E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0307       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32885       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7484       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5590       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5308       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0612       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.0642       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11517E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .95780       1.0000         .10000E-03   10000.    
    16 'norm      '    54.123       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9680       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.197       1.0000         .10000E-03   10000.    
    19 'Prefactor '    45.517       1.0000         .10000E-03   10000.    
    20 'Prefactor '    75.960       1.0000         .10000E-03   10000.    
    21 'norm      '    7.8080       1.0000         .10000E-03   10000.    
    22 'norm      '    .12031E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10213E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.7259       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0047       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=   7795.458     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2517 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.946       -.41193E-06** at limit **
   2  norm          1.0270        2.4049        .32982E-06    .66106E-04
   3  Prefactor     .33339        4.8945        .16627E-06   -.82775E-04
   4  norm          3.7479        .89041        .94492E-08    .66326E-04
   5  Prefactor     7.5586        3.0307        .48022E-08   -.52391E-04
   6  Prefactor     .10000E-03    5.7202        .39839E-07** at limit **
   7  Prefactor     .10000E-03    4.9970       -.16709E-07** at limit **
   8  norm          7.5301        2.5647        .95747E-08   -.24879E-05
   9  Prefactor     7.0622        8.0498        .90047E-07   -.10585E-05
  10  Prefactor     .10000E-03    11.432        .54488E-06** at limit **
  11  Prefactor     .10000E-03    44.862       -.94087E-06** at limit **
  12  norm          .10000E-03    7.4717       -.44247E-07** at limit **
  13  norm          2.0642        .38009        .41512E-08   -.13168E-04
  14  Prefactor     .10000E-03    24.922        .49838E-06** at limit **
  15  norm          .94460        22.134        .26923E-05    .27640E-05
  16  norm          54.151        23.110       -.10030E-05    .41684E-04
  17  Prefactor     2.9272        18.632        .57619E-05   -.24644E-04
  18  Prefactor     12.182        19.407        .69666E-06   -.14963E-04
  19  Prefactor     45.526        18.198       -.38457E-06    .21961E-04
  20  Prefactor     75.942        30.913        .92260E-06    .18966E-04
  21  norm          7.8075        2.5776        .27816E-07   -.19608E-04
  22  norm          .10000E-03    3.7322       -.85026E-06** at limit **
  23  norm          .10000E-03    18.460       -.16297E-06** at limit **
  24  Normalizat    1.7265        .28761        .34098E-06   -.31567E-05
  25  Prefactor     1.0044        .18567       -.95940E-06    .11247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.02696
  Prefactor  = 0.333395
  norm       = 3.74792
  Prefactor  = 7.55856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.53009
  Prefactor  = 7.0622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.06419
  Prefactor  = 0.0001
  norm       = 0.944601
  norm       = 54.1511
  Prefactor  = 2.92723
  Prefactor  = 12.1818
  Prefactor  = 45.5258
  Prefactor  = 75.9421
  norm       = 7.80746
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.72651
  Prefactor  = 1.00445
 **********
 **   18 **HESSE 
 **********

 FCN=   7795.458     FROM HESSE     STATUS=OK           433 CALLS     2950 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0270        2.3506        .20139E-03   -1.5505    
   3  Prefactor     .33339        23.362        .35687E-02   -1.5592    
   4  norm          3.7479        .89575        .38178E-04   -1.5321    
   5  Prefactor     7.5586        3.1654        .89411E-04   -1.5158    
   6  Prefactor     .10000E-03    5.7577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.0083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5301        2.5673        .79078E-04   -1.5159    
   9  Prefactor     7.0622        8.0464        .15096E-03   -1.5176    
  10  Prefactor     .10000E-03    11.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    45.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    7.4724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0642        .38179        .22171E-04   -1.5421    
  14  Prefactor     .10000E-03    24.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .94460        22.797        .52063E-03   -1.5514    
  16  norm          54.151        23.045        .54521E-04   -1.4235    
  17  Prefactor     2.9272        18.748        .11784E-02   -1.5366    
  18  Prefactor     12.182        19.436        .11470E-03   -1.5010    
  19  Prefactor     45.526        18.219        .59428E-04   -1.4357    
  20  Prefactor     75.942        30.978        .23036E-03   -1.3963    
  21  norm          7.8075        2.5825        .77171E-04   -1.5149    
  22  norm          .10000E-03    3.8478        .16788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    18.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.7265        .35032        .36122E-03   -.71598    
  25  Prefactor     1.0044        .22312        .30043E-03   -.92581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47855e-08
Minuit parameter uncertainties:
  1  1.33758e-05
  2  2.35083
  3  5.58308
  4  0.895758
  5  3.16551
  6  1.57253e-06
  7  9.53433e-07
  8  2.56733
  9  8.04765
  10  1.05392e-05
  11  2.99015e-05
  12  1.01991e-07
  13  0.381793
  14  1.94332e-05
  15  9.28441
  16  23.0486
  17  14.8226
  18  19.4464
  19  18.221
  20  30.9845
  21  2.58253
  22  6.84719e-05
  23  2.93557e-06
  24  0.350824
  25  0.223326
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  2.064e+00  3.818e-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.004e+00  2.233e-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.727e+00  3.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 100.63
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 4.66e-07 +/- 8.62e-08
Energy Flux (Fixed Index): 1.76e-04 +/- 3.25e-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) = 7794.7223454
delta logL = 0.736153812295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7794.69172458
delta logL = 0.76677463063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9985       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4493       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6241       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0504       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=   7794.692     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      204 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9987        .56120        .47072E-02    .18551E-04
   2  alpha         2.4494        .30819        .14699        .25408E-04
   3  Normalizat    1.6244        .28023        .83414E-01    .88087E-05
   4  Prefactor     1.0502        .18276        .66578E-01    .13054E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99866
  alpha      = 2.44939
  Normalizat = 1.62435
  Prefactor  = 1.0502
 **********
 **   18 **HESSE 
 **********

 FCN=   7794.692     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .39E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9987        .37077        .20812E-04   -1.5425    
   2  alpha         2.4494        .20803        .63935E-03   -.20244E-01
   3  Normalizat    1.6244        .34035        .36922E-03   -.74342    
   4  Prefactor     1.0502        .22042        .29451E-03   -.91074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89859e-16
Minuit parameter uncertainties:
  1  0.370771
  2  0.208269
  3  0.340837
  4  0.220606
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19110': 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) = 7794.69172397
delta logL = 0.766775246952

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  1.999e+00  3.708e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.449e+00  2.083e-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.050e+00  2.206e-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.624e+00  3.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 101.00
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 2.45 +/- 0.21
Photon Flux (Free Index): 5.49e-07 +/- 1.16e-07
Energy Flux (Free Index): 1.58e-04 +/- 3.00e-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/19110/cmap_HighResolution_308793601_309052801_4FGL_J1256.1-0547_daily_bin268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.66e-07', energy_flux2='1.58e-04', photon_flux_error='8.62e-08', dlogl='7.67e-01', energy_flux='1.76e-04', photon_flux2='5.49e-07', job_status='DONE', time_completed='2021-09-06 11:06:32.992072', photon_index_error2='0.21', photon_index2='2.45', ts='100.63', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='3.00e-05', EG='1.73', time_epoch_completed='1630951592.99', return_code='0', job_id='19110', GAL2='1.05', EG2='1.62', return_code2='0', energy_flux_error='3.25e-05', photon_flux_error2='1.16e-07', ts2='101.00', photon_index='2.20' WHERE bin_id='268' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:06:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 19110: <4FGL_J1256.1-0547_daily_bin268> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin268 194.042 -5.7887 308793601 309052801 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 :                                   728.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             258.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            960 sec.

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

