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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin535
RA = 183.625, Dec = -23.3113
tmin = 378000001, tmax = 378259201
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='427423', job_status='RUN', time_executed='2021-09-05 04:58:01.132316', time_epoch_executed='1630843081.13' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427423

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427423/ft1_4FGL_J1214.5-2318_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427423/ft1_4FGL_J1214.5-2318_daily_bin535.fits outfile=/scratch/kocevski/427423/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin535.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=378000001.0 tmax=378259201.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.49
user 3.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.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/427423/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/427423/ltcube_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.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/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits
.....................!
real 12.61
user 11.94
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/427423/ltcube_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.fits outfile=/scratch/kocevski/427423/expmap_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.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/427423/ltcube_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.fits
.....................!
real 191.10
user 185.24
sys 4.75

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1214.5-2318 @ 183.625 -23.3113

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits scfile=/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits outfile=/scratch/kocevski/427423/cmap_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.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=183.625 yref=-23.3113 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.62
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits scfile=/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits outfile=/scratch/kocevski/427423/cmap_HighResolution_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.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=183.625 yref=-23.3113 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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/427423/Model_4FGL_J1214.5-2318_daily_bin535.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/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits.....................!
real 60.22
user 58.27
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits', '/scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits', expMap='/scratch/kocevski/427423/expmap_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.fits', expCube='/scratch/kocevski/427423/ltcube_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/427423/Model_4FGL_J1214.5-2318_daily_bin535.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1214.5-2318'

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  3.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/427423/ft1_filtered_4FGL_J1214.5-2318_daily_bin535.fits
Spacecraft file(s): /scratch/kocevski/427423/ft2_4FGL_J1214.5-2318_daily_bin535.fits
Exposure map: /scratch/kocevski/427423/expmap_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.fits
Exposure cube: /scratch/kocevski/427423/ltcube_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/427423/Model_4FGL_J1214.5-2318_daily_bin535.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) = 6873.2411335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .12032E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    13.207       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.200       1.0000         .10000E-03   10000.    
     6 'norm      '    37.871       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.631       1.0000         .10000E-03   10000.    
     8 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9737       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.696       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3077       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10642E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16950E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .22853E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6105       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.3902       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    12.882       1.0000         .10000E-03   10000.    
    21 'norm      '    10.959       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6818       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3038       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .77291       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6873.192     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2754 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0472       -.19012E-07** at limit **
   2  Prefactor     .10014E-03    1039.0       -.56997E-04** at limit **
   3  norm          13.210        3.0492       -.98114E-06   -.16496E-02
   4  Prefactor     .10000E-03    5.7388        .32174E-06** at limit **
   5  Prefactor     19.217        24.692       -.63718E-07    .22896E-04
   6  norm          37.865        26.788        .82528E-07    .46629E-05
   7  Prefactor     18.629        15.159        .19234E-06    .24176E-04
   8  norm          .10000E-03    4.5282        .34997E-06** at limit **
   9  Prefactor     5.9725        5.5465        .12594E-05    .57570E-03
  10  Prefactor     16.737        38.844        .16945E-05    .25990E-04
  11  Prefactor     6.3339        46.229       -.38449E-06    .86293E-04
  12  Prefactor     .10000E-03    24.030        .26182E-06** at limit **
  13  Prefactor     .10001E-03    227.37        .43004E-05** at limit **
  14  Prefactor     .10329E-03    26.855       -.59743E-05** at limit **
  15  Prefactor     .10000E-03    4.2258        .68351E-07** at limit **
  16  Prefactor     7.6098        2.7719        .29844E-07   -.19111E-04
  17  Prefactor     .10000E-03    18.903        .24242E-06** at limit **
  18  norm          6.3901        1.6010        .33808E-07    .53730E-03
  19  Prefactor     .10000E-03    39.153        .16176E-06** at limit **
  20  norm          12.876        9.8021        .84187E-07   -.10077E-04
  21  norm          10.961        8.7132       -.23302E-06    .29764E-04
  22  Prefactor     3.6795        7.3718        .80417E-06    .97419E-04
  23  Normalizat    1.3037        .24380       -.12253E-05    .17861E-03
  24  Prefactor     .77300        .11727       -.72264E-07    .26744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100141
  norm       = 13.2098
  Prefactor  = 0.0001
  Prefactor  = 19.2173
  norm       = 37.8654
  Prefactor  = 18.6293
  norm       = 0.0001
  Prefactor  = 5.97249
  Prefactor  = 16.7369
  Prefactor  = 6.33393
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.000103287
  Prefactor  = 0.0001
  Prefactor  = 7.60984
  Prefactor  = 0.0001
  norm       = 6.39012
  Prefactor  = 0.0001
  norm       = 12.8756
  norm       = 10.9611
  Prefactor  = 3.67953
  Normalizat = 1.3037
  Prefactor  = 0.773002
 **********
 **   18 **HESSE 
 **********

 FCN=   6873.192     FROM HESSE     STATUS=OK           401 CALLS     3155 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.0837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10014E-03    1035.6        .36332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.210        3.0539        .67147E-04   -1.4981    
   4  Prefactor     .10000E-03    5.9276        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.217        24.686        .91406E-04   -1.4831    
   6  norm          37.865        26.797        .65129E-04   -1.4476    
   7  Prefactor     18.629        15.082        .92790E-04   -1.4844    
   8  norm          .10000E-03    4.6010        .34232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.9725        5.5455        .82144E-03   -1.5219    
  10  Prefactor     16.737        38.833        .98019E-04   -1.4890    
  11  Prefactor     6.3339        44.817        .15982E-03   -1.5205    
  12  Prefactor     .10000E-03    24.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    231.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10329E-03    157.31        .72197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2822        .16626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6098        2.7697        .80740E-04   -1.5156    
  17  Prefactor     .10000E-03    19.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.3901        1.6007        .50082E-04   -1.5202    
  19  Prefactor     .10000E-03    39.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.876        9.8022        .11160E-03   -1.4990    
  21  norm          10.961        8.6127        .12102E-03   -1.5046    
  22  Prefactor     3.6795        7.2853        .21049E-03   -1.5324    
  23  Normalizat    1.3037        .28768        .33206E-03   -.83456    
  24  Prefactor     .77300        .13867        .20384E-03   -1.0073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99549e-08
Minuit parameter uncertainties:
  1  6.08276e-06
  2  0.0246307
  3  3.05395
  4  2.00098e-05
  5  24.6986
  6  26.8058
  7  15.0852
  8  1.16218e-05
  9  5.54596
  10  38.8913
  11  33.7326
  12  4.38167e-06
  13  0.00299075
  14  0.0455959
  15  6.57659e-06
  16  2.76977
  17  4.34116e-05
  18  1.60074
  19  2.44567e-05
  20  9.80344
  21  8.6137
  22  7.28708
  23  0.288037
  24  0.138736
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  2.991e-03  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.730e-01  1.387e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.304e+00  2.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.625 -23.311
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427423/likelihoodResults_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.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) = 6873.19248934
delta logL = -2.04353564186e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6872.88757107
delta logL = 0.304897834139

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1056       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2353       1.0000          .0000       10.000    
     3 'Normalizat'    1.2481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78156       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+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=   6872.888     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      302 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1047        318.46        .19896E-03   -.10118E-02
   2  Index         3.2355        6.5861        .57164E-02   -.32956E-03
   3  Normalizat    1.2482        .27959        .33814E-03   -.48264E-03
   4  Prefactor     .78152        .13663        .20272E-03   -.70933E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10471
  Index      = 3.23547
  Normalizat = 1.24815
  Prefactor  = 0.781518
 **********
 **   18 **HESSE 
 **********

 FCN=   6872.888     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1047        13.815        .79583E-05   -1.5303    
   2  Index         3.2355        1.2027        .22866E-03   -.36067    
   3  Normalizat    1.2482        .29056        .67629E-04   -.85127    
   4  Prefactor     .78152        .13836        .40544E-04   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69491e-09
Minuit parameter uncertainties:
  1  13.8253
  2  1.21632
  3  0.290937
  4  0.138422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427423': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6872.88757093
delta logL = 0.304897967687

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  4.105e+00  1.383e+01  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  3.235e+00  1.216e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.815e-01  1.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.248e+00  2.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.625 -23.311

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/427423/cmap_HighResolution_378000001_378259201_4FGL_J1214.5-2318_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.83e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-09-05 05:10:19.923186', job_id='427423', GAL2='0.78', fit_tolerance='1e-08', EG2='1.25', EG='1.30', time_epoch_completed='1630843819.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.05e-01', ts2='0.63', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='535' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:10:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 427423: <4FGL_J1214.5-2318_daily_bin535> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin535> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 04:55:24 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:55:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 04:55:25 2021
Terminated at Sun Sep  5 05:10:20 2021
Results reported at Sun Sep  5 05:10:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin535 183.625 -23.3113 378000001 378259201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1214.5-2318 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   731.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            896 sec.

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

