aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 95 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1543.1+4209_daily_bin1746
RA = 235.799, Dec = 42.1549
tmin = 691891201, tmax = 692150401
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='731169', job_status='RUN', time_executed='2022-12-08 01:12:03.765044', time_epoch_executed='1670490723.77' WHERE source_name='4FGL J1543.1+4209' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731169

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731169/ft1_4FGL_J1543.1+4209_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731169/ft1_4FGL_J1543.1+4209_daily_bin1746.fits outfile=/scratch/kocevski/731169/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1746.fits ra=235.799 dec=42.1549 rad=12.0 tmin=691891201.0 tmax=692150401.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.70
user 4.46
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.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/731169/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.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.33
sys 0.16

Number of photons that the gtmktime cut: 708

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/731169/ltcube_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.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/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits
.....................!
real 11.89
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/731169/ltcube_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.fits outfile=/scratch/kocevski/731169/expmap_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.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/731169/ltcube_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.fits
.....................!
real 191.08
user 185.65
sys 5.10

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 200 point sources and 0 extended sources

Setting source of interest to:
4FGL J1543.1+4209 @ 235.799 42.1549

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits scfile=/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits outfile=/scratch/kocevski/731169/cmap_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.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.799 yref=42.1549 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits scfile=/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits outfile=/scratch/kocevski/731169/cmap_HighResolution_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.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.799 yref=42.1549 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731169/Model_4FGL_J1543.1+4209_daily_bin1746.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/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits.....................!
real 57.20
user 55.88
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits', '/scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits', expMap='/scratch/kocevski/731169/expmap_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.fits', expCube='/scratch/kocevski/731169/ltcube_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731169/Model_4FGL_J1543.1+4209_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1543.1+4209'

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  1.981e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  3.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/731169/ft1_filtered_4FGL_J1543.1+4209_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/731169/ft2_4FGL_J1543.1+4209_daily_bin1746.fits
Exposure map: /scratch/kocevski/731169/expmap_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.fits
Exposure cube: /scratch/kocevski/731169/ltcube_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731169/Model_4FGL_J1543.1+4209_daily_bin1746.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) = 7630.10586507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13542E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36801E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1189       1.0000          .0000       .10000E+07
     4 'norm      '    .40619E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .12768E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .97219E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.558       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29754E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .90196       1.0000          .0000       .10000E+07
    11 'Prefactor '    .31693E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .45295E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.107       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.4775       1.0000          .0000       .10000E+07
    15 'Prefactor '    .30141E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .46928E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    21.085       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17878E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .50682E-07   1.0000          .0000       .10000E+07
    20 'norm      '    .24746       1.0000          .0000       .10000E+07
    21 'norm      '    12.632       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.526       1.0000          .0000       .10000E+07
    23 'Prefactor '    .31009E-06   1.0000          .0000       .10000E+07
    24 'norm      '    65.828       1.0000          .0000       .10000E+07
    25 'Prefactor '    .98144       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.4454       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2939       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .67376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7630.089     FROM MIGRAD    STATUS=CONVERGED    239 CALLS     2628 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73076E-01    98.796       -.17749E-05** at limit **
   2  Prefactor     .11924        103.98        .47541E-05** at limit **
   3  Prefactor     5.1462        5.0063        .16197E-07    .10338E-02
   4  norm           .0000        1.4895        .11566E-07** at limit **
   5  norm           .0000        .86735        .12314E-08** at limit **
   6  Prefactor     .55511E-10    2.7432        .82814E-07** at limit **
   7  Prefactor     22.221        32.869        .47192E-06   -.10924E-01
   8  Prefactor     19.295        13.610       -.15371E-08   -.58511E-02
   9  Prefactor     .22204E-09    3.5866       -.52588E-07** at limit **
  10  norm          .90471        .79496        .68433E-09    .24118E-03
  11  Prefactor     .10214E-07    8.8437       -.15047E-07** at limit **
  12  norm          .26090E-08    12.904       -.15320E-06** at limit **
  13  Prefactor     25.216        6.9291        .23912E-07    .18339    
  14  Prefactor     11.867        70.290        .41665E-06    .28882E-01
  15  Prefactor      .0000        1.7443        .24225E-07** at limit **
  16  Prefactor     .22204E-09    3.4475       -.29007E-07** at limit **
  17  Prefactor     21.420        21.644       -.53124E-07   -.54614E-03
  18  Prefactor      .0000        1.9025        .21021E-07** at limit **
  19  Prefactor      .0000        1.8605       -.39156E-07** at limit **
  20  norm          .24787        .13914        .28298E-08** at limit **
  21  norm          12.624        11.077        .42186E-07   -.84947E-04
  22  Prefactor     20.515        18.186       -.11681E-06    .35211E-01
  23  Prefactor     .98432E-06    20.200        .50092E-06** at limit **
  24  norm          66.679        36.867       -.35150E-06    .66513E-01
  25  Prefactor     .97611        1.5088        .37062E-08    .94366E-04
  26  Prefactor     1.4449        1.3752        .80775E-08   -.18422E-04
  27  Normalizat    1.2912        .18769       -.97947E-06    .52756E-04
  28  Prefactor     .67430        .18087        .80334E-06    .31555E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0730765
  Prefactor  = 0.119238
  Prefactor  = 5.14618
  norm       = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 22.2214
  Prefactor  = 19.2946
  Prefactor  = 2.22045e-10
  norm       = 0.904708
  Prefactor  = 1.02141e-08
  norm       = 2.60902e-09
  Prefactor  = 25.2158
  Prefactor  = 11.867
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 21.4202
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.247869
  norm       = 12.6237
  Prefactor  = 20.5146
  Prefactor  = 9.84324e-07
  norm       = 66.6789
  Prefactor  = 0.97611
  Prefactor  = 1.44493
  Normalizat = 1.29123
  Prefactor  = 0.674297
 **********
 **   18 **HESSE 
 **********

 FCN=   7630.089     FROM HESSE     STATUS=OK           601 CALLS     3229 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73076E-01    32.456        .85174E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11924        7.9899        .59895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.1462        5.0261        .44414E-03   -1.5663    
   4  norm           .0000        1.4353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .86909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    2.7414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.221        52.868        .20184E-03   -1.5614    
   8  Prefactor     19.295        13.582        .22812E-03   -1.5620    
   9  Prefactor     .22204E-09    3.5774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .90471        .79688        .45625E-03   -1.5689    
  11  Prefactor     .10214E-07    8.7877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26090E-08    12.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.216        21.546        .19961E-03   -1.5608    
  14  Prefactor     11.867        78.095        .39410E-03   -1.5639    
  15  Prefactor      .0000        1.7384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22204E-09    3.4511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.420        21.711        .21784E-03   -1.5615    
  18  Prefactor      .0000        1.8912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.8527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .24787        .14253        .47926E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.624        11.103        .28158E-03   -1.5637    
  22  Prefactor     20.515        18.601        .22079E-03   -1.5617    
  23  Prefactor     .98432E-06    1.7284        .64498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          66.679        50.186        .12326E-03   -1.5545    
  25  Prefactor     .97611        1.5389        .43108E-03   -1.5688    
  26  Prefactor     1.4449        1.3715        .89640E-03   -1.5684    
  27  Normalizat    1.2912        .15796        .48622E-01   -.83829    
  28  Prefactor     .67430        .15166        .64298E-01   -1.0454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38695e-06
Minuit parameter uncertainties:
  1  3.08014
  2  1.95213
  3  5.0261
  4  4.04828e-06
  5  2.86566e-07
  6  2.23027e-05
  7  52.8691
  8  13.5817
  9  5.67126e-05
  10  0.796883
  11  0.000598571
  12  0.000366006
  13  21.5462
  14  60.8866
  15  3.42689e-07
  16  5.83298e-05
  17  21.7114
  18  5.18319e-07
  19  9.78233e-06
  20  0.142528
  21  11.1033
  22  18.6006
  23  0.00260871
  24  50.1866
  25  1.53894
  26  1.37149
  27  0.158024
  28  0.151748
Done.

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

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  2.522e+01  2.155e+01  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  1.981e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  3.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  6.743e-01  1.517e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.291e+00  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.08
Ra Dec: 235.799 42.155
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.57e-08 +/- 2.19e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.59e-05

TS (Fixed Index): 2.08
Ra Dec: 235.799 42.155
Photon Flux Upper Limit: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731169/likelihoodResults_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.txt

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) = 7629.41646078
delta logL = 0.672396055955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7629.39898163
delta logL = 0.689875207077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8101       1.0000          .0000       .10000E+07
     2 'Index     '    2.7681       1.0000          .0000       10.000    
     3 'Normalizat'    1.2456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70089       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7629.399     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      269 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7926        70.384        .38424E-03    .33211E-02
   2  Index         2.7693        1.8285        .99483E-01    .22163E-03
   3  Normalizat    1.2455        .51877E-01    .49351E-01   -.71908E-06
   4  Prefactor     .70085        .46923E-01    .63155E-01    .15367E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.79265
  Index      = 2.76927
  Normalizat = 1.24552
  Prefactor  = 0.70085
 **********
 **   18 **HESSE 
 **********

 FCN=   7629.399     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7926        286.59        .13607E-04   -1.5656    
   2  Index         2.7693        6.3842        .34052E-02   -.46245    
   3  Normalizat    1.2455        .30823        .21818E-03   -.85208    
   4  Prefactor     .70085        .27276        .27938E-03   -1.0349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01798e-06
Minuit parameter uncertainties:
  1  88.2477
  2  5.04522
  3  0.308683
  4  0.273282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731169': 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) = 7629.3989798
delta logL = 0.689877032567

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  6.793e+00  8.825e+01  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  2.769e+00  5.045e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  3.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  7.008e-01  2.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.246e+00  3.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 235.799 42.155
Photon Index (Free Index): 2.77 +/- 5.05
Photon Flux (Free Index): 5.99e-08 +/- 1.12e-07
Energy Flux (Free Index): 1.37e-05 +/- 2.58e-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/731169/cmap_HighResolution_691891201_692150401_4FGL_J1543.1+4209_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', comment='SUCCESS', photon_flux='2.57e-08', energy_flux2='1.37e-05', photon_flux_error='2.19e-08', dlogl='6.90e-01', energy_flux='1.86e-05', photon_flux2='5.99e-08', job_status='DONE', time_completed='2022-12-08 01:25:50.903746', photon_index_error2='5.05', photon_index2='2.77', ts='2.08', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='7.48e-08', energy_flux_error2='2.58e-05', EG='1.29', time_epoch_completed='1670491550.9', return_code='0', job_id='731169', GAL2='0.70', EG2='1.25', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='1.12e-07', ts2='3.46', photon_index='1.98' WHERE bin_id='1746' AND source_name='4FGL J1543.1+4209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:25:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 731169: <4FGL_J1543.1+4209_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1543.1+4209_daily_bin1746> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec  8 01:10:18 2022
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:10:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:10:19 2022
Terminated at Thu Dec  8 01:25:51 2022
Results reported at Thu Dec  8 01:25:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.1+4209_daily_bin1746 235.799 42.1549 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1543.1+4209 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   829.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            933 sec.

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

