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


Performing analysis on: 4FGL_J1218.0-0028_daily_bin1776
RA = 184.514, Dec = -0.4832
tmin = 699667201, tmax = 699926401
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='832528', job_status='RUN', time_executed='2023-03-08 00:36:40.939235', time_epoch_executed='1678264600.94' WHERE source_name='4FGL J1218.0-0028' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832528/ft1_4FGL_J1218.0-0028_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832528/ft1_4FGL_J1218.0-0028_daily_bin1776.fits outfile=/scratch/kocevski/832528/ft1_filteredMKT_4FGL_J1218.0-0028_daily_bin1776.fits ra=184.514 dec=-0.4832 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.64
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.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/832528/ft1_filteredMKT_4FGL_J1218.0-0028_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.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.33
sys 0.15

Number of photons that the gtmktime cut: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832528/ltcube_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.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/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits
.....................!
real 11.75
user 11.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832528/ltcube_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.fits outfile=/scratch/kocevski/832528/expmap_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.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/832528/ltcube_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.fits
.....................!
real 190.91
user 185.46
sys 5.11

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

Setting source of interest to:
4FGL J1218.0-0028 @ 184.514 -0.4832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits scfile=/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits outfile=/scratch/kocevski/832528/cmap_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.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=184.514 yref=-0.4832 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/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits scfile=/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits outfile=/scratch/kocevski/832528/cmap_HighResolution_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.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=184.514 yref=-0.4832 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832528/Model_4FGL_J1218.0-0028_daily_bin1776.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/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits.....................!
real 52.90
user 51.55
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits', '/scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits', expMap='/scratch/kocevski/832528/expmap_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.fits', expCube='/scratch/kocevski/832528/ltcube_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/832528/Model_4FGL_J1218.0-0028_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1218.0-0028'

4FGL J1218.0-0028
   Spectrum: PowerLaw
325    Prefactor:  2.373e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
326        Index:  2.321e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  1.446e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/832528/ft1_filtered_4FGL_J1218.0-0028_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/832528/ft2_4FGL_J1218.0-0028_daily_bin1776.fits
Exposure map: /scratch/kocevski/832528/expmap_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.fits
Exposure cube: /scratch/kocevski/832528/ltcube_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/832528/Model_4FGL_J1218.0-0028_daily_bin1776.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) = 6051.09632165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0494       1.0000          .0000       .10000E+07
     2 'Prefactor '    22.247       1.0000          .0000       .10000E+07
     3 'norm      '    .10759E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3872       1.0000          .0000       .10000E+07
     5 'Prefactor '    100.27       1.0000          .0000       .10000E+07
     6 'Prefactor '    .24781E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19409E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5301       1.0000          .0000       .10000E+07
     9 'Prefactor '    34.082       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15903E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.045       1.0000          .0000       .10000E+07
    12 'Prefactor '    .63904E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .69340E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.6964       1.0000          .0000       .10000E+07
    15 'norm      '    1.8016       1.0000          .0000       .10000E+07
    16 'Prefactor '    .84393E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .94971E-03   1.0000          .0000       .10000E+07
    18 'norm      '    1.1980       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.622       1.0000          .0000       .10000E+07
    20 'norm      '    1.9040       1.0000          .0000       .10000E+07
    21 'Prefactor '    .27769       1.0000          .0000       .10000E+07
    22 'Prefactor '    9.3954       1.0000          .0000       .10000E+07
    23 'norm      '    .29976E-08   1.0000          .0000       .10000E+07
    24 'norm      '    .79936E-08   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1117       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94401       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6051.091     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2382 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0491        3.4537       -.33758E-07    .10194E-02
   2  Prefactor     22.234        11.176        .69840E-06   -.13296    
   3  norm          .19429E-08    8.5827        .11606E-05** at limit **
   4  Prefactor     1.3853        3.4913        .84735E-06    .20069E-02
   5  Prefactor     100.56        9.8817       -.49812E-07   -.21765    
   6  Prefactor      .0000        5.4260       -.94984E-06** at limit **
   7  Prefactor      .0000        3.0429        .91361E-07** at limit **
   8  Prefactor     4.5163        5.7116       -.16076E-06   -.12200E-01
   9  Prefactor     34.099        6.3775        .29045E-06   -.92481E-01
  10  Prefactor     .11102E-09    24.647        .92809E-06** at limit **
  11  Prefactor     18.041        19.672        .24129E-05    .52240E-01
  12  Prefactor     .11707E-06    8.3229       -.20920E-05** at limit **
  13  Prefactor     .55511E-10    4.3294       -.28294E-06** at limit **
  14  norm          1.6956        1.7531       -.87974E-07   -.15477E-02
  15  norm          1.7994        3.0774       -.42042E-06   -.17810E-02
  16  Prefactor     .25646E-07    3.4980       -.75217E-06** at limit **
  17  norm          .17708E-07    7.2581       -.79671E-07** at limit **
  18  norm          1.1978        .58068        .69226E-07   -.33809E-03
  19  Prefactor     11.629        9.0005        .39356E-06    .11621E-02
  20  norm          1.9030        1.5874        .97227E-07   -.16334E-02
  21  Prefactor     .28234        23.650        .68976E-05   -.75670E-03
  22  Prefactor     8.7268        44.754        .21946E-05   -.15813E-01
  23  norm          .40229E-06    255.08        .16006E-04** at limit **
  24  norm           .0000        .19378        .31668E-06** at limit **
  25  Normalizat    1.1120        .25150        .11812E-04   -.12873E-03
  26  Prefactor     .94414        .18455       -.18949E-04   -.29363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.04909
  Prefactor  = 22.2344
  norm       = 1.94289e-09
  Prefactor  = 1.38529
  Prefactor  = 100.562
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.5163
  Prefactor  = 34.0986
  Prefactor  = 1.11022e-10
  Prefactor  = 18.0414
  Prefactor  = 1.17073e-07
  Prefactor  = 5.55112e-11
  norm       = 1.69564
  norm       = 1.79936
  Prefactor  = 2.56462e-08
  norm       = 1.77081e-08
  norm       = 1.19782
  Prefactor  = 11.6291
  norm       = 1.90302
  Prefactor  = 0.282336
  Prefactor  = 8.72678
  norm       = 4.02289e-07
  norm       = 0
  Normalizat = 1.11203
  Prefactor  = 0.944139
 **********
 **   18 **HESSE 
 **********

 FCN=   6051.091     FROM HESSE     STATUS=OK           520 CALLS     2902 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0491        3.4555        .37759E-03   -1.5655    
   2  Prefactor     22.234        34.031        .21207E-03   -1.5614    
   3  norm          .19429E-08    8.5750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3853        3.5488        .92283E-03   -1.5684    
   5  Prefactor     100.56        118.97        .99870E-04   -1.5507    
   6  Prefactor      .0000        5.4533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.0394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5163        15.909        .47276E-03   -1.5665    
   9  Prefactor     34.099        32.793        .17131E-03   -1.5591    
  10  Prefactor     .11102E-09    24.491        .17323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.041        20.081        .23550E-03   -1.5623    
  12  Prefactor     .11707E-06    9.7585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    4.3503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6956        1.7501        .80757E-03   -1.5682    
  15  norm          1.7994        3.1175        .77847E-03   -1.5681    
  16  Prefactor     .25646E-07    9.9864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .17708E-07    10.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1978        .59335        .84591E-03   -1.5686    
  19  Prefactor     11.629        9.0257        .29361E-03   -1.5640    
  20  norm          1.9030        1.6054        .75333E-03   -1.5680    
  21  Prefactor     .28234        5.4349        .57774E-02   -1.5697    
  22  Prefactor     8.7268        61.465        .32671E-03   -1.5649    
  23  norm          .40229E-06    253.16        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        .13282        .96745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1120        .22008        .63717E-01   -.89366    
  26  Prefactor     .94414        .15612        .45564E-01   -.94615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28234e-06
Minuit parameter uncertainties:
  1  3.45552
  2  34.0309
  3  0.000257608
  4  3.54876
  5  118.97
  6  5.23867e-06
  7  1.23113e-05
  8  15.9095
  9  32.7928
  10  0.000108623
  11  20.0814
  12  0.00213797
  13  3.32672e-05
  14  1.75012
  15  3.11746
  16  0.0010125
  17  0.00084682
  18  0.593352
  19  9.02573
  20  1.60539
  21  2.47748
  22  46.3208
  23  0.0201846
  24  2.09912e-06
  25  0.22026
  26  0.15619
Done.

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

Extracting fit parameters...

4FGL J1218.0-0028
   Spectrum: PowerLaw
325    Prefactor:  5.551e-11  3.327e-05  0.000e+00  1.000e+06 ( 1.000e-13)
326        Index:  2.321e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  1.446e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
608    Prefactor:  9.441e-01  1.562e-01  0.000e+00  1.000e+01 ( 1.000e+00)
609        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
610        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
607   Normalization:  1.112e+00  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 184.514 -0.483
Photon Flux Upper Limit: 7.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832528/likelihoodResults_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.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) = 6051.10360722
delta logL = -0.0123850083928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6051.09122474
delta logL = -2.53012331086e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6051.091     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      226 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .56224        .42118E-03** at limit **
   2  Index         .38902        .45277        .28857E-05     .0000    
   3  Normalizat    1.1120        1.1472       -.40257E-05   -.36866E-04
   4  Prefactor     .94414        1.2868        .18297E-05   -.26654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.389017
  Normalizat = 1.11203
  Prefactor  = 0.944141
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6051.091     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .56224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .31847E-01    .48536        .28857E-05   -1.1737    
   3  Normalizat    1.1120        1.1472       -.40257E-05   -.89366    
   4  Prefactor     .94414        1.2868        .18297E-05   -.94615    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.70535e-12
Minuit parameter uncertainties:
  1  9.52724e-08
  2  0.457014
  3  1.17461
  4  1.33241
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832528': 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) = 6051.09122221
delta logL = 6.27551344223e-11

Extracting fit parameters...

4FGL J1218.0-0028
   Spectrum: PowerLaw
325    Prefactor:  0.000e+00  9.527e-08  0.000e+00  1.000e+06 ( 1.000e-13)
326        Index:  3.890e-01  4.570e-01  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  1.446e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
608    Prefactor:  9.441e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
609        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
610        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
607   Normalization:  1.112e+00  1.175e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 184.514 -0.483

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/832528/cmap_HighResolution_699667201_699926401_4FGL_J1218.0-0028_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2023-03-08 00:47:42.401517', job_id='832528', GAL2='0.94', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1678265262.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='6.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1776' AND source_name='4FGL J1218.0-0028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:47:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 832528: <4FGL_J1218.0-0028_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1218.0-0028_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:25 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:26 2023
Terminated at Wed Mar  8 00:47:43 2023
Results reported at Wed Mar  8 00:47:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1218.0-0028_daily_bin1776 184.514 -0.4832 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1218.0-0028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   663.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            738 sec.

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

