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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1751
RA = 180.173, Dec = 12.4922
tmin = 693187201, tmax = 693446401
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='76450', job_status='RUN', time_executed='2022-12-23 00:35:52.704318', time_epoch_executed='1671784552.7' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/76450

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/76450/ft1_4FGL_J1200.6+1229_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/76450/ft1_4FGL_J1200.6+1229_daily_bin1751.fits outfile=/scratch/kocevski/76450/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1751.fits ra=180.173 dec=12.4922 rad=12.0 tmin=693187201.0 tmax=693446401.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.68
user 3.43
sys 0.22

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

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

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/76450/ft1_filtered_4FGL_J1200.6+1229_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/76450/ltcube_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.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/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits
.....................!
real 12.01
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/76450/ft1_filtered_4FGL_J1200.6+1229_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/76450/ltcube_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.fits outfile=/scratch/kocevski/76450/expmap_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.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/76450/ltcube_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.fits
.....................!
real 191.29
user 186.16
sys 4.80

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/76450/ft1_filtered_4FGL_J1200.6+1229_daily_bin1751.fits scfile=/scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits outfile=/scratch/kocevski/76450/cmap_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/76450/ft1_filtered_4FGL_J1200.6+1229_daily_bin1751.fits scfile=/scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits outfile=/scratch/kocevski/76450/cmap_HighResolution_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/76450/ft1_filtered_4FGL_J1200.6+1229_daily_bin1751.fits', '/scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits', expMap='/scratch/kocevski/76450/expmap_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.fits', expCube='/scratch/kocevski/76450/ltcube_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/76450/Model_4FGL_J1200.6+1229_daily_bin1751.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/76450/ft1_filtered_4FGL_J1200.6+1229_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/76450/ft2_4FGL_J1200.6+1229_daily_bin1751.fits
Exposure map: /scratch/kocevski/76450/expmap_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.fits
Exposure cube: /scratch/kocevski/76450/ltcube_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/76450/Model_4FGL_J1200.6+1229_daily_bin1751.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) = 5813.99547582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0001       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12489E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9241       1.0000          .0000       .10000E+07
     4 'Prefactor '    .34411E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .63542E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16439E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6235       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60096E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16829E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10769E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28101E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45051E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.5560       1.0000          .0000       .10000E+07
    14 'norm      '    .22951E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    23.116       1.0000          .0000       .10000E+07
    16 'norm      '    .25988       1.0000          .0000       .10000E+07
    17 'norm      '    .93687E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.708       1.0000          .0000       .10000E+07
    19 'Normalizat'    .90474       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0620       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=   5813.976     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1191 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9084        11.367        .10914E-05    .79879E-02
   2  Prefactor     .31641E-08    4.1004       -.94901E-06** at limit **
   3  Prefactor     2.8020        8.3200        .11376E-05    .19519E-02
   4  Prefactor     .98061E-04    10.635        .20847E-05** at limit **
   5  Prefactor     .27756E-09    3.8568        .62736E-06** at limit **
   6  Prefactor     .15543E-08    4.8383        .60237E-06** at limit **
   7  Prefactor     3.6164        1.1998       -.98686E-08   -.25079E-01
   8  Prefactor      .0000        1.6997       -.98253E-07** at limit **
   9  Prefactor     .84655E-07    21.972       -.23700E-05** at limit **
  10  Prefactor     .15937E-06    47.075       -.19126E-05** at limit **
  11  Prefactor      .0000        .79297        .13023E-06** at limit **
  12  Prefactor      .0000        .81391        .12026E-06** at limit **
  13  Prefactor     6.6479        1.5832        .38053E-07    .17315E-01
  14  norm           .0000        .87183        .83702E-07** at limit **
  15  Prefactor     22.679        2.6002       -.14597E-06   -.64070E-01
  16  norm          .25963        .19153        .55236E-07   -.54776E-02
  17  norm          .12679E-06    16.665        .10083E-05** at limit **
  18  Prefactor     10.742        4.3930        .31430E-06    .61484E-01
  19  Normalizat    .90526        .19614        .21530E-06    .70016E-04
  20  Prefactor     1.0619        .18775       -.10326E-04    .11895E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.90842
  Prefactor  = 3.16414e-09
  Prefactor  = 2.80201
  Prefactor  = 9.80612e-05
  Prefactor  = 2.77556e-10
  Prefactor  = 1.55431e-09
  Prefactor  = 3.61644
  Prefactor  = 0
  Prefactor  = 8.46545e-08
  Prefactor  = 1.59373e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.64792
  norm       = 0
  Prefactor  = 22.6786
  norm       = 0.259625
  norm       = 1.26787e-07
  Prefactor  = 10.7419
  Normalizat = 0.905259
  Prefactor  = 1.06195
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.976     FROM HESSE     STATUS=OK           325 CALLS     1516 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9084        12.243        .37893E-03   -1.5655    
   2  Prefactor     .31641E-08    4.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8020        8.3576        .59382E-03   -1.5674    
   4  Prefactor     .98061E-04    180.44        .16226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    3.8582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15543E-08    4.8480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6164        10.575        .53051E-03   -1.5670    
   8  Prefactor      .0000        1.7004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .84655E-07    22.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15937E-06    47.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .79135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .81323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.6479        24.702        .39170E-03   -1.5656    
  14  norm           .0000        .87321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.679        25.242        .20804E-03   -1.5613    
  16  norm          .25963        .19858        .62382E-03   -1.5698    
  17  norm          .12679E-06    16.994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.742        11.208        .30592E-03   -1.5642    
  19  Normalizat    .90526        .17216        .44962E-01   -.96276    
  20  Prefactor     1.0619        .16483        .39255E-01   -.90692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64729e-07
Minuit parameter uncertainties:
  1  12.2435
  2  0.000227992
  3  8.35767
  4  0.266049
  5  6.58814e-05
  6  0.00017392
  7  10.5755
  8  4.78918e-06
  9  0.00275864
  10  0.00548426
  11  5.70348e-07
  12  2.63286e-06
  13  24.7025
  14  3.67425e-07
  15  25.2419
  16  0.198583
  17  0.00293545
  18  11.2082
  19  0.172265
  20  0.164908
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.616e+00  1.058e+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.062e+00  1.649e-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.053e-01  1.723e-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.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/76450/likelihoodResults_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.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) = 5813.79591653
delta logL = 0.180035890437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.77772448
delta logL = 0.198227935696

Fit tolerance = 1e-08

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

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

 FCN=   5813.778     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      275 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4696        1134.6        .32511E-03    .97998E-03
   2  Index         1.7621        5.9573        .27360       -.17117E-04
   3  Normalizat    .91217        .10069        .45059E-01   -.91514E-04
   4  Prefactor     1.0534        .91725E-01    .39731E-01    .13521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.46965
  Index      = 1.76205
  Normalizat = 0.912166
  Prefactor  = 1.05342
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.778     FROM HESSE     STATUS=OK            31 CALLS      306 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4696        15.527        .13004E-04   -1.5646    
   2  Index         1.7621        .75877        .11969E-01   -.70442    
   3  Normalizat    .91217        .19228        .24944E-03   -.96034    
   4  Prefactor     1.0534        .18735        .22619E-03   -.90969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21837e-10
Minuit parameter uncertainties:
  1  15.5267
  2  0.76388
  3  0.192426
  4  0.187471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/76450': 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) = 5813.77772059
delta logL = 0.198231823045

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  9.470e+00  1.553e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  1.762e+00  7.639e-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.053e+00  1.875e-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.122e-01  1.924e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/76450/cmap_HighResolution_693187201_693446401_4FGL_J1200.6+1229_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', job_status='DONE', photon_flux_upper_limit='7.25e-08', time_completed='2022-12-23 00:44:39.417519', job_id='76450', GAL2='1.05', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1671785079.42', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.98e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1751' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:44:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 76450: <4FGL_J1200.6+1229_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:35:19 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:35:20 2022
Terminated at Fri Dec 23 00:44:40 2022
Results reported at Fri Dec 23 00:44:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1751 180.173 12.4922 693187201 693446401 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 :                                   528.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            561 sec.

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

