/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 5 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_bin1170
RA = 217.203, Dec = 74.485
tmin = 542592001, tmax = 542851201
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='538536', job_status='RUN', time_executed='2021-09-09 20:16:27.551143', time_epoch_executed='1631243787.55' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/538536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/538536/ft1_4FGL_J1428.8+7429_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/538536/ft2_4FGL_J1428.8+7429_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/538536/ft1_4FGL_J1428.8+7429_daily_bin1170.fits outfile=/scratch/kocevski/538536/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1170.fits ra=217.203 dec=74.485 rad=12.0 tmin=542592001.0 tmax=542851201.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 6.76
user 6.47
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/538536/ft1_filtered_4FGL_J1428.8+7429_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/538536/ft2_4FGL_J1428.8+7429_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/538536/ltcube_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.fits outfile=/scratch/kocevski/538536/expmap_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.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/538536/ltcube_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.fits
.....................!
real 190.39
user 185.34
sys 4.68

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/538536/ft1_filtered_4FGL_J1428.8+7429_daily_bin1170.fits scfile=/scratch/kocevski/538536/ft2_4FGL_J1428.8+7429_daily_bin1170.fits outfile=/scratch/kocevski/538536/cmap_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/538536/ft1_filtered_4FGL_J1428.8+7429_daily_bin1170.fits scfile=/scratch/kocevski/538536/ft2_4FGL_J1428.8+7429_daily_bin1170.fits outfile=/scratch/kocevski/538536/cmap_HighResolution_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    70.159       1.0000         .10000E-03   10000.    
     2 'Prefactor '    89.902       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.933       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12743E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0169       1.0000         .10000E-03   10000.    
    10 'Prefactor '    177.80       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.187       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3031       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    80.920       1.0000         .10000E-03   10000.    
    18 'Prefactor '    66.626       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    129.29       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10758E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    138.52       1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.794       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.1785       1.0000         .10000E-03   10000.    
    26 'Prefactor '    105.44       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .29802       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0178       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=   2030.922     FROM MIGRAD    STATUS=CONVERGED    678 CALLS     4072 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     70.145        30.370       -.65816E-06   -.10200E-03
   2  Prefactor     89.835        139.14       -.53407E-05    .79315E-06
   3  norm          .10000E-03    4.8111       -.14834E-06** at limit **
   4  norm          .10000E-03    3.1373        .15997E-06** at limit **
   5  Prefactor     .10000E-03    678.15       -.34531E-05** at limit **
   6  Prefactor     .10000E-03    49.617       -.30370E-06** at limit **
   7  Prefactor     40.919        39.404       -.51481E-06   -.59769E-04
   8  Prefactor     .10000E-03    556.27        .10131E-04** at limit **
   9  Prefactor     6.9986        17.603        .19776E-05   -.15141E-03
  10  Prefactor     177.70        145.31       -.22256E-05   -.56851E-04
  11  Prefactor     .10000E-03    36.590        .17601E-05** at limit **
  12  Prefactor     22.181        32.273       -.18483E-06   -.42789E-04
  13  Prefactor     .10000E-03    20.876       -.11125E-06** at limit **
  14  Prefactor     3.7775        1120.5       -.47941E-04    .21294E-05
  15  Prefactor     .10000E-03    115.31       -.26485E-06** at limit **
  16  Prefactor     .10000E-03    20.164        .24114E-06** at limit **
  17  Prefactor     80.890        100.28       -.24367E-05   -.40873E-05
  18  Prefactor     66.652        73.132       -.12348E-06   -.96218E-05
  19  Prefactor     .10000E-03    78.496        .77395E-06** at limit **
  20  Prefactor     129.26        69.636       -.19871E-05   -.16659E-04
  21  Prefactor     .10000E-03    110.26       -.17183E-05** at limit **
  22  norm          .10000E-03    15.295       -.76912E-07** at limit **
  23  Prefactor     138.35        268.03       -.97251E-05    .96212E-05
  24  Prefactor     22.758        65.941       -.31813E-05   -.58120E-05
  25  Prefactor     4.1763        7.6194       -.26968E-06   -.64184E-04
  26  Prefactor     105.41        83.808       -.17378E-05   -.19556E-04
  27  Normalizat    .29858        .44624        .16836E-04   -.10984E-05
  28  Prefactor     1.0175        .30084       -.35684E-05   -.85936E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 70.1453
  Prefactor  = 89.8354
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.9191
  Prefactor  = 0.000100002
  Prefactor  = 6.99862
  Prefactor  = 177.701
  Prefactor  = 0.000100001
  Prefactor  = 22.1811
  Prefactor  = 0.0001
  Prefactor  = 3.7775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.8897
  Prefactor  = 66.6516
  Prefactor  = 0.0001
  Prefactor  = 129.264
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 138.346
  Prefactor  = 22.7576
  Prefactor  = 4.1763
  Prefactor  = 105.411
  Normalizat = 0.298585
  Prefactor  = 1.01754
 **********
 **   18 **HESSE 
 **********

 FCN=   2030.922     FROM HESSE     STATUS=OK           511 CALLS     4583 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     70.145        30.172        .47925E-04   -1.4031    
   2  Prefactor     89.835        139.42        .21189E-03   -1.3809    
   3  norm          .10000E-03    4.8148        .96551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.1637        .77855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    679.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    49.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     40.919        39.948        .62654E-04   -1.4428    
   8  Prefactor     .10000E-03    555.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.9986        16.994        .15144E-03   -1.5179    
  10  Prefactor     177.70        144.78        .15134E-03   -1.3034    
  11  Prefactor     .10000E-03    36.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.181        32.160        .85036E-04   -1.4766    
  13  Prefactor     .10000E-03    20.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7775        1074.0        .22276E-02   -1.5319    
  15  Prefactor     .10000E-03    115.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     80.890        100.16        .22324E-03   -1.3907    
  18  Prefactor     66.652        73.082        .49170E-04   -1.4073    
  19  Prefactor     .10000E-03    78.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     129.26        68.959        .35408E-04   -1.3429    
  21  Prefactor     .10000E-03    110.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    15.296        .17218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     138.35        268.17        .17112E-03   -1.3350    
  24  Prefactor     22.758        65.814        .83898E-04   -1.4754    
  25  Prefactor     4.1763        7.5281        .13323E-03   -1.5299    
  26  Prefactor     105.41        83.139        .39161E-04   -1.3651    
  27  Normalizat    .29858        .43111        .46706E-03   -1.2292    
  28  Prefactor     1.0175        .29968        .19821E-03   -.92147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05589e-10
Minuit parameter uncertainties:
  1  30.1781
  2  139.928
  3  1.17304e-06
  4  2.25132e-06
  5  0.000880169
  6  1.86016e-05
  7  39.9742
  8  0.00235196
  9  17.0054
  10  145.076
  11  0.000342532
  12  32.1854
  13  1.4098e-06
  14  129.813
  15  1.77348e-05
  16  1.81901e-05
  17  100.367
  18  73.1806
  19  0.000122332
  20  69.0024
  21  0.000331815
  22  2.97839e-06
  23  270.585
  24  66.0246
  25  7.52984
  26  83.2308
  27  0.436028
  28  0.300169
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.773e-05  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.018e+00  3.002e-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:  2.986e-01  4.360e-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: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/538536/likelihoodResults_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.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) = 2030.92228576
delta logL = -4.08193916428e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2030.9222854
delta logL = -4.0455236558e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94717E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8590       1.0000          .0000       10.000    
     3 'Normalizat'    .29854       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0176       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=   2030.922     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      200 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    59.565        .90873E-02** at limit **
   2  Index         1.8123        6.9784        .50000        .28207E-05
   3  Normalizat    .29859        .54552E-02    .10549        .10077E-03
   4  Prefactor     1.0175        .41827E-02    .42391E-01    .74283E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.81233
  Normalizat = 0.298587
  Prefactor  = 1.01754
 **********
 **   18 **HESSE 
 **********

 FCN=   2030.922     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      231 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    471.95        .18175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8123        8.3456        .50000       -.69129    
   3  Normalizat    .29859        .15482E-01    .46709E-03   -1.2292    
   4  Prefactor     1.0175        .11891E-01    .19821E-03   -.92147    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.93118e-08
Minuit parameter uncertainties:
  1  7.1862e-05
  2  302.872
  3  0.015482
  4  0.0118915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/538536': 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) = 2030.92224491
delta logL = 3.63438630302e-08

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.186e-05  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.812e+00  3.029e+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:  1.018e+00  1.189e-02  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:  2.986e-01  1.548e-02  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/538536/cmap_HighResolution_542592001_542851201_4FGL_J1428.8+7429_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2021-09-09 20:25:43.416336', job_id='538536', GAL2='1.02', fit_tolerance='1e-08', EG2='0.30', EG='0.30', time_epoch_completed='1631244343.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1170' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:25:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 538536: <4FGL_J1428.8+7429_daily_bin1170> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1170 217.203 74.485 542592001 542851201 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 :                                   550.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            573 sec.

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

