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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin999
RA = 216.169, Dec = 14.784
tmin = 498268801, tmax = 498528001
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='433859', job_status='RUN', time_executed='2021-09-09 14:18:54.726026', time_epoch_executed='1631222334.73' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433859

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433859/ft1_4FGL_J1424.6+1447_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433859/ft1_4FGL_J1424.6+1447_daily_bin999.fits outfile=/scratch/kocevski/433859/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin999.fits ra=216.169 dec=14.784 rad=12.0 tmin=498268801.0 tmax=498528001.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 4.77
user 4.53
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits" evtable="EVENTS" scfile=/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits sctable="SC_DATA" outfile=/scratch/kocevski/433859/ltcube_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.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/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits
.....................!
real 11.95
user 11.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/433859/ltcube_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.fits outfile=/scratch/kocevski/433859/expmap_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.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/433859/ltcube_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.fits
.....................!
real 191.57
user 186.83
sys 4.38

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/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits scfile=/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits outfile=/scratch/kocevski/433859/cmap_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.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.63
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits scfile=/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits outfile=/scratch/kocevski/433859/cmap_HighResolution_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433859/Model_4FGL_J1424.6+1447_daily_bin999.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/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits.....................!
real 54.60
user 53.24
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits', '/scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits', expMap='/scratch/kocevski/433859/expmap_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.fits', expCube='/scratch/kocevski/433859/ltcube_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433859/Model_4FGL_J1424.6+1447_daily_bin999.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/433859/ft1_filtered_4FGL_J1424.6+1447_daily_bin999.fits
Spacecraft file(s): /scratch/kocevski/433859/ft2_4FGL_J1424.6+1447_daily_bin999.fits
Exposure map: /scratch/kocevski/433859/expmap_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.fits
Exposure cube: /scratch/kocevski/433859/ltcube_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433859/Model_4FGL_J1424.6+1447_daily_bin999.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) = 7039.89221898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    6.4120       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12400E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.848       1.0000         .10000E-03   10000.    
     9 'norm      '    9.8580       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5202       1.0000         .10000E-03   10000.    
    11 'norm      '    6.3563       1.0000         .10000E-03   10000.    
    12 'Prefactor '    60.221       1.0000         .10000E-03   10000.    
    13 'norm      '    5.3148       1.0000         .10000E-03   10000.    
    14 'norm      '    5.9092       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.206       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.041       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4533       1.0000         .10000E-03   10000.    
    21 'norm      '    1.8650       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2195       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0535       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=   7039.881     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2692 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.561       -.68942E-05** at limit **
   2  Prefactor     6.4121        5.1526       -.17551E-07   -.18705E-04
   3  Prefactor     .10000E-03    5.1616       -.37049E-07** at limit **
   4  Prefactor     .10000E-03    8.8866        .25402E-05** at limit **
   5  Prefactor     7.5227        48.566        .12620E-04   -.12027E-04
   6  Prefactor     .10000E-03    45.515        .13399E-04** at limit **
   7  norm          .10000E-03    11.077       -.42165E-06** at limit **
   8  Prefactor     10.848        11.111       -.86349E-06   -.10676E-03
   9  norm          9.8580        3.3035        .44818E-07    .74739E-04
  10  Prefactor     6.5207        6.5090       -.13704E-06   -.14871E-03
  11  norm          6.3565        3.4095       -.49539E-08   -.91535E-04
  12  Prefactor     60.233        52.324        .29891E-04    .13994E-03
  13  norm          5.2478        29.754       -.60250E-04   -.11193E-03
  14  norm          5.9091        5.1645       -.33458E-06   -.23721E-03
  15  Prefactor     .10000E-03    9.8337       -.34881E-05** at limit **
  16  Prefactor     24.202        27.664        .47922E-06    .50250E-04
  17  Prefactor     .10000E-03    7.2607       -.34735E-06** at limit **
  18  Prefactor     37.048        32.158        .58048E-05    .12520E-04
  19  Prefactor     .10000E-03    24.655        .15349E-05** at limit **
  20  Prefactor     9.4534        8.4744       -.10298E-07    .10204E-04
  21  norm          1.8650        .33306        .16041E-08    .19411E-03
  22  norm          .10000E-03    14.097        .35378E-05** at limit **
  23  Normalizat    1.2193        .23242       -.23200E-05    .66116E-04
  24  Prefactor     1.0535        .16575        .71449E-06   -.67007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.41212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.52266
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8478
  norm       = 9.85799
  Prefactor  = 6.5207
  norm       = 6.35648
  Prefactor  = 60.2325
  norm       = 5.24781
  norm       = 5.90912
  Prefactor  = 0.0001
  Prefactor  = 24.2023
  Prefactor  = 0.0001
  Prefactor  = 37.0484
  Prefactor  = 0.0001
  Prefactor  = 9.45344
  norm       = 1.86504
  norm       = 0.0001
  Normalizat = 1.21933
  Prefactor  = 1.05355
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.881     FROM HESSE     STATUS=OK           399 CALLS     3091 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4121        5.1549        .15850E-03   -1.5201    
   3  Prefactor     .10000E-03    5.1688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.9665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.5227        48.378        .14628E-03   -1.5159    
   6  Prefactor     .10000E-03    45.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.848        11.065        .12164E-03   -1.5049    
   9  norm          9.8580        3.3046        .85769E-04   -1.5080    
  10  Prefactor     6.5207        6.4958        .15717E-03   -1.5197    
  11  norm          6.3565        3.4087        .10882E-03   -1.5204    
  12  Prefactor     60.233        52.414        .51702E-04   -1.4154    
  13  norm          5.2478        30.028        .17433E-03   -1.5250    
  14  norm          5.9091        5.1639        .16520E-03   -1.5222    
  15  Prefactor     .10000E-03    9.8442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.202        27.670        .81417E-04   -1.4724    
  17  Prefactor     .10000E-03    7.2870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     37.048        32.148        .65851E-04   -1.4490    
  19  Prefactor     .10000E-03    24.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4534        8.4761        .13034E-03   -1.5093    
  21  norm          1.8650        .33341        .19523E-04   -1.5435    
  22  norm          .10000E-03    14.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2193        .27727        .31368E-03   -.86007    
  24  Prefactor     1.0535        .19753        .24172E-03   -.90965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33657e-10
Minuit parameter uncertainties:
  1  4.59596e-06
  2  5.15524
  3  2.8456e-07
  4  7.80278e-06
  5  38.1988
  6  0.000103439
  7  4.00106e-06
  8  11.0675
  9  3.30464
  10  6.49653
  11  3.40875
  12  52.4541
  13  25.1251
  14  5.16432
  15  3.7679e-05
  16  27.6847
  17  2.40773e-05
  18  32.1631
  19  7.49472e-05
  20  8.47713
  21  0.333415
  22  9.62574e-07
  23  0.277601
  24  0.197666
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.085e+01  1.107e+01  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.054e+00  1.977e-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.219e+00  2.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 4.70e-08 +/- 4.79e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 2.27e-05

TS (Fixed Index): 1.55
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433859/likelihoodResults_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.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) = 7039.40024248
delta logL = 0.480731449874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7039.37368442
delta logL = 0.507289509158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2916       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9503       1.0000          .0000       10.000    
     3 'Normalizat'    1.1486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0841       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=   7039.374     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      256 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2846        57.746        .48618E-02    .48734E-03
   2  Index         2.9509        2.6585        .92577E-01    .21494E-03
   3  Normalizat    1.1488        .83555E-01    .72665E-01    .15491E-04
   4  Prefactor     1.0839        .54798E-01    .38226E-01    .51434E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.28462
  Index      = 2.95091
  Normalizat = 1.14882
  Prefactor  = 1.08385
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.374     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2846        75.750        .11356E-03   -1.5294    
   2  Index         2.9509        3.4748        .46282E-02   -.42225    
   3  Normalizat    1.1488        .35943        .32156E-03   -.88199    
   4  Prefactor     1.0839        .24923        .23863E-03   -.89984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.72491e-10
Minuit parameter uncertainties:
  1  36.0841
  2  3.9507
  3  0.360204
  4  0.2495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433859': 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) = 7039.37368333
delta logL = 0.507290601266

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.285e+00  3.608e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.951e+00  3.951e+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.084e+00  2.495e-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.149e+00  3.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.95 +/- 3.95
Photon Flux (Free Index): 1.04e-07 +/- 1.20e-07
Energy Flux (Free Index): 2.13e-05 +/- 2.93e-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/433859/cmap_HighResolution_498268801_498528001_4FGL_J1424.6+1447_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='4.70e-08', energy_flux2='2.13e-05', photon_flux_error='4.79e-08', dlogl='5.07e-01', energy_flux='2.22e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-09 14:29:49.151612', photon_index_error2='3.95', photon_index2='2.95', ts='1.55', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='2.93e-05', EG='1.22', time_epoch_completed='1631222989.15', return_code='0', job_id='433859', GAL2='1.08', EG2='1.15', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='1.20e-07', ts2='2.62', photon_index='2.17' WHERE bin_id='999' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:29:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 433859: <4FGL_J1424.6+1447_daily_bin999> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin999> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:22 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:23 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:16:23 2021
Terminated at Thu Sep  9 14:29:49 2021
Results reported at Thu Sep  9 14:29:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin999 216.169 14.784 498268801 498528001 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            807 sec.

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

