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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1125
RA = 180.173, Dec = 12.4922
tmin = 530928001, tmax = 531187201
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='253801', job_status='RUN', time_executed='2021-09-04 20:24:03.585914', time_epoch_executed='1630812243.59' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253801/ft1_4FGL_J1200.6+1229_daily_bin1125.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253801/ft1_4FGL_J1200.6+1229_daily_bin1125.fits outfile=/scratch/kocevski/253801/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1125.fits ra=180.173 dec=12.4922 rad=12.0 tmin=530928001.0 tmax=531187201.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.69
user 3.45
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.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/253801/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1125.fits evtable="EVENTS" outfile="/scratch/kocevski/253801/ft1_filtered_4FGL_J1200.6+1229_daily_bin1125.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/253801/ft1_filtered_4FGL_J1200.6+1229_daily_bin1125.fits" evtable="EVENTS" scfile=/scratch/kocevski/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.fits sctable="SC_DATA" outfile=/scratch/kocevski/253801/ltcube_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.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/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.fits
.....................!
real 11.77
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253801/ft1_filtered_4FGL_J1200.6+1229_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.fits sctable="SC_DATA" expcube=/scratch/kocevski/253801/ltcube_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.fits outfile=/scratch/kocevski/253801/expmap_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.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/253801/ltcube_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.fits
.....................!
real 191.22
user 185.48
sys 5.38

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253801/ft1_filtered_4FGL_J1200.6+1229_daily_bin1125.fits scfile=/scratch/kocevski/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.fits outfile=/scratch/kocevski/253801/cmap_HighResolution_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.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/253801/ft1_filtered_4FGL_J1200.6+1229_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/253801/ft2_4FGL_J1200.6+1229_daily_bin1125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253801/Model_4FGL_J1200.6+1229_daily_bin1125.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/253801/ft1_filtered_4FGL_J1200.6+1229_daily_bin1125.fits.....................!
real 59.57
user 58.12
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10128E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2582       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    137.60       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8005       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12366E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8791       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2064       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6813       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3057       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.588       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    79.946       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1610       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.988       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3288       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79992       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=   6223.693     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2563 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    17.163        .68450E-06** at limit **
   2  Prefactor     5.2580        11.110        .78890E-07    .32719E-04
   3  Prefactor     .10001E-03    69.490       -.35225E-05** at limit **
   4  Prefactor     .10000E-03    4.6545       -.14185E-07** at limit **
   5  Prefactor     137.60        100.28        .11605E-06    .29362E-04
   6  Prefactor     3.8003        5.6094       -.30340E-06   -.25417E-03
   7  Prefactor     .10001E-03    27.655       -.11752E-04** at limit **
   8  Prefactor     .10000E-03    3.2115       -.20460E-07** at limit **
   9  Prefactor     3.8794        4.1406        .18097E-06    .23491E-03
  10  Prefactor     1.0971        161.32        .12482E-04    .89098E-04
  11  Prefactor     .10000E-03    19.174       -.20090E-05** at limit **
  12  Prefactor     4.6815        3.2707       -.21903E-06    .10310E-02
  13  Prefactor     3.3058        3.2757        .15273E-06    .23549E-03
  14  Prefactor     .10000E-03    7.1548       -.32015E-07** at limit **
  15  norm          .10000E-03    1.2714       -.67798E-07** at limit **
  16  Prefactor     10.575        26.054        .75082E-06    .77456E-04
  17  norm          .10000E-03    .11706        .72383E-07** at limit **
  18  norm          79.948        42.391       -.11037E-06   -.17105E-04
  19  Prefactor     .10000E-03    40.158       -.85676E-06** at limit **
  20  Prefactor     5.1615        6.5794       -.42926E-07   -.21984E-04
  21  Prefactor     19.989        21.311        .96399E-07    .10884E-04
  22  Normalizat    1.3289        .19180       -.50095E-06   -.41312E-05
  23  Prefactor     .79982        .16902        .30415E-06    .67619E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.25803
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 137.601
  Prefactor  = 3.80032
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 3.87938
  Prefactor  = 1.09712
  Prefactor  = 0.000100004
  Prefactor  = 4.68155
  Prefactor  = 3.30579
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.5751
  norm       = 0.0001
  norm       = 79.9482
  Prefactor  = 0.000100001
  Prefactor  = 5.16148
  Prefactor  = 19.9893
  Normalizat = 1.32887
  Prefactor  = 0.799824
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.693     FROM HESSE     STATUS=OK           374 CALLS     2937 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2580        11.112        .17529E-03   -1.5249    
   3  Prefactor     .10001E-03    71.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6697        .16620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     137.60        100.46        .34337E-04   -1.3356    
   6  Prefactor     3.8003        5.6156        .20705E-03   -1.5318    
   7  Prefactor     .10001E-03    28.200        .33036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.2123        .13807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8794        4.1361        .15687E-03   -1.5314    
  10  Prefactor     1.0971        177.13        .41249E-02   -1.5498    
  11  Prefactor     .10000E-03    19.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6815        3.3141        .55359E-03   -1.5275    
  13  Prefactor     3.3058        3.2614        .13132E-03   -1.5344    
  14  Prefactor     .10000E-03    7.1566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.2826        .86818E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.575        26.100        .12313E-03   -1.5057    
  17  norm          .10000E-03    .34345        .51798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          79.948        42.368        .44917E-04   -1.3917    
  19  Prefactor     .10000E-03    40.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.1615        6.5727        .17696E-03   -1.5254    
  21  Prefactor     19.989        21.310        .89587E-04   -1.4813    
  22  Normalizat    1.3289        .22713        .24543E-03   -.82709    
  23  Prefactor     .79982        .20028        .27697E-03   -.99735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75442e-09
Minuit parameter uncertainties:
  1  0.000149228
  2  11.1167
  3  0.00183693
  4  7.82186e-07
  5  100.583
  6  5.61637
  7  0.000916035
  8  1.04737e-05
  9  4.13637
  10  27.9636
  11  0.000556924
  12  3.31425
  13  3.26159
  14  5.35003e-06
  15  3.64436e-06
  16  26.128
  17  2.1375e-06
  18  42.3845
  19  0.000361233
  20  6.57363
  21  21.3184
  22  0.227305
  23  0.200462
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.047e-05  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.998e-01  2.005e-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.329e+00  2.273e-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: 3.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253801/likelihoodResults_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.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) = 6223.6940268
delta logL = -0.00141258410713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6223.69261398
delta logL = 2.3497705115e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3640       1.0000          .0000       10.000    
     3 'Normalizat'    1.3289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79983       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=   6223.693     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      260 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.795        .14150E-01** at limit **
   2  Index         1.6728        5.4312        .50000       -.83418E-06
   3  Normalizat    1.3289        .94377E-02    .24543E-03   -.11220E-02
   4  Prefactor     .79982        .85364E-02    .27697E-03   -.99168E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.67283
  Normalizat = 1.32886
  Prefactor  = 0.799821
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.693     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      287 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    149.79        .17095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6728        7.0377        .50000       -.72808    
   3  Normalizat    1.3289        .27490E-01    .49086E-04   -.82709    
   4  Prefactor     .79982        .24864E-01    .55393E-04   -.99735    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.48866e-08
Minuit parameter uncertainties:
  1  8.24826e-05
  2  666.186
  3  0.0274902
  4  0.0248647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253801': 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) = 6223.69260881
delta logL = 5.40957171324e-06

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  8.248e-05  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  1.673e+00  6.662e+02  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.998e-01  2.486e-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:  1.329e+00  2.749e-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/253801/cmap_HighResolution_530928001_531187201_4FGL_J1200.6+1229_daily_bin1125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2021-09-04 20:35:44.544808', job_id='253801', GAL2='0.80', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1630812944.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1125' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:35:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 253801: <4FGL_J1200.6+1229_daily_bin1125> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1125 180.173 12.4922 530928001 531187201 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            888 sec.

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

