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


Performing analysis on: 4FGL_J1543.1+4209_daily_bin1750
RA = 235.799, Dec = 42.1549
tmin = 692928001, tmax = 693187201
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='17510', job_status='RUN', time_executed='2022-12-20 01:11:21.358167', time_epoch_executed='1671527481.36' WHERE source_name='4FGL J1543.1+4209' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17510/ft1_4FGL_J1543.1+4209_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17510/ft1_4FGL_J1543.1+4209_daily_bin1750.fits outfile=/scratch/kocevski/17510/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1750.fits ra=235.799 dec=42.1549 rad=12.0 tmin=692928001.0 tmax=693187201.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.47
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.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/17510/ft1_filteredMKT_4FGL_J1543.1+4209_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.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.54
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 540

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/17510/ltcube_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.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/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits
.....................!
real 11.59
user 11.02
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/17510/ltcube_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.fits outfile=/scratch/kocevski/17510/expmap_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.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/17510/ltcube_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.fits
.....................!
real 192.13
user 187.26
sys 4.54

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/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.fits scfile=/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits outfile=/scratch/kocevski/17510/cmap_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.fits scfile=/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits outfile=/scratch/kocevski/17510/cmap_HighResolution_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.fits', '/scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits', expMap='/scratch/kocevski/17510/expmap_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.fits', expCube='/scratch/kocevski/17510/ltcube_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17510/Model_4FGL_J1543.1+4209_daily_bin1750.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/17510/ft1_filtered_4FGL_J1543.1+4209_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/17510/ft2_4FGL_J1543.1+4209_daily_bin1750.fits
Exposure map: /scratch/kocevski/17510/expmap_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.fits
Exposure cube: /scratch/kocevski/17510/ltcube_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17510/Model_4FGL_J1543.1+4209_daily_bin1750.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) = 5852.72103786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.359       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8188       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23877       1.0000          .0000       .10000E+07
     4 'norm      '    2.3248       1.0000          .0000       .10000E+07
     5 'norm      '    8.2158       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12632E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    61.000       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42545E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.392       1.0000          .0000       .10000E+07
    10 'norm      '    .15210E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.0708       1.0000          .0000       .10000E+07
    12 'norm      '    5.3565       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27297E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14696E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.7706       1.0000          .0000       .10000E+07
    16 'Prefactor '    .29825E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .14306E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.0084       1.0000          .0000       .10000E+07
    19 'Prefactor '    .56586E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .28266       1.0000          .0000       .10000E+07
    21 'norm      '    .10884E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    12.749       1.0000          .0000       .10000E+07
    23 'Prefactor '    .62128       1.0000          .0000       .10000E+07
    24 'norm      '    .23049E-01   1.0000          .0000       .10000E+07
    25 'Prefactor '    .51491E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    2.2960       1.0000          .0000       .10000E+07
    27 'Normalizat'    .57613       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3709       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=   5852.678     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2606 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.501        8.5270        .47949E-08   -.21021    
   2  Prefactor     5.8158        8.5828        .14545E-07   -.20560E-02
   3  Prefactor     .24659        21.975       -.74229E-06** at limit **
   4  norm          2.3174        2.0710       -.61627E-08   -.65629E-03
   5  norm          8.2233        4.0418        .87014E-08    .32060E-02
   6  Prefactor     .64948E-08    2.8964       -.51627E-07** at limit **
   7  Prefactor     61.718        67.752        .24276E-07   -.17155E-01
   8  Prefactor     .12101E-07    9.9164       -.59318E-07** at limit **
   9  Prefactor     16.253        8.6106        .59158E-07   -.16906E-01
  10  norm           .0000        1.2371        .98982E-08** at limit **
  11  Prefactor     9.1151        8.3786       -.28357E-07   -.89821E-02
  12  norm          5.3742        8.0633       -.15046E-06    .49901E-01
  13  Prefactor     .55511E-10    31.605        .37550E-07** at limit **
  14  Prefactor     .33529E-07    37.680       -.13438E-06** at limit **
  15  Prefactor     2.7697        3.3938        .28868E-07    .11117E-02
  16  Prefactor      .0000        2.6617        .32250E-08** at limit **
  17  Prefactor     .67168E-08    4.5325       -.10447E-06** at limit **
  18  Prefactor     4.9742        5.3562       -.22251E-07   -.13355E-02
  19  Prefactor     .36637E-08    6.9530        .60968E-07** at limit **
  20  norm          .28242        .14935       -.10212E-08   -.33723E-02
  21  norm          .19207E-07    4.5097        .16570E-07** at limit **
  22  Prefactor     12.857        1.8182        .12780E-08    .15261E-01
  23  Prefactor     .62637        4.8882        .12747E-07   -.53901E-03
  24  norm          .11102E-09    .78318       -.10787E-07** at limit **
  25  Prefactor      .0000        2.3947        .15117E-07** at limit **
  26  Prefactor     2.2944        1.4331        .31406E-08    .46801E-04
  27  Normalizat    .57638        .21717       -.58449E-06   -.10963E-03
  28  Prefactor     1.3706        .22505        .17476E-06   -.16469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.5009
  Prefactor  = 5.8158
  Prefactor  = 0.246587
  norm       = 2.31744
  norm       = 8.22332
  Prefactor  = 6.4948e-09
  Prefactor  = 61.718
  Prefactor  = 1.21014e-08
  Prefactor  = 16.2526
  norm       = 0
  Prefactor  = 9.11506
  norm       = 5.37415
  Prefactor  = 5.55112e-11
  Prefactor  = 3.35287e-08
  Prefactor  = 2.76968
  Prefactor  = 0
  Prefactor  = 6.71685e-09
  Prefactor  = 4.97417
  Prefactor  = 3.66374e-09
  norm       = 0.282425
  norm       = 1.92069e-08
  Prefactor  = 12.8574
  Prefactor  = 0.626366
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 2.29443
  Normalizat = 0.576378
  Prefactor  = 1.37063
 **********
 **   18 **HESSE 
 **********

 FCN=   5852.678     FROM HESSE     STATUS=OK           599 CALLS     3205 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.501        26.581        .14688E-03   -1.5572    
   2  Prefactor     5.8158        12.339        .41611E-03   -1.5660    
   3  Prefactor     .24659        3.0202        .75917E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3174        2.2601        .67240E-03   -1.5678    
   5  norm          8.2233        4.1392        .34953E-03   -1.5651    
   6  Prefactor     .64948E-08    8.1728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     61.718        68.770        .12805E-03   -1.5551    
   8  Prefactor     .12101E-07    10.020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.253        13.282        .24711E-03   -1.5627    
  10  norm           .0000        1.1976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1151        8.4435        .33254E-03   -1.5648    
  12  norm          5.3742        10.137        .43399E-03   -1.5662    
  13  Prefactor     .55511E-10    30.428        .16597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33529E-07    37.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.7697        3.4209        .61117E-03   -1.5675    
  16  Prefactor      .0000        2.6610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .67168E-08    8.4413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9742        5.3636        .44911E-03   -1.5663    
  19  Prefactor     .36637E-08    7.0595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .28242        .17118        .45882E-03   -1.5697    
  21  norm          .19207E-07    7.6374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.857        30.548        .28028E-03   -1.5636    
  23  Prefactor     .62637        4.8687        .67343E-03   -1.5692    
  24  norm          .11102E-09    133.11        .16844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        1.3709        .23860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.2944        1.7142        .67708E-03   -1.5678    
  27  Normalizat    .57638        .18963        .69701E-01   -1.0900    
  28  Prefactor     1.3706        .18951        .49593E-01   -.81231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09809e-06
Minuit parameter uncertainties:
  1  26.5806
  2  12.3386
  3  1.72598
  4  2.26012
  5  4.13917
  6  0.000460232
  7  68.7707
  8  0.000695707
  9  13.2822
  10  3.4173e-06
  11  8.44356
  12  10.137
  13  5.91629e-05
  14  0.00225086
  15  3.42088
  16  1.89214e-06
  17  0.000476859
  18  5.36358
  19  0.000322359
  20  0.171178
  21  0.00076616
  22  30.5481
  23  3.4926
  24  0.000227189
  25  5.91612e-07
  26  1.71416
  27  0.189843
  28  0.18961
Done.

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

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  5.551e-11  5.916e-05  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:  1.371e+00  1.896e-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:  5.764e-01  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/17510/likelihoodResults_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.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) = 5852.69363822
delta logL = -0.0158987048708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5852.67774299
delta logL = -3.48079993273e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19505E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .60070       1.0000          .0000       10.000    
     3 'Normalizat'    .57641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3704       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=   5852.678     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    28.589        .28284E-05** at limit **
   2  Index         2.1027        6.0226       -.30269E-04    .78446E-11
   3  Normalizat    .57638        .21037        .12298E-05   -.21683E-04
   4  Prefactor     1.3706        .22262       -.19969E-04   -.15165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.10267
  Normalizat = 0.576378
  Prefactor  = 1.37063
 **********
 **   18 **HESSE 
 **********

 FCN=   5852.678     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      235 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5475.2        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1027        6.0205        .41064       -.61807    
   3  Normalizat    .57638        .80369E-01    .69701E-01   -1.0900    
   4  Prefactor     1.3706        .85090E-01    .49593E-01   -.81231    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68792e-09
Minuit parameter uncertainties:
  1  0.00253318
  2  54.4494
  3  0.0803847
  4  0.0850985
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17510': 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): 102
logL (Free Index) = 5852.67773951
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J1543.1+4209
   Spectrum: PowerLaw
296    Prefactor:  2.776e-10  2.533e-03  0.000e+00  1.000e+06 ( 1.000e-14)
297        Index:  2.103e+00  5.445e+01  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:  1.371e+00  8.510e-02  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:  5.764e-01  8.038e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 235.799 42.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/17510/cmap_HighResolution_692928001_693187201_4FGL_J1543.1+4209_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2022-12-20 01:23:00.130895', job_id='17510', GAL2='1.37', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1671528180.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1750' AND source_name='4FGL J1543.1+4209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:23:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 17510: <4FGL_J1543.1+4209_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1543.1+4209_daily_bin1750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 01:10:21 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:10:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:10:23 2022
Terminated at Tue Dec 20 01:23:00 2022
Results reported at Tue Dec 20 01:23:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1543.1+4209_daily_bin1750 235.799 42.1549 692928001 693187201 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 :                                   695.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

