/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 165 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin701
RA = 216.169, Dec = 14.784
tmin = 421027201, tmax = 421286401
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='431740', job_status='RUN', time_executed='2021-09-09 14:14:19.282686', time_epoch_executed='1631222059.28' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431740

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431740/ft1_4FGL_J1424.6+1447_daily_bin701.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431740/ft2_4FGL_J1424.6+1447_daily_bin701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431740/ft1_4FGL_J1424.6+1447_daily_bin701.fits outfile=/scratch/kocevski/431740/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin701.fits ra=216.169 dec=14.784 rad=12.0 tmin=421027201.0 tmax=421286401.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.75
user 3.52
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431740/ft2_4FGL_J1424.6+1447_daily_bin701.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/431740/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin701.fits evtable="EVENTS" outfile="/scratch/kocevski/431740/ft1_filtered_4FGL_J1424.6+1447_daily_bin701.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/431740/ft1_filtered_4FGL_J1424.6+1447_daily_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/431740/ft2_4FGL_J1424.6+1447_daily_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/431740/ltcube_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.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/431740/ft2_4FGL_J1424.6+1447_daily_bin701.fits
.....................!
real 11.75
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431740/ft1_filtered_4FGL_J1424.6+1447_daily_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/431740/ft2_4FGL_J1424.6+1447_daily_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/431740/ltcube_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.fits outfile=/scratch/kocevski/431740/expmap_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.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/431740/ltcube_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.fits
.....................!
real 192.34
user 186.39
sys 5.45

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/431740/ft1_filtered_4FGL_J1424.6+1447_daily_bin701.fits scfile=/scratch/kocevski/431740/ft2_4FGL_J1424.6+1447_daily_bin701.fits outfile=/scratch/kocevski/431740/cmap_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.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.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1086       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   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 '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.7746       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16976E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    19.128       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2740       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    54.223       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1922       1.0000         .10000E-03   10000.    
    21 'norm      '    .44056       1.0000         .10000E-03   10000.    
    22 'norm      '    55.141       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1919       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98454       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=   7149.278     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2649 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.765        .24645E-04** at limit **
   2  Prefactor     .10000E-03    2.1311       -.46748E-07** at limit **
   3  Prefactor     .10000E-03    4.5958       -.69552E-06** at limit **
   4  Prefactor     4.1086        10.752       -.11471E-05   -.15608E-03
   5  Prefactor     .10000E-03    9.3152        .25402E-05** at limit **
   6  Prefactor     .10000E-03    14.534        .15522E-05** at limit **
   7  norm          .10000E-03    5.7765       -.38818E-05** at limit **
   8  Prefactor     .10000E-03    5.0992        .33446E-05** at limit **
   9  norm          4.7747        2.4958       -.34977E-07   -.26321E-04
  10  Prefactor     .10000E-03    2.1561        .31230E-07** at limit **
  11  norm          .10000E-03    1.0062       -.16898E-07** at limit **
  12  Prefactor     .10001E-03    38.450       -.19345E-04** at limit **
  13  norm          19.098        17.576       -.11082E-04    .23561E-03
  14  norm          .10000E-03    1.9220       -.17583E-07** at limit **
  15  Prefactor     .10000E-03    7.3734        .11747E-05** at limit **
  16  Prefactor     7.2735        20.970        .28362E-05    .54319E-05
  17  Prefactor     .10000E-03    7.0883       -.83097E-06** at limit **
  18  Prefactor     .10000E-03    13.147       -.57637E-05** at limit **
  19  Prefactor     54.226        44.713        .33804E-05    .31767E-04
  20  Prefactor     7.1929        9.9046       -.47410E-06   -.72882E-04
  21  norm          .44058        .19262       -.87276E-08   -.40044E-03
  22  norm          55.144        47.298        .30292E-05    .15155E-05
  23  Normalizat    1.1921        .19630        .46690E-06   -.99514E-05
  24  Prefactor     .98441        .14186        .39894E-06   -.15687E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.10864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.77472
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100011
  norm       = 19.0976
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.27351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.2263
  Prefactor  = 7.19286
  norm       = 0.440582
  norm       = 55.1443
  Normalizat = 1.19209
  Prefactor  = 0.98441
 **********
 **   18 **HESSE 
 **********

 FCN=   7149.278     FROM HESSE     STATUS=OK           387 CALLS     3036 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1425        .12052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.6038        .17703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1086        10.766        .19888E-03   -1.5303    
   5  Prefactor     .10000E-03    9.3234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.7822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.2398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7747        2.4964        .93786E-04   -1.5271    
  10  Prefactor     .10000E-03    2.1670        .12122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0196        .82797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    37.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          19.098        17.428        .91577E-04   -1.4834    
  14  norm          .10000E-03    1.9376        .11447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.3834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.2735        20.925        .14872E-03   -1.5169    
  17  Prefactor     .10000E-03    7.1044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     54.226        44.756        .54471E-04   -1.4234    
  20  Prefactor     7.1929        9.9068        .14957E-03   -1.5172    
  21  norm          .44058        .19066        .23380E-04   -1.5575    
  22  norm          55.144        47.342        .54018E-04   -1.4221    
  23  Normalizat    1.1921        .24203        .27650E-03   -.86848    
  24  Prefactor     .98441        .17524        .21650E-03   -.93251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61548e-10
Minuit parameter uncertainties:
  1  2.63006e-05
  2  2.57604e-06
  3  1.94923e-06
  4  10.7708
  5  5.1941e-06
  6  1.00304e-05
  7  2.66535e-06
  8  2.98594e-05
  9  2.49643
  10  3.59008e-06
  11  1.64295e-06
  12  0.00127602
  13  17.4324
  14  1.23774e-06
  15  6.9494e-06
  16  20.9464
  17  1.51495e-05
  18  3.54313e-05
  19  44.7835
  20  9.90901
  21  0.19066
  22  47.3743
  23  0.242256
  24  0.175339
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.986e-05  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.844e-01  1.753e-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.192e+00  2.423e-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: 5.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431740/likelihoodResults_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.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) = 7149.27917011
delta logL = -0.000910655104235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7149.27825948
delta logL = -3.17240846925e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1492       1.0000          .0000       10.000    
     3 'Normalizat'    1.1920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98446       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=   7149.278     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      247 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10048E-03    126.04        .36285E-03** at limit **
   2  Index         2.1156        6.0180        .50000        .28807E-04
   3  Normalizat    1.1921        .23719E-01    .27650E-03    .53533E-04
   4  Prefactor     .98441        .17155E-01    .21650E-03    .11117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100479
  Index      = 2.11559
  Normalizat = 1.19209
  Prefactor  = 0.98441
 **********
 **   18 **HESSE 
 **********

 FCN=   7149.278     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10048E-03    429.39        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1156        6.0267        .50000       -.61491    
   3  Normalizat    1.1921        .47497E-01    .11060E-04   -.86848    
   4  Prefactor     .98441        .34344E-01    .86599E-05   -.93251    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.11995e-08
Minuit parameter uncertainties:
  1  0.0288859
  2  389.47
  3  0.0474988
  4  0.0343447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431740': 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) = 7149.27825905
delta logL = 3.97123585572e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.005e-04  2.889e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.116e+00  3.895e+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.844e-01  3.434e-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.192e+00  4.750e-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/431740/cmap_HighResolution_421027201_421286401_4FGL_J1424.6+1447_daily_bin701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2021-09-09 14:24:45.606610', job_id='431740', GAL2='0.98', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631222685.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='701' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:24:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 431740: <4FGL_J1424.6+1447_daily_bin701> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin701 216.169 14.784 421027201 421286401 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 :                                   626.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             313.08 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.

