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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1102
RA = 180.173, Dec = 12.4922
tmin = 524966401, tmax = 525225601
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='253766', job_status='RUN', time_executed='2021-09-04 20:24:29.027777', time_epoch_executed='1630812269.03' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1102'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253766

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253766/ft1_4FGL_J1200.6+1229_daily_bin1102.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253766/ft2_4FGL_J1200.6+1229_daily_bin1102.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253766/ft1_4FGL_J1200.6+1229_daily_bin1102.fits outfile=/scratch/kocevski/253766/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1102.fits ra=180.173 dec=12.4922 rad=12.0 tmin=524966401.0 tmax=525225601.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.47
user 3.21
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253766/ft1_filtered_4FGL_J1200.6+1229_daily_bin1102.fits" evtable="EVENTS" scfile=/scratch/kocevski/253766/ft2_4FGL_J1200.6+1229_daily_bin1102.fits sctable="SC_DATA" outfile=/scratch/kocevski/253766/ltcube_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.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/253766/ft2_4FGL_J1200.6+1229_daily_bin1102.fits
.....................!
real 12.00
user 11.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253766/ft1_filtered_4FGL_J1200.6+1229_daily_bin1102.fits evtable="EVENTS" scfile=/scratch/kocevski/253766/ft2_4FGL_J1200.6+1229_daily_bin1102.fits sctable="SC_DATA" expcube=/scratch/kocevski/253766/ltcube_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.fits outfile=/scratch/kocevski/253766/expmap_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.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/253766/ltcube_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.fits
.....................!
real 192.15
user 187.44
sys 4.35

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/253766/ft1_filtered_4FGL_J1200.6+1229_daily_bin1102.fits scfile=/scratch/kocevski/253766/ft2_4FGL_J1200.6+1229_daily_bin1102.fits outfile=/scratch/kocevski/253766/cmap_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.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.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    166.41       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2113       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5449       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    66.639       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2758       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .48986       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10521E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .25439E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .15185       1.0000         .10000E-03   10000.    
    18 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.180       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87332       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2231       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=   5271.447     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2538 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.668        13.105       -.47592E-07   -.22101E-04
   2  Prefactor     .10000E-03    3.6245       -.55375E-08** at limit **
   3  Prefactor     .10000E-03    11.293       -.66516E-07** at limit **
   4  Prefactor     .10000E-03    3.5082        .18166E-08** at limit **
   5  Prefactor     166.41        133.75       -.64567E-05    .33339E-04
   6  Prefactor     .10000E-03    4.8977        .28627E-07** at limit **
   7  Prefactor     .10000E-03    5.9616       -.12369E-06** at limit **
   8  Prefactor     3.2106        12.157       -.43775E-06   -.93257E-04
   9  Prefactor     2.5445        2.9687       -.87603E-07   -.22293E-03
  10  Prefactor     .10000E-03    43.842       -.74807E-05** at limit **
  11  Prefactor     66.644        48.944        .49161E-05   -.11690E-03
  12  Prefactor     4.2744        2.9678        .17299E-06    .82256E-04
  13  Prefactor     .49028        2.0710       -.12865E-05   -.13273E-02
  14  Prefactor     .10000E-03    53.794        .12875E-04** at limit **
  15  norm          .10000E-03    1.3646       -.12389E-06** at limit **
  16  Prefactor     .10000E-03    19.907        .23064E-06** at limit **
  17  norm          .15188        .21488       -.46699E-07   -.18448E-02
  18  norm          .10000E-03    67.111       -.68986E-05** at limit **
  19  Prefactor     .10000E-03    45.408        .49998E-06** at limit **
  20  Prefactor     .10000E-03    2.7718       -.14206E-08** at limit **
  21  Prefactor     20.178        18.535       -.11668E-07    .46970E-05
  22  Normalizat    .87356        .20509       -.20757E-07    .40564E-04
  23  Prefactor     1.2228        .19389        .21494E-06    .28739E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.6682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 166.406
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.21062
  Prefactor  = 2.54449
  Prefactor  = 0.000100001
  Prefactor  = 66.6442
  Prefactor  = 4.27436
  Prefactor  = 0.490283
  Prefactor  = 0.000100004
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.151885
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1783
  Normalizat = 0.873562
  Prefactor  = 1.22284
 **********
 **   18 **HESSE 
 **********

 FCN=   5271.447     FROM HESSE     STATUS=OK           368 CALLS     2906 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.668        13.107        .95283E-04   -1.4867    
   2  Prefactor     .10000E-03    3.6293        .13499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.5197        .13280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     166.41        133.07        .31269E-04   -1.3121    
   6  Prefactor     .10000E-03    4.9141        .15690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.9902        .17311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2106        12.165        .22608E-03   -1.5350    
   9  Prefactor     2.5445        2.9586        .12941E-03   -1.5389    
  10  Prefactor     .10000E-03    43.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     66.644        47.682        .49166E-04   -1.4073    
  12  Prefactor     4.2744        2.9345        .94980E-04   -1.5294    
  13  Prefactor     .49028        2.4366        .21068E-03   -1.5568    
  14  Prefactor     .10000E-03    51.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.639        .16434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .15188        .20086        .38144E-03   -1.5630    
  18  norm          .10000E-03    67.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    45.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.7740        .11804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.178        18.534        .89161E-04   -1.4809    
  22  Normalizat    .87356        .24045        .27481E-03   -.97395    
  23  Prefactor     1.2228        .22894        .23295E-03   -.85631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14994e-09
Minuit parameter uncertainties:
  1  13.1089
  2  6.26363e-08
  3  1.8986e-06
  4  2.92792e-07
  5  133.314
  6  5.4483e-06
  7  2.52322e-05
  8  12.1739
  9  2.95879
  10  0.000396576
  11  47.709
  12  2.93458
  13  2.18589
  14  0.000918488
  15  0.000154634
  16  1.41041e-05
  17  0.200858
  18  0.000459788
  19  2.93294e-05
  20  1.56268e-07
  21  18.5398
  22  0.240743
  23  0.229124
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.211e+00  1.217e+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:  1.223e+00  2.291e-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:  8.736e-01  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/253766/likelihoodResults_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.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) = 5271.44609446
delta logL = 0.00090372809882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5271.44593894
delta logL = 0.00105925330809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4383       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3154       1.0000          .0000       10.000    
     3 'Normalizat'    .87427       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2225       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=   5271.446     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      274 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4401        13.726        .21813E-03    .60302E-04
   2  Index         2.3094        1.6595        .79572E-02    .37613E-04
   3  Normalizat    .87413        .23101        .27473E-03    .56612E-03
   4  Prefactor     1.2225        .22811        .23298E-03    .58843E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.44008
  Index      = 2.30938
  Normalizat = 0.874131
  Prefactor  = 1.22248
 **********
 **   18 **HESSE 
 **********

 FCN=   5271.446     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4401        13.469        .87252E-05   -1.5337    
   2  Index         2.3094        1.6303        .31829E-03   -.56821    
   3  Normalizat    .87413        .23120        .54946E-04   -.97375    
   4  Prefactor     1.2225        .22828        .46597E-04   -.85642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21967e-10
Minuit parameter uncertainties:
  1  13.4805
  2  1.67397
  3  0.231464
  4  0.228467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253766': 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) = 5271.44592945
delta logL = 0.00106873936875

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.440e+00  1.348e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.309e+00  1.674e+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:  1.222e+00  2.285e-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:  8.741e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/253766/cmap_HighResolution_524966401_525225601_4FGL_J1200.6+1229_daily_bin1102.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', job_status='DONE', photon_flux_upper_limit='8.35e-08', time_completed='2021-09-04 20:35:16.842521', job_id='253766', GAL2='1.22', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1630812916.84', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.07e-03', ts2='0.08', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1102' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:35:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 253766: <4FGL_J1200.6+1229_daily_bin1102> in cluster <slac> Done

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

Your job looked like:

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

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

