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


Performing analysis on: 4FGL_J1543.0+6130_daily_bin950
RA = 235.755, Dec = 61.5033
tmin = 485568001, tmax = 485827201
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='666673', job_status='RUN', time_executed='2021-09-12 11:01:09.683195', time_epoch_executed='1631469669.68' WHERE source_name='4FGL J1543.0+6130' and cadence='daily' and bin_id='950'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666673

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666673/ft1_4FGL_J1543.0+6130_daily_bin950.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666673/ft1_4FGL_J1543.0+6130_daily_bin950.fits outfile=/scratch/kocevski/666673/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin950.fits ra=235.755 dec=61.5033 rad=12.0 tmin=485568001.0 tmax=485827201.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 4.12
user 3.86
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.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/666673/ft1_filteredMKT_4FGL_J1543.0+6130_daily_bin950.fits evtable="EVENTS" outfile="/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.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.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits" evtable="EVENTS" scfile=/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits sctable="SC_DATA" outfile=/scratch/kocevski/666673/ltcube_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.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/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits
.....................!
real 14.74
user 14.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits sctable="SC_DATA" expcube=/scratch/kocevski/666673/ltcube_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.fits outfile=/scratch/kocevski/666673/expmap_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.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/666673/ltcube_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.fits
.....................!
real 192.81
user 186.87
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 224 point sources and 0 extended sources

Setting source of interest to:
4FGL J1543.0+6130 @ 235.755 61.5033

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits scfile=/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits outfile=/scratch/kocevski/666673/cmap_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.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=235.755 yref=61.5033 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits scfile=/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits outfile=/scratch/kocevski/666673/cmap_HighResolution_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.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=235.755 yref=61.5033 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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666673/Model_4FGL_J1543.0+6130_daily_bin950.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/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits.....................!
real 61.83
user 60.40
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits', '/scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits', expMap='/scratch/kocevski/666673/expmap_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.fits', expCube='/scratch/kocevski/666673/ltcube_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666673/Model_4FGL_J1543.0+6130_daily_bin950.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.0+6130'

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  6.436e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/666673/ft1_filtered_4FGL_J1543.0+6130_daily_bin950.fits
Spacecraft file(s): /scratch/kocevski/666673/ft2_4FGL_J1543.0+6130_daily_bin950.fits
Exposure map: /scratch/kocevski/666673/expmap_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.fits
Exposure cube: /scratch/kocevski/666673/ltcube_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666673/Model_4FGL_J1543.0+6130_daily_bin950.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) = 7262.64776827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0022       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.445       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1767       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.188       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4242       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11247E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.857       1.0000         .10000E-03   10000.    
    11 'norm      '    4.8443       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.279       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    17.690       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10348E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9544       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    12.677       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .28117       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .31545E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.1645       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2627       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .78866       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7262.644     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3368 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.398       -.31278E-05** at limit **
   2  Prefactor     .10000E-03    116.50       -.49553E-05** at limit **
   3  Prefactor     3.9999        15.737        .25919E-06    .60732E-05
   4  Prefactor     12.441        30.263        .11088E-06    .19626E-05
   5  Prefactor     3.1750        44.094        .11497E-05    .46485E-04
   6  Prefactor     17.180        27.830        .23109E-06    .44104E-04
   7  Prefactor     4.4229        7.1108        .80907E-07    .14089E-04
   8  Prefactor     .10000E-03    2.6867       -.33678E-08** at limit **
   9  Prefactor     .10259E-03    19.372       -.30411E-05** at limit **
  10  Prefactor     21.861        22.421        .24898E-06    .15253E-03
  11  norm          4.8440        2.8217        .50255E-07    .14209E-03
  12  Prefactor     18.255        70.322        .45130E-05    .21862E-04
  13  Prefactor     .10000E-03    8.9573        .25593E-06** at limit **
  14  norm          17.690        7.4997       -.20463E-06   -.86679E-04
  15  Prefactor     .10000E-03    65.339        .34272E-05** at limit **
  16  Prefactor     .10000E-03    7.0067        .22451E-07** at limit **
  17  norm          .10000E-03    4.6698        .32361E-08** at limit **
  18  Prefactor     4.9533        6.3686       -.17887E-06   -.56239E-05
  19  Prefactor     .10000E-03    47.286       -.18226E-05** at limit **
  20  norm          12.674        8.1825       -.29874E-06    .40586E-04
  21  Prefactor     .10000E-03    6.8380        .12930E-06** at limit **
  22  norm          .28064        .53577       -.91805E-07   -.54447E-03
  23  Prefactor     .10014E-03    6.1390       -.94193E-06** at limit **
  24  Prefactor     .10000E-03    43.810        .24673E-05** at limit **
  25  Prefactor     4.1611        8.8733        .33414E-05    .30991E-03
  26  Normalizat    1.2630        .16653       -.33050E-06    .37939E-03
  27  Prefactor     .78840        .15879       -.19289E-06    .21538E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.99987
  Prefactor  = 12.4415
  Prefactor  = 3.17502
  Prefactor  = 17.18
  Prefactor  = 4.4229
  Prefactor  = 0.0001
  Prefactor  = 0.000102586
  Prefactor  = 21.8613
  norm       = 4.84401
  Prefactor  = 18.2548
  Prefactor  = 0.0001
  norm       = 17.6899
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.95332
  Prefactor  = 0.0001
  norm       = 12.6736
  Prefactor  = 0.0001
  norm       = 0.280636
  Prefactor  = 0.000100143
  Prefactor  = 0.0001
  Prefactor  = 4.16112
  Normalizat = 1.26301
  Prefactor  = 0.788396
 **********
 **   18 **HESSE 
 **********

 FCN=   7262.644     FROM HESSE     STATUS=OK           508 CALLS     3876 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    116.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9999        15.660        .20159E-03   -1.5308    
   4  Prefactor     12.441        30.134        .11355E-03   -1.5002    
   5  Prefactor     3.1750        43.912        .22737E-03   -1.5352    
   6  Prefactor     17.180        27.872        .96607E-04   -1.4879    
   7  Prefactor     4.4229        7.1060        .19146E-03   -1.5287    
   8  Prefactor     .10000E-03    2.6997        .13635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10259E-03    22.661        .81956E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.861        22.462        .85675E-04   -1.4773    
  11  norm          4.8440        2.8204        .51933E-03   -1.5268    
  12  Prefactor     18.255        70.393        .93680E-04   -1.4853    
  13  Prefactor     .10000E-03    9.2325        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.690        7.5074        .95225E-04   -1.4867    
  15  Prefactor     .10000E-03    67.045        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2271        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.6707        .17986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9533        6.3908        .18069E-03   -1.5263    
  19  Prefactor     .10000E-03    47.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.674        8.1857        .11250E-03   -1.4996    
  21  Prefactor     .10000E-03    6.8582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28064        .48750        .80523E-03   -1.5602    
  23  Prefactor     .10014E-03    6.6494        .54599E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    44.715        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.1611        8.9346        .98751E-03   -1.5300    
  26  Normalizat    1.2630        .20019        .21915E-03   -.84677    
  27  Prefactor     .78840        .18777        .26941E-03   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27556e-09
Minuit parameter uncertainties:
  1  2.21774e-06
  2  0.000188043
  3  15.6765
  4  30.171
  5  23.6362
  6  27.8929
  7  7.10732
  8  5.54261e-07
  9  0.0153159
  10  22.4711
  11  2.82052
  12  70.7156
  13  4.04329e-05
  14  7.50782
  15  0.000250521
  16  6.67734e-06
  17  5.89527e-07
  18  6.3917
  19  5.30532e-05
  20  8.18642
  21  5.62246e-06
  22  0.487507
  23  0.00194981
  24  0.00013776
  25  8.9375
  26  0.200311
  27  0.187927
Done.

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

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  4.844e+00  2.821e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  7.884e-01  1.879e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.263e+00  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.27
Ra Dec: 235.755 61.503
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.67e-08 +/- 2.14e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.63e-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) = 7262.48776007
delta logL = 0.156097240497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7262.43814418
delta logL = 0.205713127239

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6667       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5046       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2802       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7262.438     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6656        2.4797        .52735E-02    .12339E-03
   2  alpha         1.5045        .37925        .35307       -.51379E-04
   3  Normalizat    1.2803        .15681        .49308E-01   -.10894E-04
   4  Prefactor     .78347        .15649        .43502E-01    .18592E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66561
  alpha      = 1.50455
  Normalizat = 1.28025
  Prefactor  = 0.783472
 **********
 **   18 **HESSE 
 **********

 FCN=   7262.438     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6656        3.7966        .10675E-03   -1.5325    
   2  alpha         1.5045        .65596        .13650E-01   -.40953    
   3  Normalizat    1.2803        .18486        .21799E-03   -.84158    
   4  Prefactor     .78347        .18421        .27038E-03   -1.0034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04687e-11
Minuit parameter uncertainties:
  1  3.79687
  2  0.665254
  3  0.184954
  4  0.184355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666673': 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) = 7262.43814408
delta logL = 0.205713222616

Extracting fit parameters...

4FGL J1543.0+6130
   Spectrum: LogParabola
327         norm:  3.666e+00  3.797e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        alpha:  1.505e+00  6.653e-01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  5.950e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  9.986e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  7.835e-01  1.844e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.280e+00  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.67
Ra Dec: 235.755 61.503
Photon Index (Free Index): 1.50 +/- 0.67
Photon Flux (Free Index): 1.94e-08 +/- 2.64e-08
Energy Flux (Free Index): 4.08e-05 +/- 4.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/666673/cmap_HighResolution_485568001_485827201_4FGL_J1543.0+6130_daily_bin950.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.67e-08', energy_flux2='4.08e-05', photon_flux_error='2.14e-08', dlogl='2.06e-01', energy_flux='2.80e-05', photon_flux2='1.94e-08', job_status='DONE', time_completed='2021-09-12 11:15:57.063441', photon_index_error2='0.67', photon_index2='1.50', ts='16.27', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='4.00e-05', EG='1.26', time_epoch_completed='1631470557.06', return_code='0', job_id='666673', GAL2='0.78', EG2='1.28', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='2.64e-08', ts2='16.67', photon_index='1.90' WHERE bin_id='950' AND source_name='4FGL J1543.0+6130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 11:15:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 666673: <4FGL_J1543.0+6130_daily_bin950> in cluster <slac> Done

Job <4FGL_J1543.0+6130_daily_bin950> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 11:00:26 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 11:00:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 11:00:57 2021
Terminated at Sun Sep 12 11:15:57 2021
Results reported at Sun Sep 12 11:15:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.0+6130_daily_bin950 235.755 61.5033 485568001 485827201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.0+6130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   879.28 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             326.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            931 sec.

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

