/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 48 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 = 7394
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1200.6+1229_daily_bin852
RA = 180.173, Dec = 12.4922
tmin = 460166401, tmax = 460425601
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='253376', job_status='RUN', time_executed='2021-09-04 20:21:26.022611', time_epoch_executed='1630812086.02' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='852'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253376

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253376/ft1_4FGL_J1200.6+1229_daily_bin852.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253376/ft2_4FGL_J1200.6+1229_daily_bin852.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253376/ft1_4FGL_J1200.6+1229_daily_bin852.fits outfile=/scratch/kocevski/253376/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin852.fits ra=180.173 dec=12.4922 rad=12.0 tmin=460166401.0 tmax=460425601.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.34
user 3.13
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253376/ft2_4FGL_J1200.6+1229_daily_bin852.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/253376/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin852.fits evtable="EVENTS" outfile="/scratch/kocevski/253376/ft1_filtered_4FGL_J1200.6+1229_daily_bin852.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.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253376/ft1_filtered_4FGL_J1200.6+1229_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/253376/ft2_4FGL_J1200.6+1229_daily_bin852.fits sctable="SC_DATA" expcube=/scratch/kocevski/253376/ltcube_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.fits outfile=/scratch/kocevski/253376/expmap_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.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/253376/ltcube_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.fits
.....................!
real 190.93
user 184.97
sys 4.24

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/253376/ft1_filtered_4FGL_J1200.6+1229_daily_bin852.fits scfile=/scratch/kocevski/253376/ft2_4FGL_J1200.6+1229_daily_bin852.fits outfile=/scratch/kocevski/253376/cmap_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253376/ft1_filtered_4FGL_J1200.6+1229_daily_bin852.fits scfile=/scratch/kocevski/253376/ft2_4FGL_J1200.6+1229_daily_bin852.fits outfile=/scratch/kocevski/253376/cmap_HighResolution_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3737       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.569       1.0000         .10000E-03   10000.    
     3 'Prefactor '    72.898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2431       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14559E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.952       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.177       1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0210       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63352       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3080       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=   5317.913     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2549 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3740        22.403       -.10894E-05   -.33156E-04
   2  Prefactor     13.572        11.427        .19840E-05    .29012E-05
   3  Prefactor     72.902        43.910        .12472E-05    .92727E-05
   4  Prefactor     .10000E-03    2.7951       -.49750E-08** at limit **
   5  Prefactor     .10000E-03    98.751        .29769E-04** at limit **
   6  Prefactor     1.2457        1.4442        .13176E-06   -.56326E-03
   7  Prefactor     .10000E-03    3.4524        .52376E-07** at limit **
   8  Prefactor     .10000E-03    9.1515       -.72795E-06** at limit **
   9  Prefactor     .10000E-03    .96513        .21395E-09** at limit **
  10  Prefactor     .10000E-03    165.76       -.11532E-04** at limit **
  11  Prefactor     40.944        46.844       -.53395E-05   -.19852E-04
  12  Prefactor     .10000E-03    1.1716        .12954E-08** at limit **
  13  Prefactor     .10000E-03    1.5329       -.52536E-08** at limit **
  14  Prefactor     17.178        26.710        .61263E-06    .41765E-06
  15  norm          .10000E-03    1.9656        .50504E-07** at limit **
  16  Prefactor     .10000E-03    9.4094        .85322E-06** at limit **
  17  norm          1.0210        .28370       -.16208E-08    .20602E-04
  18  norm          .10000E-03    11.130       -.16888E-06** at limit **
  19  Prefactor     .10000E-03    90.937       -.21625E-04** at limit **
  20  Prefactor     .10000E-03    7.6237        .20024E-07** at limit **
  21  Prefactor     .10000E-03    19.177        .15292E-06** at limit **
  22  Normalizat    .63350        .19449       -.12773E-06    .86645E-05
  23  Prefactor     1.3080        .18548        .23725E-06   -.65954E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.37405
  Prefactor  = 13.5718
  Prefactor  = 72.9015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.24572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.9435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1785
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.02104
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.633504
  Prefactor  = 1.30801
 **********
 **   18 **HESSE 
 **********

 FCN=   5317.913     FROM HESSE     STATUS=OK           364 CALLS     2913 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3740        22.477        .37179E-03   -1.5474    
   2  Prefactor     13.572        11.433        .10874E-03   -1.4971    
   3  Prefactor     72.902        43.724        .47022E-04   -1.3998    
   4  Prefactor     .10000E-03    2.8009        .11906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    98.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2457        28.531        .20096E-02   -1.5485    
   7  Prefactor     .10000E-03    3.4657        .13231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .97226        .69946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    166.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     40.944        46.911        .62640E-04   -1.4427    
  12  Prefactor     .10000E-03    1.1993        .15392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.3610        .17410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.178        26.685        .96637E-04   -1.4879    
  15  norm          .10000E-03    2.0049        .99697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.4121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0210        .28429        .19703E-04   -1.5506    
  18  norm          .10000E-03    11.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    90.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.7160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .63350        .22763        .30685E-03   -1.0658    
  23  Prefactor     1.3080        .21921        .21610E-03   -.83069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50079e-09
Minuit parameter uncertainties:
  1  11.1194
  2  11.4344
  3  43.7431
  4  1.76691e-06
  5  0.000139153
  6  11.9293
  7  9.70453e-06
  8  1.58668e-06
  9  3.30808e-07
  10  7.04505e-05
  11  46.9528
  12  4.16305e-07
  13  2.95919e-06
  14  26.703
  15  5.74046e-06
  16  1.00791e-06
  17  0.284285
  18  2.11275e-06
  19  6.24895e-07
  20  1.34395e-06
  21  2.86945e-06
  22  0.227971
  23  0.219366
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.587e-06  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.308e+00  2.194e-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.335e-01  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/253376/likelihoodResults_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.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): 102
logL (Free Index) = 5317.9131864
delta logL = -0.000518808018569

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5317.91266774
delta logL = -1.50551386469e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3736       1.0000          .0000       10.000    
     3 'Normalizat'    .63346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3081       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=   5317.913     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      243 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10061E-03    88.265        .18142E-02** at limit **
   2  Index         2.3352        6.1150        .50000        .10430E-04
   3  Normalizat    .63351        .14365E-01    .30685E-03   -.58473E-03
   4  Prefactor     1.3080        .14140E-01    .21610E-03   -.10916E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100607
  Index      = 2.33521
  Normalizat = 0.633506
  Prefactor  = 1.308
 **********
 **   18 **HESSE 
 **********

 FCN=   5317.913     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10061E-03    386.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3352        8.7804        .50000       -.56209    
   3  Normalizat    .63351        .31325E-01    .61371E-04   -1.0658    
   4  Prefactor     1.3080        .30835E-01    .43220E-04   -.83069    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.16428e-09
Minuit parameter uncertainties:
  1  0.0308155
  2  681.253
  3  0.031326
  4  0.0308351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253376': 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) = 5317.91266748
delta logL = 1.09224856715e-07

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.006e-04  3.082e-02  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.335e+00  6.813e+02  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.308e+00  3.084e-02  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.335e-01  3.133e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/253376/cmap_HighResolution_460166401_460425601_4FGL_J1200.6+1229_daily_bin852.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.29e-08', time_completed='2021-09-04 20:32:11.335524', job_id='253376', GAL2='1.31', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1630812731.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='1.09e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='852' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:32:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 253376: <4FGL_J1200.6+1229_daily_bin852> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin852> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 20:20:21 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:20:22 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:22 2021
Terminated at Sat Sep  4 20:32:12 2021
Results reported at Sat Sep  4 20:32:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin852 180.173 12.4922 460166401 460425601 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 :                                   638.02 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             276.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

