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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin982
RA = 187.56, Dec = 25.2983
tmin = 493862401, tmax = 494121601
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='741886', job_status='RUN', time_executed='2021-09-05 20:53:30.542897', time_epoch_executed='1630900410.54' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='982'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741886

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741886/ft1_4FGL_J1230.2+2517_daily_bin982.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741886/ft1_4FGL_J1230.2+2517_daily_bin982.fits outfile=/scratch/kocevski/741886/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin982.fits ra=187.56 dec=25.2983 rad=12.0 tmin=493862401.0 tmax=494121601.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.68
user 3.42
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.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/741886/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin982.fits evtable="EVENTS" outfile="/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.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.57
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits" evtable="EVENTS" scfile=/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits sctable="SC_DATA" outfile=/scratch/kocevski/741886/ltcube_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.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/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits
.....................!
real 16.16
user 15.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits evtable="EVENTS" scfile=/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits sctable="SC_DATA" expcube=/scratch/kocevski/741886/ltcube_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.fits outfile=/scratch/kocevski/741886/expmap_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.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/741886/ltcube_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.fits
.....................!
real 193.46
user 188.44
sys 4.22

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

Setting source of interest to:
4FGL J1230.2+2517 @ 187.56 25.2983

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits scfile=/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits outfile=/scratch/kocevski/741886/cmap_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.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=187.56 yref=25.2983 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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits scfile=/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits outfile=/scratch/kocevski/741886/cmap_HighResolution_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.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=187.56 yref=25.2983 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits evtable="EVENTS" scfile=/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/741886/Model_4FGL_J1230.2+2517_daily_bin982.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/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits.....................!
real 51.97
user 50.58
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits', '/scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits', expMap='/scratch/kocevski/741886/expmap_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.fits', expCube='/scratch/kocevski/741886/ltcube_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/741886/Model_4FGL_J1230.2+2517_daily_bin982.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.2+2517'

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.557e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/741886/ft1_filtered_4FGL_J1230.2+2517_daily_bin982.fits
Spacecraft file(s): /scratch/kocevski/741886/ft2_4FGL_J1230.2+2517_daily_bin982.fits
Exposure map: /scratch/kocevski/741886/expmap_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.fits
Exposure cube: /scratch/kocevski/741886/ltcube_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/741886/Model_4FGL_J1230.2+2517_daily_bin982.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) = 5633.66712817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9892       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.056       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6234       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5807       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.4816       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12322E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2717       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .33639       1.0000         .10000E-03   10000.    
    15 'norm      '    .24495E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    7.2832       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2476       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10682E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13635E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.5433       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.1268       1.0000         .10000E-03   10000.    
    24 'norm      '    .13772E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    7.3073       1.0000         .10000E-03   10000.    
    26 'norm      '    22.666       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2558       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .86423       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5633.488     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     3074 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9858        20.627        .79762E-06   -.53838E-04
   2  Prefactor     .10000E-03    15.791       -.20536E-05** at limit **
   3  Prefactor     .10000E-03    .74823        .18632E-07** at limit **
   4  Prefactor     43.067        26.752        .11738E-05    .17550E-03
   5  norm          1.6232        1.2145        .10680E-06   -.16029E-03
   6  Prefactor     .10000E-03    2.8925        .97509E-06** at limit **
   7  Prefactor     .10000E-03    7.5108        .39904E-06** at limit **
   8  Prefactor     2.5803        2.6605       -.51712E-07   -.41832E-03
   9  Prefactor     .10000E-03    1.4879        .35430E-07** at limit **
  10  norm          6.4808        3.2141       -.13207E-08   -.14518E-03
  11  Prefactor     .10001E-03    6.4346        .11390E-05** at limit **
  12  Prefactor     .10000E-03    2.1073       -.30989E-07** at limit **
  13  Prefactor     5.2716        2.7508       -.18344E-06   -.17922E-03
  14  Prefactor     .31936        3.7819        .19452E-06   -.66737E-04
  15  norm          .20155E-02    .18457        .16591E-06** at limit **
  16  norm          7.2830        4.4334       -.15188E-06   -.20268E-04
  17  Prefactor     7.2462        12.809        .37432E-05   -.19152E-03
  18  Prefactor     .10001E-03    30.414        .38473E-05** at limit **
  19  Prefactor     .10000E-03    42.783       -.33093E-05** at limit **
  20  Prefactor     .10000E-03    4.5118        .22833E-08** at limit **
  21  norm          4.5445        4.4073        .14637E-06    .52973E-04
  22  Prefactor     .10000E-03    12.672        .10428E-05** at limit **
  23  norm          2.1271        3.3420        .31203E-06   -.11171E-03
  24  norm          .10002E-03    2.5631       -.75821E-06** at limit **
  25  norm          7.3076        6.4914       -.11994E-06    .49830E-03
  26  norm          22.659        19.204       -.18650E-06   -.91215E-04
  27  Normalizat    1.2558        .18958       -.19958E-05   -.24900E-03
  28  Prefactor     .86430        .19786       -.96036E-06   -.23877E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.98579
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 43.0672
  norm       = 1.62323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.58034
  Prefactor  = 0.0001
  norm       = 6.48081
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 5.27164
  Prefactor  = 0.319361
  norm       = 0.0020155
  norm       = 7.28302
  Prefactor  = 7.24618
  Prefactor  = 0.000100005
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 4.54454
  Prefactor  = 0.000100001
  norm       = 2.12714
  norm       = 0.000100018
  norm       = 7.30758
  norm       = 22.6589
  Normalizat = 1.25576
  Prefactor  = 0.864301
 **********
 **   18 **HESSE 
 **********

 FCN=   5633.488     FROM HESSE     STATUS=OK           531 CALLS     3605 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9858        20.692        .16407E-03   -1.5219    
   2  Prefactor     .10000E-03    16.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    .75578        .63294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.067        26.898        .61095E-04   -1.4395    
   5  norm          1.6232        1.2003        .67777E-04   -1.5453    
   6  Prefactor     .10000E-03    5.6254        .24254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.5207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5803        2.6246        .11765E-03   -1.5387    
   9  Prefactor     .10000E-03    1.5106        .89294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.4808        3.1984        .89745E-04   -1.5199    
  11  Prefactor     .10001E-03    29.654        .36345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.1463        .21153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.2716        2.7456        .82600E-04   -1.5249    
  14  Prefactor     .31936        9.2489        .27736E-02   -1.5595    
  15  norm          .20155E-02    .92854E-01    .17577E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.2830        4.4199        .11763E-03   -1.5168    
  17  Prefactor     7.2462        12.887        .74496E-03   -1.5170    
  18  Prefactor     .10001E-03    31.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    43.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5567        .15567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.5445        4.3899        .14850E-03   -1.5282    
  22  Prefactor     .10000E-03    12.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.1271        3.3293        .16588E-03   -1.5416    
  24  norm          .10002E-03    6.9039        .20703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.3076        5.9406        .14838E-03   -1.5167    
  26  norm          22.659        19.219        .84133E-04   -1.4756    
  27  Normalizat    1.2558        .22608        .22881E-03   -.84897    
  28  Prefactor     .86430        .23662        .29790E-03   -.97400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42837e-08
Minuit parameter uncertainties:
  1  20.7171
  2  0.000221426
  3  2.68579e-06
  4  26.906
  5  1.20033
  6  2.68974e-05
  7  3.54738e-05
  8  2.62473
  9  5.93298e-06
  10  3.19845
  11  0.00101535
  12  2.43701e-07
  13  2.74567
  14  3.43733
  15  0.026673
  16  4.42009
  17  12.8924
  18  0.000814174
  19  0.000793607
  20  7.86888e-06
  21  4.39025
  22  0.000163808
  23  3.32956
  24  0.000699735
  25  5.94111
  26  19.2242
  27  0.226259
  28  0.236898
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  7.283e+00  4.420e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  8.643e-01  2.369e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.256e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.57
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 4.28e-08 +/- 2.60e-08
Energy Flux (Fixed Index): 2.54e-05 +/- 1.54e-05

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): 0
logL (Free Index) = 5633.37926084
delta logL = 0.108855864213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5633.37360905
delta logL = 0.114507657462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0394       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3321       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2305       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88110       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+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=   5633.374     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      266 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0387        4.3521        .10569E-03    .11412E-03
   2  alpha         2.3323        .70269        .14430E-01    .14855E-03
   3  Normalizat    1.2305        .22109        .23069E-03    .17840E-04
   4  Prefactor     .88103        .23830        .29531E-03    .63019E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.03871
  alpha      = 2.33231
  Normalizat = 1.23053
  Prefactor  = 0.881029
 **********
 **   18 **HESSE 
 **********

 FCN=   5633.374     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0387        4.2635        .42277E-05   -1.5177    
   2  alpha         2.3323        .68781        .28860E-02   -.67126E-01
   3  Normalizat    1.2305        .22094        .92277E-05   -.85665    
   4  Prefactor     .88103        .23832        .11813E-04   -.96807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13066e-11
Minuit parameter uncertainties:
  1  4.26367
  2  0.696836
  3  0.221105
  4  0.238601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741886': 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) = 5633.37360892
delta logL = 0.114507784825

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  7.039e+00  4.264e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.332e+00  6.968e-01  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  5.434e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  8.810e-01  2.386e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.231e+00  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.79
Ra Dec: 187.560 25.298
Photon Index (Free Index): 2.33 +/- 0.70
Photon Flux (Free Index): 6.15e-08 +/- 5.29e-08
Energy Flux (Free Index): 2.17e-05 +/- 1.28e-05

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/741886/cmap_HighResolution_493862401_494121601_4FGL_J1230.2+2517_daily_bin982.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.28e-08', energy_flux2='2.17e-05', photon_flux_error='2.60e-08', dlogl='1.15e-01', energy_flux='2.54e-05', photon_flux2='6.15e-08', job_status='DONE', time_completed='2021-09-05 21:04:36.857061', photon_index_error2='0.70', photon_index2='2.33', ts='8.57', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.26', time_epoch_completed='1630901076.86', return_code='0', job_id='741886', GAL2='0.88', EG2='1.23', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='5.29e-08', ts2='8.79', photon_index='2.00' WHERE bin_id='982' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:04:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 741886: <4FGL_J1230.2+2517_daily_bin982> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin982> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 20:50:35 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 20:50:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 20:50:45 2021
Terminated at Sun Sep  5 21:04:37 2021
Results reported at Sun Sep  5 21:04:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin982 187.56 25.2983 493862401 494121601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1230.2+2517 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   660.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            842 sec.

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

