/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 = 7430
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1214.5-2318_daily_bin445
RA = 183.625, Dec = -23.3113
tmin = 354672001, tmax = 354931201
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='425825', job_status='RUN', time_executed='2021-09-05 04:51:08.443151', time_epoch_executed='1630842668.44' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/425825

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/425825/ft1_4FGL_J1214.5-2318_daily_bin445.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/425825/ft1_4FGL_J1214.5-2318_daily_bin445.fits outfile=/scratch/kocevski/425825/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin445.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=354672001.0 tmax=354931201.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.62
user 3.13
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits" evtable="EVENTS" scfile=/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits sctable="SC_DATA" outfile=/scratch/kocevski/425825/ltcube_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.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/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits
.....................!
real 11.88
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits evtable="EVENTS" scfile=/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits sctable="SC_DATA" expcube=/scratch/kocevski/425825/ltcube_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.fits outfile=/scratch/kocevski/425825/expmap_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.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/425825/ltcube_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.fits
.....................!
real 190.76
user 185.32
sys 4.57

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/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits scfile=/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits outfile=/scratch/kocevski/425825/cmap_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits scfile=/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits outfile=/scratch/kocevski/425825/cmap_HighResolution_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits evtable="EVENTS" scfile=/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/425825/Model_4FGL_J1214.5-2318_daily_bin445.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/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits.....................!
real 60.78
user 59.35
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits', '/scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits', expMap='/scratch/kocevski/425825/expmap_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.fits', expCube='/scratch/kocevski/425825/ltcube_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/425825/Model_4FGL_J1214.5-2318_daily_bin445.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/425825/ft1_filtered_4FGL_J1214.5-2318_daily_bin445.fits
Spacecraft file(s): /scratch/kocevski/425825/ft2_4FGL_J1214.5-2318_daily_bin445.fits
Exposure map: /scratch/kocevski/425825/expmap_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.fits
Exposure cube: /scratch/kocevski/425825/ltcube_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/425825/Model_4FGL_J1214.5-2318_daily_bin445.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) = 6945.31500619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11630E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2358       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2651       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.950       1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.829       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15165E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8216       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6520       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.417       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1004       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.112       1.0000         .10000E-03   10000.    
    18 'norm      '    8.8119       1.0000         .10000E-03   10000.    
    19 'Prefactor '    88.799       1.0000         .10000E-03   10000.    
    20 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.5096       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95711       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=   6945.312     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2754 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2082        .22086E-07** at limit **
   2  Prefactor     .10000E-03    26.373       -.66443E-08** at limit **
   3  norm          3.2359        2.1415        .70768E-08   -.12485E-05
   4  Prefactor     2.2661        6.7324        .10577E-05   -.93548E-06
   5  Prefactor     18.967        18.968       -.63185E-06   -.16961E-04
   6  norm          .10000E-03    17.127        .35960E-06** at limit **
   7  Prefactor     .10000E-03    16.220       -.56345E-06** at limit **
   8  norm          17.829        7.1246       -.27753E-06    .38269E-05
   9  Prefactor     .10000E-03    1.4690       -.40408E-07** at limit **
  10  Prefactor     .10000E-03    155.64       -.13722E-05** at limit **
  11  Prefactor     8.8378        23.070       -.88613E-06   -.72235E-05
  12  Prefactor     5.6510        22.362        .52702E-05   -.79349E-05
  13  Prefactor     .10000E-03    35.104       -.51062E-06** at limit **
  14  Prefactor     .10000E-03    10.340        .45900E-08** at limit **
  15  Prefactor     10.419        9.2500       -.39739E-08    .10445E-05
  16  Prefactor     6.1002        2.9031       -.96268E-08    .52626E-06
  17  Prefactor     21.108        18.331        .29857E-06    .11978E-04
  18  norm          8.8116        2.0316        .10574E-06    .29291E-04
  19  Prefactor     88.614        136.76        .14004E-05   -.30988E-04
  20  norm          .10000E-03    3.4825       -.19694E-07** at limit **
  21  norm          2.5258        11.666       -.34536E-05   -.51492E-04
  22  Prefactor     .10000E-03    4.4680        .97565E-06** at limit **
  23  Normalizat    1.3101        .27396        .79874E-06   -.14764E-05
  24  Prefactor     .95703        .12773       -.80298E-07    .47916E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.23586
  Prefactor  = 2.26611
  Prefactor  = 18.9666
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.8292
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.83784
  Prefactor  = 5.65098
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4186
  Prefactor  = 6.10015
  Prefactor  = 21.1077
  norm       = 8.81158
  Prefactor  = 88.6141
  norm       = 0.0001
  norm       = 2.52584
  Prefactor  = 0.0001
  Normalizat = 1.31012
  Prefactor  = 0.957035
 **********
 **   18 **HESSE 
 **********

 FCN=   6945.312     FROM HESSE     STATUS=OK           401 CALLS     3155 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2359        2.1404        .95391E-04   -1.5348    
   4  Prefactor     2.2661        6.7202        .27291E-03   -1.5407    
   5  Prefactor     18.967        18.954        .92006E-04   -1.4837    
   6  norm          .10000E-03    17.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.829        7.1177        .94854E-04   -1.4863    
   9  Prefactor     .10000E-03    1.4710        .98631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    156.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.8378        23.074        .13495E-03   -1.5113    
  12  Prefactor     5.6510        22.194        .84484E-03   -1.5232    
  13  Prefactor     .10000E-03    35.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.419        9.2585        .12414E-03   -1.5062    
  16  Prefactor     6.1002        2.9045        .91204E-04   -1.5214    
  17  Prefactor     21.108        18.366        .87172E-04   -1.4789    
  18  norm          8.8116        2.0313        .53947E-04   -1.5114    
  19  Prefactor     88.614        135.77        .21319E-03   -1.3822    
  20  norm          .10000E-03    3.4850        .15188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5258        11.354        .25793E-03   -1.5390    
  22  Prefactor     .10000E-03    4.5879        .17352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3101        .32094        .37027E-03   -.83265    
  24  Prefactor     .95703        .15010        .20629E-03   -.94176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10199e-11
Minuit parameter uncertainties:
  1  2.17691e-06
  2  4.09342e-06
  3  2.14047
  4  6.72244
  5  18.9601
  6  1.8075e-06
  7  8.76275e-06
  8  7.11809
  9  1.46462e-06
  10  0.000611278
  11  23.0969
  12  22.2262
  13  0.000121999
  14  3.47164e-06
  15  9.25976
  16  2.90454
  17  18.3704
  18  2.03133
  19  136.247
  20  1.37768e-06
  21  10.7136
  22  4.28575e-05
  23  0.321428
  24  0.150163
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.220e-04  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:  9.570e-01  1.502e-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.310e+00  3.214e-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: 9.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/425825/likelihoodResults_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.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) = 6945.31169794
delta logL = -0.000135371254146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6945.31156262
delta logL = -5.12072801939e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0560       1.0000          .0000       10.000    
     3 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95704       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.

 FCN=   6945.312     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      233 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    559.11        .90712E-02** at limit **
   2  Index         2.0631        8.9682        .50000       -.18538E-05
   3  Normalizat    1.3101        .28464E-01    .83633E-01   -.13206E-04
   4  Prefactor     .95703        .13889E-01    .45728E-01   -.61174E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06314
  Normalizat = 1.31012
  Prefactor  = 0.957034
 **********
 **   18 **HESSE 
 **********

 FCN=   6945.312     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1637.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0631        6.0237        .50000       -.62781    
   3  Normalizat    1.3101        .51620E-01    .37027E-03   -.83265    
   4  Prefactor     .95703        .25226E-01    .20629E-03   -.94176    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.59324e-10
Minuit parameter uncertainties:
  1  0.00110732
  2  28.9199
  3  0.0516224
  4  0.0252265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/425825': 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) = 6945.3115626
delta logL = -3.2125171856e-08

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.107e-03  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.063e+00  2.892e+01  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:  9.570e-01  2.523e-02  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.310e+00  5.162e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/425825/cmap_HighResolution_354672001_354931201_4FGL_J1214.5-2318_daily_bin445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-03', job_status='DONE', photon_flux_upper_limit='9.84e-08', time_completed='2021-09-05 05:03:25.388858', job_id='425825', GAL2='0.96', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630843405.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-3.21e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='445' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:03:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 425825: <4FGL_J1214.5-2318_daily_bin445> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin445> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 04:50:53 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:50:54 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:50:54 2021
Terminated at Sun Sep  5 05:03:26 2021
Results reported at Sun Sep  5 05:03:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin445 183.625 -23.3113 354672001 354931201 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 :                                   729.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

