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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin569
RA = 217.203, Dec = 74.485
tmin = 386812801, tmax = 387072001
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='534195', job_status='RUN', time_executed='2021-09-09 20:01:14.079810', time_epoch_executed='1631242874.08' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='569'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534195

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534195/ft1_4FGL_J1428.8+7429_daily_bin569.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534195/ft2_4FGL_J1428.8+7429_daily_bin569.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534195/ft1_4FGL_J1428.8+7429_daily_bin569.fits outfile=/scratch/kocevski/534195/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin569.fits ra=217.203 dec=74.485 rad=12.0 tmin=386812801.0 tmax=387072001.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.42
user 3.17
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534195/ft1_filtered_4FGL_J1428.8+7429_daily_bin569.fits" evtable="EVENTS" scfile=/scratch/kocevski/534195/ft2_4FGL_J1428.8+7429_daily_bin569.fits sctable="SC_DATA" outfile=/scratch/kocevski/534195/ltcube_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.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/534195/ft2_4FGL_J1428.8+7429_daily_bin569.fits
.....................!
real 12.23
user 11.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534195/ft1_filtered_4FGL_J1428.8+7429_daily_bin569.fits evtable="EVENTS" scfile=/scratch/kocevski/534195/ft2_4FGL_J1428.8+7429_daily_bin569.fits sctable="SC_DATA" expcube=/scratch/kocevski/534195/ltcube_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.fits outfile=/scratch/kocevski/534195/expmap_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.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/534195/ltcube_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.fits
.....................!
real 190.39
user 184.88
sys 5.04

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/534195/ft1_filtered_4FGL_J1428.8+7429_daily_bin569.fits scfile=/scratch/kocevski/534195/ft2_4FGL_J1428.8+7429_daily_bin569.fits outfile=/scratch/kocevski/534195/cmap_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=217.203 yref=74.485 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534195/ft1_filtered_4FGL_J1428.8+7429_daily_bin569.fits scfile=/scratch/kocevski/534195/ft2_4FGL_J1428.8+7429_daily_bin569.fits outfile=/scratch/kocevski/534195/cmap_HighResolution_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.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.35
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.469       1.0000         .10000E-03   10000.    
     3 'norm      '    12.424       1.0000         .10000E-03   10000.    
     4 'norm      '    4.2389       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8074       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.984       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3459       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8012       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.443       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9767       1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.255       1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.304       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.324       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    40.987       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .19916E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    55.513       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.7188       1.0000         .10000E-03   10000.    
    26 'Prefactor '    49.886       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .84114       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0388       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=   8416.475     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3478 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.327       -.10981E-05** at limit **
   2  Prefactor     46.466        48.784       -.28191E-05   -.36400E-04
   3  norm          12.423        5.1031        .13122E-05    .44403E-03
   4  norm          4.2394        3.2403       -.21826E-06   -.49087E-03
   5  Prefactor     .10000E-03    29.659        .72014E-05** at limit **
   6  Prefactor     6.8082        23.727       -.21083E-05   -.38625E-04
   7  Prefactor     1.2042        11.001        .68322E-05   -.72186E-03
   8  Prefactor     35.989        30.781       -.10314E-05   -.16415E-04
   9  Prefactor     2.3439        4.3913       -.82828E-06   -.11043E-02
  10  Prefactor     .10000E-03    11.378       -.12624E-05** at limit **
  11  Prefactor     8.8037        8.1474        .35366E-06   -.26103E-04
  12  Prefactor     .10000E-03    2.5157        .37476E-07** at limit **
  13  Prefactor     .10000E-03    8.7050        .57564E-06** at limit **
  14  Prefactor     .10000E-03    14.652        .97024E-05** at limit **
  15  Prefactor     43.445        42.642        .77921E-06    .12405E-04
  16  Prefactor     9.9767        15.580       -.25035E-06   -.30333E-04
  17  Prefactor     52.249        30.726        .17058E-06    .72747E-05
  18  Prefactor     47.299        49.545       -.38037E-05   -.47729E-04
  19  Prefactor     .10000E-03    29.290       -.59887E-05** at limit **
  20  Prefactor     16.324        12.229       -.10639E-06    .31735E-04
  21  Prefactor     .10000E-03    16.157       -.82637E-05** at limit **
  22  norm          40.985        21.465        .11682E-05    .72822E-04
  23  Prefactor     .10000E-03    210.48       -.51616E-05** at limit **
  24  Prefactor     55.504        44.463       -.50578E-05   -.99841E-04
  25  Prefactor     2.7176        2.7506       -.89647E-07   -.32540E-03
  26  Prefactor     49.885        31.057       -.11021E-06   -.56180E-04
  27  Normalizat    .84132        .15493        .35291E-06   -.61234E-04
  28  Prefactor     1.0386        .12822        .77894E-08   -.37839E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 46.4663
  norm       = 12.4232
  norm       = 4.23938
  Prefactor  = 0.000100001
  Prefactor  = 6.80824
  Prefactor  = 1.20423
  Prefactor  = 35.9886
  Prefactor  = 2.34388
  Prefactor  = 0.0001
  Prefactor  = 8.80375
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 43.4446
  Prefactor  = 9.97667
  Prefactor  = 52.2492
  Prefactor  = 47.2994
  Prefactor  = 0.0001
  Prefactor  = 16.3236
  Prefactor  = 0.000100001
  norm       = 40.9851
  Prefactor  = 0.0001
  Prefactor  = 55.5043
  Prefactor  = 2.71755
  Prefactor  = 49.8846
  Normalizat = 0.841321
  Prefactor  = 1.03864
 **********
 **   18 **HESSE 
 **********

 FCN=   8416.475     FROM HESSE     STATUS=OK           519 CALLS     3997 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.732        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.466        48.854        .58818E-04   -1.4344    
   3  norm          12.423        5.1075        .11365E-03   -1.5003    
   4  norm          4.2394        3.2359        .13754E-03   -1.5296    
   5  Prefactor     .10000E-03    29.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8082        23.738        .15378E-03   -1.5186    
   7  Prefactor     1.2042        9.3223        .41398E-03   -1.5488    
   8  Prefactor     35.989        30.769        .66808E-04   -1.4507    
   9  Prefactor     2.3439        4.3955        .21770E-03   -1.5402    
  10  Prefactor     .10000E-03    11.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.8037        8.0823        .13511E-03   -1.5114    
  12  Prefactor     .10000E-03    2.5226        .14207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.7524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     43.445        42.642        .60824E-04   -1.4389    
  16  Prefactor     9.9767        15.581        .12686E-03   -1.5076    
  17  Prefactor     52.249        30.830        .55482E-04   -1.4261    
  18  Prefactor     47.299        49.670        .58299E-04   -1.4331    
  19  Prefactor     .10000E-03    29.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.324        12.238        .99129E-04   -1.4900    
  21  Prefactor     .10000E-03    16.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          40.985        21.447        .62613E-04   -1.4427    
  23  Prefactor     .10000E-03    210.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     55.504        44.604        .53838E-04   -1.4217    
  25  Prefactor     2.7176        2.7247        .13556E-03   -1.5378    
  26  Prefactor     49.885        30.854        .28389E-03   -1.4294    
  27  Normalizat    .84132        .17313        .27608E-03   -.98554    
  28  Prefactor     1.0386        .14342        .21707E-03   -.91452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31002e-09
Minuit parameter uncertainties:
  1  1.48628e-05
  2  48.8958
  3  5.10772
  4  3.23605
  5  0.000277217
  6  23.7706
  7  6.70227
  8  30.7826
  9  4.39607
  10  8.30133e-06
  11  8.0833
  12  3.99471e-07
  13  1.47579e-05
  14  0.000259784
  15  42.6723
  16  15.5875
  17  30.8394
  18  49.7138
  19  0.000216641
  20  12.2402
  21  0.000230847
  22  21.4506
  23  0.000473913
  24  44.6305
  25  2.72477
  26  30.8639
  27  0.173243
  28  0.143477
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  4.344e+01  4.267e+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:  1.039e+00  1.435e-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.413e-01  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.93
Ra Dec: 217.203 74.485
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 1.11e-08 +/- 1.09e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.10e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8415.44148123
delta logL = 1.03396815855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8415.43893391
delta logL = 1.03651547308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.782       1.0000         .10000E-03   10000.    
     2 'Index     '    .83097       1.0000          .0000       10.000    
     3 'Normalizat'    .84872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0374       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8415.439     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      291 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.798        74.453        .48752E-04   -.82084E-05
   2  Index         .83123        .69502        .19417E-01   -.28029E-04
   3  Normalizat    .84888        .16013        .27492E-03   -.98972E-03
   4  Prefactor     1.0374        .13930        .21718E-03   -.10263E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.7982
  Index      = 0.831227
  Normalizat = 0.848881
  Prefactor  = 1.03739
 **********
 **   18 **HESSE 
 **********

 FCN=   8415.439     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.798        75.756        .97504E-05   -1.4059    
   2  Index         .83123        .70695        .77669E-03   -.98587    
   3  Normalizat    .84888        .16022        .54983E-04   -.98280    
   4  Prefactor     1.0374        .13938        .43437E-04   -.91493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83512e-10
Minuit parameter uncertainties:
  1  75.8636
  2  0.714913
  3  0.160314
  4  0.139427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534195': 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) = 8415.438932
delta logL = 1.03651738867

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  6.780e+01  7.586e+01  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  8.312e-01  7.149e-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.037e+00  1.394e-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.489e-01  1.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.98
Ra Dec: 217.203 74.485
Photon Index (Free Index): 0.83 +/- 0.71
Photon Flux (Free Index): 2.77e-09 +/- 3.12e-09
Energy Flux (Free Index): 5.81e-05 +/- 7.82e-05

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/534195/cmap_HighResolution_386812801_387072001_4FGL_J1428.8+7429_daily_bin569.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-08', energy_flux2='5.81e-05', photon_flux_error='1.09e-08', dlogl='1.04e+00', energy_flux='1.12e-05', photon_flux2='2.77e-09', job_status='DONE', time_completed='2021-09-09 20:17:39.464067', photon_index_error2='0.71', photon_index2='0.83', ts='4.93', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='7.82e-05', EG='0.84', time_epoch_completed='1631243859.46', return_code='0', job_id='534195', GAL2='1.04', EG2='0.85', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='3.12e-09', ts2='6.98', photon_index='1.86' WHERE bin_id='569' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:17:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 534195: <4FGL_J1428.8+7429_daily_bin569> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin569 217.203 74.485 386812801 387072001 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 :                                   981.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             381.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            998 sec.

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

