/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 5 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7472
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin567
RA = 216.169, Dec = 14.784
tmin = 386294401, tmax = 386553601
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='431548', job_status='RUN', time_executed='2021-09-09 14:11:27.563555', time_epoch_executed='1631221887.56' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='567'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431548

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431548/ft1_4FGL_J1424.6+1447_daily_bin567.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431548/ft2_4FGL_J1424.6+1447_daily_bin567.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431548/ft1_4FGL_J1424.6+1447_daily_bin567.fits outfile=/scratch/kocevski/431548/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin567.fits ra=216.169 dec=14.784 rad=12.0 tmin=386294401.0 tmax=386553601.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.94
user 3.69
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431548/ft1_filtered_4FGL_J1424.6+1447_daily_bin567.fits" evtable="EVENTS" scfile=/scratch/kocevski/431548/ft2_4FGL_J1424.6+1447_daily_bin567.fits sctable="SC_DATA" outfile=/scratch/kocevski/431548/ltcube_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.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/431548/ft2_4FGL_J1424.6+1447_daily_bin567.fits
.....................!
real 12.31
user 11.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431548/ft1_filtered_4FGL_J1424.6+1447_daily_bin567.fits evtable="EVENTS" scfile=/scratch/kocevski/431548/ft2_4FGL_J1424.6+1447_daily_bin567.fits sctable="SC_DATA" expcube=/scratch/kocevski/431548/ltcube_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.fits outfile=/scratch/kocevski/431548/expmap_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.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/431548/ltcube_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.fits
.....................!
real 192.81
user 187.52
sys 4.82

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/431548/ft1_filtered_4FGL_J1424.6+1447_daily_bin567.fits scfile=/scratch/kocevski/431548/ft2_4FGL_J1424.6+1447_daily_bin567.fits outfile=/scratch/kocevski/431548/cmap_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431548/ft1_filtered_4FGL_J1424.6+1447_daily_bin567.fits scfile=/scratch/kocevski/431548/ft2_4FGL_J1424.6+1447_daily_bin567.fits outfile=/scratch/kocevski/431548/cmap_HighResolution_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.111       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5437       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10785E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.2630       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.622       1.0000         .10000E-03   10000.    
    11 'norm      '    .44706       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.2715       1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.772       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6611       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10704E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18777       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34968E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3544       1.0000         .10000E-03   10000.    
    21 'norm      '    .21242       1.0000         .10000E-03   10000.    
    22 'norm      '    23.481       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89804       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1029       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6151.103     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     2780 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.113        83.378         .0000        .11119E-02
   2  Prefactor     1.5573        5.5566         .0000        .23603E-01
   3  Prefactor     .10000E-03    4.5116         .0000    ** at limit **
   4  Prefactor     .10000E-03    6.2801         .0000    ** at limit **
   5  Prefactor     28.729        29.155         .0000       -.63551E-03
   6  Prefactor     .10000E-03    24.070         .0000    ** at limit **
   7  norm          .10000E-03    6.9676         .0000    ** at limit **
   8  Prefactor     .10000E-03    3.8877         .0000    ** at limit **
   9  norm          6.2629        2.6055         .0000       -.56636E-04
  10  Prefactor     11.630        7.5289         .0000        .25936E-03
  11  norm          .44479        2.0276         .0000        .16853E-02
  12  Prefactor     .10000E-03    7.9665         .0000    ** at limit **
  13  norm          .10000E-03    5.4285         .0000    ** at limit **
  14  norm          8.2711        5.1186         .0000       -.18816E-02
  15  Prefactor     41.869        29.679         .0000        .36365E-03
  16  Prefactor     8.6624        24.897         .0000        .63085E-03
  17  Prefactor     .10000E-03    8.7706         .0000    ** at limit **
  18  Prefactor     .29887E-01    29.007         .0000        .50135E-04
  19  Prefactor     .10000E-03    87.965         .0000    ** at limit **
  20  Prefactor     4.3536        6.6421         .0000       -.36684E-03
  21  norm          .21242        .13710         .0000        .74691E-04
  22  norm          23.480        46.732         .0000       -.38789E-03
  23  Normalizat    .89812        .21104         .0000       -.51209E-04
  24  Prefactor     1.1029        .15492         .0000       -.88925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.1134
  Prefactor  = 1.55732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.729
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.26293
  Prefactor  = 11.6298
  norm       = 0.444792
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.27108
  Prefactor  = 41.8691
  Prefactor  = 8.66237
  Prefactor  = 0.0001
  Prefactor  = 0.0298873
  Prefactor  = 0.0001
  Prefactor  = 4.35364
  norm       = 0.212418
  norm       = 23.4798
  Normalizat = 0.89812
  Prefactor  = 1.10294
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.103     FROM HESSE     STATUS=OK           397 CALLS     3177 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.113        83.201        .50119E-04   -1.4105    
   2  Prefactor     1.5573        5.5318        .16367E-02   -1.5458    
   3  Prefactor     .10000E-03    4.5143        .16268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.729        29.196        .74767E-04   -1.4635    
   6  Prefactor     .10000E-03    24.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.9695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9208        .15095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.2629        2.6061        .79402E-04   -1.5207    
  10  Prefactor     11.630        7.5321        .11751E-03   -1.5026    
  11  norm          .44479        1.9969        .21366E-03   -1.5575    
  12  Prefactor     .10000E-03    7.9683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.4318        .17847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.2711        5.1180        .13518E-03   -1.5133    
  15  Prefactor     41.869        29.749        .62023E-04   -1.4413    
  16  Prefactor     8.6624        24.854        .13620E-03   -1.5119    
  17  Prefactor     .10000E-03    8.8068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .29887E-01    36.497        .10362       -1.5673    
  19  Prefactor     .10000E-03    88.690        .21324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.3536        6.6338        .19303E-03   -1.5291    
  21  norm          .21242        .13717        .22503E-04   -1.5616    
  22  norm          23.480        46.825        .82664E-04   -1.4738    
  23  Normalizat    .89812        .25252        .29804E-03   -.96526    
  24  Prefactor     1.1029        .18578        .20304E-03   -.89373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21445e-08
Minuit parameter uncertainties:
  1  83.3528
  2  5.53363
  3  7.78767e-07
  4  5.60422e-06
  5  29.2102
  6  6.6963e-05
  7  3.86634e-06
  8  2.5412e-06
  9  2.60612
  10  7.53275
  11  1.8848
  12  3.43749e-06
  13  2.02714e-05
  14  5.11826
  15  29.7595
  16  24.8841
  17  3.09056e-06
  18  2.08659
  19  0.00013047
  20  6.63489
  21  0.137169
  22  46.8989
  23  0.252851
  24  0.185885
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.541e-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:  1.103e+00  1.859e-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:  8.981e-01  2.529e-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: 6.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431548/likelihoodResults_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.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) = 6151.10382981
delta logL = -0.00121380475684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6151.10261597
delta logL = 3.69363988284e-08

Fit tolerance = 1e-08

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

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

 FCN=   6151.103     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      239 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10156E-03    37.248        .15550E-02** at limit **
   2  Index         2.0831        8.9559        .50000        .44825E-04
   3  Normalizat    .89812        .14662E-01    .29804E-03   -.28609E-05
   4  Prefactor     1.1029        .11021E-01    .20304E-03   -.10582E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101562
  Index      = 2.08306
  Normalizat = 0.89812
  Prefactor  = 1.10294
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.103     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10156E-03    159.60        .31100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0831        8.1938        .50000       -.62289    
   3  Normalizat    .89812        .31414E-01    .11922E-04   -.96526    
   4  Prefactor     1.1029        .23612E-01    .81218E-05   -.89373    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.08706e-08
Minuit parameter uncertainties:
  1  0.0316654
  2  351.576
  3  0.0314148
  4  0.0236118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431548': 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) = 6151.10261506
delta logL = 9.42911356105e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.016e-04  3.167e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.083e+00  3.516e+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:  1.103e+00  2.361e-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:  8.981e-01  3.141e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/431548/cmap_HighResolution_386294401_386553601_4FGL_J1424.6+1447_daily_bin567.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.20e-08', time_completed='2021-09-09 14:21:34.520421', job_id='431548', GAL2='1.10', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1631222494.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='9.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='567' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:21:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 431548: <4FGL_J1424.6+1447_daily_bin567> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin567> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:12 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11:14 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:11:14 2021
Terminated at Thu Sep  9 14:21:35 2021
Results reported at Thu Sep  9 14:21:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin567 216.169 14.784 386294401 386553601 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            623 sec.

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

