/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 169 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1106
RA = 180.173, Dec = 12.4922
tmin = 526003201, tmax = 526262401
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='253772', job_status='RUN', time_executed='2021-09-04 20:23:55.189943', time_epoch_executed='1630812235.19' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253772

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253772/ft1_4FGL_J1200.6+1229_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253772/ft1_4FGL_J1200.6+1229_daily_bin1106.fits outfile=/scratch/kocevski/253772/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1106.fits ra=180.173 dec=12.4922 rad=12.0 tmin=526003201.0 tmax=526262401.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.78
user 3.55
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.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/253772/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/253772/ft1_filtered_4FGL_J1200.6+1229_daily_bin1106.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.58
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253772/ft1_filtered_4FGL_J1200.6+1229_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/253772/ltcube_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.fits outfile=/scratch/kocevski/253772/expmap_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.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/253772/ltcube_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.fits
.....................!
real 191.42
user 185.00
sys 6.01

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/253772/ft1_filtered_4FGL_J1200.6+1229_daily_bin1106.fits scfile=/scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.fits outfile=/scratch/kocevski/253772/cmap_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253772/ft1_filtered_4FGL_J1200.6+1229_daily_bin1106.fits scfile=/scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.fits outfile=/scratch/kocevski/253772/cmap_HighResolution_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253772/ft1_filtered_4FGL_J1200.6+1229_daily_bin1106.fits', '/scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.fits', expMap='/scratch/kocevski/253772/expmap_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.fits', expCube='/scratch/kocevski/253772/ltcube_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253772/Model_4FGL_J1200.6+1229_daily_bin1106.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  1.000e-04  1.000e+04 ( 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/253772/ft1_filtered_4FGL_J1200.6+1229_daily_bin1106.fits
Spacecraft file(s): /scratch/kocevski/253772/ft2_4FGL_J1200.6+1229_daily_bin1106.fits
Exposure map: /scratch/kocevski/253772/expmap_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.fits
Exposure cube: /scratch/kocevski/253772/ltcube_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253772/Model_4FGL_J1200.6+1229_daily_bin1106.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) = 5846.03092141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.700       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.6099       1.0000         .10000E-03   10000.    
     5 'Prefactor '    181.79       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2365       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9171       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8643       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12376E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.448       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .73628       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.5691       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .40989E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.335       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82139       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2531       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.

 FCN=   5846.013     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2562 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.693        16.057        .82514E-07   -.17428E-05
   2  Prefactor     .10000E-03    4.4301        .92494E-07** at limit **
   3  Prefactor     .10000E-03    26.085        .16746E-06** at limit **
   4  Prefactor     9.6073        8.8757        .22639E-07   -.11898E-04
   5  Prefactor     181.70        135.43       -.48759E-06   -.87932E-04
   6  Prefactor     3.2303        13.724       -.16709E-06    .17535E-04
   7  Prefactor     5.3111        6.9872        .25468E-05   -.11215E-03
   8  Prefactor     4.8665        23.429        .68744E-07   -.21092E-04
   9  Prefactor     2.8641        3.4845        .55922E-07   -.43290E-04
  10  Prefactor     .10000E-03    83.974       -.11705E-05** at limit **
  11  Prefactor     47.437        41.696       -.63804E-06   -.59087E-04
  12  Prefactor     .73699        2.0195        .67278E-06    .38965E-04
  13  Prefactor     .10000E-03    1.1487       -.13432E-07** at limit **
  14  Prefactor     .10000E-03    13.095       -.13506E-06** at limit **
  15  norm          1.5685        1.8612        .46123E-08   -.34260E-05
  16  Prefactor     .10000E-03    11.964        .12028E-06** at limit **
  17  norm          .24879E-02    .20662       -.78402E-07** at limit **
  18  norm          .10000E-03    9.1351        .32820E-07** at limit **
  19  Prefactor     .10000E-03    73.541        .70251E-06** at limit **
  20  Prefactor     11.332        10.110        .73277E-07   -.57158E-05
  21  Prefactor     .10000E-03    9.7954        .14441E-07** at limit **
  22  Normalizat    .82179        .20593        .28417E-06   -.19048E-04
  23  Prefactor     1.2529        .18506       -.10465E-05    .55009E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 32.6935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.60728
  Prefactor  = 181.702
  Prefactor  = 3.23035
  Prefactor  = 5.31108
  Prefactor  = 4.86654
  Prefactor  = 2.86408
  Prefactor  = 0.000100001
  Prefactor  = 47.4369
  Prefactor  = 0.736994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.56852
  Prefactor  = 0.0001
  norm       = 0.00248788
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 11.332
  Prefactor  = 0.0001
  Normalizat = 0.821788
  Prefactor  = 1.25292
 **********
 **   18 **HESSE 
 **********

 FCN=   5846.013     FROM HESSE     STATUS=OK           376 CALLS     2938 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.693        16.090        .70073E-04   -1.4564    
   2  Prefactor     .10000E-03    4.4386        .15717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    26.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.6073        8.8750        .12927E-03   -1.5088    
   5  Prefactor     181.70        135.26        .14970E-03   -1.3004    
   6  Prefactor     3.2303        13.433        .22515E-03   -1.5348    
   7  Prefactor     5.3111        6.9825        .87184E-03   -1.5247    
   8  Prefactor     4.8665        23.500        .18138E-03   -1.5267    
   9  Prefactor     2.8641        3.4612        .14880E-03   -1.5369    
  10  Prefactor     .10000E-03    83.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     47.437        41.683        .58212E-04   -1.4329    
  12  Prefactor     .73699        1.9773        .17113E-03   -1.5536    
  13  Prefactor     .10000E-03    1.1564        .79909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5685        1.8526        .11028E-03   -1.5457    
  16  Prefactor     .10000E-03    11.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .24879E-02    .28571        .91004E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.1358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    73.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.332        10.113        .11900E-03   -1.5035    
  21  Prefactor     .10000E-03    9.8012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .82179        .24640        .29482E-03   -.99266    
  23  Prefactor     1.2529        .21965        .23388E-03   -.84718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.56434e-10
Minuit parameter uncertainties:
  1  16.0922
  2  9.42757e-07
  3  2.76002e-06
  4  8.87617
  5  135.497
  6  13.1795
  7  6.98355
  8  21.4016
  9  3.46143
  10  0.000520128
  11  41.7086
  12  1.97748
  13  1.81821e-06
  14  1.32453e-05
  15  1.85263
  16  2.85524e-05
  17  0.0522395
  18  9.94425e-06
  19  0.000534012
  20  10.1146
  21  1.60904e-05
  22  0.246734
  23  0.219816
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  4.867e+00  2.140e+01  1.000e-04  1.000e+04 ( 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.253e+00  2.198e-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:  8.218e-01  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253772/likelihoodResults_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.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) = 5843.09764838
delta logL = 2.91535798987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5843.08091073
delta logL = 2.93209563991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26726       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1437       1.0000          .0000       10.000    
     3 'Normalizat'    .65090       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3585       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=   5843.081     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      274 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26736        2.0152        .42823E-02    .26121E-02
   2  Index         5.1439        2.2275        .75416E-01    .90225E-04
   3  Normalizat    .65115        .64649E-01    .73896E-01    .27137E-04
   4  Prefactor     1.3583        .62046E-01    .51060E-01    .93276E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.267359
  Index      = 5.1439
  Normalizat = 0.651145
  Prefactor  = 1.35825
 **********
 **   18 **HESSE 
 **********

 FCN=   5843.081     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26736        3.3847        .19197E-04   -1.5605    
   2  Index         5.1439        3.0249        .31220E-02    .28784E-01
   3  Normalizat    .65115        .21098        .32712E-03   -1.0585    
   4  Prefactor     1.3583        .19920        .22573E-03   -.81591    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.5822e-09
Minuit parameter uncertainties:
  1  1.90233
  2  3.24895
  3  0.211245
  4  0.19931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253772': 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): 102
logL (Free Index) = 5843.08090827
delta logL = 2.93209809944

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  2.674e-01  1.902e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  5.144e+00  3.249e+00  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.358e+00  1.993e-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:  6.511e-01  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.53
Ra Dec: 180.173 12.492
Photon Index (Free Index): 5.14 +/- 3.25
Photon Flux (Free Index): 1.40e-07 +/- 7.23e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.15e-05

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/253772/cmap_HighResolution_526003201_526262401_4FGL_J1200.6+1229_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.57e-03', comment='SUCCESS', energy_flux2='1.84e-05', dlogl='2.93e+00', photon_flux2='1.40e-07', job_status='DONE', time_completed='2021-09-04 20:35:15.062229', photon_index_error2='3.25', photon_index2='5.14', ts='0.07', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.15e-05', EG='0.82', time_epoch_completed='1630812915.06', return_code='0', job_id='253772', GAL2='1.36', EG2='0.65', return_code2='102', photon_flux_error2='7.23e-08', ts2='6.53', photon_index='2.39' WHERE bin_id='1106' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:35:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 253772: <4FGL_J1200.6+1229_daily_bin1106> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1106> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 20:20:55 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:20:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:20:56 2021
Terminated at Sat Sep  4 20:35:15 2021
Results reported at Sat Sep  4 20:35:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1106 180.173 12.4922 526003201 526262401 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 :                                   671.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            860 sec.

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

