/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 38 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 = 7420
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin95
RA = 216.169, Dec = 14.784
tmin = 263952001, tmax = 264211201
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='428412', job_status='RUN', time_executed='2021-09-09 14:02:27.028078', time_epoch_executed='1631221347.03' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428412

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428412/ft1_4FGL_J1424.6+1447_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428412/ft2_4FGL_J1424.6+1447_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428412/ft1_4FGL_J1424.6+1447_daily_bin95.fits outfile=/scratch/kocevski/428412/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin95.fits ra=216.169 dec=14.784 rad=12.0 tmin=263952001.0 tmax=264211201.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 1.71
user 1.50
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428412/ft2_4FGL_J1424.6+1447_daily_bin95.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/428412/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin95.fits evtable="EVENTS" outfile="/scratch/kocevski/428412/ft1_filtered_4FGL_J1424.6+1447_daily_bin95.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428412/ft1_filtered_4FGL_J1424.6+1447_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/428412/ft2_4FGL_J1424.6+1447_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/428412/ltcube_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.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/428412/ft2_4FGL_J1424.6+1447_daily_bin95.fits
.....................!
real 12.20
user 11.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428412/ft1_filtered_4FGL_J1424.6+1447_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/428412/ft2_4FGL_J1424.6+1447_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/428412/ltcube_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.fits outfile=/scratch/kocevski/428412/expmap_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.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/428412/ltcube_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.fits
.....................!
real 191.25
user 185.33
sys 5.56

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/428412/ft1_filtered_4FGL_J1424.6+1447_daily_bin95.fits scfile=/scratch/kocevski/428412/ft2_4FGL_J1424.6+1447_daily_bin95.fits outfile=/scratch/kocevski/428412/cmap_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428412/ft1_filtered_4FGL_J1424.6+1447_daily_bin95.fits scfile=/scratch/kocevski/428412/ft2_4FGL_J1424.6+1447_daily_bin95.fits outfile=/scratch/kocevski/428412/cmap_HighResolution_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.195       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17504E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1710       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .55471       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.175       1.0000         .10000E-03   10000.    
     7 'norm      '    18.296       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.3654       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .51639       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.759       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.3605       1.0000         .10000E-03   10000.    
    21 'norm      '    3.4983       1.0000         .10000E-03   10000.    
    22 'norm      '    28.062       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0187       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97476       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=   9079.475     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2738 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.217        40.401        .21594E-04    .81322E-05
   2  Prefactor     .10000E-03    1.8371       -.30739E-07** at limit **
   3  Prefactor     1.1657        1.7973        .50549E-06   -.15941E-02
   4  Prefactor     .10000E-03    10.901        .12008E-05** at limit **
   5  Prefactor     .56206        9.8647       -.28910E-05    .66144E-03
   6  Prefactor     31.185        24.459       -.13955E-05    .10195E-05
   7  norm          18.281        20.730        .45048E-05    .52247E-05
   8  Prefactor     .10000E-03    1.7648        .66356E-07** at limit **
   9  norm          8.3651        2.9135        .80976E-08   -.18508E-04
  10  Prefactor     .10000E-03    1.8452        .90705E-07** at limit **
  11  norm          .10000E-03    .96711       -.56011E-07** at limit **
  12  Prefactor     .10000E-03    14.026        .14556E-05** at limit **
  13  norm          .10000E-03    6.7075        .22545E-06** at limit **
  14  norm          .10000E-03    1.0595        .57783E-07** at limit **
  15  Prefactor     .10000E-03    8.8819       -.35670E-06** at limit **
  16  Prefactor     .36862        9.6967        .67167E-06   -.14533E-03
  17  Prefactor     20.754        15.795        .48765E-05    .17357E-04
  18  Prefactor     .10000E-03    11.036       -.83621E-06** at limit **
  19  Prefactor     .10000E-03    22.037       -.17683E-05** at limit **
  20  Prefactor     8.3590        6.8949        .49030E-07   -.89360E-05
  21  norm          3.4987        .34256       -.13913E-07   -.90276E-03
  22  norm          28.093        37.724        .19838E-04    .18687E-04
  23  Normalizat    1.0180        .17937        .33650E-06   -.47423E-04
  24  Prefactor     .97542        .13024       -.19594E-05    .19940E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2166
  Prefactor  = 0.0001
  Prefactor  = 1.16574
  Prefactor  = 0.0001
  Prefactor  = 0.562057
  Prefactor  = 31.1854
  norm       = 18.2807
  Prefactor  = 0.0001
  norm       = 8.36511
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.368624
  Prefactor  = 20.7536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.35905
  norm       = 3.49872
  norm       = 28.0927
  Normalizat = 1.018
  Prefactor  = 0.975419
 **********
 **   18 **HESSE 
 **********

 FCN=   9079.475     FROM HESSE     STATUS=OK           403 CALLS     3141 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.217        40.387        .11973E-03   -1.5038    
   2  Prefactor     .10000E-03    3.6871        .25053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1657        10.599        .21200E-02   -1.5492    
   4  Prefactor     .10000E-03    11.225        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .56206        56.292        .57316E-02   -1.5558    
   6  Prefactor     31.185        24.529        .71761E-04   -1.4591    
   7  norm          18.281        20.732        .93637E-04   -1.4853    
   8  Prefactor     .10000E-03    1.7736        .12361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.3651        2.9147        .93013E-04   -1.5129    
  10  Prefactor     .10000E-03    1.8611        .12637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .99832        .18292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.7221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.0628        .95784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.9014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .36862        251.19        .56129E-02   -1.5587    
  17  Prefactor     20.754        15.805        .87909E-04   -1.4797    
  18  Prefactor     .10000E-03    11.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    22.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.3590        6.8969        .13865E-03   -1.5130    
  21  norm          3.4987        .34405        .16613E-04   -1.5334    
  22  norm          28.093        37.753        .75627E-04   -1.4647    
  23  Normalizat    1.0180        .21993        .30214E-03   -.92430    
  24  Prefactor     .97542        .15992        .22439E-03   -.93553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40974e-08
Minuit parameter uncertainties:
  1  40.4861
  2  3.81202e-05
  3  7.03142
  4  2.93021e-05
  5  11.2597
  6  24.5367
  7  20.7402
  8  3.13932e-06
  9  2.91478
  10  3.00139e-06
  11  3.18259e-06
  12  1.44896e-05
  13  6.61374e-06
  14  1.10124e-06
  15  1.05469e-05
  16  19.3244
  17  15.8082
  18  3.7439e-05
  19  6.97188e-05
  20  6.89751
  21  0.344051
  22  37.7847
  23  0.220128
  24  0.160001
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.139e-06  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:  9.754e-01  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.018e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/428412/likelihoodResults_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.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) = 9079.47802252
delta logL = -0.00267396068921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9079.47534774
delta logL = 8.28547854326e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9079.475     FROM MIGRAD    STATUS=FAILED        87 CALLS      239 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10156E-03    18.635        .12726E-02** at limit **
   2  Index         2.0867        5.7053        .50000        .10430E-03
   3  Normalizat    1.0180        .13647E-01    .30214E-03   -.42218E-04
   4  Prefactor     .97542        .10004E-01    .22439E-03   -.64040E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9079.475     FROM SIMPLEX   STATUS=PROGRESS     121 CALLS      360 TOTAL
                     EDM=   .74E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10093E-03    18.635        .18806E-03** at limit **
   2  Index         2.0846        5.7053        .74067E-03    .10430E-03
   3  Normalizat    1.0180        .13647E-01    .11960E-04   -.42218E-04
   4  Prefactor     .97540        .10004E-01    .91914E-05   -.64040E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9079.475     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      420 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.048        .25452E-02** at limit **
   2  Index         1.6274        8.7871        .50000        .52705E-07
   3  Normalizat    1.0180        .14077E-01    .12085E-04   -.17309E-04
   4  Prefactor     .97542        .10319E-01    .89757E-05    .15706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.62737
  Normalizat = 1.01801
  Prefactor  = 0.975418
 **********
 **   18 **HESSE 
 **********

 FCN=   9079.475     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      449 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    117.19        .50904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6274        6.4564        .50000       -.74032    
   3  Normalizat    1.0180        .31871E-01    .24171E-05   -.92430    
   4  Prefactor     .97542        .23362E-01    .17951E-05   -.93553    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.87803e-11
Minuit parameter uncertainties:
  1  1.28406e-05
  2  438.271
  3  0.0318712
  4  0.0233623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428412': 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) = 9079.47534075
delta logL = 7.81344351708e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.284e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.627e+00  4.383e+02  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:  9.754e-01  2.336e-02  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.018e+00  3.187e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/428412/cmap_HighResolution_263952001_264211201_4FGL_J1424.6+1447_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-09-09 14:14:58.527104', job_id='428412', GAL2='0.98', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631222098.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='95' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:14:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 428412: <4FGL_J1424.6+1447_daily_bin95> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin95> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:38 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01: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:01:39 2021
Terminated at Thu Sep  9 14:14:59 2021
Results reported at Thu Sep  9 14:14:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin95 216.169 14.784 263952001 264211201 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 :                                   749.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            801 sec.

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

