/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 43 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1428.8+7429_daily_bin10
RA = 217.203, Dec = 74.485
tmin = 241920001, tmax = 242179201
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='528332', job_status='RUN', time_executed='2021-09-09 19:42:00.308781', time_epoch_executed='1631241720.31' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/528332

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/528332/ft1_4FGL_J1428.8+7429_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/528332/ft2_4FGL_J1428.8+7429_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/528332/ft1_4FGL_J1428.8+7429_daily_bin10.fits outfile=/scratch/kocevski/528332/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin10.fits ra=217.203 dec=74.485 rad=12.0 tmin=241920001.0 tmax=242179201.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 1.44
user 1.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/528332/ft2_4FGL_J1428.8+7429_daily_bin10.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/528332/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin10.fits evtable="EVENTS" outfile="/scratch/kocevski/528332/ft1_filtered_4FGL_J1428.8+7429_daily_bin10.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/528332/ft1_filtered_4FGL_J1428.8+7429_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/528332/ft2_4FGL_J1428.8+7429_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/528332/ltcube_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.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/528332/ft2_4FGL_J1428.8+7429_daily_bin10.fits
.....................!
real 12.35
user 11.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/528332/ft1_filtered_4FGL_J1428.8+7429_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/528332/ft2_4FGL_J1428.8+7429_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/528332/ltcube_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.fits outfile=/scratch/kocevski/528332/expmap_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.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/528332/ltcube_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.fits
.....................!
real 190.91
user 185.45
sys 5.08

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/528332/ft1_filtered_4FGL_J1428.8+7429_daily_bin10.fits scfile=/scratch/kocevski/528332/ft2_4FGL_J1428.8+7429_daily_bin10.fits outfile=/scratch/kocevski/528332/cmap_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/528332/ft1_filtered_4FGL_J1428.8+7429_daily_bin10.fits scfile=/scratch/kocevski/528332/ft2_4FGL_J1428.8+7429_daily_bin10.fits outfile=/scratch/kocevski/528332/cmap_HighResolution_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.020       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11122E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36611E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .42607E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10723E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1889       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0632       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6507       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.008       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.865       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6853       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.3144       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.3224       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .83381       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96934       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=   6632.213     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3513 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.020        11.647        .84335E-07    .14597E-03
   2  Prefactor     .10000E-03    82.789        .81754E-06** at limit **
   3  norm          .10000E-03    5.2829       -.44582E-07** at limit **
   4  norm          .10000E-03    1.0200        .40802E-08** at limit **
   5  Prefactor     .10000E-03    176.45       -.10829E-05** at limit **
   6  Prefactor     .10646E-03    37.385       -.48568E-05** at limit **
   7  Prefactor     .32264E-03    7.3357       -.69300E-06** at limit **
   8  Prefactor     .10001E-03    28.657        .20852E-05** at limit **
   9  Prefactor     .10000E-03    3.2438       -.87322E-06** at limit **
  10  Prefactor     8.1910        19.192        .10939E-05    .64062E-04
  11  Prefactor     5.0556        9.4662        .11298E-05    .32004E-03
  12  Prefactor     .10000E-03    7.7125        .62745E-06** at limit **
  13  Prefactor     .10000E-03    5.9620        .68369E-07** at limit **
  14  Prefactor     .10000E-03    16.930       -.88507E-07** at limit **
  15  Prefactor     3.6596        154.52        .29231E-05    .25644E-04
  16  Prefactor     24.003        15.829       -.10529E-06   -.11518E-03
  17  Prefactor     15.864        22.392        .17289E-06    .11818E-04
  18  Prefactor     .10000E-03    12.328        .49009E-07** at limit **
  19  Prefactor     1.6984        597.45        .83189E-05    .23181E-04
  20  Prefactor     .10000E-03    29.398       -.12976E-05** at limit **
  21  Prefactor     .10000E-03    7.7877       -.50551E-06** at limit **
  22  norm          .10000E-03    5.3727        .22287E-07** at limit **
  23  Prefactor     .10000E-03    30.190       -.13284E-05** at limit **
  24  Prefactor     7.3094        41.996        .24460E-06   -.12384E-04
  25  Prefactor     .10000E-03    1.7676       -.74349E-06** at limit **
  26  Prefactor     4.3200        34.215        .11303E-04    .11134E-04
  27  Normalizat    .83382        .15098       -.37030E-06    .36826E-03
  28  Prefactor     .96936        .12615       -.38530E-06    .42201E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0202
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000106463
  Prefactor  = 0.000322639
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 8.191
  Prefactor  = 5.05555
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65958
  Prefactor  = 24.0028
  Prefactor  = 15.8645
  Prefactor  = 0.0001
  Prefactor  = 1.69835
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 7.30938
  Prefactor  = 0.0001
  Prefactor  = 4.31998
  Normalizat = 0.833823
  Prefactor  = 0.969358
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.213     FROM HESSE     STATUS=OK           529 CALLS     4042 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.020        11.629        .83486E-04   -1.4748    
   2  Prefactor     .10000E-03    83.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.4801        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.0225        .80249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    177.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10646E-03    34.903        .14154       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .32264E-03    12.741        .70060E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    29.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0157        .25073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1910        19.244        .14010E-03   -1.5135    
  11  Prefactor     5.0556        8.6421        .17869E-03   -1.5258    
  12  Prefactor     .10000E-03    7.8553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.9704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.6596        154.52        .21142E-03   -1.5325    
  16  Prefactor     24.003        15.839        .81752E-04   -1.4728    
  17  Prefactor     15.864        22.409        .10056E-03   -1.4911    
  18  Prefactor     .10000E-03    12.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6984        597.34        .32438E-03   -1.5447    
  20  Prefactor     .10000E-03    30.403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.8292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.3765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    30.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.3094        42.076        .14830E-03   -1.5167    
  25  Prefactor     .10000E-03    1.9211        .21537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.3200        34.103        .96880E-03   -1.5292    
  27  Normalizat    .83382        .17210        .24558E-03   -.98826    
  28  Prefactor     .96936        .14489        .20084E-03   -.93758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07299e-09
Minuit parameter uncertainties:
  1  11.6303
  2  0.000740579
  3  4.5456e-06
  4  1.33039e-06
  5  0.00125556
  6  0.0300566
  7  0.106543
  8  0.00113379
  9  2.36868e-05
  10  19.2583
  11  8.64423
  12  0.000139912
  13  1.06321e-05
  14  1.87204e-05
  15  47.6918
  16  15.8414
  17  22.4205
  18  5.23954e-07
  19  64.3579
  20  0.000450113
  21  0.000135378
  22  6.93982e-06
  23  0.000730373
  24  35.1117
  25  5.41198e-05
  26  24.2942
  27  0.172212
  28  0.144944
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  3.660e+00  4.769e+01  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.694e-01  1.449e-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.338e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/528332/likelihoodResults_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.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) = 6632.10546258
delta logL = 0.108018887528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6632.10058675
delta logL = 0.112894719066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4706       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7035       1.0000          .0000       10.000    
     3 'Normalizat'    .82537       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97103       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6632.101     FROM MIGRAD    STATUS=FAILED       106 CALLS      289 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4598        628.43        .13007E-02    .59905E-03
   2  Index         2.7050        5.0517        .98577E-02    .10226E-02
   3  Normalizat    .82535        .12075        .24672E-03   -.69120E-06
   4  Prefactor     .97104        .10143        .20066E-03   -.28329E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6632.101     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      382 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4598        628.43        .21728E-03    .59905E-03
   2  Index         2.7050        5.0517        .95493E-03    .10226E-02
   3  Normalizat    .82535        .12075        .14943E-03   -.69120E-06
   4  Prefactor     .97104        .10143        .81196E-04   -.28329E-06
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6632.101     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      412 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4598        30.673        .26014E-03   -.10488E-05
   2  Index         2.7050        2.0734        .19715E-02    .40471E-04
   3  Normalizat    .82535        .16036        .98687E-05   -.69120E-06
   4  Prefactor     .97104        .13986        .80262E-05   -.28329E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45981
  Index      = 2.70499
  Normalizat = 0.825353
  Prefactor  = 0.971043
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.101     FROM HESSE     STATUS=OK            25 CALLS      437 TOTAL
                     EDM=   .56E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4598        17.182        .10406E-04   -1.5394    
   2  Index         2.7050        1.5785        .39431E-03   -.47687    
   3  Normalizat    .82535        .16007        .19737E-05   -.99135    
   4  Prefactor     .97104        .13971        .16052E-05   -.93701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.62744e-15
Minuit parameter uncertainties:
  1  13.0072
  2  1.61376
  3  0.160162
  4  0.139762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/528332': 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) = 6632.10058626
delta logL = 0.112895207801

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.460e+00  1.301e+01  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  2.705e+00  1.614e+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:  9.710e-01  1.398e-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.254e-01  1.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 217.203 74.485

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/528332/cmap_HighResolution_241920001_242179201_4FGL_J1428.8+7429_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2021-09-09 19:57:28.431121', job_id='528332', GAL2='0.97', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1631242648.43', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.13e-01', ts2='0.24', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='10' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 19:57:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 528332: <4FGL_J1428.8+7429_daily_bin10> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin10> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 19:41:06 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 19:41: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 19:41:08 2021
Terminated at Thu Sep  9 19:57:28 2021
Results reported at Thu Sep  9 19:57:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin10 217.203 74.485 241920001 242179201 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 :                                   925.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             321.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

