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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1060
RA = 180.173, Dec = 12.4922
tmin = 514080001, tmax = 514339201
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='253701', job_status='RUN', time_executed='2021-09-04 20:23:46.495855', time_epoch_executed='1630812226.5' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253701/ft1_4FGL_J1200.6+1229_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253701/ft2_4FGL_J1200.6+1229_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253701/ft1_4FGL_J1200.6+1229_daily_bin1060.fits outfile=/scratch/kocevski/253701/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1060.fits ra=180.173 dec=12.4922 rad=12.0 tmin=514080001.0 tmax=514339201.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.61
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253701/ft1_filtered_4FGL_J1200.6+1229_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/253701/ft2_4FGL_J1200.6+1229_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/253701/ltcube_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.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/253701/ft2_4FGL_J1200.6+1229_daily_bin1060.fits
.....................!
real 11.84
user 11.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253701/ft1_filtered_4FGL_J1200.6+1229_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/253701/ft2_4FGL_J1200.6+1229_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/253701/ltcube_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.fits outfile=/scratch/kocevski/253701/expmap_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.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/253701/ltcube_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.fits
.....................!
real 191.18
user 186.59
sys 4.18

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/253701/ft1_filtered_4FGL_J1200.6+1229_daily_bin1060.fits scfile=/scratch/kocevski/253701/ft2_4FGL_J1200.6+1229_daily_bin1060.fits outfile=/scratch/kocevski/253701/cmap_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.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/253701/ft1_filtered_4FGL_J1200.6+1229_daily_bin1060.fits scfile=/scratch/kocevski/253701/ft2_4FGL_J1200.6+1229_daily_bin1060.fits outfile=/scratch/kocevski/253701/cmap_HighResolution_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=180.173 yref=12.4922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.733       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5880       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.387       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3890       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21476E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.833       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.813       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .91040       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8818       1.0000         .10000E-03   10000.    
    16 'Prefactor '    50.260       1.0000         .10000E-03   10000.    
    17 'norm      '    .26980E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    10.536       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8145       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3999       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71963       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=   6303.403     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2585 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.737        11.250       -.13767E-05   -.44750E-03
   2  Prefactor     .10000E-03    20.777       -.39472E-06** at limit **
   3  Prefactor     4.5048        111.41        .20432E-04    .16149E-04
   4  Prefactor     11.384        12.360        .61639E-06   -.13062E-03
   5  Prefactor     .10000E-03    94.994       -.11542E-04** at limit **
   6  Prefactor     1.3793        8.4038        .16718E-04   -.14171E-03
   7  Prefactor     .10013E-03    6.8680        .46495E-05** at limit **
   8  Prefactor     18.810        16.339       -.10272E-05   -.24948E-03
   9  Prefactor     .10000E-03    2.1521        .16391E-06** at limit **
  10  Prefactor     .10000E-03    165.11        .77201E-05** at limit **
  11  Prefactor     11.834        37.670       -.10963E-05   -.11548E-03
  12  Prefactor     .90978        1.7109        .39982E-07   -.25800E-03
  13  Prefactor     .10000E-03    .87183        .71141E-07** at limit **
  14  Prefactor     .10000E-03    33.302        .53690E-09** at limit **
  15  norm          1.8828        4.1970       -.60478E-06   -.35448E-03
  16  Prefactor     50.253        32.848        .49911E-06   -.22366E-04
  17  norm          .26868E-01    .11874        .74571E-08   -.58463E-03
  18  norm          10.511        53.997        .64943E-05    .40264E-04
  19  Prefactor     .10000E-03    57.611        .54904E-05** at limit **
  20  Prefactor     6.8097        12.340        .78512E-06   -.74830E-04
  21  Prefactor     .10000E-03    23.591        .93680E-06** at limit **
  22  Normalizat    1.4001        .19472        .10551E-05   -.51556E-03
  23  Prefactor     .71956        .16999       -.45960E-05   -.65033E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7367
  Prefactor  = 0.0001
  Prefactor  = 4.5048
  Prefactor  = 11.3839
  Prefactor  = 0.000100001
  Prefactor  = 1.3793
  Prefactor  = 0.000100126
  Prefactor  = 18.8102
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8338
  Prefactor  = 0.909783
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.88277
  Prefactor  = 50.2528
  norm       = 0.0268679
  norm       = 10.5112
  Prefactor  = 0.000100001
  Prefactor  = 6.80967
  Prefactor  = 0.0001
  Normalizat = 1.40012
  Prefactor  = 0.719556
 **********
 **   18 **HESSE 
 **********

 FCN=   6303.403     FROM HESSE     STATUS=OK           374 CALLS     2959 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.737        11.251        .11695E-03   -1.5023    
   2  Prefactor     .10000E-03    21.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5048        112.53        .18792E-03   -1.5283    
   4  Prefactor     11.384        12.366        .59360E-03   -1.5033    
   5  Prefactor     .10000E-03    94.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3793        8.5609        .18441E-02   -1.5473    
   7  Prefactor     .10013E-03    38.852        .37778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.810        16.343        .92293E-04   -1.4840    
   9  Prefactor     .10000E-03    2.1739        .11364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    165.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.834        37.089        .11655E-03   -1.5020    
  12  Prefactor     .90978        1.3393        .13687E-02   -1.5517    
  13  Prefactor     .10000E-03    .87594        .72363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8828        4.0848        .18815E-03   -1.5434    
  16  Prefactor     50.253        32.831        .56567E-04   -1.4289    
  17  norm          .26868E-01    .32301        .51840E-03   -1.5675    
  18  norm          10.511        52.007        .12344E-03   -1.5059    
  19  Prefactor     .10000E-03    57.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8097        12.339        .15370E-03   -1.5186    
  21  Prefactor     .10000E-03    23.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4001        .23155        .23647E-03   -.80625    
  23  Prefactor     .71956        .20104        .28614E-03   -1.0277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0574e-08
Minuit parameter uncertainties:
  1  11.2534
  2  3.30738e-05
  3  45.1237
  4  12.3687
  5  0.000655288
  6  6.87378
  7  0.00442441
  8  16.347
  9  1.33784e-05
  10  0.000355179
  11  37.1615
  12  1.3393
  13  4.06827e-06
  14  0.000267967
  15  4.08539
  16  32.8428
  17  0.185971
  18  46.8264
  19  0.000378498
  20  12.3437
  21  9.19109e-05
  22  0.231719
  23  0.201242
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.881e+01  1.635e+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.196e-01  2.012e-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.400e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.17
Ra Dec: 180.173 12.492
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 3.52e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.17e-05

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

Saving results to:
/scratch/kocevski/253701/likelihoodResults_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.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) = 6303.17490692
delta logL = 0.228045935219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6303.03492843
delta logL = 0.368024427003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.546       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7402       1.0000          .0000       10.000    
     3 'Normalizat'    1.4150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70964       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=   6303.035     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      232 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.513        42.164        .18124E-02    .97667E-05
   2  Index         1.7407        .83065        .18353       -.46041E-04
   3  Normalizat    1.4145        .18566        .53234E-01    .97417E-05
   4  Prefactor     .71013        .16735        .65050E-01    .32626E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.5133
  Index      = 1.74075
  Normalizat = 1.4145
  Prefactor  = 0.710126
 **********
 **   18 **HESSE 
 **********

 FCN=   6303.035     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.513        23.739        .72495E-04   -1.4603    
   2  Index         1.7407        .56143        .95032E-02   -.71002    
   3  Normalizat    1.4145        .21882        .23536E-03   -.80210    
   4  Prefactor     .71013        .19730        .28780E-03   -1.0313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87213e-12
Minuit parameter uncertainties:
  1  23.7464
  2  0.5635
  3  0.218965
  4  0.197498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253701': 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) = 6303.03492401
delta logL = 0.368028850695

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.051e+01  2.375e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  1.741e+00  5.635e-01  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.101e-01  1.975e-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.414e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.91
Ra Dec: 180.173 12.492
Photon Index (Free Index): 1.74 +/- 0.56
Photon Flux (Free Index): 2.61e-08 +/- 2.68e-08
Energy Flux (Free Index): 3.75e-05 +/- 5.02e-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/253701/cmap_HighResolution_514080001_514339201_4FGL_J1200.6+1229_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.29e-03', comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='3.75e-05', photon_flux_error='3.52e-08', dlogl='3.68e-01', energy_flux='1.35e-05', photon_flux2='2.61e-08', job_status='DONE', time_completed='2021-09-04 20:35:27.916066', photon_index_error2='0.56', photon_index2='1.74', ts='2.17', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='5.02e-05', EG='1.40', time_epoch_completed='1630812927.92', return_code='0', job_id='253701', GAL2='0.71', EG2='1.41', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='2.68e-08', ts2='2.91', photon_index='2.39' WHERE bin_id='1060' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:35:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 253701: <4FGL_J1200.6+1229_daily_bin1060> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1060> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 20:20:49 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:20:50 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:50 2021
Terminated at Sat Sep  4 20:35:28 2021
Results reported at Sat Sep  4 20:35:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1060 180.173 12.4922 514080001 514339201 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 :                                   697.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            879 sec.

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

