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


Performing analysis on: 4FGL_J1256.1-0547_daily_bin764
RA = 194.042, Dec = -5.7887
tmin = 437356801, tmax = 437616001
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='25319', job_status='RUN', time_executed='2021-09-06 11:05:45.781087', time_epoch_executed='1630951545.78' WHERE source_name='4FGL J1256.1-0547' and cadence='daily' and bin_id='764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25319

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25319/ft1_4FGL_J1256.1-0547_daily_bin764.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25319/ft1_4FGL_J1256.1-0547_daily_bin764.fits outfile=/scratch/kocevski/25319/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin764.fits ra=194.042 dec=-5.7887 rad=12.0 tmin=437356801.0 tmax=437616001.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.55
user 5.29
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.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/25319/ft1_filteredMKT_4FGL_J1256.1-0547_daily_bin764.fits evtable="EVENTS" outfile="/scratch/kocevski/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.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.51
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.fits" evtable="EVENTS" scfile=/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits sctable="SC_DATA" outfile=/scratch/kocevski/25319/ltcube_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.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/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits
.....................!
real 12.26
user 11.83
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits sctable="SC_DATA" expcube=/scratch/kocevski/25319/ltcube_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.fits outfile=/scratch/kocevski/25319/expmap_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.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/25319/ltcube_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.fits
.....................!
real 190.48
user 185.02
sys 4.90

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/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.fits scfile=/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits outfile=/scratch/kocevski/25319/cmap_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.fits scfile=/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits outfile=/scratch/kocevski/25319/cmap_HighResolution_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.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.62
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/25319/ft2_4FGL_J1256.1-0547_daily_bin764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25319/Model_4FGL_J1256.1-0547_daily_bin764.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/25319/ft1_filtered_4FGL_J1256.1-0547_daily_bin764.fits....................!
real 63.59
user 62.21
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.636       1.0000         .10000E-03   10000.    
     2 'norm      '    .10592E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2259       1.0000         .10000E-03   10000.    
     4 'norm      '    1.4287       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3554       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .89289       1.0000         .10000E-03   10000.    
     8 'norm      '    10.895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    38.762       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0529       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7751       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.518       1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.8752       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9979       1.0000         .10000E-03   10000.    
    19 'Prefactor '    78.308       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0584       1.0000         .10000E-03   10000.    
    22 'norm      '    5.4515       1.0000         .10000E-03   10000.    
    23 'norm      '    48.814       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0633       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1545       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=   7832.939     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     3001 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.611        15.641        .47530E-07    .87177E-04
   2  norm          .10000E-03    2.9343       -.20770E-06** at limit **
   3  Prefactor     3.2250        4.8047       -.78898E-06   -.22573E-03
   4  norm          1.4289        .70194        .62373E-07    .34258E-03
   5  Prefactor     3.9908        2.1897       -.40426E-07    .18837E-03
   6  Prefactor     5.3562        11.374       -.36063E-06   -.35688E-04
   7  Prefactor     .99054        9.0291       -.12783E-05   -.40755E-03
   8  norm          10.897        3.5718        .35540E-06   -.61794E-05
   9  Prefactor     .10000E-03    10.153       -.20497E-05** at limit **
  10  Prefactor     38.737        47.237       -.30244E-04    .12586E-04
  11  Prefactor     7.0449        68.579       -.21933E-04    .14892E-06
  12  norm          .10000E-03    12.645        .31014E-05** at limit **
  13  norm          3.7753        .50221        .50497E-07    .46142E-03
  14  Prefactor     .10000E-03    43.147        .26955E-05** at limit **
  15  norm          11.519        9.7684       -.56612E-06   -.33448E-03
  16  norm          .10000E-03    8.6445        .63321E-06** at limit **
  17  Prefactor     8.8756        7.8181       -.21697E-06    .13752E-04
  18  Prefactor     7.9966        25.434       -.44684E-06   -.48898E-05
  19  Prefactor     78.313        16.863       -.14561E-06    .59397E-04
  20  Prefactor     .10000E-03    24.184       -.69713E-06** at limit **
  21  norm          2.0591        1.6443       -.16856E-06   -.55847E-03
  22  norm          5.4506        3.9055       -.32040E-06   -.13501E-03
  23  norm          48.788        41.043       -.25567E-04   -.90057E-05
  24  Normalizat    1.0630        .28700        .35534E-05    .13586E-03
  25  Prefactor     1.1546        .17276        .19795E-05    .16264E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6109
  norm       = 0.0001
  Prefactor  = 3.22503
  norm       = 1.4289
  Prefactor  = 3.99079
  Prefactor  = 5.35615
  Prefactor  = 0.99054
  norm       = 10.8966
  Prefactor  = 0.0001
  Prefactor  = 38.7372
  Prefactor  = 7.04493
  norm       = 0.0001
  norm       = 3.77527
  Prefactor  = 0.0001
  norm       = 11.5191
  norm       = 0.0001
  Prefactor  = 8.87562
  Prefactor  = 7.99659
  Prefactor  = 78.3127
  Prefactor  = 0.0001
  norm       = 2.0591
  norm       = 5.45061
  norm       = 48.7882
  Normalizat = 1.06297
  Prefactor  = 1.15461
 **********
 **   18 **HESSE 
 **********

 FCN=   7832.939     FROM HESSE     STATUS=OK           439 CALLS     3440 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.611        13.054        .12285E-03   -1.5056    
   2  norm          .10000E-03    5.3548        .24490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2250        4.7893        .22554E-03   -1.5349    
   4  norm          1.4289        .69686        .49530E-04   -1.5469    
   5  Prefactor     3.9908        2.1902        .93343E-04   -1.5308    
   6  Prefactor     5.3562        11.354        .17366E-03   -1.5245    
   7  Prefactor     .99054        34.169        .49285E-02   -1.5509    
   8  norm          10.897        3.5729        .90649E-04   -1.5048    
   9  Prefactor     .10000E-03    10.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     38.737        47.277        .64378E-04   -1.4462    
  11  Prefactor     7.0449        69.028        .15105E-03   -1.5177    
  12  norm          .10000E-03    12.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7753        .50612        .20975E-04   -1.5319    
  14  Prefactor     .10000E-03    43.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.519        9.7720        .59021E-03   -1.5029    
  16  norm          .10000E-03    8.7062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.8756        7.8157        .13454E-03   -1.5112    
  18  Prefactor     7.9966        25.562        .14178E-03   -1.5142    
  19  Prefactor     78.313        16.883        .45381E-04   -1.3936    
  20  Prefactor     .10000E-03    24.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0591        1.6338        .95394E-04   -1.5421    
  22  norm          5.4506        3.8986        .14209E-03   -1.5241    
  23  norm          48.788        41.061        .28698E-03   -1.4310    
  24  Normalizat    1.0630        .33628        .41871E-03   -.90950    
  25  Prefactor     1.1546        .20404        .26503E-03   -.87740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09046e-09
Minuit parameter uncertainties:
  1  13.0574
  2  4.60456e-05
  3  4.78983
  4  0.696866
  5  2.19024
  6  11.3587
  7  11.642
  8  3.57298
  9  9.64626e-05
  10  47.3229
  11  44.1706
  12  2.99766e-05
  13  0.506123
  14  2.25272e-05
  15  9.77337
  16  2.09979e-05
  17  7.81662
  18  25.5971
  19  16.8836
  20  5.88803e-05
  21  1.63382
  22  3.89877
  23  41.0845
  24  0.336962
  25  0.204181
Done.

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

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  3.775e+00  5.061e-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.155e+00  2.042e-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.063e+00  3.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 194.93
Ra Dec: 194.042 -5.789
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 8.53e-07 +/- 1.14e-07
Energy Flux (Fixed Index): 3.21e-04 +/- 4.31e-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) = 7831.91594238
delta logL = 1.02325670915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7831.89469782
delta logL = 1.04450127593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6588       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4028       1.0000          .0000       5.0000    
     3 'Normalizat'    .94419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2088       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=   7831.895     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6584        .57004        .45315E-02    .16800E-05
   2  alpha         2.4030        .16991        .10316        .18571E-04
   3  Normalizat    .94445        .27149        .99235E-01    .28085E-04
   4  Prefactor     1.2087        .17539        .58735E-01    .43038E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6584
  alpha      = 2.403
  Normalizat = 0.94445
  Prefactor  = 1.20869
 **********
 **   18 **HESSE 
 **********

 FCN=   7831.895     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .32E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6584        .48431        .20030E-04   -1.5325    
   2  alpha         2.4030        .14593        .45294E-03   -.38810E-01
   3  Normalizat    .94445        .31808        .43970E-03   -.94915    
   4  Prefactor     1.2087        .20490        .25972E-03   -.86064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16375e-14
Minuit parameter uncertainties:
  1  0.484308
  2  0.146012
  3  0.318719
  4  0.205032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25319': 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) = 7831.89469577
delta logL = 1.04450332641

Extracting fit parameters...

4FGL J1256.1-0547
   Spectrum: LogParabola
324         norm:  3.658e+00  4.843e-01  1.000e-04  1.000e+04 ( 1.000e-10)
325        alpha:  2.403e+00  1.460e-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.209e+00  2.050e-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:  9.445e-01  3.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 193.67
Ra Dec: 194.042 -5.789
Photon Index (Free Index): 2.40 +/- 0.15
Photon Flux (Free Index): 9.68e-07 +/- 1.44e-07
Energy Flux (Free Index): 2.90e-04 +/- 4.06e-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/25319/cmap_HighResolution_437356801_437616001_4FGL_J1256.1-0547_daily_bin764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.53e-07', energy_flux2='2.90e-04', photon_flux_error='1.14e-07', dlogl='1.04e+00', energy_flux='3.21e-04', photon_flux2='9.68e-07', job_status='DONE', time_completed='2021-09-06 11:18:51.753431', photon_index_error2='0.15', photon_index2='2.40', ts='194.93', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.06e-05', EG='1.06', time_epoch_completed='1630952331.75', return_code='0', job_id='25319', GAL2='1.21', EG2='0.94', return_code2='0', energy_flux_error='4.31e-05', photon_flux_error2='1.44e-07', ts2='193.67', photon_index='2.20' WHERE bin_id='764' AND source_name='4FGL J1256.1-0547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 11:18:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 25319: <4FGL_J1256.1-0547_daily_bin764> in cluster <slac> Done

Job <4FGL_J1256.1-0547_daily_bin764> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep  6 11:05:26 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 11:05:28 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:28 2021
Terminated at Mon Sep  6 11:18:52 2021
Results reported at Mon Sep  6 11:18:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1256.1-0547_daily_bin764 194.042 -5.7887 437356801 437616001 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 :                                   782.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             371.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

