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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin826
RA = 187.56, Dec = 25.2983
tmin = 453427201, tmax = 453686401
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='743338', job_status='RUN', time_executed='2021-09-05 20:58:57.416207', time_epoch_executed='1630900737.42' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='826'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743338

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743338/ft1_4FGL_J1230.2+2517_daily_bin826.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743338/ft2_4FGL_J1230.2+2517_daily_bin826.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743338/ft1_4FGL_J1230.2+2517_daily_bin826.fits outfile=/scratch/kocevski/743338/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin826.fits ra=187.56 dec=25.2983 rad=12.0 tmin=453427201.0 tmax=453686401.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.66
user 3.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743338/ft2_4FGL_J1230.2+2517_daily_bin826.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/743338/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin826.fits evtable="EVENTS" outfile="/scratch/kocevski/743338/ft1_filtered_4FGL_J1230.2+2517_daily_bin826.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.53
user 0.35
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743338/ft1_filtered_4FGL_J1230.2+2517_daily_bin826.fits evtable="EVENTS" scfile=/scratch/kocevski/743338/ft2_4FGL_J1230.2+2517_daily_bin826.fits sctable="SC_DATA" expcube=/scratch/kocevski/743338/ltcube_453427201_453686401_4FGL_J1230.2+2517_daily_bin826.fits outfile=/scratch/kocevski/743338/expmap_453427201_453686401_4FGL_J1230.2+2517_daily_bin826.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/743338/ltcube_453427201_453686401_4FGL_J1230.2+2517_daily_bin826.fits
.....................!
real 193.54
user 188.28
sys 4.55

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/743338/ft1_filtered_4FGL_J1230.2+2517_daily_bin826.fits scfile=/scratch/kocevski/743338/ft2_4FGL_J1230.2+2517_daily_bin826.fits outfile=/scratch/kocevski/743338/cmap_453427201_453686401_4FGL_J1230.2+2517_daily_bin826.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.68
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743338/ft1_filtered_4FGL_J1230.2+2517_daily_bin826.fits scfile=/scratch/kocevski/743338/ft2_4FGL_J1230.2+2517_daily_bin826.fits outfile=/scratch/kocevski/743338/cmap_HighResolution_453427201_453686401_4FGL_J1230.2+2517_daily_bin826.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.76
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.459       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.697       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39554E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.334       1.0000         .10000E-03   10000.    
     5 'norm      '    6.3792       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10867E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3502       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.4219       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3501       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7482       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.9325       1.0000         .10000E-03   10000.    
    15 'norm      '    .14957       1.0000         .10000E-03   10000.    
    16 'norm      '    66.552       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.643       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.449       1.0000         .10000E-03   10000.    
    21 'norm      '    .10869E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.8219       1.0000         .10000E-03   10000.    
    24 'norm      '    4.9542       1.0000         .10000E-03   10000.    
    25 'norm      '    .64789E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    6.8718       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1974       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .73361       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=   6556.679     FROM MIGRAD    STATUS=CONVERGED    730 CALLS     3616 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.442        22.773        .56543E-07   -.45868E-04
   2  Prefactor     10.693        10.705        .29087E-08   -.15045E-04
   3  Prefactor     .10003E-03    12.174        .24578E-05** at limit **
   4  Prefactor     13.334        25.908        .19798E-05    .32725E-03
   5  norm          6.3790        1.7537       -.20364E-07   -.14965E-03
   6  Prefactor     .10000E-03    2.9190        .27108E-06** at limit **
   7  Prefactor     6.2223        35.579       -.52144E-06    .24108E-04
   8  Prefactor     .10000E-03    1.1908        .74427E-07** at limit **
   9  Prefactor     .10000E-03    .79371       -.55987E-07** at limit **
  10  norm          5.4216        3.0126       -.25309E-07   -.37541E-04
  11  Prefactor     2.3501        4.9286        .71190E-06    .30219E-03
  12  Prefactor     .10000E-03    1.8949       -.25024E-07** at limit **
  13  Prefactor     2.7481        2.4025       -.53681E-08   -.14566E-04
  14  Prefactor     9.9314        6.3576       -.11393E-07   -.13408E-04
  15  norm          .14963        .24951       -.18707E-07   -.12659E-02
  16  norm          66.546        10.672       -.22508E-07   -.53329E-04
  17  Prefactor     .10000E-03    4.5873       -.22793E-07** at limit **
  18  Prefactor     11.616        34.729       -.16440E-05   -.12738E-03
  19  Prefactor     .10000E-03    31.045        .59110E-06** at limit **
  20  Prefactor     12.448        8.5215       -.68853E-08    .21608E-04
  21  norm          .10000E-03    6.1569       -.16395E-05** at limit **
  22  Prefactor     .10000E-03    9.5414       -.98028E-07** at limit **
  23  norm          5.8206        5.0897        .27306E-07    .63739E-04
  24  norm          4.9447        3.8762        .99267E-06    .23824E-03
  25  norm          .10008E-03    10.569        .27065E-06** at limit **
  26  norm          6.8721        14.900       -.47495E-07   -.62209E-05
  27  Normalizat    1.1982        .19911       -.47143E-06    .75964E-04
  28  Prefactor     .73277        .19681        .68861E-06    .61858E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4425
  Prefactor  = 10.6931
  Prefactor  = 0.000100029
  Prefactor  = 13.3341
  norm       = 6.37903
  Prefactor  = 0.0001
  Prefactor  = 6.22229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.42165
  Prefactor  = 2.35013
  Prefactor  = 0.0001
  Prefactor  = 2.74809
  Prefactor  = 9.93136
  norm       = 0.149634
  norm       = 66.5461
  Prefactor  = 0.0001
  Prefactor  = 11.6162
  Prefactor  = 0.000100001
  Prefactor  = 12.4479
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.82063
  norm       = 4.94474
  norm       = 0.000100085
  norm       = 6.87214
  Normalizat = 1.19817
  Prefactor  = 0.732772
 **********
 **   18 **HESSE 
 **********

 FCN=   6556.679     FROM HESSE     STATUS=OK           541 CALLS     4157 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.442        22.050        .11348E-03   -1.5002    
   2  Prefactor     10.693        10.675        .12250E-03   -1.5054    
   3  Prefactor     .10003E-03    16.226        .14688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.334        26.677        .10969E-03   -1.4977    
   5  norm          6.3790        1.7536        .53202E-04   -1.5203    
   6  Prefactor     .10000E-03    6.0961        .26227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2223        35.895        .15928E-03   -1.5209    
   8  Prefactor     .10000E-03    3.5694        .17058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .79697        .70450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.4216        2.9852        .98379E-04   -1.5242    
  11  Prefactor     2.3501        4.9534        .12707E-02   -1.5401    
  12  Prefactor     .10000E-03    1.9394        .21567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7481        2.3906        .10990E-03   -1.5376    
  14  Prefactor     9.9314        6.3473        .12715E-03   -1.5078    
  15  norm          .14963        .23847        .48308E-03   -1.5631    
  16  norm          66.546        10.653        .49197E-04   -1.4075    
  17  Prefactor     .10000E-03    4.6004        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.616        35.112        .11740E-03   -1.5026    
  19  Prefactor     .10000E-03    31.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.448        8.5136        .11353E-03   -1.5002    
  21  norm          .10000E-03    30.097        .24396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.5523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.8206        5.0812        .16070E-03   -1.5225    
  24  norm          4.9447        3.8994        .13646E-03   -1.5263    
  25  norm          .10008E-03    20.597        .36910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          6.8721        14.884        .15305E-03   -1.5184    
  27  Normalizat    1.1982        .23783        .25411E-03   -.86660    
  28  Prefactor     .73277        .23377        .33076E-03   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76287e-09
Minuit parameter uncertainties:
  1  22.0645
  2  10.6772
  3  0.00136526
  4  26.7004
  5  1.75366
  6  4.0611e-05
  7  29.9167
  8  2.32846e-05
  9  3.72848e-06
  10  2.98529
  11  4.95424
  12  3.67855e-06
  13  2.39065
  14  6.34776
  15  0.238467
  16  10.6531
  17  6.12868e-06
  18  35.1745
  19  0.000268459
  20  8.51443
  21  0.000395643
  22  2.79438e-05
  23  5.08156
  24  3.89959
  25  0.00264368
  26  14.892
  27  0.238048
  28  0.234089
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.655e+01  1.065e+01  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.328e-01  2.341e-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.198e+00  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 216.42
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.91e-07 +/- 6.26e-08
Energy Flux (Fixed Index): 2.32e-04 +/- 3.72e-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) = 6554.24478288
delta logL = 2.43445768154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6554.24416894
delta logL = 2.43507162535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    66.192       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6888       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67816       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=   6554.244     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          66.192        10.932        .12333E-02    .15159E-02
   2  alpha         1.6889        .13310        .99934E-01   -.19686E-04
   3  Normalizat    1.2937        .18935        .55845E-01    .49888E-05
   4  Prefactor     .67820        .19548        .77593E-01    .27848E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 66.1917
  alpha      = 1.68886
  Normalizat = 1.2937
  Prefactor  = 0.678199
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.244     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          66.192        11.320        .49330E-04   -1.4079    
   2  alpha         1.6889        .13968        .43658E-03   -.33044    
   3  Normalizat    1.2937        .22613        .24694E-03   -.83755    
   4  Prefactor     .67820        .23198        .34355E-03   -1.0439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50153e-10
Minuit parameter uncertainties:
  1  11.3202
  2  0.139757
  3  0.226303
  4  0.232311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743338': 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) = 6554.24416862
delta logL = 2.43507194231

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.619e+01  1.132e+01  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  1.689e+00  1.398e-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:  6.782e-01  2.323e-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.294e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 221.75
Ra Dec: 187.560 25.298
Photon Index (Free Index): 1.69 +/- 0.14
Photon Flux (Free Index): 2.93e-07 +/- 6.45e-08
Energy Flux (Free Index): 3.56e-04 +/- 9.81e-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/743338/cmap_HighResolution_453427201_453686401_4FGL_J1230.2+2517_daily_bin826.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.91e-07', energy_flux2='3.56e-04', photon_flux_error='6.26e-08', dlogl='2.44e+00', energy_flux='2.32e-04', photon_flux2='2.93e-07', job_status='DONE', time_completed='2021-09-05 21:11:35.762809', photon_index_error2='0.14', photon_index2='1.69', ts='216.42', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='9.81e-05', EG='1.20', time_epoch_completed='1630901495.76', return_code='0', job_id='743338', GAL2='0.68', EG2='1.29', return_code2='0', energy_flux_error='3.72e-05', photon_flux_error2='6.45e-08', ts2='221.75', photon_index='2.00' WHERE bin_id='826' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:11:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 743338: <4FGL_J1230.2+2517_daily_bin826> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin826> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 20:55:15 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 20:55:18 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:55:18 2021
Terminated at Sun Sep  5 21:11:36 2021
Results reported at Sun Sep  5 21:11:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin826 187.56 25.2983 453427201 453686401 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 :                                   757.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            981 sec.

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

