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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1325
RA = 180.173, Dec = 12.4922
tmin = 582768001, tmax = 583027201
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='255417', job_status='RUN', time_executed='2021-09-04 20:27:48.726905', time_epoch_executed='1630812468.73' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255417

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255417/ft1_4FGL_J1200.6+1229_daily_bin1325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255417/ft2_4FGL_J1200.6+1229_daily_bin1325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255417/ft1_4FGL_J1200.6+1229_daily_bin1325.fits outfile=/scratch/kocevski/255417/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1325.fits ra=180.173 dec=12.4922 rad=12.0 tmin=582768001.0 tmax=583027201.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.58
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255417/ft2_4FGL_J1200.6+1229_daily_bin1325.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/255417/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1325.fits evtable="EVENTS" outfile="/scratch/kocevski/255417/ft1_filtered_4FGL_J1200.6+1229_daily_bin1325.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/255417/ft1_filtered_4FGL_J1200.6+1229_daily_bin1325.fits" evtable="EVENTS" scfile=/scratch/kocevski/255417/ft2_4FGL_J1200.6+1229_daily_bin1325.fits sctable="SC_DATA" outfile=/scratch/kocevski/255417/ltcube_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.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/255417/ft2_4FGL_J1200.6+1229_daily_bin1325.fits
.....................!
real 11.81
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255417/ft1_filtered_4FGL_J1200.6+1229_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/255417/ft2_4FGL_J1200.6+1229_daily_bin1325.fits sctable="SC_DATA" expcube=/scratch/kocevski/255417/ltcube_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.fits outfile=/scratch/kocevski/255417/expmap_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.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/255417/ltcube_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.fits
.....................!
real 190.66
user 185.45
sys 4.39

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/255417/ft1_filtered_4FGL_J1200.6+1229_daily_bin1325.fits scfile=/scratch/kocevski/255417/ft2_4FGL_J1200.6+1229_daily_bin1325.fits outfile=/scratch/kocevski/255417/cmap_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8685       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.305       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.529       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5879       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    57.316       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.780       1.0000         .10000E-03   10000.    
    17 'norm      '    .31538       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5849       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.138       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0688       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98384       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=   5955.163     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2540 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8685        9.4501        .26276E-06   -.33836E-04
   2  Prefactor     15.304        12.345        .13703E-06   -.37904E-04
   3  Prefactor     13.528        24.610        .51044E-06   -.33703E-04
   4  Prefactor     .10000E-03    14.453        .34605E-06** at limit **
   5  Prefactor     .10000E-03    58.248       -.78330E-06** at limit **
   6  Prefactor     .10000E-03    5.8563       -.86286E-08** at limit **
   7  Prefactor     .10000E-03    3.4994       -.28039E-06** at limit **
   8  Prefactor     .10000E-03    30.593        .64994E-06** at limit **
   9  Prefactor     2.5890        4.9884        .56454E-05    .57678E-04
  10  Prefactor     .10001E-03    38.945       -.13435E-05** at limit **
  11  Prefactor     57.303        43.883        .14987E-05   -.19488E-03
  12  Prefactor     .10000E-03    1.5651        .11080E-05** at limit **
  13  Prefactor     .10000E-03    1.9957       -.16548E-05** at limit **
  14  Prefactor     .10000E-03    10.821       -.32141E-06** at limit **
  15  norm          .10000E-03    .85137       -.48928E-07** at limit **
  16  Prefactor     41.775        31.901        .39712E-06   -.12358E-03
  17  norm          .31537        .24904        .59183E-08   -.44225E-03
  18  norm          .10000E-03    10.472        .16976E-06** at limit **
  19  Prefactor     .10001E-03    66.154        .12125E-05** at limit **
  20  Prefactor     8.5836        11.610        .18850E-06   -.54267E-04
  21  Prefactor     24.140        37.883        .42927E-06   -.33672E-04
  22  Normalizat    1.0689        .19652       -.23721E-05   -.31293E-03
  23  Prefactor     .98367        .17206       -.64436E-06   -.47972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.86849
  Prefactor  = 15.3044
  Prefactor  = 13.5283
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 2.58904
  Prefactor  = 0.00010001
  Prefactor  = 57.3029
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 41.7751
  norm       = 0.315372
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 8.58361
  Prefactor  = 24.1404
  Normalizat = 1.06891
  Prefactor  = 0.983672
 **********
 **   18 **HESSE 
 **********

 FCN=   5955.163     FROM HESSE     STATUS=OK           366 CALLS     2906 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8685        9.4471        .12756E-03   -1.5080    
   2  Prefactor     15.304        12.359        .10238E-03   -1.4925    
   3  Prefactor     13.528        24.611        .10890E-03   -1.4972    
   4  Prefactor     .10000E-03    14.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    58.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.5123        .14100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5890        5.0757        .11256E-02   -1.5386    
  10  Prefactor     .10001E-03    39.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     57.303        44.073        .52989E-04   -1.4193    
  12  Prefactor     .10000E-03    7.2239        .17281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.3364        .19138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .86060        .69525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.775        31.910        .62018E-04   -1.4414    
  17  norm          .31537        .23926        .32797E-03   -1.5596    
  18  norm          .10000E-03    10.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    66.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.5836        11.571        .13681E-03   -1.5122    
  21  Prefactor     24.140        37.814        .81532E-04   -1.4725    
  22  Normalizat    1.0689        .22996        .25962E-03   -.90756    
  23  Prefactor     .98367        .20351        .24840E-03   -.93276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59024e-09
Minuit parameter uncertainties:
  1  9.44856
  2  12.3615
  3  24.6296
  4  6.62156e-05
  5  0.000482239
  6  1.16855e-06
  7  3.09049e-05
  8  0.000693492
  9  5.0765
  10  0.00122761
  11  44.0984
  12  0.000348516
  13  6.96527e-05
  14  6.95636e-05
  15  2.11569e-06
  16  31.9232
  17  0.239259
  18  9.12343e-05
  19  0.00167035
  20  11.5742
  21  37.8518
  22  0.230178
  23  0.203673
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  6.935e-04  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:  9.837e-01  2.037e-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.069e+00  2.302e-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: 9.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255417/likelihoodResults_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.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) = 5955.16308745
delta logL = -0.000152814836838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5955.1629344
delta logL = 2.35546394833e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4634       1.0000          .0000       10.000    
     3 'Normalizat'    1.0689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98368       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=   5955.163     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      252 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1742.8        .90712E-02** at limit **
   2  Index         2.5195        5.9038        .50000       -.13809E-04
   3  Normalizat    1.0689        .34021E-01    .58705E-01    .24628E-05
   4  Prefactor     .98367        .31473E-01    .46063E-01    .75937E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.51947
  Normalizat = 1.06891
  Prefactor  = 0.983674
 **********
 **   18 **HESSE 
 **********

 FCN=   5955.163     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    42.128        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5195        6.2575        .50000       -.51911    
   3  Normalizat    1.0689        .21722        .25962E-03   -.90756    
   4  Prefactor     .98367        .20140        .24840E-03   -.93276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69286e-10
Minuit parameter uncertainties:
  1  0.000966744
  2  4.38141
  3  0.217404
  4  0.201552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255417': 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) = 5955.16293422
delta logL = 4.14336682297e-07

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  9.667e-04  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.519e+00  4.381e+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:  9.837e-01  2.016e-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.069e+00  2.174e-01  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/255417/cmap_HighResolution_582768001_583027201_4FGL_J1200.6+1229_daily_bin1325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', job_status='DONE', photon_flux_upper_limit='9.08e-08', time_completed='2021-09-04 20:39:57.509699', job_id='255417', GAL2='0.98', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630813197.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1325' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:39:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 255417: <4FGL_J1200.6+1229_daily_bin1325> in cluster <slac> Done

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

Your job looked like:

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

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

