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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1424
RA = 180.173, Dec = 12.4922
tmin = 608428801, tmax = 608688001
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='255561', job_status='RUN', time_executed='2021-09-04 20:26:08.316752', time_epoch_executed='1630812368.32' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255561

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255561/ft1_4FGL_J1200.6+1229_daily_bin1424.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255561/ft2_4FGL_J1200.6+1229_daily_bin1424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255561/ft1_4FGL_J1200.6+1229_daily_bin1424.fits outfile=/scratch/kocevski/255561/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1424.fits ra=180.173 dec=12.4922 rad=12.0 tmin=608428801.0 tmax=608688001.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 5.08
user 4.69
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255561/ft1_filtered_4FGL_J1200.6+1229_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/255561/ft2_4FGL_J1200.6+1229_daily_bin1424.fits sctable="SC_DATA" expcube=/scratch/kocevski/255561/ltcube_608428801_608688001_4FGL_J1200.6+1229_daily_bin1424.fits outfile=/scratch/kocevski/255561/expmap_608428801_608688001_4FGL_J1200.6+1229_daily_bin1424.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/255561/ltcube_608428801_608688001_4FGL_J1200.6+1229_daily_bin1424.fits
.....................!
real 190.31
user 185.35
sys 4.49

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255561/ft1_filtered_4FGL_J1200.6+1229_daily_bin1424.fits scfile=/scratch/kocevski/255561/ft2_4FGL_J1200.6+1229_daily_bin1424.fits outfile=/scratch/kocevski/255561/cmap_HighResolution_608428801_608688001_4FGL_J1200.6+1229_daily_bin1424.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/255561/ft1_filtered_4FGL_J1200.6+1229_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/255561/ft2_4FGL_J1200.6+1229_daily_bin1424.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255561/Model_4FGL_J1200.6+1229_daily_bin1424.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/255561/ft1_filtered_4FGL_J1200.6+1229_daily_bin1424.fits.....................!
real 45.59
user 43.91
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.594       1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.016       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16762E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .47209       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.990       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.6107       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8619       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.824       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7104       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .40311E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8373       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10971E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3587       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21414E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .66205       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2076       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=   4690.458     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2619 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.615        13.209        .26756E-06    .19289E-03
   2  Prefactor     40.038        19.111        .32351E-07    .13934E-04
   3  Prefactor     .10000E-03    127.21        .72403E-06** at limit **
   4  Prefactor     .53032        61.655        .19198E-04   -.56869E-04
   5  Prefactor     22.100        99.157       -.16851E-05   -.12007E-04
   6  Prefactor     .10000E-03    4.1836       -.13606E-07** at limit **
   7  Prefactor     6.6151        9.3947        .38235E-07    .10415E-03
   8  Prefactor     .10000E-03    4.4778        .79845E-07** at limit **
   9  Prefactor     2.8632        4.1820       -.41068E-06    .13342E-03
  10  Prefactor     .10000E-03    37.115        .24748E-06** at limit **
  11  Prefactor     13.901        38.104        .21175E-06    .25584E-04
  12  Prefactor     1.6874        3.1266       -.90681E-06   -.25273E-03
  13  Prefactor     .13459        2.3101        .62856E-06   -.16093E-03
  14  Prefactor     6.8666        34.404        .11385E-05    .26898E-04
  15  norm          .10000E-03    1.8836        .15576E-06** at limit **
  16  Prefactor     .10000E-03    16.073        .10869E-06** at limit **
  17  norm          .10000E-03    .14611       -.61639E-07** at limit **
  18  norm          .10000E-03    20.168        .12256E-06** at limit **
  19  Prefactor     .10000E-03    186.95        .83890E-06** at limit **
  20  Prefactor     7.3718        15.190        .47711E-06   -.61369E-04
  21  Prefactor     .10000E-03    94.478        .86992E-06** at limit **
  22  Normalizat    .66118        .21072       -.30690E-05   -.22710E-03
  23  Prefactor     1.2078        .19023       -.46809E-06   -.19382E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6154
  Prefactor  = 40.0381
  Prefactor  = 0.0001
  Prefactor  = 0.530318
  Prefactor  = 22.1
  Prefactor  = 0.0001
  Prefactor  = 6.61512
  Prefactor  = 0.0001
  Prefactor  = 2.8632
  Prefactor  = 0.0001
  Prefactor  = 13.901
  Prefactor  = 1.68743
  Prefactor  = 0.134594
  Prefactor  = 6.86662
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.37185
  Prefactor  = 0.000100001
  Normalizat = 0.661181
  Prefactor  = 1.20778
 **********
 **   18 **HESSE 
 **********

 FCN=   4690.458     FROM HESSE     STATUS=OK           376 CALLS     2995 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.615        13.211        .11288E-03   -1.4997    
   2  Prefactor     40.038        19.149        .63364E-04   -1.4442    
   3  Prefactor     .10000E-03    129.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .53032        63.298        .42901E-02   -1.5562    
   5  Prefactor     22.100        98.966        .85416E-04   -1.4767    
   6  Prefactor     .10000E-03    4.1875        .13675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6151        9.3715        .15608E-03   -1.5194    
   8  Prefactor     .10000E-03    4.4804        .14155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8632        4.1242        .15518E-03   -1.5370    
  10  Prefactor     .10000E-03    37.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.901        38.012        .10773E-03   -1.4962    
  12  Prefactor     1.6874        3.2230        .14539E-03   -1.5448    
  13  Prefactor     .13459        30.976        .18003E-02   -1.5635    
  14  Prefactor     6.8666        34.353        .15344E-03   -1.5184    
  15  norm          .10000E-03    1.9079        .91717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .24774        .49893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    20.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    187.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3718        15.131        .14785E-03   -1.5165    
  21  Prefactor     .10000E-03    95.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .66118        .24036        .29841E-03   -1.0545    
  23  Prefactor     1.2078        .21658        .21591E-03   -.86092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81022e-08
Minuit parameter uncertainties:
  1  13.2139
  2  19.1524
  3  0.000314562
  4  11.5991
  5  93.7932
  6  5.15079e-05
  7  9.37355
  8  7.35631e-06
  9  4.12464
  10  5.84395e-05
  11  38.0787
  12  3.22335
  13  4.08433
  14  30.7453
  15  4.8993e-06
  16  2.35122e-06
  17  1.11785e-05
  18  2.37514e-06
  19  0.000136907
  20  15.1386
  21  0.000742811
  22  0.24074
  23  0.216739
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  7.356e-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:  1.208e+00  2.167e-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:  6.612e-01  2.407e-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.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255561/likelihoodResults_608428801_608688001_4FGL_J1200.6+1229_daily_bin1424.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) = 4690.45901561
delta logL = -0.00103347066397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4690.45798199
delta logL = 1.47549144458e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3694       1.0000          .0000       10.000    
     3 'Normalizat'    .66118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2078       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=   4690.458     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      252 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.252        .14350E-01** at limit **
   2  Index         1.7083        5.3504        .50000       -.10013E-05
   3  Normalizat    .66118        .12712E-01    .29842E-03   -.30134E-04
   4  Prefactor     1.2078        .12176E-01    .21591E-03   -.50548E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.70833
  Normalizat = 0.661183
  Prefactor  = 1.20777
 **********
 **   18 **HESSE 
 **********

 FCN=   4690.458     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      279 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    383.40        .16500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7083        7.9404        .50000       -.71860    
   3  Normalizat    .66118        .42296E-01    .11937E-04   -1.0545    
   4  Prefactor     1.2078        .40516E-01    .43182E-04   -.86092    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28223e-07
Minuit parameter uncertainties:
  1  8.94731e-06
  2  1343.16
  3  0.042298
  4  0.0405167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255561': 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) = 4690.4579792
delta logL = 2.94342771667e-06

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  8.947e-06  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  1.708e+00  1.343e+03  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.208e+00  4.052e-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:  6.612e-01  4.230e-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/255561/cmap_HighResolution_608428801_608688001_4FGL_J1200.6+1229_daily_bin1424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2021-09-04 20:36:11.594526', job_id='255561', GAL2='1.21', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1630812971.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.94e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1424' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:36:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 255561: <4FGL_J1200.6+1229_daily_bin1424> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1424> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:25:46 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:25:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:25:47 2021
Terminated at Sat Sep  4 20:36:12 2021
Results reported at Sat Sep  4 20:36:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1424 180.173 12.4922 608428801 608688001 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 :                                   596.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             368.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            626 sec.

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

