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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1747
RA = 180.173, Dec = 12.4922
tmin = 692150401, tmax = 692409601
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='798412', job_status='RUN', time_executed='2022-12-11 00:46:25.267511', time_epoch_executed='1670748385.27' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/798412

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/798412/ft1_4FGL_J1200.6+1229_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/798412/ft1_4FGL_J1200.6+1229_daily_bin1747.fits outfile=/scratch/kocevski/798412/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1747.fits ra=180.173 dec=12.4922 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.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/798412/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.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.16

Number of photons that the gtmktime cut: 619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/798412/ltcube_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.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/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits
.....................!
real 12.36
user 12.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/798412/ltcube_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.fits outfile=/scratch/kocevski/798412/expmap_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.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/798412/ltcube_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.fits
.....................!
real 190.74
user 184.94
sys 5.21

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

Setting source of interest to:
4FGL J1200.6+1229 @ 180.173 12.4922

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits scfile=/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits outfile=/scratch/kocevski/798412/cmap_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.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=180.173 yref=12.4922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits scfile=/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits outfile=/scratch/kocevski/798412/cmap_HighResolution_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.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=180.173 yref=12.4922 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/798412/Model_4FGL_J1200.6+1229_daily_bin1747.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/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits.....................!
real 64.80
user 63.30
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits', '/scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits', expMap='/scratch/kocevski/798412/expmap_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.fits', expCube='/scratch/kocevski/798412/ltcube_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/798412/Model_4FGL_J1200.6+1229_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.6+1229'

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.077e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/798412/ft1_filtered_4FGL_J1200.6+1229_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/798412/ft2_4FGL_J1200.6+1229_daily_bin1747.fits
Exposure map: /scratch/kocevski/798412/expmap_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.fits
Exposure cube: /scratch/kocevski/798412/ltcube_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/798412/Model_4FGL_J1200.6+1229_daily_bin1747.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) = 6948.38054752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17580E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .89653E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .29525E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86873E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.9303       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38331E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6796       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0284       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13653       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33035E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .97063E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .70552E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10393E-01   1.0000          .0000       .10000E+07
    14 'norm      '    3.1944       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23559E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .15788       1.0000          .0000       .10000E+07
    17 'norm      '    9.4824       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10786E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    .94081       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6948.252     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1268 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34028E-07    17.262        .10937E-06** at limit **
   2  Prefactor      .0000        3.9719        .82865E-07** at limit **
   3  Prefactor     .55511E-10    7.5390        .50052E-06** at limit **
   4  Prefactor     .71054E-08    29.703        .28123E-07** at limit **
   5  Prefactor     4.9686        7.8599       -.29517E-07    .69773E-03
   6  Prefactor      .0000        1.7656       -.15238E-07** at limit **
   7  Prefactor     3.6508        1.5404       -.61459E-08   -.53399E-02
   8  Prefactor     2.0224        3.8455        .19577E-06   -.49186E-03
   9  Prefactor     .33307E-09    58.073        .35255E-06** at limit **
  10  Prefactor     .46019E-07    13.891        .64184E-07** at limit **
  11  Prefactor      .0000        3.1293       -.37814E-07** at limit **
  12  Prefactor     .89272E-01    23.072        .93232E-06** at limit **
  13  Prefactor     .11102E-09    6.3146        .72090E-07** at limit **
  14  norm          3.1984        2.8766       -.38100E-07    .77969E-03
  15  Prefactor     .55511E-10    6.5438        .66644E-07** at limit **
  16  norm          .15765        .21854       -.17380E-07** at limit **
  17  norm          9.4749        1.0971       -.57743E-08    .26837E-02
  18  Prefactor     .55511E-10    11.080        .36810E-06** at limit **
  19  Normalizat    .94034        .20517       -.13070E-05    .79764E-05
  20  Prefactor     1.1507        .19081        .12674E-05   -.60493E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.40283e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 7.10543e-09
  Prefactor  = 4.96861
  Prefactor  = 0
  Prefactor  = 3.65076
  Prefactor  = 2.02239
  Prefactor  = 3.33067e-10
  Prefactor  = 4.60187e-08
  Prefactor  = 0
  Prefactor  = 0.0892715
  Prefactor  = 1.11022e-10
  norm       = 3.19837
  Prefactor  = 5.55112e-11
  norm       = 0.157649
  norm       = 9.47493
  Prefactor  = 5.55112e-11
  Normalizat = 0.940339
  Prefactor  = 1.15066
 **********
 **   18 **HESSE 
 **********

 FCN=   6948.252     FROM HESSE     STATUS=OK           333 CALLS     1601 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34028E-07    28.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.9832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    7.4776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71054E-08    32.093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9686        7.9565        .45272E-03   -1.5663    
   6  Prefactor      .0000        1.7667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6508        10.854        .52629E-03   -1.5670    
   8  Prefactor     2.0224        3.8756        .72613E-03   -1.5680    
   9  Prefactor     .33307E-09    58.257        .13037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .46019E-07    28.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.0768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .89272E-01    1.3112        .68106E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-09    12.827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1984        2.9422        .56667E-03   -1.5672    
  15  Prefactor     .55511E-10    12.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .15765        .23022        .99018E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.4749        18.218        .32520E-03   -1.5646    
  18  Prefactor     .55511E-10    11.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94034        .17398        .45421E-01   -.95057    
  20  Prefactor     1.1507        .16051        .52010E-01   -.87863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73291e-09
Minuit parameter uncertainties:
  1  0.00197046
  2  1.50415e-05
  3  4.21986e-05
  4  0.000954845
  5  7.95653
  6  6.10585e-07
  7  10.8543
  8  3.87565
  9  0.000283138
  10  0.002284
  11  3.21077e-06
  12  0.684268
  13  6.79882e-05
  14  2.94217
  15  4.61562e-05
  16  0.230223
  17  18.2177
  18  5.26293e-05
  19  0.174088
  20  0.160575
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.651e+00  1.085e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.151e+00  1.606e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  9.403e-01  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 7.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/798412/likelihoodResults_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.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) = 6948.08755315
delta logL = 0.164478271541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6948.0690588
delta logL = 0.182972623275

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6948.069     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      291 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4529        14.575        .13779E-04   -.27145E-03
   2  Index         1.7726        .81131        .13798E-01    .29743E-05
   3  Normalizat    .94670        .19771        .26187E-03    .35338E-04
   4  Prefactor     1.1435        .19044        .23050E-03   -.21899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.45294
  Index      = 1.7726
  Normalizat = 0.946698
  Prefactor  = 1.14348
 **********
 **   18 **HESSE 
 **********

 FCN=   6948.069     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4529        14.593        .55116E-06   -1.5650    
   2  Index         1.7726        .81268        .55194E-03   -.70165    
   3  Normalizat    .94670        .19790        .10475E-04   -.94838    
   4  Prefactor     1.1435        .19064        .92198E-05   -.88089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53391e-11
Minuit parameter uncertainties:
  1  14.5926
  2  0.818941
  3  0.198054
  4  0.190755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/798412': 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) = 6948.06905873
delta logL = 0.182972693072

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  8.453e+00  1.459e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  1.773e+00  8.189e-01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.143e+00  1.908e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  9.467e-01  1.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 180.173 12.492

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/798412/cmap_HighResolution_692150401_692409601_4FGL_J1200.6+1229_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2022-12-11 00:56:13.108875', job_id='798412', GAL2='1.14', fit_tolerance='1e-08', EG2='0.95', EG='0.94', time_epoch_completed='1670748973.11', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.83e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1747' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:56:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 798412: <4FGL_J1200.6+1229_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1747> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Dec 11 00:45:21 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:45:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:45:23 2022
Terminated at Sun Dec 11 00:56:13 2022
Results reported at Sun Dec 11 00:56:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1747 180.173 12.4922 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.6+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   588.58 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            652 sec.

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

