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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin512
RA = 180.173, Dec = 12.4922
tmin = 372038401, tmax = 372297601
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='250783', job_status='RUN', time_executed='2021-09-04 20:11:04.287240', time_epoch_executed='1630811464.29' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250783

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250783/ft1_4FGL_J1200.6+1229_daily_bin512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250783/ft2_4FGL_J1200.6+1229_daily_bin512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250783/ft1_4FGL_J1200.6+1229_daily_bin512.fits outfile=/scratch/kocevski/250783/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin512.fits ra=180.173 dec=12.4922 rad=12.0 tmin=372038401.0 tmax=372297601.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 4.38
user 4.16
sys 0.21

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250783/ft1_filtered_4FGL_J1200.6+1229_daily_bin512.fits evtable="EVENTS" scfile=/scratch/kocevski/250783/ft2_4FGL_J1200.6+1229_daily_bin512.fits sctable="SC_DATA" expcube=/scratch/kocevski/250783/ltcube_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.fits outfile=/scratch/kocevski/250783/expmap_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.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/250783/ltcube_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.fits
.....................!
real 190.06
user 185.35
sys 4.33

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/250783/ft1_filtered_4FGL_J1200.6+1229_daily_bin512.fits scfile=/scratch/kocevski/250783/ft2_4FGL_J1200.6+1229_daily_bin512.fits outfile=/scratch/kocevski/250783/cmap_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.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/250783/ft1_filtered_4FGL_J1200.6+1229_daily_bin512.fits scfile=/scratch/kocevski/250783/ft2_4FGL_J1200.6+1229_daily_bin512.fits outfile=/scratch/kocevski/250783/cmap_HighResolution_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.750       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.036       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4608       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.852       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.069       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .54362       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    17.520       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .91589       1.0000         .10000E-03   10000.    
    18 'norm      '    69.925       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2191       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91559       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=   7044.391     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2532 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.750        10.832        .54001E-06   -.17483E-03
   2  Prefactor     15.038        14.265        .86253E-07   -.37863E-04
   3  Prefactor     .10000E-03    22.116       -.13343E-05** at limit **
   4  Prefactor     5.4603        12.363        .47559E-05   -.61045E-03
   5  Prefactor     35.885        85.829        .12358E-04    .22981E-03
   6  Prefactor     .10000E-03    2.3907        .39029E-07** at limit **
   7  Prefactor     .10000E-03    5.5182        .11922E-06** at limit **
   8  Prefactor     .10000E-03    4.8224        .59578E-08** at limit **
   9  Prefactor     .10000E-03    2.1154       -.24373E-06** at limit **
  10  Prefactor     .10000E-03    19.297        .59085E-06** at limit **
  11  Prefactor     31.075        45.788        .20898E-05    .14854E-03
  12  Prefactor     .54348        3.2208        .14370E-05   -.44597E-03
  13  Prefactor     3.5011        3.6965       -.24922E-06   -.39438E-03
  14  Prefactor     .10000E-03    13.052       -.15154E-07** at limit **
  15  norm          17.520        5.8644       -.12023E-06   -.10434E-03
  16  Prefactor     .10000E-03    24.541        .81610E-06** at limit **
  17  norm          .91592        .30770        .17074E-07   -.60986E-03
  18  norm          69.932        61.675        .17177E-05    .12190E-03
  19  Prefactor     .10000E-03    93.931        .73487E-07** at limit **
  20  Prefactor     .10000E-03    2.8974        .89177E-08** at limit **
  21  Prefactor     .10000E-03    7.3240        .15737E-07** at limit **
  22  Normalizat    1.2189        .19575       -.17277E-05   -.22948E-04
  23  Prefactor     .91570        .16869       -.39071E-06   -.12660E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.7501
  Prefactor  = 15.0379
  Prefactor  = 0.000100001
  Prefactor  = 5.46029
  Prefactor  = 35.8851
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.0753
  Prefactor  = 0.543483
  Prefactor  = 3.5011
  Prefactor  = 0.0001
  norm       = 17.5197
  Prefactor  = 0.0001
  norm       = 0.915916
  norm       = 69.9324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21893
  Prefactor  = 0.915703
 **********
 **   18 **HESSE 
 **********

 FCN=   7044.391     FROM HESSE     STATUS=OK           364 CALLS     2896 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.750        10.856        .52145E-03   -1.4940    
   2  Prefactor     15.038        14.295        .10329E-03   -1.4932    
   3  Prefactor     .10000E-03    22.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4603        13.091        .85974E-03   -1.5241    
   5  Prefactor     35.885        91.639        .66931E-04   -1.4509    
   6  Prefactor     .10000E-03    2.3933        .12673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8306        .18000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.1558        .11925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     31.075        45.949        .71884E-04   -1.4592    
  12  Prefactor     .54348        3.0521        .25477E-03   -1.5561    
  13  Prefactor     3.5011        3.5308        .13901E-03   -1.5334    
  14  Prefactor     .10000E-03    13.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          17.520        5.9141        .95686E-04   -1.4871    
  16  Prefactor     .10000E-03    24.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .91592        .30656        .25877E-04   -1.5517    
  18  norm          69.932        62.324        .48004E-04   -1.4033    
  19  Prefactor     .10000E-03    93.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.9005        .13952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.3272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2189        .22997        .26571E-03   -.86020    
  23  Prefactor     .91570        .19833        .27484E-03   -.95595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66417e-09
Minuit parameter uncertainties:
  1  10.8572
  2  14.2984
  3  0.000261605
  4  13.0982
  5  92.0016
  6  2.09601e-06
  7  1.35499e-05
  8  1.9399e-06
  9  9.36666e-06
  10  0.000115936
  11  46.0016
  12  2.57584
  13  3.53101
  14  6.06081e-06
  15  5.91426
  16  0.000198664
  17  0.306559
  18  62.3823
  19  5.12766e-05
  20  2.87059e-06
  21  6.48144e-06
  22  0.230161
  23  0.198483
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.940e-06  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.157e-01  1.985e-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.219e+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: 5.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250783/likelihoodResults_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.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) = 7044.39187432
delta logL = -0.000981435070571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7044.39089279
delta logL = 8.64738467499e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3699       1.0000          .0000       10.000    
     3 'Normalizat'    1.2190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91568       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=   7044.391     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10182E-03    63.957        .18142E-02** at limit **
   2  Index         2.2940        8.4110        .50000        .24812E-04
   3  Normalizat    1.2189        .16868E-01    .26571E-03   -.76588E-05
   4  Prefactor     .91570        .15451E-01    .27484E-03   -.86037E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101818
  Index      = 2.29397
  Normalizat = 1.21893
  Prefactor  = 0.915705
 **********
 **   18 **HESSE 
 **********

 FCN=   7044.391     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10182E-03    263.20        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2940        8.7143        .50000       -.57187    
   3  Normalizat    1.2189        .35973E-01    .10628E-04   -.86020    
   4  Prefactor     .91570        .32950E-01    .10994E-04   -.95594    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.1738e-08
Minuit parameter uncertainties:
  1  0.0439447
  2  729.27
  3  0.0359739
  4  0.0329506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250783': 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) = 7044.39089244
delta logL = 4.39314135292e-07

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.018e-04  4.394e-02  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.294e+00  7.293e+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:  9.157e-01  3.295e-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.219e+00  3.597e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/250783/cmap_HighResolution_372038401_372297601_4FGL_J1200.6+1229_daily_bin512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2021-09-04 20:23:32.295793', job_id='250783', GAL2='0.92', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1630812212.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='512' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:23:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 250783: <4FGL_J1200.6+1229_daily_bin512> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin512> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 20:10:50 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:10:52 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:10:52 2021
Terminated at Sat Sep  4 20:23:33 2021
Results reported at Sat Sep  4 20:23:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin512 180.173 12.4922 372038401 372297601 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 :                                   744.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             366.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

