/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 170 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 = 7404
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin418
RA = 216.169, Dec = 14.784
tmin = 347673601, tmax = 347932801
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='430104', job_status='RUN', time_executed='2021-09-09 14:09:39.448486', time_epoch_executed='1631221779.45' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430104/ft1_4FGL_J1424.6+1447_daily_bin418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430104/ft1_4FGL_J1424.6+1447_daily_bin418.fits outfile=/scratch/kocevski/430104/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin418.fits ra=216.169 dec=14.784 rad=12.0 tmin=347673601.0 tmax=347932801.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.43
user 3.22
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.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/430104/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin418.fits evtable="EVENTS" outfile="/scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits" evtable="EVENTS" scfile=/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits sctable="SC_DATA" outfile=/scratch/kocevski/430104/ltcube_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.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/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits
.....................!
real 14.66
user 11.71
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits evtable="EVENTS" scfile=/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits sctable="SC_DATA" expcube=/scratch/kocevski/430104/ltcube_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.fits outfile=/scratch/kocevski/430104/expmap_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.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/430104/ltcube_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.fits
.....................!
real 190.81
user 185.68
sys 4.33

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 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits scfile=/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits outfile=/scratch/kocevski/430104/cmap_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.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=216.169 yref=14.784 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits scfile=/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits outfile=/scratch/kocevski/430104/cmap_HighResolution_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.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=216.169 yref=14.784 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/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits evtable="EVENTS" scfile=/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430104/Model_4FGL_J1424.6+1447_daily_bin418.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/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits.....................!
real 57.95
user 56.67
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits', '/scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits', expMap='/scratch/kocevski/430104/expmap_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.fits', expCube='/scratch/kocevski/430104/ltcube_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430104/Model_4FGL_J1424.6+1447_daily_bin418.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430104/ft1_filtered_4FGL_J1424.6+1447_daily_bin418.fits
Spacecraft file(s): /scratch/kocevski/430104/ft2_4FGL_J1424.6+1447_daily_bin418.fits
Exposure map: /scratch/kocevski/430104/expmap_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.fits
Exposure cube: /scratch/kocevski/430104/ltcube_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430104/Model_4FGL_J1424.6+1447_daily_bin418.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) = 7968.38146134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9597       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.783       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4592       1.0000         .10000E-03   10000.    
     9 'norm      '    8.3227       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.171       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2543       1.0000         .10000E-03   10000.    
    13 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .18537E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .45722       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.040       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.293       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3376       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .22395       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0371       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7968.371     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2746 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 15.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.105       -.11989E-06** at limit **
   2  Prefactor     .10000E-03    1.2356       -.91499E-07** at limit **
   3  Prefactor     2.9541        11.207       -.20699E-05    .59325E-04
   4  Prefactor     .10000E-03    7.4639       -.55217E-07** at limit **
   5  Prefactor     18.779        28.053       -.98386E-06   -.13083E-03
   6  Prefactor     .10000E-03    8.1487        .34219E-07** at limit **
   7  norm          .10000E-03    4.8371        .14973E-07** at limit **
   8  Prefactor     1.4524        12.091        .14782E-05    .17226E-03
   9  norm          8.3230        2.9734       -.38800E-08   -.23031E-03
  10  Prefactor     11.173        7.9507       -.46202E-06   -.84465E-03
  11  norm          .10000E-03    1.3662        .11343E-06** at limit **
  12  Prefactor     9.2583        17.523       -.49121E-06   -.57601E-04
  13  norm          .10000E-03    16.677        .61227E-06** at limit **
  14  norm          .10178E-03    25.577        .19255E-04** at limit **
  15  Prefactor     .40060        124.27       -.43666E-04   -.25623E-03
  16  Prefactor     17.036        17.381       -.14392E-06   -.61002E-04
  17  Prefactor     20.303        15.898        .74797E-06   -.18465E-03
  18  Prefactor     .10001E-03    16.678        .25234E-05** at limit **
  19  Prefactor     7.2326        43.616       -.65129E-05   -.10312E-04
  20  Prefactor     .10000E-03    3.8860        .72938E-07** at limit **
  21  norm          .22389        .13565        .22749E-07    .12997E-02
  22  norm          .10000E-03    22.428       -.41599E-07** at limit **
  23  Normalizat    1.0374        .18332       -.16116E-05   -.99205E-03
  24  Prefactor     1.0164        .13328        .13204E-05   -.74100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95412
  Prefactor  = 0.0001
  Prefactor  = 18.7795
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.45239
  norm       = 8.32303
  Prefactor  = 11.1734
  norm       = 0.0001
  Prefactor  = 9.25831
  norm       = 0.0001
  norm       = 0.00010178
  Prefactor  = 0.400599
  Prefactor  = 17.0358
  Prefactor  = 20.3032
  Prefactor  = 0.000100006
  Prefactor  = 7.23259
  Prefactor  = 0.0001
  norm       = 0.223891
  norm       = 0.0001
  Normalizat = 1.03739
  Prefactor  = 1.01638
 **********
 **   18 **HESSE 
 **********

 FCN=   7968.371     FROM HESSE     STATUS=OK           413 CALLS     3159 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.2397        .96879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9541        11.261        .11802E-02   -1.5364    
   4  Prefactor     .10000E-03    7.5332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.779        27.887        .92415E-04   -1.4841    
   6  Prefactor     .10000E-03    8.1642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.8382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4524        11.639        .35625E-03   -1.5467    
   9  norm          8.3230        2.9743        .89118E-04   -1.5131    
  10  Prefactor     11.173        7.8317        .11986E-03   -1.5039    
  11  norm          .10000E-03    1.4063        .20370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.2583        17.496        .13174E-03   -1.5099    
  13  norm          .10000E-03    16.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10178E-03    2.4556        .47600E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .40060        15.697        .10094       -1.5581    
  16  Prefactor     17.036        17.362        .97025E-04   -1.4882    
  17  Prefactor     20.303        15.853        .88912E-04   -1.4806    
  18  Prefactor     .10001E-03    16.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.2326        43.592        .14807E-03   -1.5170    
  20  Prefactor     .10000E-03    3.9053        .17186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22389        .13526        .24504E-04   -1.5613    
  22  norm          .10000E-03    22.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0374        .22183        .28279E-03   -.91788    
  24  Prefactor     1.0164        .16037        .20847E-03   -.92186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18653e-09
Minuit parameter uncertainties:
  1  4.68532e-06
  2  1.29687e-06
  3  11.2695
  4  3.93974e-06
  5  27.9066
  6  8.96953e-06
  7  2.22301e-06
  8  8.22502
  9  2.97432
  10  7.83245
  11  9.79511e-06
  12  17.5054
  13  0.0001399
  14  0.00418172
  15  5.01611
  16  17.3666
  17  15.8565
  18  0.000643555
  19  35.5508
  20  7.20241e-06
  21  0.135262
  22  8.64484e-05
  23  0.222023
  24  0.160446
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.452e+00  8.225e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.016e+00  1.604e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.037e+00  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 8.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430104/likelihoodResults_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.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): 0
logL (Free Index) = 7968.20959315
delta logL = 0.161561860566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7968.20211936
delta logL = 0.169035651787

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4896       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8635       1.0000          .0000       10.000    
     3 'Normalizat'    1.0172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0217       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7968.202     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      258 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4948        69.485        .87822E-02    .12263E-02
   2  Index         2.8610        3.3613        .13654        .15868E-03
   3  Normalizat    1.0170        .39822E-01    .64466E-01    .19054E-04
   4  Prefactor     1.0218        .28954E-01    .41972E-01    .80633E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49481
  Index      = 2.86102
  Normalizat = 1.01704
  Prefactor  = 1.02179
 **********
 **   18 **HESSE 
 **********

 FCN=   7968.202     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4948        7.7485        .17697E-03   -1.5463    
   2  Index         2.8610        1.7768        .88879E-02   -.44205    
   3  Normalizat    1.0170        .22043        .28514E-03   -.92462    
   4  Prefactor     1.0218        .15990        .20788E-03   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64279e-11
Minuit parameter uncertainties:
  1  6.80777
  2  1.82604
  3  0.220624
  4  0.159975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430104': 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) = 7968.20211528
delta logL = 0.169039726613

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.495e+00  6.808e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.861e+00  1.826e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.022e+00  1.600e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.017e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 216.169 14.784

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/430104/cmap_HighResolution_347673601_347932801_4FGL_J1424.6+1447_daily_bin418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.67e-08', time_completed='2021-09-09 14:21:14.871267', job_id='430104', GAL2='1.02', fit_tolerance='1e-08', EG2='1.02', EG='1.04', time_epoch_completed='1631222474.87', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.69e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='418' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:21:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 430104: <4FGL_J1424.6+1447_daily_bin418> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin418> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:37 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:06:39 2021
Terminated at Thu Sep  9 14:21:15 2021
Results reported at Thu Sep  9 14:21:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin418 216.169 14.784 347673601 347932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   681.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            878 sec.

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

