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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1415
RA = 180.173, Dec = 12.4922
tmin = 606096001, tmax = 606355201
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='255547', job_status='RUN', time_executed='2021-09-04 20:27:52.633841', time_epoch_executed='1630812472.63' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255547/ft1_4FGL_J1200.6+1229_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255547/ft1_4FGL_J1200.6+1229_daily_bin1415.fits outfile=/scratch/kocevski/255547/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1415.fits ra=180.173 dec=12.4922 rad=12.0 tmin=606096001.0 tmax=606355201.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.79
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.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/255547/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1415.fits evtable="EVENTS" outfile="/scratch/kocevski/255547/ft1_filtered_4FGL_J1200.6+1229_daily_bin1415.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.65
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255547/ft1_filtered_4FGL_J1200.6+1229_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/255547/ltcube_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.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/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.fits
.....................!
real 12.06
user 11.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255547/ft1_filtered_4FGL_J1200.6+1229_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/255547/ltcube_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.fits outfile=/scratch/kocevski/255547/expmap_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.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/255547/ltcube_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.fits
.....................!
real 190.83
user 185.35
sys 5.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/255547/ft1_filtered_4FGL_J1200.6+1229_daily_bin1415.fits scfile=/scratch/kocevski/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.fits outfile=/scratch/kocevski/255547/cmap_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255547/ft1_filtered_4FGL_J1200.6+1229_daily_bin1415.fits scfile=/scratch/kocevski/255547/ft2_4FGL_J1200.6+1229_daily_bin1415.fits outfile=/scratch/kocevski/255547/cmap_HighResolution_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.491       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9741       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    152.93       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3245       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.385       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6225       1.0000         .10000E-03   10000.    
    10 'Prefactor '    71.359       1.0000         .10000E-03   10000.    
    11 'Prefactor '    69.566       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5570       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8341       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.228       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75784       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=   5302.188     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2546 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.493        14.789       -.46315E-07    .61671E-04
   2  Prefactor     9.9747        9.3204       -.20252E-06    .18996E-04
   3  Prefactor     .10000E-03    31.665       -.16242E-04** at limit **
   4  Prefactor     .10000E-03    2.7762        .14773E-07** at limit **
   5  Prefactor     152.93        120.18        .25853E-05   -.89169E-06
   6  Prefactor     5.3252        10.332       -.88983E-06   -.99633E-04
   7  Prefactor     .10000E-03    4.0087        .28469E-07** at limit **
   8  Prefactor     12.387        26.197       -.83506E-06   -.92032E-05
   9  Prefactor     5.6199        5.1128        .33943E-06   -.23732E-03
  10  Prefactor     71.363        117.21        .44076E-05    .34846E-05
  11  Prefactor     69.564        41.316       -.17929E-05   -.97399E-05
  12  Prefactor     .10000E-03    1.8464       -.80608E-07** at limit **
  13  Prefactor     2.5519        3.7438       -.22230E-06   -.38724E-03
  14  Prefactor     .10000E-03    7.9417        .18198E-06** at limit **
  15  norm          1.8341        2.3863       -.10276E-06   -.36423E-03
  16  Prefactor     .10000E-03    48.400        .33227E-04** at limit **
  17  norm          .10000E-03    .70676E-01   -.19226E-07** at limit **
  18  norm          .10000E-03    24.016        .45427E-05** at limit **
  19  Prefactor     .10000E-03    61.204        .25440E-05** at limit **
  20  Prefactor     11.228        9.6237        .93298E-06    .35302E-03
  21  Prefactor     .10000E-03    66.265       -.28609E-04** at limit **
  22  Normalizat    1.1189        .20299        .18771E-06    .13245E-03
  23  Prefactor     .75799        .17648       -.10803E-06    .90950E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.4926
  Prefactor  = 9.97471
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 152.933
  Prefactor  = 5.32518
  Prefactor  = 0.0001
  Prefactor  = 12.3869
  Prefactor  = 5.61989
  Prefactor  = 71.3631
  Prefactor  = 69.5639
  Prefactor  = 0.0001
  Prefactor  = 2.55187
  Prefactor  = 0.0001
  norm       = 1.83413
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2281
  Prefactor  = 0.000100001
  Normalizat = 1.11887
  Prefactor  = 0.757992
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.188     FROM HESSE     STATUS=OK           366 CALLS     2912 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.493        14.798        .75058E-04   -1.4640    
   2  Prefactor     9.9747        9.3240        .12688E-03   -1.5076    
   3  Prefactor     .10000E-03    31.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7777        .11848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     152.93        120.19        .32596E-04   -1.3228    
   6  Prefactor     5.3252        10.305        .17417E-03   -1.5246    
   7  Prefactor     .10000E-03    4.0271        .14235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.387        26.094        .11382E-03   -1.5004    
   9  Prefactor     5.6199        5.0174        .14236E-03   -1.5234    
  10  Prefactor     71.363        116.65        .47523E-04   -1.4016    
  11  Prefactor     69.564        41.317        .48127E-04   -1.4038    
  12  Prefactor     .10000E-03    8.5691        .17209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.5519        3.5062        .14983E-03   -1.5388    
  14  Prefactor     .10000E-03    7.9434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8341        2.3716        .12418E-03   -1.5437    
  16  Prefactor     .10000E-03    48.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .83381E-01    .37672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    24.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    61.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.228        9.6343        .11956E-03   -1.5038    
  21  Prefactor     .10000E-03    67.436        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1189        .23983        .24484E-03   -.89148    
  23  Prefactor     .75799        .20676        .26597E-03   -1.0130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61839e-10
Minuit parameter uncertainties:
  1  14.7998
  2  9.32537
  3  4.38255e-05
  4  1.14398e-06
  5  120.386
  6  10.3089
  7  4.4682e-06
  8  26.1178
  9  5.01782
  10  117.029
  11  41.3342
  12  7.34514e-05
  13  3.50651
  14  5.20856e-07
  15  2.37173
  16  0.000140475
  17  9.25537e-08
  18  8.09359e-07
  19  9.09403e-06
  20  9.63562
  21  0.000378239
  22  0.24006
  23  0.206971
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.239e+01  2.612e+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:  7.580e-01  2.070e-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:  1.119e+00  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/255547/likelihoodResults_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.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) = 5301.61415737
delta logL = 0.57416295861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5301.60408669
delta logL = 0.584233637202

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4298       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4086       1.0000          .0000       10.000    
     3 'Normalizat'    1.0640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78777       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=   5301.604     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      280 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4305        27.205        .14106E-03    .59472E-03
   2  Index         3.4092        2.1449        .53379E-02    .12566E-03
   3  Normalizat    1.0640        .23231        .24980E-03    .31531E-03
   4  Prefactor     .78779        .20893        .26122E-03    .27865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.43048
  Index      = 3.40918
  Normalizat = 1.06405
  Prefactor  = 0.787793
 **********
 **   18 **HESSE 
 **********

 FCN=   5301.604     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4305        11.797        .56423E-05   -1.5242    
   2  Index         3.4092        1.0690        .21352E-03   -.32379    
   3  Normalizat    1.0640        .23217        .49959E-04   -.90915    
   4  Prefactor     .78779        .20762        .52244E-04   -1.0018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20053e-10
Minuit parameter uncertainties:
  1  11.8016
  2  1.07823
  3  0.232392
  4  0.207829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255547': 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) = 5301.60408549
delta logL = 0.584234838238

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  5.430e+00  1.180e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  3.409e+00  1.078e+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:  7.878e-01  2.078e-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:  1.064e+00  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 180.173 12.492
Photon Index (Free Index): 3.41 +/- 1.08
Photon Flux (Free Index): 7.73e-08 +/- 7.04e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.21e-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/255547/cmap_HighResolution_606096001_606355201_4FGL_J1200.6+1229_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.98e-03', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='5.84e-01', photon_flux2='7.73e-08', job_status='DONE', time_completed='2021-09-04 20:39:35.762608', photon_index_error2='1.08', photon_index2='3.41', ts='0.36', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.21e-05', EG='1.12', time_epoch_completed='1630813175.76', return_code='0', job_id='255547', GAL2='0.79', EG2='1.06', return_code2='0', photon_flux_error2='7.04e-08', ts2='1.59', photon_index='2.39' WHERE bin_id='1415' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:39:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 255547: <4FGL_J1200.6+1229_daily_bin1415> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1415> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:25:45 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:25:47 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:25:47 2021
Terminated at Sat Sep  4 20:39:36 2021
Results reported at Sat Sep  4 20:39:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1415 180.173 12.4922 606096001 606355201 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 :                                   634.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

