/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 196 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7454
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1428.8+7429_daily_bin652
RA = 217.203, Dec = 74.485
tmin = 408326401, tmax = 408585601
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='534311', job_status='RUN', time_executed='2021-09-09 20:04:37.373533', time_epoch_executed='1631243077.37' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='652'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534311/ft1_4FGL_J1428.8+7429_daily_bin652.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534311/ft1_4FGL_J1428.8+7429_daily_bin652.fits outfile=/scratch/kocevski/534311/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin652.fits ra=217.203 dec=74.485 rad=12.0 tmin=408326401.0 tmax=408585601.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 4.96
user 4.71
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.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/534311/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin652.fits evtable="EVENTS" outfile="/scratch/kocevski/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.fits" evtable="EVENTS" scfile=/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits sctable="SC_DATA" outfile=/scratch/kocevski/534311/ltcube_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.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/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits
.....................!
real 11.96
user 11.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.fits evtable="EVENTS" scfile=/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits sctable="SC_DATA" expcube=/scratch/kocevski/534311/ltcube_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.fits outfile=/scratch/kocevski/534311/expmap_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.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/534311/ltcube_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.fits
.....................!
real 190.57
user 185.64
sys 4.57

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/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.fits scfile=/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits outfile=/scratch/kocevski/534311/cmap_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.fits scfile=/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits outfile=/scratch/kocevski/534311/cmap_HighResolution_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.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.56
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.fits', '/scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits', expMap='/scratch/kocevski/534311/expmap_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.fits', expCube='/scratch/kocevski/534311/ltcube_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534311/Model_4FGL_J1428.8+7429_daily_bin652.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/534311/ft1_filtered_4FGL_J1428.8+7429_daily_bin652.fits
Spacecraft file(s): /scratch/kocevski/534311/ft2_4FGL_J1428.8+7429_daily_bin652.fits
Exposure map: /scratch/kocevski/534311/expmap_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.fits
Exposure cube: /scratch/kocevski/534311/ltcube_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534311/Model_4FGL_J1428.8+7429_daily_bin652.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) = 3255.39910197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.488       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.9330       1.0000         .10000E-03   10000.    
     4 'norm      '    .35595       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.656       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.052       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.174       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.952       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.858       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.593       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    14.884       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10944E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .91016       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .13054       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .82010       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .94228       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3255.286     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     3514 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.484        1.5555       -.20892E-06    .12467E-03
   2  Prefactor     .10109E-03    19.893        .59305E-06** at limit **
   3  norm          7.9329        1.1571        .90739E-06    .54098E-03
   4  norm          .35840        9.8940       -.16260E-05    .11968E-03
   5  Prefactor     28.560        9.2322       -.74098E-05    .63844E-02
   6  Prefactor     19.046        1.1162       -.36984E-06    .31271E-04
   7  Prefactor     .10001E-03    10.857       -.19617E-04** at limit **
   8  Prefactor     .10058E-03    20.739       -.19919E-04** at limit **
   9  Prefactor     .10000E-03    9.1042       -.52163E-05** at limit **
  10  Prefactor     29.185        1.5137        .85970E-07    .96782E-03
  11  Prefactor     .10000E-03    14.797       -.99129E-06** at limit **
  12  Prefactor     .10000E-03    10.514        .17531E-04** at limit **
  13  Prefactor     .10001E-03    11.443        .71462E-05** at limit **
  14  Prefactor     .10007E-03    24.112       -.17144E-05** at limit **
  15  Prefactor     .10007E-03    25.482        .20385E-04** at limit **
  16  Prefactor     .10000E-03    9.3515       -.63213E-05** at limit **
  17  Prefactor     .10017E-03    23.116       -.11393E-04** at limit **
  18  Prefactor     13.944        1.2283       -.40558E-06   -.23867E-03
  19  Prefactor     12.822        3.3008       -.29858E-05    .22471E-03
  20  Prefactor     11.595        1.1135       -.56451E-06    .35623E-03
  21  Prefactor     .10309E-03    29.965       -.12921E-04** at limit **
  22  norm          14.886        1.0819        .12377E-06   -.24194E-03
  23  Prefactor     .10065E-03    79.832        .38406E-04** at limit **
  24  Prefactor     .10049E-03    17.698       -.13029E-05** at limit **
  25  Prefactor     .91732        4.0999       -.55802E-06    .10478E-03
  26  Prefactor     .10786E-03    962.24       -.20135E-03** at limit **
  27  Normalizat    .82001        .23533       -.27534E-05    .41912E-04
  28  Prefactor     .94237        .20545        .29615E-05    .86001E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4839
  Prefactor  = 0.000101089
  norm       = 7.93294
  norm       = 0.3584
  Prefactor  = 28.5597
  Prefactor  = 19.0458
  Prefactor  = 0.000100015
  Prefactor  = 0.000100584
  Prefactor  = 0.0001
  Prefactor  = 29.1854
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100005
  Prefactor  = 0.000100073
  Prefactor  = 0.000100068
  Prefactor  = 0.0001
  Prefactor  = 0.000100171
  Prefactor  = 13.9444
  Prefactor  = 12.8221
  Prefactor  = 11.5946
  Prefactor  = 0.00010309
  norm       = 14.8858
  Prefactor  = 0.000100647
  Prefactor  = 0.000100488
  Prefactor  = 0.917315
  Prefactor  = 0.000107856
  Normalizat = 0.820011
  Prefactor  = 0.942374
 **********
 **   18 **HESSE 
 **********

 FCN=   3255.286     FROM HESSE     STATUS=OK           583 CALLS     4097 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.484        16.673        .22682E-02   -1.4825    
   2  Prefactor     .10109E-03    50.173        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.9329        6.8275        .35590E-02   -1.5145    
   4  norm          .35840        4.3214        .53590E-01   -1.5588    
   5  Prefactor     28.560        128.92        .18710E-02   -1.4639    
   6  Prefactor     19.046        56.932        .22940E-02   -1.4835    
   7  Prefactor     .10001E-03    10.921        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10058E-03    28.264        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.9079        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.185        31.827        .18544E-02   -1.4627    
  11  Prefactor     .10000E-03    14.657        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.467        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    11.466        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    24.912        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10007E-03    39.752        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.3603        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10017E-03    55.189        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.944        55.383        .26808E-02   -1.4961    
  19  Prefactor     12.822        90.823        .27927E-02   -1.4992    
  20  Prefactor     11.595        23.492        .29414E-02   -1.5027    
  21  Prefactor     .10309E-03    66.966        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          14.886        19.234        .25954E-02   -1.4936    
  23  Prefactor     .10065E-03    88.917        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10049E-03    33.221        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .91732        12.305        .12844E-01   -1.5516    
  26  Prefactor     .10786E-03    118.60        .11771       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .82001        .22839        .43872E-01   -.99331    
  28  Prefactor     .94237        .18185        .45542E-01   -.94676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23887e-06
Minuit parameter uncertainties:
  1  16.6766
  2  0.0147937
  3  6.82817
  4  2.48887
  5  121.797
  6  57.0952
  7  0.000808706
  8  0.00812607
  9  2.08394e-06
  10  31.8456
  11  6.74765e-05
  12  0.000445949
  13  0.000483492
  14  0.00270728
  15  0.00330196
  16  2.36834e-05
  17  0.00614808
  18  55.5879
  19  68.3983
  20  23.511
  21  0.0288013
  22  19.2417
  23  0.0151883
  24  0.00806004
  25  6.72081
  26  0.0611682
  27  0.228654
  28  0.181965
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.001e-04  3.302e-03  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:  9.424e-01  1.820e-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.200e-01  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/534311/likelihoodResults_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3255.28625829
delta logL = -0.000119681987599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3255.28613889
delta logL = -2.86791419057e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9707       1.0000          .0000       10.000    
     3 'Normalizat'    .82001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94237       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=   3255.286     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      228 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    7.7111        .90712E-02** at limit **
   2  Index         1.9240        5.6515        .50000        .10071E-04
   3  Normalizat    .82001        .25385E-02    .43871E-01    .11170E-04
   4  Prefactor     .94237        .22031E-02    .45543E-01   -.31405E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Index      = 1.92397
  Normalizat = 0.820012
  Prefactor  = 0.942373
 **********
 **   18 **HESSE 
 **********

 FCN=   3255.286     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .96E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    94.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9240        5.0286        .50000       -.66265    
   3  Normalizat    .82001        .89094E-02    .24913E-03   -.99331    
   4  Prefactor     .94237        .77336E-02    .20180E-03   -.94676    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.6222e-08
Minuit parameter uncertainties:
  1  0.00274973
  2  106.285
  3  0.00890939
  4  0.00773362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534311': 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) = 3255.28613876
delta logL = -1.49942025018e-07

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.750e-03  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.924e+00  1.063e+02  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:  9.424e-01  7.734e-03  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.200e-01  8.909e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 217.203 74.485

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/534311/cmap_HighResolution_408326401_408585601_4FGL_J1428.8+7429_daily_bin652.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2021-09-09 20:15:20.790332', job_id='534311', GAL2='0.94', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1631243720.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-1.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='652' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:15:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 534311: <4FGL_J1428.8+7429_daily_bin652> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin652> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 20:01:11 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:01:12 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:01:12 2021
Terminated at Thu Sep  9 20:15:21 2021
Results reported at Thu Sep  9 20:15:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin652 217.203 74.485 408326401 408585601 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 :                                   642.04 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             268.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

