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


Performing analysis on: 4FGL_J1243.9-0218_daily_bin1708
RA = 190.984, Dec = -2.3082
tmin = 682041601, tmax = 682300801
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='121953', job_status='RUN', time_executed='2022-09-16 16:56:40.335902', time_epoch_executed='1663372600.34' WHERE source_name='4FGL J1243.9-0218' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121953

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121953/ft1_4FGL_J1243.9-0218_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121953/ft1_4FGL_J1243.9-0218_daily_bin1708.fits outfile=/scratch/kocevski/121953/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin1708.fits ra=190.984 dec=-2.3082 rad=12.0 tmin=682041601.0 tmax=682300801.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.03
user 3.76
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.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/121953/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 694

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/121953/ltcube_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.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/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits
.....................!
real 12.53
user 12.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/121953/ltcube_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.fits outfile=/scratch/kocevski/121953/expmap_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.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/121953/ltcube_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.fits
.....................!
real 193.25
user 185.76
sys 5.41

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/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits scfile=/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits outfile=/scratch/kocevski/121953/cmap_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits scfile=/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits outfile=/scratch/kocevski/121953/cmap_HighResolution_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121953/Model_4FGL_J1243.9-0218_daily_bin1708.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/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits.....................!
real 59.45
user 57.61
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits', '/scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits', expMap='/scratch/kocevski/121953/expmap_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.fits', expCube='/scratch/kocevski/121953/ltcube_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/121953/Model_4FGL_J1243.9-0218_daily_bin1708.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/121953/ft1_filtered_4FGL_J1243.9-0218_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/121953/ft2_4FGL_J1243.9-0218_daily_bin1708.fits
Exposure map: /scratch/kocevski/121953/expmap_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.fits
Exposure cube: /scratch/kocevski/121953/ltcube_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/121953/Model_4FGL_J1243.9-0218_daily_bin1708.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) = 7465.68102754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13476E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17834E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62581E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    70.616       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.7179       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13271E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .46506E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .99198E-07   1.0000          .0000       .10000E+07
     9 'norm      '    2.5261       1.0000          .0000       .10000E+07
    10 'Prefactor '    .78083E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .12275E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9235       1.0000          .0000       .10000E+07
    13 'norm      '    .67040       1.0000          .0000       .10000E+07
    14 'Prefactor '    12.501       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45336E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .43924       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.2910       1.0000          .0000       .10000E+07
    18 'Prefactor '    43.789       1.0000          .0000       .10000E+07
    19 'norm      '    .14168E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .42589       1.0000          .0000       .10000E+07
    21 'Prefactor '    38.771       1.0000          .0000       .10000E+07
    22 'norm      '    11.026       1.0000          .0000       .10000E+07
    23 'norm      '    .12799E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    11.232       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93072       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=   7465.624     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2265 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84643E-06    4.1601       -.50921E-06** at limit **
   2  Prefactor     .12212E-08    5.1684       -.35027E-06** at limit **
   3  Prefactor     .71121E-06    10.382       -.26903E-06** at limit **
   4  Prefactor     69.694        22.982       -.70684E-06   -.13715    
   5  Prefactor     8.7193        10.094        .16174E-06   -.52966E-02
   6  Prefactor     .31442E-06    4.2696       -.21233E-06** at limit **
   7  Prefactor      .0000        1.8333        .13574E-06** at limit **
   8  norm           .0000        .48692        .50100E-08** at limit **
   9  norm          2.5302        2.3576       -.77636E-07    .15640E-02
  10  Prefactor     .68834E-08    21.775        .13405E-06** at limit **
  11  norm          .55389E-06    11.750        .45379E-06** at limit **
  12  Prefactor     2.9045        4.7550       -.90202E-07    .71025E-03
  13  norm          .67097        .37524        .20009E-07   -.34505E-02
  14  Prefactor     12.513        7.7576       -.71807E-07    .23331E-02
  15  Prefactor     .94369E-09    25.049        .16964E-05** at limit **
  16  norm          .44039        1.2756        .12193E-06   -.12100E-02
  17  Prefactor     5.3094        5.5188        .70983E-07   -.21194E-03
  18  Prefactor     44.245        31.216        .16005E-06   -.18582E-01
  19  norm          .16093E-06    6.5101       -.26934E-06** at limit **
  20  norm          .42446        .18893       -.10770E-07   -.47667E-02
  21  Prefactor     40.694        50.895        .26191E-05   -.41336E-01
  22  norm          10.946        9.2548       -.93306E-07   -.67429E-02
  23  norm          .63277E-06    4.0069       -.56277E-07** at limit **
  24  Prefactor     11.232        3.4834        .55492E-07    .13186    
  25  Normalizat    1.1369        .22493       -.13506E-05   -.13390E-03
  26  Prefactor     .93081        .16224        .28705E-05   -.16254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.46434e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 7.11209e-07
  Prefactor  = 69.6938
  Prefactor  = 8.71928
  Prefactor  = 3.14415e-07
  Prefactor  = 0
  norm       = 0
  norm       = 2.53016
  Prefactor  = 6.88338e-09
  norm       = 5.5389e-07
  Prefactor  = 2.90454
  norm       = 0.670971
  Prefactor  = 12.5126
  Prefactor  = 9.4369e-10
  norm       = 0.440391
  Prefactor  = 5.3094
  Prefactor  = 44.2447
  norm       = 1.60927e-07
  norm       = 0.424457
  Prefactor  = 40.6938
  norm       = 10.9464
  norm       = 6.32772e-07
  Prefactor  = 11.2322
  Normalizat = 1.13693
  Prefactor  = 0.930812
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.624     FROM HESSE     STATUS=OK           516 CALLS     2781 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84643E-06    9.6579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12212E-08    5.1710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .71121E-06    11.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     69.694        47.471        .11901E-03   -1.5541    
   5  Prefactor     8.7193        10.100        .33925E-03   -1.5649    
   6  Prefactor     .31442E-06    7.5993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.8334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .48652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5302        2.3756        .64243E-03   -1.5676    
  10  Prefactor     .68834E-08    21.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55389E-06    12.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9045        4.7764        .59388E-03   -1.5674    
  13  norm          .67097        .37921        .63144E-03   -1.5692    
  14  Prefactor     12.513        7.7662        .28306E-03   -1.5637    
  15  Prefactor     .94369E-09    3.8829        .10562E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .44039        1.3027        .85075E-03   -1.5695    
  17  Prefactor     5.3094        5.5195        .43671E-03   -1.5662    
  18  Prefactor     44.245        35.410        .15113E-03   -1.5575    
  19  norm          .16093E-06    8.8931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .42446        .19295        .52219E-03   -1.5695    
  21  Prefactor     40.694        54.453        .16062E-03   -1.5580    
  22  norm          10.946        9.3096        .30146E-03   -1.5642    
  23  norm          .63277E-06    7.7936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.232        11.770        .29867E-03   -1.5641    
  25  Normalizat    1.1369        .19369        .63051E-01   -.88575    
  26  Prefactor     .93081        .13666        .45395E-01   -.95073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29609e-06
Minuit parameter uncertainties:
  1  0.00571834
  2  0.000158504
  3  0.00579272
  4  47.4709
  5  10.1005
  6  0.00309159
  7  2.40887e-06
  8  3.61691e-07
  9  2.37559
  10  0.000773572
  11  0.00535094
  12  4.7764
  13  0.379215
  14  7.76625
  15  0.000119651
  16  1.3027
  17  5.51948
  18  35.4105
  19  0.00239264
  20  0.192947
  21  54.4539
  22  9.30965
  23  0.00444151
  24  11.7704
  25  0.193812
  26  0.136709
Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  5.309e+00  5.519e+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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.308e-01  1.367e-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:  1.137e+00  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.62
Ra Dec: 190.984 -2.308
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.44e-08 +/- 2.53e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.16e-05

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

Saving results to:
/scratch/kocevski/121953/likelihoodResults_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.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) = 7465.6067791
delta logL = 0.0172506816998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7465.59644234
delta logL = 0.0275874422077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3904       1.0000          .0000       .10000E+07
     2 'Index     '    2.3646       1.0000          .0000       10.000    
     3 'Normalizat'    1.1313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93311       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.

 FCN=   7465.596     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      228 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3893        126.45        .48042E-03    .27031E-02
   2  Index         2.3647        6.1822        .14886        .12419E-03
   3  Normalizat    1.1314        .72311E-01    .63181E-01    .11812E-04
   4  Prefactor     .93311        .45751E-01    .45426E-01    .10274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.38928
  Index      = 2.3647
  Normalizat = 1.13136
  Prefactor  = 0.933106
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.596     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3893        6.8778        .17431E-04   -1.5666    
   2  Index         2.3647        .85268        .79315E-02   -.55514    
   3  Normalizat    1.1314        .21913        .27947E-03   -.88751    
   4  Prefactor     .93311        .16136        .22462E-03   -.94994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68395e-11
Minuit parameter uncertainties:
  1  6.8778
  2  0.858513
  3  0.219308
  4  0.161445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121953': 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) = 7465.59644232
delta logL = 0.0275874618446

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  4.389e+00  6.878e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.365e+00  8.585e-01  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.331e-01  1.614e-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:  1.131e+00  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 190.984 -2.308
Photon Index (Free Index): 2.36 +/- 0.86
Photon Flux (Free Index): 2.92e-08 +/- 3.45e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.15e-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/121953/cmap_HighResolution_682041601_682300801_4FGL_J1243.9-0218_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-03', comment='SUCCESS', photon_flux='2.44e-08', energy_flux2='1.00e-05', photon_flux_error='2.53e-08', dlogl='2.76e-02', energy_flux='1.12e-05', photon_flux2='2.92e-08', job_status='DONE', time_completed='2022-09-16 17:08:57.629063', photon_index_error2='0.86', photon_index2='2.36', ts='1.62', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.72e-08', energy_flux_error2='1.15e-05', EG='1.14', time_epoch_completed='1663373337.63', return_code='0', job_id='121953', GAL2='0.93', EG2='1.13', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.45e-08', ts2='1.67', photon_index='2.19' WHERE bin_id='1708' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:08:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 121953: <4FGL_J1243.9-0218_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1243.9-0218_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:55:20 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:56:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:56:28 2022
Terminated at Fri Sep 16 17:08:58 2022
Results reported at Fri Sep 16 17:08:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1243.9-0218_daily_bin1708 190.984 -2.3082 682041601 682300801 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 :                                   733.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            818 sec.

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

