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


Performing analysis on: 4FGL_J1256.1-0547_daily_bin539
RA = 194.042, Dec = -5.7887
tmin = 379036801, tmax = 379296001
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='20936', job_status='RUN', time_executed='2021-09-06 10:58:39.922190', time_epoch_executed='1630951119.92' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='539'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20936/ft1_4FGL_J1256.1-0547_daily_bin539.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20936/ft2_4FGL_J1256.1-0547_daily_bin539.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20936/ft1_4FGL_J1256.1-0547_daily_bin539.fits outfile=/scratch/kocevski/20936/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin539.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=379036801.0 tmax=379296001.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.82
user 3.25
sys 0.18

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/20936/ft1_filtered_4FGL_J1256.1-0547_daily_bin539.fits" evtable="EVENTS" scfile=/scratch/kocevski/20936/ft2_4FGL_J1256.1-0547_daily_bin539.fits sctable="SC_DATA" outfile=/scratch/kocevski/20936/ltcube_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.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/20936/ft2_4FGL_J1256.1-0547_daily_bin539.fits
.....................!
real 12.99
user 12.58
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20936/ft1_filtered_4FGL_J1256.1-0547_daily_bin539.fits evtable="EVENTS" scfile=/scratch/kocevski/20936/ft2_4FGL_J1256.1-0547_daily_bin539.fits sctable="SC_DATA" expcube=/scratch/kocevski/20936/ltcube_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.fits outfile=/scratch/kocevski/20936/expmap_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.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/20936/ltcube_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.fits
.....................!
real 191.39
user 186.31
sys 4.51

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/20936/ft1_filtered_4FGL_J1256.1-0547_daily_bin539.fits scfile=/scratch/kocevski/20936/ft2_4FGL_J1256.1-0547_daily_bin539.fits outfile=/scratch/kocevski/20936/cmap_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.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.70
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20936/ft1_filtered_4FGL_J1256.1-0547_daily_bin539.fits scfile=/scratch/kocevski/20936/ft2_4FGL_J1256.1-0547_daily_bin539.fits outfile=/scratch/kocevski/20936/cmap_HighResolution_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.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.61
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3427       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.671       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11492E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2391       1.0000         .10000E-03   10000.    
     8 'norm      '    33.522       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.491       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25005       1.0000         .10000E-03   10000.    
    12 'norm      '    18.698       1.0000         .10000E-03   10000.    
    13 'norm      '    .35076       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4750       1.0000         .10000E-03   10000.    
    15 'norm      '    39.490       1.0000         .10000E-03   10000.    
    16 'norm      '    7.0914       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.9803       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.494       1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.468       1.0000         .10000E-03   10000.    
    20 'Prefactor '    62.291       1.0000         .10000E-03   10000.    
    21 'norm      '    1.4608       1.0000         .10000E-03   10000.    
    22 'norm      '    .11027E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6900       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90150       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9020.573     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     2482 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1942        .23601E-06** at limit **
   2  norm          .10000E-03    .61243       -.30856E-07** at limit **
   3  Prefactor     .10000E-03    1.7002        .22666E-06** at limit **
   4  norm          1.3427        .60455       -.36468E-07   -.82555E-04
   5  Prefactor     10.671        2.8290       -.18991E-06   -.12863E-03
   6  Prefactor     .10000E-03    38.061        .21439E-05** at limit **
   7  Prefactor     8.2359        1.5742        .16323E-07   -.21489E-03
   8  norm          33.521        4.2467        .17331E-07    .42018E-04
   9  Prefactor     .10000E-03    9.5919       -.61640E-06** at limit **
  10  Prefactor     21.492        3.3714       -.30923E-07   -.89700E-03
  11  Prefactor     .10005E-03    782.75       -.31885E-05** at limit **
  12  norm          18.702        4.8187       -.45683E-07   -.93657E-03
  13  norm          .35097        .18015       -.10690E-07   -.16621E-03
  14  Prefactor     3.5159        3.2455       -.96151E-09    .42436E-03
  15  norm          39.490        1.3484       -.12290E-07   -.29017E-02
  16  norm          7.0880        8.0900        .34740E-08   -.17566E-02
  17  Prefactor     9.9788        4.9281       -.47629E-07    .18715E-02
  18  Prefactor     27.487        2.0073        .94331E-08   -.57954E-03
  19  Prefactor     24.467        3.7317       -.19689E-07    .32518E-02
  20  Prefactor     62.259        23.944        .13784E-06   -.16289E-03
  21  norm          1.4605        1.2534        .95860E-07    .18297E-04
  22  norm          .10000E-03    2.3021       -.66751E-06** at limit **
  23  norm          .10000E-03    32.288        .21331E-06** at limit **
  24  Normalizat    1.6901        .28475        .62300E-06   -.42833E-04
  25  Prefactor     .90162        .18551       -.18495E-05   -.64355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.34274
  Prefactor  = 10.6712
  Prefactor  = 0.0001
  Prefactor  = 8.23587
  norm       = 33.5213
  Prefactor  = 0.0001
  Prefactor  = 21.4918
  Prefactor  = 0.000100053
  norm       = 18.7022
  norm       = 0.350971
  Prefactor  = 3.51587
  norm       = 39.4895
  norm       = 7.08797
  Prefactor  = 9.97883
  Prefactor  = 27.4873
  Prefactor  = 24.4668
  Prefactor  = 62.2587
  norm       = 1.46054
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.69015
  Prefactor  = 0.901618
 **********
 **   18 **HESSE 
 **********

 FCN=   9020.573     FROM HESSE     STATUS=OK           497 CALLS     2979 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1934        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .60162        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6984        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3427        .61220        .94531E-02   -1.5476    
   5  Prefactor     10.671        2.8407        .30662E-02   -1.5055    
   6  Prefactor     .10000E-03    5.6777        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.2359        12.753        .34918E-02   -1.5134    
   8  norm          33.521        4.2607        .17303E-02   -1.4549    
   9  Prefactor     .10000E-03    9.4116        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.492        22.942        .21600E-02   -1.4780    
  11  Prefactor     .10005E-03    34.825        .15308       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.702        23.427        .23156E-02   -1.4843    
  13  norm          .35097        .18524        .62850E-02   -1.5589    
  14  Prefactor     3.5159        148.23        .54231E-02   -1.5333    
  15  norm          39.490        15.899        .15946E-02   -1.4450    
  16  norm          7.0880        10.084        .37660E-02   -1.5175    
  17  Prefactor     9.9788        11.154        .31710E-02   -1.5076    
  18  Prefactor     27.487        22.899        .19101E-02   -1.4659    
  19  Prefactor     24.467        13.262        .20245E-02   -1.4718    
  20  Prefactor     62.259        25.171        .12710E-02   -1.4128    
  21  norm          1.4605        1.2700        .88997E-02   -1.5466    
  22  norm          .10000E-03    2.2989        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    32.186        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6901        .25244        .75891E-01   -.72567    
  25  Prefactor     .90162        .15549        .65560E-01   -.96085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99691e-08
Minuit parameter uncertainties:
  1  1.59456e-06
  2  4.15916e-08
  3  1.37649e-06
  4  0.6122
  5  2.84075
  6  4.60947e-05
  7  12.7575
  8  4.26072
  9  8.07492e-06
  10  22.9509
  11  0.00271052
  12  23.4388
  13  0.185243
  14  45.7788
  15  15.9006
  16  10.0862
  17  11.1562
  18  22.9061
  19  13.2635
  20  25.1749
  21  1.27004
  22  4.90369e-06
  23  4.15004e-06
  24  0.252635
  25  0.155564
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  3.510e-01  1.852e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.196e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.366e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  4.660e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  9.016e-01  1.556e-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.690e+00  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.56
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 7.93e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 2.99e-05 +/- 1.58e-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) = 9018.54713111
delta logL = 2.02591486422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9018.50405081
delta logL = 2.06899516768

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25302       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4056       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87326       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=   9018.504     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25289        .13524        .52352E-02   -.10865E-03
   2  alpha         1.4058        .26352        .24736       -.71337E-04
   3  Normalizat    1.7486        .23209        .74843E-01    .45704E-05
   4  Prefactor     .87318        .15363        .66440E-01    .21545E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.252889
  alpha      = 1.40582
  Normalizat = 1.74859
  Prefactor  = 0.873184
 **********
 **   18 **HESSE 
 **********

 FCN=   9018.504     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25289        .16174        .23103E-04   -1.5607    
   2  alpha         1.4058        .33986        .10140E-01   -.45301    
   3  Normalizat    1.7486        .27756        .33113E-03   -.71013    
   4  Prefactor     .87318        .18367        .29390E-03   -.97085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04405e-12
Minuit parameter uncertainties:
  1  0.161735
  2  0.341169
  3  0.27781
  4  0.183796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20936': 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) = 9018.50404905
delta logL = 2.06899692778

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  2.529e-01  1.617e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  1.406e+00  3.412e-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:  8.732e-01  1.838e-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.749e+00  2.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.71
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 1.41 +/- 0.34
Photon Flux (Free Index): 4.30e-08 +/- 2.63e-08
Energy Flux (Free Index): 8.08e-05 +/- 6.13e-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/20936/cmap_HighResolution_379036801_379296001_4FGL_J1256.1-0547_daily_bin539.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.93e-08', energy_flux2='8.08e-05', photon_flux_error='4.18e-08', dlogl='2.07e+00', energy_flux='2.99e-05', photon_flux2='4.30e-08', job_status='DONE', time_completed='2021-09-06 11:11:53.424440', photon_index_error2='0.34', photon_index2='1.41', ts='10.56', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='6.13e-05', EG='1.69', time_epoch_completed='1630951913.42', return_code='0', job_id='20936', GAL2='0.87', EG2='1.75', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='2.63e-08', ts2='14.71', photon_index='2.20' WHERE bin_id='539' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:11:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 20936: <4FGL_J1256.1-0547_daily_bin539> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin539 194.042 -5.7887 379036801 379296001 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 :                                   789.13 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             296.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            955 sec.

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

