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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1518
RA = 180.173, Dec = 12.4922
tmin = 632793601, tmax = 633052801
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='255699', job_status='RUN', time_executed='2021-09-04 20:26:13.589916', time_epoch_executed='1630812373.59' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255699/ft1_4FGL_J1200.6+1229_daily_bin1518.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255699/ft2_4FGL_J1200.6+1229_daily_bin1518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255699/ft1_4FGL_J1200.6+1229_daily_bin1518.fits outfile=/scratch/kocevski/255699/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1518.fits ra=180.173 dec=12.4922 rad=12.0 tmin=632793601.0 tmax=633052801.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.66
user 3.37
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255699/ft1_filtered_4FGL_J1200.6+1229_daily_bin1518.fits" evtable="EVENTS" scfile=/scratch/kocevski/255699/ft2_4FGL_J1200.6+1229_daily_bin1518.fits sctable="SC_DATA" outfile=/scratch/kocevski/255699/ltcube_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.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/255699/ft2_4FGL_J1200.6+1229_daily_bin1518.fits
.....................!
real 11.91
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255699/ft1_filtered_4FGL_J1200.6+1229_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/255699/ft2_4FGL_J1200.6+1229_daily_bin1518.fits sctable="SC_DATA" expcube=/scratch/kocevski/255699/ltcube_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.fits outfile=/scratch/kocevski/255699/expmap_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.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/255699/ltcube_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.fits
.....................!
real 190.39
user 185.60
sys 4.15

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/255699/ft1_filtered_4FGL_J1200.6+1229_daily_bin1518.fits scfile=/scratch/kocevski/255699/ft2_4FGL_J1200.6+1229_daily_bin1518.fits outfile=/scratch/kocevski/255699/cmap_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255699/ft1_filtered_4FGL_J1200.6+1229_daily_bin1518.fits scfile=/scratch/kocevski/255699/ft2_4FGL_J1200.6+1229_daily_bin1518.fits outfile=/scratch/kocevski/255699/cmap_HighResolution_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.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.56
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80299E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10873E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    56.112       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8756       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .65895       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5783       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .75245       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10887E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .22137E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .14036       1.0000         .10000E-03   10000.    
    18 'norm      '    99.360       1.0000         .10000E-03   10000.    
    19 'Prefactor '    74.300       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10914E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.437       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3379       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70511       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=   6908.770     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2639 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67121E-01    6.6077       -.13890E-05    .40301E-03
   2  Prefactor     .10000E-03    6.3127        .11393E-06** at limit **
   3  Prefactor     .10000E-03    17.855        .15797E-06** at limit **
   4  Prefactor     .10000E-03    14.794        .19335E-06** at limit **
   5  Prefactor     56.067        72.060        .74753E-07   -.10623E-04
   6  Prefactor     6.8788        8.5913        .26975E-06    .61532E-04
   7  Prefactor     .65550        4.7089        .10242E-05   -.78816E-04
   8  Prefactor     .10000E-03    6.0560        .74716E-07** at limit **
   9  Prefactor     5.5819        5.6086       -.18551E-06   -.34769E-03
  10  Prefactor     .10000E-03    24.795        .49668E-07** at limit **
  11  Prefactor     .10000E-03    9.7481       -.46276E-07** at limit **
  12  Prefactor     .75267        2.6557        .10501E-05    .40892E-04
  13  Prefactor     .10000E-03    1.0023       -.76666E-07** at limit **
  14  Prefactor     .10000E-03    9.9190       -.18002E-06** at limit **
  15  norm          .10000E-03    1.8616       -.19895E-05** at limit **
  16  Prefactor     .15809E-03    48.360       -.52783E-05** at limit **
  17  norm          .14037        .12864       -.15756E-07   -.95213E-03
  18  norm          99.400        42.286        .10802E-06   -.46311E-04
  19  Prefactor     74.309        78.132        .28636E-06    .50873E-04
  20  Prefactor     .10000E-03    3.5148       -.24597E-07** at limit **
  21  Prefactor     16.469        18.915        .76970E-07   -.19391E-04
  22  Normalizat    1.3376        .17495       -.45751E-06   -.18848E-03
  23  Prefactor     .70556        .15306       -.56777E-06   -.16149E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0671213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.0675
  Prefactor  = 6.87883
  Prefactor  = 0.655502
  Prefactor  = 0.0001
  Prefactor  = 5.58185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.752668
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000158094
  norm       = 0.140372
  norm       = 99.3997
  Prefactor  = 74.3089
  Prefactor  = 0.0001
  Prefactor  = 16.4688
  Normalizat = 1.33764
  Prefactor  = 0.705558
 **********
 **   18 **HESSE 
 **********

 FCN=   6908.770     FROM HESSE     STATUS=OK           386 CALLS     3025 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67121E-01    6.1753        .62549E-01   -1.5656    
   2  Prefactor     .10000E-03    6.3449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.474        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     56.067        72.128        .53552E-04   -1.4209    
   6  Prefactor     6.8788        8.5906        .15301E-03   -1.5183    
   7  Prefactor     .65550        9.6588        .33541E-02   -1.5546    
   8  Prefactor     .10000E-03    6.0676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5819        5.4305        .16706E-03   -1.5235    
  10  Prefactor     .10000E-03    24.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.7553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .75267        3.1482        .20562E-02   -1.5534    
  13  Prefactor     .10000E-03    1.0080        .81096E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.9407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.8964        .21986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15809E-03    29.167        .12220       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .14037        .13141        .27639E-04   -1.5633    
  18  norm          99.400        42.237        .20165E-03   -1.3711    
  19  Prefactor     74.309        78.148        .46580E-04   -1.3982    
  20  Prefactor     .10000E-03    3.5203        .15213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.469        18.923        .98790E-04   -1.4896    
  22  Normalizat    1.3376        .20925        .22971E-03   -.82450    
  23  Prefactor     .70556        .18267        .27625E-03   -1.0331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43759e-08
Minuit parameter uncertainties:
  1  1.28681
  2  1.46395e-05
  3  3.87386e-05
  4  4.05078e-05
  5  72.2405
  6  8.59217
  7  5.03304
  8  9.28748e-06
  9  5.43101
  10  1.33915e-05
  11  4.19516e-06
  12  3.07875
  13  5.23741e-06
  14  1.57894e-05
  15  0.000102136
  16  0.0823665
  17  0.131414
  18  42.2496
  19  78.2563
  20  2.14439e-07
  21  18.9301
  22  0.209384
  23  0.182821
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  9.287e-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:  7.056e-01  1.828e-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.338e+00  2.094e-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.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255699/likelihoodResults_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.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) = 6908.77111519
delta logL = -0.000783903580668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6908.77033127
delta logL = 1.61553543876e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3693       1.0000          .0000       10.000    
     3 'Normalizat'    1.3376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70557       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=   6908.770     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      248 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10242E-03    5.2863        .18142E-01** at limit **
   2  Index         2.2801        6.1361        .50000        .21134E-04
   3  Normalizat    1.3376        .38696E-02    .22971E-03    .43898E-04
   4  Prefactor     .70556        .35102E-02    .27625E-03    .21318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102421
  Index      = 2.28011
  Normalizat = 1.33765
  Prefactor  = 0.705558
 **********
 **   18 **HESSE 
 **********

 FCN=   6908.770     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10242E-03    79.504        .20689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2801        5.6489        .50000       -.57517    
   3  Normalizat    1.3376        .15151E-01    .91885E-05   -.82450    
   4  Prefactor     .70556        .13743E-01    .11050E-04   -1.0331    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.34627e-09
Minuit parameter uncertainties:
  1  0.0277838
  2  423.279
  3  0.0151506
  4  0.0137433
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255699': 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) = 6908.77033087
delta logL = 4.09680978919e-07

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.024e-04  2.778e-02  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.280e+00  4.233e+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.056e-01  1.374e-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.338e+00  1.515e-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/255699/cmap_HighResolution_632793601_633052801_4FGL_J1200.6+1229_daily_bin1518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2021-09-04 20:38:51.605240', job_id='255699', GAL2='0.71', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1630813131.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='4.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1518' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:38:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 255699: <4FGL_J1200.6+1229_daily_bin1518> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1518> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:25:56 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:25:57 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:57 2021
Terminated at Sat Sep  4 20:38:52 2021
Results reported at Sat Sep  4 20:38:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1518 180.173 12.4922 632793601 633052801 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 :                                   752.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            776 sec.

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

