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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin854
RA = 217.203, Dec = 74.485
tmin = 460684801, tmax = 460944001
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='535743', job_status='RUN', time_executed='2021-09-09 20:06:29.972527', time_epoch_executed='1631243189.97' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535743

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535743/ft1_4FGL_J1428.8+7429_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535743/ft2_4FGL_J1428.8+7429_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535743/ft1_4FGL_J1428.8+7429_daily_bin854.fits outfile=/scratch/kocevski/535743/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin854.fits ra=217.203 dec=74.485 rad=12.0 tmin=460684801.0 tmax=460944001.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.39
user 3.17
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/535743/ft2_4FGL_J1428.8+7429_daily_bin854.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/535743/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin854.fits evtable="EVENTS" outfile="/scratch/kocevski/535743/ft1_filtered_4FGL_J1428.8+7429_daily_bin854.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/535743/ft1_filtered_4FGL_J1428.8+7429_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/535743/ft2_4FGL_J1428.8+7429_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/535743/ltcube_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.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/535743/ft2_4FGL_J1428.8+7429_daily_bin854.fits
.....................!
real 11.62
user 11.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535743/ft1_filtered_4FGL_J1428.8+7429_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/535743/ft2_4FGL_J1428.8+7429_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/535743/ltcube_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.fits outfile=/scratch/kocevski/535743/expmap_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.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/535743/ltcube_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.fits
.....................!
real 190.58
user 185.16
sys 5.07

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/535743/ft1_filtered_4FGL_J1428.8+7429_daily_bin854.fits scfile=/scratch/kocevski/535743/ft2_4FGL_J1428.8+7429_daily_bin854.fits outfile=/scratch/kocevski/535743/cmap_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535743/ft1_filtered_4FGL_J1428.8+7429_daily_bin854.fits scfile=/scratch/kocevski/535743/ft2_4FGL_J1428.8+7429_daily_bin854.fits outfile=/scratch/kocevski/535743/cmap_HighResolution_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3106       1.0000         .10000E-03   10000.    
     4 'norm      '    5.4626       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3770       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.968       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .46040       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7482       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.299       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.394       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    11.680       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.499       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.6787       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .36467       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .60334       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2691       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=   7417.296     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2974 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5273        .21039E-06** at limit **
   2  Prefactor     .10000E-03    11.911        .79762E-05** at limit **
   3  norm          3.3094        3.9957       -.81232E-06    .55362E-04
   4  norm          5.4619        2.9845       -.13756E-06    .45843E-04
   5  Prefactor     .10002E-03    7.7368       -.35942E-05** at limit **
   6  Prefactor     3.3513        2.1746        .51728E-06   -.83176E-03
   7  Prefactor     17.966        1.0156       -.77404E-07   -.39825E-05
   8  Prefactor     .10003E-03    13.520       -.36665E-05** at limit **
   9  Prefactor     .38280        55.379        .35969E-04    .26516E-03
  10  Prefactor     .10034E-03    12.097        .72704E-05** at limit **
  11  Prefactor     9.8803        20.788       -.11546E-04    .67691E-03
  12  Prefactor     .10000E-03    2.4322        .96357E-06** at limit **
  13  Prefactor     .10033E-03    11.652       -.53466E-05** at limit **
  14  Prefactor     19.278        3.4743        .43511E-06   -.73912E-02
  15  Prefactor     .10001E-03    12.613        .32246E-05** at limit **
  16  Prefactor     .10031E-03    11.950        .58749E-05** at limit **
  17  Prefactor     .10004E-03    7.1130       -.20052E-05** at limit **
  18  Prefactor     .10000E-03    12.076       -.32090E-05** at limit **
  19  Prefactor     .10005E-03    55.810       -.62405E-05** at limit **
  20  Prefactor     10.385        1.1080        .14772E-07   -.15147E-03
  21  Prefactor     .10179E-03    16.848       -.90050E-05** at limit **
  22  norm          11.678        1.0256       -.73726E-07    .46754E-04
  23  Prefactor     .10117E-03    26.371       -.12993E-04** at limit **
  24  Prefactor     15.415        5.8788       -.57296E-06   -.33344E-02
  25  Prefactor     6.7010        3.1895       -.31272E-05   -.11170E-03
  26  Prefactor     .12319E-03    1649.2       -.83405E-04** at limit **
  27  Normalizat    .60357        .17356        .42750E-05    .53184E-04
  28  Prefactor     1.2691        .15246       -.17861E-05    .43900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.30942
  norm       = 5.46192
  Prefactor  = 0.000100023
  Prefactor  = 3.35125
  Prefactor  = 17.9662
  Prefactor  = 0.00010003
  Prefactor  = 0.382804
  Prefactor  = 0.000100342
  Prefactor  = 9.88026
  Prefactor  = 0.0001
  Prefactor  = 0.000100333
  Prefactor  = 19.2779
  Prefactor  = 0.000100005
  Prefactor  = 0.000100308
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.000100047
  Prefactor  = 10.3849
  Prefactor  = 0.000101791
  norm       = 11.6776
  Prefactor  = 0.000101167
  Prefactor  = 15.4152
  Prefactor  = 6.70103
  Prefactor  = 0.00012319
  Normalizat = 0.603574
  Prefactor  = 1.26908
 **********
 **   18 **HESSE 
 **********

 FCN=   7417.296     FROM HESSE     STATUS=OK           587 CALLS     3561 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5039        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.357        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3094        4.0109        .55623E-02   -1.5344    
   4  norm          5.4619        2.9936        .42980E-02   -1.5241    
   5  Prefactor     .10002E-03    18.663        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3513        87.099        .55048E-02   -1.5342    
   7  Prefactor     17.966        12.078        .23621E-02   -1.4860    
   8  Prefactor     .10003E-03    13.769        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .38280        4.1776        .77254E-01   -1.5584    
  10  Prefactor     .10034E-03    24.040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.8803        15.091        .32087E-02   -1.5079    
  12  Prefactor     .10000E-03    2.4258        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10033E-03    15.728        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.278        26.862        .22793E-02   -1.4830    
  15  Prefactor     .10001E-03    26.357        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10031E-03    14.524        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10004E-03    18.790        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.106        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10005E-03    58.371        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.385        14.658        .31069E-02   -1.5063    
  21  Prefactor     .10179E-03    32.288        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.678        13.655        .29305E-02   -1.5024    
  23  Prefactor     .10117E-03    38.017        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     15.415        46.292        .25434E-02   -1.4923    
  25  Prefactor     6.7010        3.7898        .38818E-02   -1.5190    
  26  Prefactor     .12319E-03    35.430        .12719       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .60357        .15862        .68998E-01   -1.0783    
  28  Prefactor     1.2691        .13736        .33170E-01   -.84231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41468e-07
Minuit parameter uncertainties:
  1  5.18827e-06
  2  0.000352898
  3  4.01121
  4  2.99367
  5  0.00130947
  6  34.2246
  7  12.0801
  8  0.00128883
  9  2.52908
  10  0.00573757
  11  15.0971
  12  8.56922e-06
  13  0.0045759
  14  26.8787
  15  0.00075391
  16  0.00423051
  17  0.00171026
  18  0.000102743
  19  0.00329971
  20  14.6631
  21  0.0152167
  22  13.6585
  23  0.0133314
  24  46.4003
  25  3.78995
  26  0.057362
  27  0.158736
  28  0.137404
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.539e-04  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.269e+00  1.374e-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:  6.036e-01  1.587e-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: 2.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535743/likelihoodResults_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.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) = 7417.29656437
delta logL = -0.000180482639735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7417.29638426
delta logL = -3.78176082449e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9545       1.0000          .0000       10.000    
     3 'Normalizat'    .60357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2691       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=   7417.296     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1163        .90712E-02** at limit **
   2  Index         1.9134        7.8943        .50000        .12690E-04
   3  Normalizat    .60357        .15767E-02    .68998E-01    .23775E-04
   4  Prefactor     1.2691        .14221E-02    .33172E-01   -.42864E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.91341
  Normalizat = 0.603573
  Prefactor  = 1.26908
 **********
 **   18 **HESSE 
 **********

 FCN=   7417.296     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    55.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9134        5.6556        .50000       -.66533    
   3  Normalizat    .60357        .57933E-02    .30538E-03   -1.0783    
   4  Prefactor     1.2691        .52361E-02    .19542E-03   -.84231    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.21787e-08
Minuit parameter uncertainties:
  1  0.000681626
  2  72.9567
  3  0.00579331
  4  0.00523613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535743': 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) = 7417.29638404
delta logL = -1.59543560585e-07

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.816e-04  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.913e+00  7.296e+01  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.269e+00  5.236e-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:  6.036e-01  5.793e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/535743/cmap_HighResolution_460684801_460944001_4FGL_J1428.8+7429_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.90e-08', time_completed='2021-09-09 20:22:41.155763', job_id='535743', GAL2='1.27', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1631244161.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='-1.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='854' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:22:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 535743: <4FGL_J1428.8+7429_daily_bin854> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin854> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 20:06:14 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:06:15 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:15 2021
Terminated at Thu Sep  9 20:22:41 2021
Results reported at Thu Sep  9 20:22:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin854 217.203 74.485 460684801 460944001 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 :                                   965.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            987 sec.

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

