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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin749
RA = 183.625, Dec = -23.3113
tmin = 433468801, tmax = 433728001
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='427788', job_status='RUN', time_executed='2021-09-05 04:57:42.005577', time_epoch_executed='1630843062.01' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427788

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427788/ft1_4FGL_J1214.5-2318_daily_bin749.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427788/ft1_4FGL_J1214.5-2318_daily_bin749.fits outfile=/scratch/kocevski/427788/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin749.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=433468801.0 tmax=433728001.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 6.07
user 5.79
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/427788/ft1_filtered_4FGL_J1214.5-2318_daily_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/427788/ltcube_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.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/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits
.....................!
real 12.59
user 12.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427788/ft1_filtered_4FGL_J1214.5-2318_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/427788/ltcube_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.fits outfile=/scratch/kocevski/427788/expmap_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.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/427788/ltcube_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.fits
.....................!
real 190.48
user 184.97
sys 4.97

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/427788/ft1_filtered_4FGL_J1214.5-2318_daily_bin749.fits scfile=/scratch/kocevski/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits outfile=/scratch/kocevski/427788/cmap_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.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.83
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427788/ft1_filtered_4FGL_J1214.5-2318_daily_bin749.fits scfile=/scratch/kocevski/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits outfile=/scratch/kocevski/427788/cmap_HighResolution_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.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.69
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/427788/ft1_filtered_4FGL_J1214.5-2318_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/427788/ft2_4FGL_J1214.5-2318_daily_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/427788/Model_4FGL_J1214.5-2318_daily_bin749.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/427788/ft1_filtered_4FGL_J1214.5-2318_daily_bin749.fits.....................!
real 61.93
user 57.90
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.8142       1.0000         .10000E-03   10000.    
     3 'norm      '    .12102E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3711       1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.122       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11430E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0332       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5558       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.2389       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .15269       1.0000         .10000E-03   10000.    
    21 'norm      '    14.236       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.8629       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82273       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=   6657.814     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2354 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.475        .51048E-06** at limit **
   2  Prefactor     9.8440        81.745        .86315E-05    .35724E-04
   3  norm          .10000E-03    1.9441       -.55679E-06** at limit **
   4  Prefactor     .10000E-03    4.2098        .60476E-07** at limit **
   5  Prefactor     .10000E-03    17.698       -.72413E-06** at limit **
   6  norm          .10000E-03    11.855       -.66986E-06** at limit **
   7  Prefactor     5.3742        11.032       -.15795E-05   -.32499E-04
   8  norm          .10000E-03    1.7935       -.25237E-06** at limit **
   9  Prefactor     .10000E-03    6.1493        .41102E-06** at limit **
  10  Prefactor     .10000E-03    28.516        .89404E-06** at limit **
  11  Prefactor     10.115        79.812       -.45286E-05   -.10913E-04
  12  Prefactor     .10000E-03    14.902        .69865E-06** at limit **
  13  Prefactor     .10000E-03    202.68       -.10953E-06** at limit **
  14  Prefactor     3.0756        129.08        .68535E-05    .35169E-05
  15  Prefactor     .10000E-03    3.2533        .60049E-07** at limit **
  16  Prefactor     9.5560        2.9606        .52900E-08   -.11485E-04
  17  Prefactor     .10000E-03    5.0061        .50704E-07** at limit **
  18  norm          2.2388        1.3993       -.34942E-07   -.11031E-03
  19  Prefactor     .10000E-03    83.150        .16384E-05** at limit **
  20  norm          .17471        43.305        .61617E-05   -.19764E-04
  21  norm          14.236        6.5986       -.18310E-06   -.24816E-04
  22  Prefactor     .10000E-03    2.7637        .14714E-06** at limit **
  23  Normalizat    1.8630        .28207        .95441E-06    .28674E-04
  24  Prefactor     .82268        .13040       -.78826E-06    .10591E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.844
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.37424
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1147
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.07558
  Prefactor  = 0.0001
  Prefactor  = 9.55596
  Prefactor  = 0.0001
  norm       = 2.2388
  Prefactor  = 0.0001
  norm       = 0.174713
  norm       = 14.236
  Prefactor  = 0.0001
  Normalizat = 1.86297
  Prefactor  = 0.822684
 **********
 **   18 **HESSE 
 **********

 FCN=   6657.814     FROM HESSE     STATUS=OK           397 CALLS     2751 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.8440        83.119        .12791E-03   -1.5080    
   3  norm          .10000E-03    4.2217        .20491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.2362        .16348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3742        11.083        .86701E-03   -1.5244    
   8  norm          .10000E-03    1.7995        .10675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.2186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.115        79.591        .12595E-03   -1.5072    
  12  Prefactor     .10000E-03    14.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    204.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0756        127.09        .23299E-03   -1.5357    
  15  Prefactor     .10000E-03    3.2738        .14367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.5560        2.9601        .75872E-04   -1.5090    
  17  Prefactor     .10000E-03    5.0131        .17829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2388        1.3902        .71217E-04   -1.5409    
  19  Prefactor     .10000E-03    83.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .17471        42.469        .35665E-02   -1.5624    
  21  norm          14.236        6.5877        .10616E-03   -1.4953    
  22  Prefactor     .10000E-03    2.7754        .13229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.8630        .33028        .33046E-03   -.68031    
  24  Prefactor     .82268        .15300        .21677E-03   -.98897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89856e-08
Minuit parameter uncertainties:
  1  1.12515e-05
  2  57.3169
  3  0.000170709
  4  4.76261e-06
  5  2.668e-05
  6  1.62231e-05
  7  11.0875
  8  1.75705e-06
  9  4.00864e-05
  10  1.79395e-05
  11  56.8505
  12  2.47037e-06
  13  0.000410427
  14  39.6303
  15  1.26517e-06
  16  2.96017
  17  2.24792e-06
  18  1.39017
  19  2.38273e-05
  20  5.45026
  21  6.58807
  22  7.26122e-06
  23  0.330684
  24  0.153075
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  4.104e-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:  8.227e-01  1.531e-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.863e+00  3.307e-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.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/427788/likelihoodResults_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.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) = 6657.81408435
delta logL = -2.3170786335e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6657.81406124
delta logL = -6.73198883305e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0950       1.0000          .0000       10.000    
     3 'Normalizat'    1.8630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82269       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=   6657.814     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      256 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46654E-03    9.0523        .13161    ** at limit **
   2  Index         2.2388        1.3573        .50000       -.61342E-04
   3  Normalizat    1.8630        .23850E-02    .74697E-01    .15869E-03
   4  Prefactor     .82268        .11076E-02    .44012E-01    .27924E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000466545
  Index      = 2.23881
  Normalizat = 1.86297
  Prefactor  = 0.822682
 **********
 **   18 **HESSE 
 **********

 FCN=   6657.814     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      297 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46654E-03    5.1331        .17241       -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2388        1.2993        .50000       -.58505    
   3  Normalizat    1.8630        .22765E-02    .33047E-03   -.68031    
   4  Prefactor     .82268        .10577E-02    .10839E-02   -.98898    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57204e-09
Minuit parameter uncertainties:
  1  0.0867598
  2  1.32127
  3  0.00227647
  4  0.00105769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427788': 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) = 6657.81406061
delta logL = 5.60981789022e-07

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  4.665e-04  8.676e-02  1.000e-04  1.000e+04 ( 1.000e-14)
301        Index:  2.239e+00  1.321e+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:  8.227e-01  1.058e-03  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.863e+00  2.276e-03  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/427788/cmap_HighResolution_433468801_433728001_4FGL_J1214.5-2318_daily_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-05 05:09:31.869102', job_id='427788', GAL2='0.82', fit_tolerance='1e-08', EG2='1.86', EG='1.86', time_epoch_completed='1630843771.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='5.61e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='749' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:09:31 PDT 2021


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

Job <4FGL_J1214.5-2318_daily_bin749> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 04:55:49 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:55:51 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:51 2021
Terminated at Sun Sep  5 05:09:32 2021
Results reported at Sun Sep  5 05:09:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin749 183.625 -23.3113 433468801 433728001 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            823 sec.

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

