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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1625
RA = 216.756, Dec = 23.8013
tmin = 660528001, tmax = 660787201
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='219216', job_status='RUN', time_executed='2021-12-10 08:33:44.742540', time_epoch_executed='1639154024.74' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219216/ft1_4FGL_J1427.0+2348_daily_bin1625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219216/ft1_4FGL_J1427.0+2348_daily_bin1625.fits outfile=/scratch/kocevski/219216/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1625.fits ra=216.756 dec=23.8013 rad=12.0 tmin=660528001.0 tmax=660787201.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.57
user 3.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.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/219216/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1625.fits evtable="EVENTS" outfile="/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits" evtable="EVENTS" scfile=/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits sctable="SC_DATA" outfile=/scratch/kocevski/219216/ltcube_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.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/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits
.....................!
real 12.66
user 12.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits sctable="SC_DATA" expcube=/scratch/kocevski/219216/ltcube_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.fits outfile=/scratch/kocevski/219216/expmap_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.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/219216/ltcube_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.fits
.....................!
real 193.42
user 188.44
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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J1427.0+2348 @ 216.756 23.8013

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits scfile=/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits outfile=/scratch/kocevski/219216/cmap_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.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=216.756 yref=23.8013 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits scfile=/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits outfile=/scratch/kocevski/219216/cmap_HighResolution_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.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=216.756 yref=23.8013 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219216/Model_4FGL_J1427.0+2348_daily_bin1625.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/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits....................!
real 51.34
user 49.91
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits', '/scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits', expMap='/scratch/kocevski/219216/expmap_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.fits', expCube='/scratch/kocevski/219216/ltcube_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/219216/Model_4FGL_J1427.0+2348_daily_bin1625.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1427.0+2348'

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  7.035e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/219216/ft1_filtered_4FGL_J1427.0+2348_daily_bin1625.fits
Spacecraft file(s): /scratch/kocevski/219216/ft2_4FGL_J1427.0+2348_daily_bin1625.fits
Exposure map: /scratch/kocevski/219216/expmap_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.fits
Exposure cube: /scratch/kocevski/219216/ltcube_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/219216/Model_4FGL_J1427.0+2348_daily_bin1625.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) = 6576.38932785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3505       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.449       1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.482       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7885       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.1871       1.0000         .10000E-03   10000.    
     9 'norm      '    11.672       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.474       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.164       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.967       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    41.862       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.498       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .74685       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6576.384     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1843 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3507        3.6537       -.46146E-06   -.63327E-03
   2  Prefactor     15.449        11.379        .86130E-07   -.59259E-04
   3  Prefactor     53.481        26.423       -.11784E-05   -.10657E-04
   4  Prefactor     7.7888        3.9595        .95196E-07   -.21181E-03
   5  Prefactor     .10000E-03    3.9383       -.59071E-07** at limit **
   6  norm          .10000E-03    .84072        .22192E-07** at limit **
   7  Prefactor     .10000E-03    2.9479        .74797E-06** at limit **
   8  norm          7.1871        3.5624        .13174E-06   -.28847E-03
   9  norm          11.672        5.1558       -.26092E-06   -.15825E-02
  10  Prefactor     26.475        27.168        .25183E-05   -.10145E-04
  11  Prefactor     26.169        24.614        .85119E-05   -.18529E-04
  12  Prefactor     .10000E-03    7.0808       -.31030E-06** at limit **
  13  Prefactor     .10000E-03    11.331       -.45334E-06** at limit **
  14  Prefactor     22.971        33.629        .89515E-05   -.56115E-05
  15  Prefactor     .10000E-03    2.9330       -.73110E-06** at limit **
  16  norm          41.862        38.914        .46161E-06   -.32979E-06
  17  Prefactor     18.498        12.562        .16292E-06   -.26607E-04
  18  Normalizat    .74683        .17467       -.11092E-05   -.49976E-04
  19  Prefactor     1.0165        .14280       -.78606E-06   -.10012E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35073
  Prefactor  = 15.4491
  Prefactor  = 53.4812
  Prefactor  = 7.78876
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.1871
  norm       = 11.6723
  Prefactor  = 26.4752
  Prefactor  = 26.1691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.9713
  Prefactor  = 0.0001
  norm       = 41.8622
  Prefactor  = 18.4984
  Normalizat = 0.746829
  Prefactor  = 1.01646
 **********
 **   18 **HESSE 
 **********

 FCN=   6576.384     FROM HESSE     STATUS=OK           270 CALLS     2113 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3507        3.6839        .18379E-03   -1.5401    
   2  Prefactor     15.449        11.390        .10190E-03   -1.4922    
   3  Prefactor     53.481        26.435        .54845E-04   -1.4244    
   4  Prefactor     7.7888        3.9884        .10840E-03   -1.5150    
   5  Prefactor     .10000E-03    4.0383        .31422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .85334        .72593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9711        .13579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.1871        3.5584        .10155E-03   -1.5172    
   9  norm          11.672        5.2215        .58628E-03   -1.5025    
  10  Prefactor     26.475        27.175        .77859E-04   -1.4678    
  11  Prefactor     26.169        24.329        .78317E-04   -1.4684    
  12  Prefactor     .10000E-03    7.1039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.971        33.445        .83583E-04   -1.4749    
  15  Prefactor     .10000E-03    2.9381        .13560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          41.862        38.922        .61957E-04   -1.4413    
  17  Prefactor     18.498        12.564        .93123E-04   -1.4848    
  18  Normalizat    .74683        .20503        .27978E-03   -1.0207    
  19  Prefactor     1.0165        .16801        .20769E-03   -.92183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08947e-10
Minuit parameter uncertainties:
  1  3.68429
  2  11.3918
  3  26.4409
  4  3.98851
  5  4.04531e-06
  6  1.60382e-06
  7  1.14025e-05
  8  3.55854
  9  5.22169
  10  27.188
  11  24.3386
  12  5.38524e-05
  13  0.000120422
  14  33.4721
  15  1.48884e-06
  16  38.9452
  17  12.566
  18  0.205239
  19  0.168095
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.000e-04  1.604e-06  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.016e+00  1.681e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  7.468e-01  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 216.756 23.801
Photon Flux Upper Limit: 3.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219216/likelihoodResults_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.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): 0
logL (Free Index) = 6576.38920358
delta logL = -0.00551137093134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6576.38369239
delta logL = -1.78078153112e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7100       1.0000          .0000       5.0000    
     3 'Normalizat'    .74691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6576.353     FROM MIGRAD    STATUS=FAILED       216 CALLS      362 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23493E-01    9.1018        .72663E-02   -.60157E-02
   2  alpha         4.0441        4.4240        .50000        .68557E-04
   3  Normalizat    .73284        .45873        .27978E-03    .90615E-05
   4  Prefactor     1.0217        .12963        .20769E-03    .20691E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6576.353     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      455 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23493E-01    9.1018        .57328E-04   -.60157E-02
   2  alpha         4.0441        4.4240        .76074E-02    .68557E-04
   3  Normalizat    .73284        .45873        .81331E-04    .90615E-05
   4  Prefactor     1.0217        .12963        .12441E-03    .20691E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6576.353     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      502 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23493E-01    .38529         .0000       -.21114E-01
   2  alpha         4.0441        4.2909         .0000        .10618E-04
   3  Normalizat    .73284        .19745         .0000       -.12597E-04
   4  Prefactor     1.0217        .16485         .0000        .54739E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0234925
  alpha      = 4.04414
  Normalizat = 0.73284
  Prefactor  = 1.02172
 **********
 **   18 **HESSE 
 **********

 FCN=   6576.353     FROM HESSE     STATUS=OK            27 CALLS      529 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23493E-01    .25743        .69939E-04   -1.5739    
   2  alpha         4.0441        4.0223        .19533E-02    .66576    
   3  Normalizat    .73284        .19776        .22382E-05   -1.0261    
   4  Prefactor     1.0217        .16473        .16615E-05   -.92009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80451e-12
Minuit parameter uncertainties:
  1  0.155202
  2  2.57467
  3  0.197955
  4  0.164808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219216': 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) = 6576.35323217
delta logL = 0.0304600473455

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  2.349e-02  1.552e-01  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  4.044e+00  2.575e+00  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.022e+00  1.648e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  7.328e-01  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.756 23.801

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/219216/cmap_HighResolution_660528001_660787201_4FGL_J1427.0+2348_daily_bin1625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-05', job_status='DONE', photon_flux_upper_limit='3.27e-08', time_completed='2021-12-10 08:43:25.339722', job_id='219216', GAL2='1.02', fit_tolerance='1e-08', EG2='0.73', EG='0.75', time_epoch_completed='1639154605.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.05e-02', ts2='0.07', photon_index_error='0.00', photon_index='1.71' WHERE bin_id='1625' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 10 08:43:25 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 219216: <4FGL_J1427.0+2348_daily_bin1625> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1625> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Dec 10 08:30:22 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 08:30:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 08:30:24 2021
Terminated at Fri Dec 10 08:43:29 2021
Results reported at Fri Dec 10 08:43:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1625 216.756 23.8013 660528001 660787201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1427.0+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   583.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            787 sec.

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

