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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin1244
RA = 183.625, Dec = -23.3113
tmin = 561772801, tmax = 562032001
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='431819', job_status='RUN', time_executed='2021-09-05 05:07:29.703150', time_epoch_executed='1630843649.7' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='1244'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431819

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431819/ft1_4FGL_J1214.5-2318_daily_bin1244.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431819/ft1_4FGL_J1214.5-2318_daily_bin1244.fits outfile=/scratch/kocevski/431819/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1244.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=561772801.0 tmax=562032001.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.98
user 3.75
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.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/431819/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1244.fits evtable="EVENTS" outfile="/scratch/kocevski/431819/ft1_filtered_4FGL_J1214.5-2318_daily_bin1244.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431819/ft1_filtered_4FGL_J1214.5-2318_daily_bin1244.fits" evtable="EVENTS" scfile=/scratch/kocevski/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.fits sctable="SC_DATA" outfile=/scratch/kocevski/431819/ltcube_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.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/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.fits
.....................!
real 11.92
user 11.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431819/ft1_filtered_4FGL_J1214.5-2318_daily_bin1244.fits evtable="EVENTS" scfile=/scratch/kocevski/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.fits sctable="SC_DATA" expcube=/scratch/kocevski/431819/ltcube_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.fits outfile=/scratch/kocevski/431819/expmap_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.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/431819/ltcube_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.fits
.....................!
real 190.10
user 185.28
sys 4.40

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/431819/ft1_filtered_4FGL_J1214.5-2318_daily_bin1244.fits scfile=/scratch/kocevski/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.fits outfile=/scratch/kocevski/431819/cmap_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.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.54
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431819/ft1_filtered_4FGL_J1214.5-2318_daily_bin1244.fits evtable="EVENTS" scfile=/scratch/kocevski/431819/ft2_4FGL_J1214.5-2318_daily_bin1244.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431819/Model_4FGL_J1214.5-2318_daily_bin1244.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/431819/ft1_filtered_4FGL_J1214.5-2318_daily_bin1244.fits.....................!
real 53.16
user 51.23
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13763E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5470       1.0000         .10000E-03   10000.    
     6 'norm      '    8.8229       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.170       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10927E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21303E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .59140E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.361       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.3065       1.0000         .10000E-03   10000.    
    18 'norm      '    4.4524       1.0000         .10000E-03   10000.    
    19 'Prefactor '    110.06       1.0000         .10000E-03   10000.    
    20 'norm      '    .10210E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10529E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0934       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0307       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=   5899.513     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2764 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5446        .17874E-06** at limit **
   2  Prefactor     .10000E-03    32.792       -.19576E-05** at limit **
   3  norm          .10000E-03    .96046        .52758E-07** at limit **
   4  Prefactor     .10000E-03    8.1707       -.28088E-06** at limit **
   5  Prefactor     3.5343        42.825       -.26690E-05   -.42747E-04
   6  norm          8.8159        22.885       -.14944E-05   -.44165E-04
   7  Prefactor     33.156        19.045        .46919E-06   -.14480E-03
   8  norm          .10000E-03    3.3094       -.22337E-06** at limit **
   9  Prefactor     .10000E-03    7.3828        .15740E-07** at limit **
  10  Prefactor     .10000E-03    33.711        .25860E-05** at limit **
  11  Prefactor     .10000E-03    9.5575        .41959E-06** at limit **
  12  Prefactor     .10000E-03    13.261        .16132E-05** at limit **
  13  Prefactor     .10001E-03    368.44        .33424E-04** at limit **
  14  Prefactor     .10001E-03    189.30        .61705E-04** at limit **
  15  Prefactor     .10000E-03    13.319       -.26351E-06** at limit **
  16  Prefactor     11.361        4.6854       -.46661E-06    .51646E-04
  17  Prefactor     8.3186        14.986       -.11606E-05   -.57453E-04
  18  norm          4.4536        1.6013       -.61545E-07    .17213E-02
  19  Prefactor     110.12        96.799        .53970E-05    .30551E-03
  20  norm          .10000E-03    5.3907       -.50835E-06** at limit **
  21  norm          .10000E-03    7.7681       -.91307E-05** at limit **
  22  Prefactor     .10000E-03    9.1474       -.74075E-05** at limit **
  23  Normalizat    1.0933        .28492       -.34426E-06    .32188E-03
  24  Prefactor     1.0308        .13401        .85624E-06    .40404E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.53432
  norm       = 8.81594
  Prefactor  = 33.1558
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 11.3606
  Prefactor  = 8.31859
  norm       = 4.45363
  Prefactor  = 110.124
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09333
  Prefactor  = 1.03077
 **********
 **   18 **HESSE 
 **********

 FCN=   5899.513     FROM HESSE     STATUS=OK           389 CALLS     3153 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5467        .17664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.6989        .14634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.4143        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.5343        42.648        .21461E-03   -1.5332    
   6  norm          8.8159        22.903        .13494E-03   -1.5114    
   7  Prefactor     33.156        19.038        .69576E-04   -1.4556    
   8  norm          .10000E-03    3.3244        .13623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.7263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.5626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    377.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    180.61        .64910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.361        4.6806        .10377E-03   -1.5034    
  17  Prefactor     8.3186        14.978        .13910E-03   -1.5131    
  18  norm          4.4536        1.5987        .54680E-04   -1.5286    
  19  Prefactor     110.12        98.341        .19170E-03   -1.3605    
  20  norm          .10000E-03    5.3965        .17417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.8676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.3237        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0933        .33509        .38089E-03   -.89966    
  24  Prefactor     1.0308        .15890        .18443E-03   -.91711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88385e-09
Minuit parameter uncertainties:
  1  1.53098e-06
  2  0.00065656
  3  5.82598e-05
  4  6.18151e-05
  5  24.5761
  6  22.9258
  7  19.0418
  8  1.5795e-05
  9  5.58654e-05
  10  0.000649543
  11  2.30323e-05
  12  0.000127495
  13  0.0033205
  14  0.00201829
  15  7.54977e-05
  16  4.68073
  17  14.9847
  18  1.5987
  19  98.487
  20  2.53275e-07
  21  8.3743e-05
  22  0.00010576
  23  0.33574
  24  0.158971
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  3.321e-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:  1.031e+00  1.590e-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.093e+00  3.357e-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.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431819/likelihoodResults_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.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) = 5899.51265085
delta logL = -1.24766347653e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5899.51265085
delta logL = -1.24753487398e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96362E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1242       1.0000          .0000       10.000    
     3 'Normalizat'    1.0933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0308       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=   5899.479     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      273 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4682        928.16        .90712E-02    .28309E-03
   2  Index         2.7763        5.9466        .12875        .12396E-03
   3  Normalizat    1.0839        .67259E-01    .86337E-01    .27371E-04
   4  Prefactor     1.0306        .31302E-01    .41198E-01    .39258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.46823
  Index      = 2.77625
  Normalizat = 1.08385
  Prefactor  = 1.03064
 **********
 **   18 **HESSE 
 **********

 FCN=   5899.479     FROM HESSE     STATUS=OK            31 CALLS      304 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4682        126.62        .36285E-03   -1.5335    
   2  Index         2.7763        3.4635        .15054E-01   -.46089    
   3  Normalizat    1.0839        .33282        .38232E-03   -.90272    
   4  Prefactor     1.0306        .15770        .18443E-03   -.91715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91659e-07
Minuit parameter uncertainties:
  1  42.0078
  2  3.95968
  3  0.333465
  4  0.157768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431819': 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) = 5899.47854691
delta logL = 0.0340914688331

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  3.468e+00  4.201e+01  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.776e+00  3.960e+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:  1.031e+00  1.578e-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.084e+00  3.335e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/431819/cmap_HighResolution_561772801_562032001_4FGL_J1214.5-2318_daily_bin1244.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.45e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-05 05:18:33.940784', job_id='431819', GAL2='1.03', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1630844313.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.41e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1244' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:18:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 431819: <4FGL_J1214.5-2318_daily_bin1244> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin1244> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 05:05:26 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:05:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 05:05:27 2021
Terminated at Sun Sep  5 05:18:34 2021
Results reported at Sun Sep  5 05:18:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin1244 183.625 -23.3113 561772801 562032001 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 :                                   660.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            788 sec.

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

