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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin887
RA = 187.56, Dec = 25.2983
tmin = 469238401, tmax = 469497601
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='741738', job_status='RUN', time_executed='2021-09-05 20:52:49.215927', time_epoch_executed='1630900369.22' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='887'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741738

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741738/ft1_4FGL_J1230.2+2517_daily_bin887.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741738/ft2_4FGL_J1230.2+2517_daily_bin887.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741738/ft1_4FGL_J1230.2+2517_daily_bin887.fits outfile=/scratch/kocevski/741738/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin887.fits ra=187.56 dec=25.2983 rad=12.0 tmin=469238401.0 tmax=469497601.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.48
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741738/ft1_filtered_4FGL_J1230.2+2517_daily_bin887.fits" evtable="EVENTS" scfile=/scratch/kocevski/741738/ft2_4FGL_J1230.2+2517_daily_bin887.fits sctable="SC_DATA" outfile=/scratch/kocevski/741738/ltcube_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.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/741738/ft2_4FGL_J1230.2+2517_daily_bin887.fits
.....................!
real 15.60
user 15.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741738/ft1_filtered_4FGL_J1230.2+2517_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/741738/ft2_4FGL_J1230.2+2517_daily_bin887.fits sctable="SC_DATA" expcube=/scratch/kocevski/741738/ltcube_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.fits outfile=/scratch/kocevski/741738/expmap_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.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/741738/ltcube_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.fits
.....................!
real 193.30
user 186.99
sys 5.13

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/741738/ft1_filtered_4FGL_J1230.2+2517_daily_bin887.fits scfile=/scratch/kocevski/741738/ft2_4FGL_J1230.2+2517_daily_bin887.fits outfile=/scratch/kocevski/741738/cmap_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.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/741738/ft1_filtered_4FGL_J1230.2+2517_daily_bin887.fits scfile=/scratch/kocevski/741738/ft2_4FGL_J1230.2+2517_daily_bin887.fits outfile=/scratch/kocevski/741738/cmap_HighResolution_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68858E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.138       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1074       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12602E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    15.183       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4672       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9269       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3059       1.0000         .10000E-03   10000.    
    10 'norm      '    9.4151       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3024       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .97916E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5017       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.957       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11336E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .64549       1.0000         .10000E-03   10000.    
    21 'norm      '    .36567       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7046       1.0000         .10000E-03   10000.    
    23 'norm      '    .33367E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    4.9489       1.0000         .10000E-03   10000.    
    25 'norm      '    .13386E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .73521       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=   6660.750     FROM MIGRAD    STATUS=CONVERGED    739 CALLS     3088 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10456E-03    14.746        .25383E-05** at limit **
   2  Prefactor     12.149        11.675        .16618E-05    .63835E-03
   3  Prefactor     2.1069        1.4419       -.30408E-08   -.61131E-03
   4  Prefactor     .10000E-03    11.710        .24582E-07** at limit **
   5  norm          15.183        2.1090        .59309E-08   -.10308E-02
   6  Prefactor     2.4689        3.5794        .20805E-07   -.27445E-03
   7  Prefactor     .10000E-03    7.3188       -.47517E-07** at limit **
   8  Prefactor     1.9272        2.6824        .11721E-06   -.18077E-03
   9  Prefactor     2.3054        2.2870        .64625E-08   -.21015E-04
  10  norm          9.4159        3.7568        .94611E-08    .68395E-04
  11  Prefactor     .10000E-03    2.2463       -.26787E-07** at limit **
  12  Prefactor     .16399        1.5561        .42335E-07   -.69540E-04
  13  Prefactor     3.3029        2.0320       -.33457E-07   -.26149E-03
  14  Prefactor     .10000E-03    2.3827       -.11418E-08** at limit **
  15  norm          .98045E-01    .21117        .10787E-06   -.10931E-02
  16  norm          4.5022        3.1629        .23916E-06    .49906E-03
  17  Prefactor     .10000E-03    5.3108        .37358E-07** at limit **
  18  Prefactor     10.949        15.450       -.21903E-05   -.48936E-03
  19  Prefactor     .10000E-03    25.681        .34052E-06** at limit **
  20  Prefactor     .65979        4.1826        .31181E-06   -.37232E-04
  21  norm          .36844        4.4248        .28756E-05   -.45529E-03
  22  Prefactor     1.7441        62.460       -.43756E-05   -.10856E-03
  23  norm          .22032E-03    1.8286       -.61268E-06** at limit **
  24  norm          4.9434        3.4242       -.49565E-07   -.23537E-03
  25  norm          .10000E-03    5.1331       -.46255E-07** at limit **
  26  norm          .10000E-03    9.6999        .16408E-06** at limit **
  27  Normalizat    1.1188        .17398       -.63856E-06   -.26984E-03
  28  Prefactor     .73539        .17965       -.48053E-06   -.19029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104555
  Prefactor  = 12.1491
  Prefactor  = 2.1069
  Prefactor  = 0.0001
  norm       = 15.1828
  Prefactor  = 2.46887
  Prefactor  = 0.0001
  Prefactor  = 1.92723
  Prefactor  = 2.30535
  norm       = 9.41588
  Prefactor  = 0.0001
  Prefactor  = 0.163994
  Prefactor  = 3.30289
  Prefactor  = 0.0001
  norm       = 0.0980447
  norm       = 4.50216
  Prefactor  = 0.0001
  Prefactor  = 10.9487
  Prefactor  = 0.0001
  Prefactor  = 0.659792
  norm       = 0.368436
  Prefactor  = 1.74407
  norm       = 0.000220323
  norm       = 4.94339
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.11875
  Prefactor  = 0.735386
 **********
 **   18 **HESSE 
 **********

 FCN=   6660.750     FROM HESSE     STATUS=OK           543 CALLS     3631 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10456E-03    15.870        .81939E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.149        12.018        .11498E-03   -1.5011    
   3  Prefactor     2.1069        1.4371        .77852E-04   -1.5418    
   4  Prefactor     .10000E-03    11.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          15.183        2.1114        .42063E-04   -1.4928    
   6  Prefactor     2.4689        3.5558        .17203E-03   -1.5394    
   7  Prefactor     .10000E-03    7.3260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9272        2.6206        .14040E-03   -1.5430    
   9  Prefactor     2.3054        2.2710        .11400E-03   -1.5404    
  10  norm          9.4159        4.1450        .83278E-04   -1.5094    
  11  Prefactor     .10000E-03    2.2554        .11945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16399        12.089        .16861E-02   -1.5627    
  13  Prefactor     3.3029        2.0231        .85786E-04   -1.5344    
  14  Prefactor     .10000E-03    2.4016        .12297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98045E-01    .21827        .50001E-03   -1.5645    
  16  norm          4.5022        3.1719        .11814E-03   -1.5284    
  17  Prefactor     .10000E-03    5.3847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.949        15.959        .12104E-03   -1.5046    
  19  Prefactor     .10000E-03    25.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .65979        16.560        .30917E-02   -1.5546    
  21  norm          .36844        5.4351        .34933E-03   -1.5587    
  22  Prefactor     1.7441        60.927        .32210E-03   -1.5444    
  23  norm          .22032E-03    3.4096        .36723E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.9434        3.3732        .11680E-03   -1.5263    
  25  norm          .10000E-03    5.1668        .17914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    9.7178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1188        .19866        .23023E-03   -.89152    
  28  Prefactor     .73539        .20805        .30518E-03   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8765e-08
Minuit parameter uncertainties:
  1  0.017009
  2  12.0207
  3  1.43712
  4  3.97499e-06
  5  2.11138
  6  3.55607
  7  6.06576e-06
  8  2.62071
  9  2.27113
  10  4.14514
  11  1.59505e-06
  12  2.81575
  13  2.02315
  14  8.24093e-07
  15  0.218267
  16  3.17204
  17  5.8301e-06
  18  15.9648
  19  9.59663e-05
  20  6.61244
  21  2.8301
  22  20.6388
  23  0.0405119
  24  3.3733
  25  4.89608e-06
  26  2.97708e-05
  27  0.19879
  28  0.20827
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  4.502e+00  3.172e+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:  7.354e-01  2.083e-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.119e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.39
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.65e-08 +/- 1.86e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.11e-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) = 6660.66060088
delta logL = 0.089065819694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6660.66020576
delta logL = 0.0894609326897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5044       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7637       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73093       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=   6660.660     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5183        4.0194        .47425E-02    .98302E-03
   2  alpha         1.7640        .56572        .39945       -.11035E-03
   3  Normalizat    1.1257        .16281        .37043E-01   -.70391E-05
   4  Prefactor     .73083        .17868        .69157E-01    .39414E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.51826
  alpha      = 1.76402
  Normalizat = 1.12565
  Prefactor  = 0.730833
 **********
 **   18 **HESSE 
 **********

 FCN=   6660.660     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5183        3.2110        .11900E-03   -1.5283    
   2  alpha         1.7640        .53139        .14951E-01   -.29882    
   3  Normalizat    1.1257        .18618        .22960E-03   -.88932    
   4  Prefactor     .73083        .20455        .30602E-03   -1.0233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96784e-10
Minuit parameter uncertainties:
  1  3.21115
  2  0.535872
  3  0.186286
  4  0.204758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741738': 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) = 6660.6601964
delta logL = 0.0894702934856

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  4.518e+00  3.211e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  1.764e+00  5.359e-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:  7.308e-01  2.048e-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.126e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.57
Ra Dec: 187.560 25.298
Photon Index (Free Index): 1.76 +/- 0.54
Photon Flux (Free Index): 2.12e-08 +/- 1.86e-08
Energy Flux (Free Index): 2.13e-05 +/- 2.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/741738/cmap_HighResolution_469238401_469497601_4FGL_J1230.2+2517_daily_bin887.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='2.13e-05', photon_flux_error='1.86e-08', dlogl='8.95e-02', energy_flux='1.57e-05', photon_flux2='2.12e-08', job_status='DONE', time_completed='2021-09-05 21:05:02.159421', photon_index_error2='0.54', photon_index2='1.76', ts='6.39', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='1.12', time_epoch_completed='1630901102.16', return_code='0', job_id='741738', GAL2='0.73', EG2='1.13', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.86e-08', ts2='6.57', photon_index='2.00' WHERE bin_id='887' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:05:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 741738: <4FGL_J1230.2+2517_daily_bin887> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin887 187.56 25.2983 469238401 469497601 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 :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            880 sec.

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

