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


Performing analysis on: 4FGL_J1243.9-0218_daily_bin1780
RA = 190.984, Dec = -2.3082
tmin = 700704001, tmax = 700963201
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='62612', job_status='RUN', time_executed='2023-03-20 00:51:18.316658', time_epoch_executed='1679298678.32' WHERE source_name='4FGL J1243.9-0218' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62612/ft1_4FGL_J1243.9-0218_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62612/ft1_4FGL_J1243.9-0218_daily_bin1780.fits outfile=/scratch/kocevski/62612/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin1780.fits ra=190.984 dec=-2.3082 rad=12.0 tmin=700704001.0 tmax=700963201.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.11
user 3.88
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.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/62612/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 286

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62612/ltcube_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.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/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits
.....................!
real 12.08
user 11.76
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62612/ltcube_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.fits outfile=/scratch/kocevski/62612/expmap_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.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/62612/ltcube_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.fits
.....................!
real 191.53
user 187.31
sys 3.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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J1243.9-0218 @ 190.984 -2.3082

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits scfile=/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits outfile=/scratch/kocevski/62612/cmap_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.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=190.984 yref=-2.3082 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits scfile=/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits outfile=/scratch/kocevski/62612/cmap_HighResolution_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.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=190.984 yref=-2.3082 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62612/Model_4FGL_J1243.9-0218_daily_bin1780.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/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits.....................!
real 32.62
user 31.39
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits', '/scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits', expMap='/scratch/kocevski/62612/expmap_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.fits', expCube='/scratch/kocevski/62612/ltcube_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62612/Model_4FGL_J1243.9-0218_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1243.9-0218'

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  1.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/62612/ft1_filtered_4FGL_J1243.9-0218_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/62612/ft2_4FGL_J1243.9-0218_daily_bin1780.fits
Exposure map: /scratch/kocevski/62612/expmap_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.fits
Exposure cube: /scratch/kocevski/62612/ltcube_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62612/Model_4FGL_J1243.9-0218_daily_bin1780.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3105.42922214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.646       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.296       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86812E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50465E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .76316       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.008       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8752       1.0000          .0000       .10000E+07
     8 'norm      '    .10209E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .12878E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17622E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .23311       1.0000          .0000       .10000E+07
    12 'Prefactor '    .47684E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.6134       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.620       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86875E-05   1.0000          .0000       .10000E+07
    16 'norm      '    2.6036       1.0000          .0000       .10000E+07
    17 'Prefactor '    .29782E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    69.051       1.0000          .0000       .10000E+07
    19 'norm      '    .18269E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .19467       1.0000          .0000       .10000E+07
    21 'Prefactor '    .49359E-02   1.0000          .0000       .10000E+07
    22 'norm      '    60.739       1.0000          .0000       .10000E+07
    23 'norm      '    31.510       1.0000          .0000       .10000E+07
    24 'Prefactor '    .31708       1.0000          .0000       .10000E+07
    25 'Normalizat'    .67256       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92205       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3102.762     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1308 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.691        6.9670       -.19261E-06   -.11591    
   2  Prefactor     15.316        3.4398       -.96401E-07   -.10530E-02
   3  Prefactor     .55511E-10    29.954       -.27445E-06** at limit **
   4  Prefactor     .19662E-06    15.067       -.57840E-06** at limit **
   5  Prefactor     .73037E-03    249.54       -.11354E-04** at limit **
   6  Prefactor     17.525        1.8250        .61547E-07    .30791E-02
   7  Prefactor     4.6542        4.0856       -.26110E-06    .94799E-02
   8  norm          .11102E-09    4.4689       -.82862E-06** at limit **
   9  norm           .0000        1.4189       -.17032E-06** at limit **
  10  Prefactor     .11913E-06    9.4203       -.89107E-06** at limit **
  11  norm          .11102E-09    44.181       -.39482E-05** at limit **
  12  Prefactor     .37581E-07    7.2299       -.12181E-05** at limit **
  13  norm          1.6161        .77887        .11833E-06    .19708E-02
  14  Prefactor     13.575        10.708        .42168E-06    .55147E-02
  15  Prefactor     .55511E-10    10.183        .17692E-07** at limit **
  16  norm          2.5991        2.0413       -.18965E-06   -.23549E-02
  17  Prefactor     .55511E-10    3.2554       -.75135E-06** at limit **
  18  Prefactor     67.571        28.868       -.14260E-05    .34289    
  19  norm           .0000        22.843        .19596E-06** at limit **
  20  norm          .19551        .22669       -.15240E-07** at limit **
  21  Prefactor     .20117E-06    21.557        .39388E-05** at limit **
  22  norm          61.054        1.5507        .42914E-07    .11853E-01
  23  norm          32.014        1.8212       -.11247E-06    .90448E-02
  24  Prefactor     .33578E-01    51.096       -.52291E-05** at limit **
  25  Normalizat    .67610        .32619       -.15845E-05    .33921E-05
  26  Prefactor     .92052        .23864        .47555E-05   -.35044E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6911
  Prefactor  = 15.3164
  Prefactor  = 5.55112e-11
  Prefactor  = 1.9662e-07
  Prefactor  = 0.000730375
  Prefactor  = 17.525
  Prefactor  = 4.65424
  norm       = 1.11022e-10
  norm       = 0
  Prefactor  = 1.19127e-07
  norm       = 1.11022e-10
  Prefactor  = 3.7581e-08
  norm       = 1.61612
  Prefactor  = 13.5746
  Prefactor  = 5.55112e-11
  norm       = 2.59908
  Prefactor  = 5.55112e-11
  Prefactor  = 67.5705
  norm       = 0
  norm       = 0.195514
  Prefactor  = 2.01172e-07
  norm       = 61.0541
  norm       = 32.0136
  Prefactor  = 0.0335777
  Normalizat = 0.676102
  Prefactor  = 0.920518
 **********
 **   18 **HESSE 
 **********

 FCN=   3102.762     FROM HESSE     STATUS=OK           510 CALLS     1818 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.691        16.681        .24521E-03   -1.5626    
   2  Prefactor     15.316        20.292        .25583E-03   -1.5630    
   3  Prefactor     .55511E-10    29.932        .14298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19662E-06    18.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .73037E-03    309.22        .55722E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.525        20.134        .24259E-03   -1.5624    
   7  Prefactor     4.6542        17.468        .45533E-03   -1.5665    
   8  norm          .11102E-09    4.4552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.4172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11913E-06    16.726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    44.213        .11214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37581E-07    17.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.6161        .79596        .71923E-03   -1.5683    
  14  Prefactor     13.575        10.733        .27115E-03   -1.5634    
  15  Prefactor     .55511E-10    10.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5991        2.0503        .63199E-03   -1.5676    
  17  Prefactor     .55511E-10    3.2601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     67.571        66.291        .12035E-03   -1.5544    
  19  norm           .0000        22.683        .17153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .19551        .24962        .61216E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .20117E-06    22.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          61.054        22.151        .12832E-03   -1.5552    
  23  norm          32.014        23.031        .17817E-03   -1.5595    
  24  Prefactor     .33578E-01    28.712        .99801E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .67610        .28916        .71670E-01   -1.0484    
  26  Prefactor     .92052        .20233        .45285E-01   -.95428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01024e-05
Minuit parameter uncertainties:
  1  16.6813
  2  20.2918
  3  7.20523e-05
  4  0.0038125
  5  0.950518
  6  20.1345
  7  17.4682
  8  4.79184e-05
  9  9.09165e-06
  10  0.00282304
  11  0.000140688
  12  0.00162776
  13  0.795965
  14  10.7328
  15  4.91397e-05
  16  2.05034
  17  2.80304e-05
  18  66.2912
  19  1.35204e-05
  20  0.249616
  21  0.00426125
  22  22.1507
  23  23.0313
  24  1.96376
  25  0.28981
  26  0.202493
Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  5.551e-11  2.803e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.205e-01  2.025e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  6.761e-01  2.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 8.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/62612/likelihoodResults_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.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): 102
logL (Free Index) = 3102.77105758
delta logL = -0.00939777498252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3102.76166006
delta logL = -2.53634425462e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .55410       1.0000          .0000       10.000    
     3 'Normalizat'    .67607       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3102.762     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      252 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.0811        .42118E-03** at limit **
   2  Index         1.4351        1.3789        .14599E-04     .0000    
   3  Normalizat    .67610        1.0155       -.74836E-04   -.28334E-03
   4  Prefactor     .92052        1.2644        .56196E-04   -.40332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.43507
  Normalizat = 0.676099
  Prefactor  = 0.920518
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3102.762     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.0811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .17723        1.5452        .14599E-04   -.79375    
   3  Normalizat    .67610        1.0155       -.74836E-04   -1.0484    
   4  Prefactor     .92052        1.2644        .56196E-04   -.95428    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.98562e-10
Minuit parameter uncertainties:
  1  6.83815e-06
  2  1.41723
  3  1.04594
  4  1.30862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62612': 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): 101
logL (Free Index) = 3102.7616598
delta logL = -1.27784005599e-10

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  6.838e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.435e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.205e-01  1.309e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  6.761e-01  1.046e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 190.984 -2.308

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/62612/cmap_HighResolution_700704001_700963201_4FGL_J1243.9-0218_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', job_status='DONE', photon_flux_upper_limit='8.06e-08', time_completed='2023-03-20 00:58:44.300433', job_id='62612', GAL2='0.92', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1679299124.3', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.28e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1780' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:58:44 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 62612: <4FGL_J1243.9-0218_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1243.9-0218_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:18 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:50:19 2023
Terminated at Mon Mar 20 00:58:45 2023
Results reported at Mon Mar 20 00:58:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1243.9-0218_daily_bin1780 190.984 -2.3082 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1243.9-0218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   447.30 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   505 sec.
    Turnaround time :                            507 sec.

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

