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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1223
RA = 180.173, Dec = 12.4922
tmin = 556329601, tmax = 556588801
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='253938', job_status='RUN', time_executed='2021-09-04 20:24:22.446792', time_epoch_executed='1630812262.45' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1223'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253938

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253938/ft1_4FGL_J1200.6+1229_daily_bin1223.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253938/ft1_4FGL_J1200.6+1229_daily_bin1223.fits outfile=/scratch/kocevski/253938/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1223.fits ra=180.173 dec=12.4922 rad=12.0 tmin=556329601.0 tmax=556588801.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.76
user 3.51
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253938/ft1_filtered_4FGL_J1200.6+1229_daily_bin1223.fits" evtable="EVENTS" scfile=/scratch/kocevski/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits sctable="SC_DATA" outfile=/scratch/kocevski/253938/ltcube_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.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/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits
.....................!
real 11.49
user 11.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253938/ft1_filtered_4FGL_J1200.6+1229_daily_bin1223.fits evtable="EVENTS" scfile=/scratch/kocevski/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits sctable="SC_DATA" expcube=/scratch/kocevski/253938/ltcube_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.fits outfile=/scratch/kocevski/253938/expmap_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.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/253938/ltcube_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.fits
.....................!
real 191.11
user 185.70
sys 5.04

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/253938/ft1_filtered_4FGL_J1200.6+1229_daily_bin1223.fits scfile=/scratch/kocevski/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits outfile=/scratch/kocevski/253938/cmap_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.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.37
sys 0.15

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253938/ft1_filtered_4FGL_J1200.6+1229_daily_bin1223.fits', '/scratch/kocevski/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits', expMap='/scratch/kocevski/253938/expmap_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.fits', expCube='/scratch/kocevski/253938/ltcube_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253938/Model_4FGL_J1200.6+1229_daily_bin1223.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/253938/ft1_filtered_4FGL_J1200.6+1229_daily_bin1223.fits
Spacecraft file(s): /scratch/kocevski/253938/ft2_4FGL_J1200.6+1229_daily_bin1223.fits
Exposure map: /scratch/kocevski/253938/expmap_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.fits
Exposure cube: /scratch/kocevski/253938/ltcube_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253938/Model_4FGL_J1200.6+1229_daily_bin1223.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 285.997510808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 283.928197536

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16171E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24339       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32690       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51729E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    476.22       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15121       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    159.36       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0845       1.0000         .10000E-03   10000.    
    10 'Prefactor '    143.19       1.0000         .10000E-03   10000.    
    11 'Prefactor '    99.458       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0945       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13101       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11579E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .63013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0896       1.0000         .10000E-03   10000.    
    18 'norm      '    140.10       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .22661       1.0000         .10000E-03   10000.    
    20 'Prefactor '    105.58       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.582       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .32516       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88813       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=   283.2265     FROM MIGRAD    STATUS=CONVERGED    355 CALLS      710 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    47.726       -.80411E-06** at limit **
   2  Prefactor     .10000E-03    807.68        .12472E-05** at limit **
   3  Prefactor     .10000E-03    384.71       -.47919E-06** at limit **
   4  Prefactor     .10000E-03    1105.9        .83024E-05** at limit **
   5  Prefactor     385.38        178.54       -.32784E-05   -.18014E-01
   6  Prefactor     .10000E-03    74.125        .16013E-07** at limit **
   7  Prefactor     .10000E-03    11.691        .45135E-06** at limit **
   8  Prefactor     .37961E-03    379.79       -.99366E-05** at limit **
   9  Prefactor     1.0845        1.2009         .0000         .0000    
  10  Prefactor     1120.4        1345.5        .28185E-04   -.68239E-03
  11  Prefactor     101.72        184.42        .20028E-05    .52050E-03
  12  Prefactor     1.0945        1.1925         .0000         .0000    
  13  Prefactor     .10006E-03    2015.5       -.31490E-04** at limit **
  14  Prefactor     .10000E-03    61.559       -.67702E-06** at limit **
  15  norm          .10000E-03    8.6256        .72563E-06** at limit **
  16  Prefactor     .10000E-03    175.55       -.19985E-05** at limit **
  17  norm          2.0896        1.0319         .0000         .0000    
  18  norm          135.87        149.30       -.19653E-05    .20593E-03
  19  Prefactor     .10000E-03    497.89        .27522E-05** at limit **
  20  Prefactor     .12756E-02    543.63        .76821E-05** at limit **
  21  Prefactor     2969.6        6464.5       -.61170E-05   -.53701E-03
  22  Normalizat    .28582        .92774       -.87428E-05    .15025E-05
  23  Prefactor     .89104        .76886        .92787E-06   -.13667E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 385.377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000379607
  Prefactor  = 1.0845
  Prefactor  = 1120.4
  Prefactor  = 101.717
  Prefactor  = 1.09451
  Prefactor  = 0.000100057
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.08958
  norm       = 135.868
  Prefactor  = 0.0001
  Prefactor  = 0.00127557
  Prefactor  = 2969.55
  Normalizat = 0.285825
  Prefactor  = 0.891044
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   283.2265     FROM HESSE     STATUS=FAILED        41 CALLS      751 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    48.365        .10205E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    800.04        .10174E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    399.38        .10542E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1095.9        .92785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     385.38        536.27        .46956E-03   -1.1756    
   6  Prefactor     .10000E-03    74.267        .97526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.816        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37961E-03    383.45        .79855E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     586.39        584.97         .0000       -1.5500    
  10  Prefactor     1120.4        2.6550        .28185E-04   -.88817    
  11  Prefactor     101.72        1.0112        .20028E-05   -1.3687    
  12  Prefactor     1.0945        1.1925         .0000       -1.5499    
  13  Prefactor     .10006E-03    .23319       -.31490E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .20571       -.67702E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .20571        .72563E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .27661       -.19985E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0896        1.0319         .0000       -1.5419    
  18  norm          135.87        .98500       -.19653E-05   -1.3371    
  19  Prefactor     .10000E-03    .25494        .27522E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12756E-02    .33546E-02    .76821E-05   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2969.6        9.2290       -.61170E-05   -.41817    
  22  Normalizat    .28582        .59243       -.87428E-05   -1.2369    
  23  Prefactor     .89104        1.2354        .92787E-06   -.96455    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.98032e-11
Minuit parameter uncertainties:
  1  5.01905e-05
  2  0.00340958
  3  0.000346667
  4  0.00284429
  5  543.459
  6  3.92352e-05
  7  8.50218e-06
  8  0.659133
  9  1.20089
  10  2.65497
  11  1.01119
  12  1.19253
  13  0.00023104
  14  1.85859e-08
  15  9.35294e-07
  16  8.68947e-06
  17  1.03195
  18  0.985005
  19  1.32315e-05
  20  0.0033546
  21  9.22905
  22  0.606189
  23  1.27785
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 283.226504012

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.796e-04  6.591e-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:  8.910e-01  1.278e+00  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:  2.858e-01  6.062e-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: 2.75e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.12e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253938/likelihoodResults_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.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) = 283.226503964
delta logL = 4.76608761346e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 283.226503926
delta logL = 8.59429860611e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31051E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3873       1.0000          .0000       10.000    
     3 'Normalizat'    .28575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89110       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=   283.2265     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      228 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10135E-03    196.13        .21375E-01** at limit **
   2  Index         2.6627        5.7747        .50000        .87065E-06
   3  Normalizat    .28584        .15292E-01    .42618E-03    .18011E-04
   4  Prefactor     .89104        .12728E-01    .20330E-03   -.15461E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101346
  Index      = 2.66275
  Normalizat = 0.285836
  Prefactor  = 0.891035
 **********
 **   18 **HESSE 
 **********

 FCN=   283.2265     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      257 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10135E-03    1390.1        .28578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6627        7.3852        .50000       -.48640    
   3  Normalizat    .28584        .41726E-01    .17047E-04   -1.2369    
   4  Prefactor     .89104        .34733E-01    .40660E-04   -.96455    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.82509e-09
Minuit parameter uncertainties:
  1  0.0886675
  2  1162.04
  3  0.0417308
  4  0.0347343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253938': 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) = 283.226503691
delta logL = 3.2085301882e-07

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.013e-04  8.867e-02  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.663e+00  1.162e+03  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:  8.910e-01  3.473e-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:  2.858e-01  4.173e-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/253938/cmap_HighResolution_556329601_556588801_4FGL_J1200.6+1229_daily_bin1223.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-01', job_status='DONE', photon_flux_upper_limit='2.75e-06', time_completed='2021-09-04 20:29:56.565263', job_id='253938', GAL2='0.89', fit_tolerance='1e-08', EG2='0.29', EG='0.29', time_epoch_completed='1630812596.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.89', dlogl='3.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1223' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:29:56 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1223 180.173 12.4922 556329601 556588801 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 :                                   329.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             411.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   524 sec.
    Turnaround time :                            527 sec.

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

