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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin949
RA = 187.56, Dec = 25.2983
tmin = 485308801, tmax = 485568001
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='741834', job_status='RUN', time_executed='2021-09-05 20:54:16.791098', time_epoch_executed='1630900456.79' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741834

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741834/ft1_4FGL_J1230.2+2517_daily_bin949.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741834/ft1_4FGL_J1230.2+2517_daily_bin949.fits outfile=/scratch/kocevski/741834/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin949.fits ra=187.56 dec=25.2983 rad=12.0 tmin=485308801.0 tmax=485568001.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 5.69
user 5.36
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.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/741834/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin949.fits evtable="EVENTS" outfile="/scratch/kocevski/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.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/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.fits" evtable="EVENTS" scfile=/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits sctable="SC_DATA" outfile=/scratch/kocevski/741834/ltcube_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.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/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits
.....................!
real 14.73
user 14.36
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits sctable="SC_DATA" expcube=/scratch/kocevski/741834/ltcube_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.fits outfile=/scratch/kocevski/741834/expmap_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.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/741834/ltcube_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.fits
.....................!
real 192.45
user 187.26
sys 4.54

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/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.fits scfile=/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits outfile=/scratch/kocevski/741834/cmap_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.fits scfile=/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits outfile=/scratch/kocevski/741834/cmap_HighResolution_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.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.60
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.fits', '/scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits', expMap='/scratch/kocevski/741834/expmap_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.fits', expCube='/scratch/kocevski/741834/ltcube_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/741834/Model_4FGL_J1230.2+2517_daily_bin949.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/741834/ft1_filtered_4FGL_J1230.2+2517_daily_bin949.fits
Spacecraft file(s): /scratch/kocevski/741834/ft2_4FGL_J1230.2+2517_daily_bin949.fits
Exposure map: /scratch/kocevski/741834/expmap_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.fits
Exposure cube: /scratch/kocevski/741834/ltcube_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/741834/Model_4FGL_J1230.2+2517_daily_bin949.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) = 5329.69994905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.801       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.2099       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.932       1.0000         .10000E-03   10000.    
     5 'norm      '    .14473E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.945       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13463E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .41611E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.6780       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2666       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10658E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.6624       1.0000         .10000E-03   10000.    
    15 'norm      '    .74933       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3596       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.797       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.796       1.0000         .10000E-03   10000.    
    19 'Prefactor '    126.64       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10797E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    4.3127       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.6181       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .46994       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=   5329.698     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3510 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.3951        .70848E-06** at limit **
   2  Prefactor     15.797        16.991        .36389E-06    .85149E-04
   3  Prefactor     5.2106        2.6088        .20631E-08   -.71478E-04
   4  Prefactor     21.937        38.777       -.50383E-06    .11175E-04
   5  norm          .10000E-03    .92253        .14727E-06** at limit **
   6  Prefactor     .10000E-03    4.3774        .15897E-07** at limit **
   7  Prefactor     14.952        30.804       -.67313E-06    .20757E-04
   8  Prefactor     .10012E-03    3.9069        .50429E-05** at limit **
   9  Prefactor     .10001E-03    3.1323       -.30669E-05** at limit **
  10  norm          7.6775        4.7570        .50848E-07    .16683E-03
  11  Prefactor     .10000E-03    2.4991        .27449E-07** at limit **
  12  Prefactor     3.2668        3.1544        .30772E-07    .15438E-03
  13  Prefactor     .10000E-03    1.4413        .50343E-06** at limit **
  14  Prefactor     7.6631        6.4450       -.87740E-06    .76384E-04
  15  norm          .74924        .34443        .38031E-08    .14217E-02
  16  norm          2.3620        5.0826        .61807E-05    .67758E-03
  17  Prefactor     14.800        11.477        .20980E-06    .67502E-04
  18  Prefactor     27.770        50.337        .59871E-05    .67547E-04
  19  Prefactor     126.67        105.66       -.37505E-05    .29901E-04
  20  Prefactor     .10000E-03    5.5087        .19426E-06** at limit **
  21  norm          .10000E-03    2.5903        .55041E-06** at limit **
  22  Prefactor     .10000E-03    77.608        .17679E-05** at limit **
  23  norm          .10000E-03    1.0099       -.83020E-08** at limit **
  24  norm          4.3128        3.7784        .19556E-06    .13404E-03
  25  norm          .10000E-03    6.9379       -.60583E-06** at limit **
  26  norm          .10000E-03    6.7996       -.22338E-06** at limit **
  27  Normalizat    1.6176        .22764       -.27953E-06    .41900E-03
  28  Prefactor     .46997        .22183        .83742E-06    .28501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.7975
  Prefactor  = 5.21057
  Prefactor  = 21.9367
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9523
  Prefactor  = 0.000100122
  Prefactor  = 0.000100011
  norm       = 7.67754
  Prefactor  = 0.0001
  Prefactor  = 3.26683
  Prefactor  = 0.000100003
  Prefactor  = 7.66307
  norm       = 0.749236
  norm       = 2.36199
  Prefactor  = 14.7995
  Prefactor  = 27.7698
  Prefactor  = 126.673
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 4.31284
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.61763
  Prefactor  = 0.469971
 **********
 **   18 **HESSE 
 **********

 FCN=   5329.698     FROM HESSE     STATUS=OK           523 CALLS     4033 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.797        16.941        .10076E-03   -1.4913    
   3  Prefactor     5.2106        2.6069        .79886E-04   -1.5251    
   4  Prefactor     21.937        38.982        .85529E-04   -1.4771    
   5  norm          .10000E-03    1.8231        .13368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4737        .29765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.952        30.810        .10360E-03   -1.4934    
   8  Prefactor     .10012E-03    14.077        .19470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    10.331        .21991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.6775        4.7954        .10202E-03   -1.5154    
  11  Prefactor     .10000E-03    2.5046        .11270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2668        3.1953        .10532E-03   -1.5346    
  13  Prefactor     .10000E-03    6.5253        .16297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.6631        6.4604        .14487E-03   -1.5154    
  15  norm          .74924        .34191        .27212E-04   -1.5535    
  16  norm          2.3620        5.4004        .11939E-02   -1.5401    
  17  Prefactor     14.800        11.378        .10412E-03   -1.4938    
  18  Prefactor     27.770        50.504        .75988E-04   -1.4654    
  19  Prefactor     126.67        105.98        .17886E-03   -1.3452    
  20  Prefactor     .10000E-03    5.5589        .16722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.6119        .11483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    78.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.0112        .71647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.3128        3.7445        .12732E-03   -1.5293    
  25  norm          .10000E-03    6.9981        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    6.8033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.6176        .25986        .22456E-03   -.74524    
  28  Prefactor     .46997        .24794        .39878E-03   -1.1337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11242e-08
Minuit parameter uncertainties:
  1  2.94489e-05
  2  16.946
  3  2.60697
  4  39.0268
  5  5.12562e-06
  6  1.74596e-05
  7  30.8426
  8  0.00261769
  9  0.000681172
  10  4.79561
  11  4.44297e-06
  12  3.19551
  13  0.000300388
  14  6.461
  15  0.341916
  16  5.4015
  17  11.3798
  18  50.5816
  19  106.136
  20  3.71363e-05
  21  5.13067e-05
  22  0.000839623
  23  8.67654e-07
  24  3.74472
  25  9.41172e-05
  26  2.67816e-06
  27  0.26008
  28  0.24851
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  2.362e+00  5.402e+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:  4.700e-01  2.485e-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.618e+00  2.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 187.560 25.298
Photon Flux Upper Limit: 9.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/741834/likelihoodResults_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.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) = 5329.59993572
delta logL = 0.0978681309143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5329.5126293
delta logL = 0.185174546336

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13227       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6877       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51904       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.

 FCN=   5329.513     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      257 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13034        5.2656        .76542E-02    .25922E-02
   2  alpha         4.6965        4.3231        .50000        .32321E-06
   3  Normalizat    1.5600        .59158E-01    .51521E-01   -.61952E-05
   4  Prefactor     .51877        .57988E-01    .86002E-01    .29270E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.130335
  alpha      = 4.69647
  Normalizat = 1.55996
  Prefactor  = 0.518768
 **********
 **   18 **HESSE 
 **********

 FCN=   5329.513     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      290 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13034        11.727        .34654E-04   -1.5636    
   2  alpha         4.6965        4.8046        .60304E-01    1.0729    
   3  Normalizat    1.5600        .18458        .22777E-03   -.76107    
   4  Prefactor     .51877        .18457        .38106E-03   -1.1112    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.52265e-10
Minuit parameter uncertainties:
  1  2.47211
  2  10.3418
  3  0.184656
  4  0.18478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741834': 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) = 5329.5126253
delta logL = 0.18517854522

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.303e-01  2.472e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  4.696e+00  1.034e+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:  5.188e-01  1.848e-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.560e+00  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 187.560 25.298

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/741834/cmap_HighResolution_485308801_485568001_4FGL_J1230.2+2517_daily_bin949.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.49e-05', job_status='DONE', photon_flux_upper_limit='9.23e-08', time_completed='2021-09-05 21:07:10.069052', job_id='741834', GAL2='0.52', fit_tolerance='1e-08', EG2='1.56', EG='1.62', time_epoch_completed='1630901230.07', return_code2='102', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.47', dlogl='1.85e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='949' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:07:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 741834: <4FGL_J1230.2+2517_daily_bin949> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin949> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 20:50:31 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 20:50:39 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:39 2021
Terminated at Sun Sep  5 21:07:10 2021
Results reported at Sun Sep  5 21:07:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin949 187.56 25.2983 485308801 485568001 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 :                                   767.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             252.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            999 sec.

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

