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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin766
RA = 217.203, Dec = 74.485
tmin = 437875201, tmax = 438134401
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='535619', job_status='RUN', time_executed='2021-09-09 20:06:18.241005', time_epoch_executed='1631243178.24' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535619/ft1_4FGL_J1428.8+7429_daily_bin766.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535619/ft1_4FGL_J1428.8+7429_daily_bin766.fits outfile=/scratch/kocevski/535619/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin766.fits ra=217.203 dec=74.485 rad=12.0 tmin=437875201.0 tmax=438134401.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.81
user 5.55
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.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/535619/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin766.fits evtable="EVENTS" outfile="/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits" evtable="EVENTS" scfile=/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits sctable="SC_DATA" outfile=/scratch/kocevski/535619/ltcube_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.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/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits
.....................!
real 12.65
user 12.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits evtable="EVENTS" scfile=/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits sctable="SC_DATA" expcube=/scratch/kocevski/535619/ltcube_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.fits outfile=/scratch/kocevski/535619/expmap_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.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/535619/ltcube_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.fits
.....................!
real 189.75
user 185.04
sys 4.30

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

Setting source of interest to:
4FGL J1428.8+7429 @ 217.203 74.485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits scfile=/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits outfile=/scratch/kocevski/535619/cmap_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.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=217.203 yref=74.485 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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits scfile=/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits outfile=/scratch/kocevski/535619/cmap_HighResolution_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.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=217.203 yref=74.485 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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits evtable="EVENTS" scfile=/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/535619/Model_4FGL_J1428.8+7429_daily_bin766.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/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits.....................!
real 56.57
user 55.25
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits', '/scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits', expMap='/scratch/kocevski/535619/expmap_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.fits', expCube='/scratch/kocevski/535619/ltcube_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/535619/Model_4FGL_J1428.8+7429_daily_bin766.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.8+7429'

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.627e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/535619/ft1_filtered_4FGL_J1428.8+7429_daily_bin766.fits
Spacecraft file(s): /scratch/kocevski/535619/ft2_4FGL_J1428.8+7429_daily_bin766.fits
Exposure map: /scratch/kocevski/535619/expmap_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.fits
Exposure cube: /scratch/kocevski/535619/ltcube_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/535619/Model_4FGL_J1428.8+7429_daily_bin766.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) = 4613.53143541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5672       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.5288       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11341E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4622       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.863       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    67.732       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.925       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    102.39       1.0000         .10000E-03   10000.    
    22 'norm      '    12.557       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11216E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10581E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    35.429       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0205       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0754       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4613.329     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     4063 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5678        10.315       -.31706E-07    .16070E-05
   2  Prefactor     .10000E-03    904.71       -.30211E-04** at limit **
   3  norm          2.5291        3.4219        .10900E-06    .14427E-04
   4  norm          .10000E-03    1.0160        .31759E-07** at limit **
   5  Prefactor     .10000E-03    63.462        .23039E-06** at limit **
   6  Prefactor     .10000E-03    51.719        .39436E-07** at limit **
   7  Prefactor     .10000E-03    12.566        .18603E-06** at limit **
   8  Prefactor     .10000E-03    12.433        .19262E-07** at limit **
   9  Prefactor     7.4624        10.613        .59432E-06   -.30404E-05
  10  Prefactor     .10000E-03    7.1750        .49550E-07** at limit **
  11  Prefactor     .10000E-03    7.6404        .58285E-07** at limit **
  12  Prefactor     .10000E-03    8.0376        .13855E-06** at limit **
  13  Prefactor     25.864        29.588        .49044E-06   -.91946E-05
  14  Prefactor     .10000E-03    48.791       -.11581E-07** at limit **
  15  Prefactor     67.748        121.19        .12309E-05   -.12981E-05
  16  Prefactor     .10000E-03    14.356        .66673E-08** at limit **
  17  Prefactor     .10000E-03    12.557        .55844E-07** at limit **
  18  Prefactor     15.929        72.597        .22199E-05   -.28059E-05
  19  Prefactor     .10000E-03    50.841        .11893E-06** at limit **
  20  Prefactor     .10000E-03    18.655        .27027E-07** at limit **
  21  Prefactor     102.39        72.073        .33624E-06   -.27337E-05
  22  norm          12.557        16.018        .15537E-06   -.12922E-04
  23  Prefactor     .10000E-03    81.264       -.53264E-07** at limit **
  24  Prefactor     .10000E-03    301.01        .27678E-05** at limit **
  25  Prefactor     .10000E-03    2.9464        .24526E-06** at limit **
  26  Prefactor     35.429        31.462        .35585E-06   -.47879E-04
  27  Normalizat    1.0205        .21504       -.20631E-05   -.27559E-04
  28  Prefactor     1.0754        .16991       -.73766E-06   -.72992E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.56776
  Prefactor  = 0.000100002
  norm       = 2.52914
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.46238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8636
  Prefactor  = 0.0001
  Prefactor  = 67.7481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.9286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 102.389
  norm       = 12.5568
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 35.429
  Normalizat = 1.0205
  Prefactor  = 1.07536
 **********
 **   18 **HESSE 
 **********

 FCN=   4613.329     FROM HESSE     STATUS=OK           505 CALLS     4568 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5678        10.298        .13695E-03   -1.5122    
   2  Prefactor     .10000E-03    885.06        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5291        3.4111        .14159E-03   -1.5390    
   4  norm          .10000E-03    1.0176        .66799E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    63.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    51.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4624        10.656        .14682E-03   -1.5162    
  10  Prefactor     .10000E-03    7.1829        .17770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.6428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.1069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.864        29.660        .78770E-04   -1.4690    
  14  Prefactor     .10000E-03    48.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     67.748        121.16        .48770E-04   -1.4060    
  16  Prefactor     .10000E-03    14.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.929        72.544        .10037E-03   -1.4910    
  19  Prefactor     .10000E-03    50.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     102.39        72.068        .39734E-04   -1.3681    
  22  norm          12.557        15.992        .11304E-03   -1.4999    
  23  Prefactor     .10000E-03    81.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    306.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.3999        .21676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     35.429        30.105        .67328E-04   -1.4517    
  27  Normalizat    1.0205        .23974        .26359E-03   -.92347    
  28  Prefactor     1.0754        .19133        .21647E-03   -.90258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28979e-11
Minuit parameter uncertainties:
  1  10.2999
  2  0.00289819
  3  3.41134
  4  2.46752e-06
  5  9.44725e-05
  6  0.000100634
  7  4.02873e-05
  8  3.27676e-06
  9  10.6587
  10  6.51766e-06
  11  2.3721e-06
  12  2.51074e-05
  13  29.6769
  14  2.26608e-05
  15  121.609
  16  1.78707e-06
  17  7.93438e-06
  18  68.1229
  19  5.33652e-05
  20  1.9919e-05
  21  72.13
  22  15.9979
  23  6.52244e-05
  24  0.00146767
  25  3.5747e-05
  26  30.1177
  27  0.239997
  28  0.191451
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  6.775e+01  1.216e+02  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.075e+00  1.915e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  1.020e+00  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 217.203 74.485
Photon Flux Upper Limit: 9.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535619/likelihoodResults_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.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) = 4611.32184887
delta logL = 2.00731902335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4611.28372773
delta logL = 2.04544016323

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0331       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6336       1.0000          .0000       10.000    
     3 'Normalizat'    .87504       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4611.284     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      278 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0321        8.3906        .79819E-02    .11231E-02
   2  Index         3.6341        1.3879        .43557E-01    .36293E-03
   3  Normalizat    .87496        .71041E-01    .44582E-01   -.82316E-04
   4  Prefactor     1.1418        .58385E-01    .36182E-01   -.16947E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.03215
  Index      = 3.63413
  Normalizat = 0.874957
  Prefactor  = 1.14182
 **********
 **   18 **HESSE 
 **********

 FCN=   4611.284     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      309 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0321        14.275        .35750E-04   -1.5505    
   2  Index         3.6341        1.9757        .18032E-02   -.27669    
   3  Normalizat    .87496        .22072        .28135E-03   -.97346    
   4  Prefactor     1.1418        .18015        .21060E-03   -.88141    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93596e-10
Minuit parameter uncertainties:
  1  7.67892
  2  2.03599
  3  0.22095
  4  0.180248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535619': 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) = 4611.28372503
delta logL = 2.04544286282

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.032e+00  7.679e+00  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  3.634e+00  2.036e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.142e+00  1.802e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  8.750e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.83
Ra Dec: 217.203 74.485
Photon Index (Free Index): 3.63 +/- 2.04
Photon Flux (Free Index): 1.34e-07 +/- 7.94e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/535619/cmap_HighResolution_437875201_438134401_4FGL_J1428.8+7429_daily_bin766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', comment='SUCCESS', energy_flux2='2.16e-05', dlogl='2.05e+00', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-09 20:20:04.318039', photon_index_error2='2.04', photon_index2='3.63', ts='0.40', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='9.33e-08', energy_flux_error2='1.28e-05', EG='1.02', time_epoch_completed='1631244004.32', return_code='0', job_id='535619', GAL2='1.14', EG2='0.87', return_code2='102', photon_flux_error2='7.94e-08', ts2='4.83', photon_index='1.86' WHERE bin_id='766' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:20:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 535619: <4FGL_J1428.8+7429_daily_bin766> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin766> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 20:06:06 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:06:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 20:06:08 2021
Terminated at Thu Sep  9 20:20:05 2021
Results reported at Thu Sep  9 20:20:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin766 217.203 74.485 437875201 438134401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.8+7429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   823.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             297.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            839 sec.

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

