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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin939
RA = 216.169, Dec = 14.784
tmin = 482716801, tmax = 482976001
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='433766', job_status='RUN', time_executed='2021-09-09 14:19:01.150639', time_epoch_executed='1631222341.15' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='939'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433766

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433766/ft1_4FGL_J1424.6+1447_daily_bin939.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433766/ft2_4FGL_J1424.6+1447_daily_bin939.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433766/ft1_4FGL_J1424.6+1447_daily_bin939.fits outfile=/scratch/kocevski/433766/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin939.fits ra=216.169 dec=14.784 rad=12.0 tmin=482716801.0 tmax=482976001.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.62
user 3.36
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433766/ft2_4FGL_J1424.6+1447_daily_bin939.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/433766/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin939.fits evtable="EVENTS" outfile="/scratch/kocevski/433766/ft1_filtered_4FGL_J1424.6+1447_daily_bin939.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/433766/ft1_filtered_4FGL_J1424.6+1447_daily_bin939.fits" evtable="EVENTS" scfile=/scratch/kocevski/433766/ft2_4FGL_J1424.6+1447_daily_bin939.fits sctable="SC_DATA" outfile=/scratch/kocevski/433766/ltcube_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.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/433766/ft2_4FGL_J1424.6+1447_daily_bin939.fits
.....................!
real 11.83
user 11.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433766/ft1_filtered_4FGL_J1424.6+1447_daily_bin939.fits evtable="EVENTS" scfile=/scratch/kocevski/433766/ft2_4FGL_J1424.6+1447_daily_bin939.fits sctable="SC_DATA" expcube=/scratch/kocevski/433766/ltcube_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.fits outfile=/scratch/kocevski/433766/expmap_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.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/433766/ltcube_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.fits
.....................!
real 192.44
user 187.71
sys 4.36

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/433766/ft1_filtered_4FGL_J1424.6+1447_daily_bin939.fits scfile=/scratch/kocevski/433766/ft2_4FGL_J1424.6+1447_daily_bin939.fits outfile=/scratch/kocevski/433766/cmap_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433766/ft1_filtered_4FGL_J1424.6+1447_daily_bin939.fits scfile=/scratch/kocevski/433766/ft2_4FGL_J1424.6+1447_daily_bin939.fits outfile=/scratch/kocevski/433766/cmap_HighResolution_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.797       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3852       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.438       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.554       1.0000         .10000E-03   10000.    
     7 'norm      '    .12251E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7227       1.0000         .10000E-03   10000.    
     9 'norm      '    5.6247       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13385E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.560       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.783       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .99960E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.434       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7491       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9717       1.0000         .10000E-03   10000.    
    22 'norm      '    75.025       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2590       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70158       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=   6344.931     FROM MIGRAD    STATUS=CONVERGED    981 CALLS     3548 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.031        .18142E-02** at limit **
   2  Prefactor     .10000E-03    2.5712        .12370E-02** at limit **
   3  Prefactor     18.797        12.444        .92379E-04    .15260E-04
   4  Prefactor     5.3885        12.920        .17317E-03   -.44051E-04
   5  Prefactor     27.448        28.982        .76481E-04   -.26608E-04
   6  Prefactor     16.552        26.569        .98440E-04    .50815E-05
   7  norm          .10000E-03    40.002        .36285E-03** at limit **
   8  Prefactor     4.7296        6.3307        .18516E-03    .22042E-04
   9  norm          5.6249        2.6896        .87568E-04    .30899E-04
  10  Prefactor     .10000E-03    5.6936        .18142E-02** at limit **
  11  norm          14.561        4.3106        .42778E-03   -.30579E-03
  12  Prefactor     .10000E-03    12.853        .18142E-02** at limit **
  13  norm          .10000E-03    6.6865        .18142E-02** at limit **
  14  norm          18.784        6.9911        .92416E-04   -.21159E-04
  15  Prefactor     .10000E-03    16.777        .18142E-02** at limit **
  16  Prefactor     .10000E-03    27.887        .10282    ** at limit **
  17  Prefactor     .10000E-03    5.9055        .18142E-02** at limit **
  18  Prefactor     16.509        25.197        .98799E-04    .60411E-04
  19  Prefactor     1.5497        305.90        .31705E-03    .10686E-04
  20  Prefactor     .10000E-03    5.5009        .18142E-02** at limit **
  21  norm          1.9714        .32332        .17461E-04    .23378E-02
  22  norm          75.036        61.582        .23178E-03    .18982E-04
  23  Normalizat    1.2590        .25818        .26399E-03    .30075E-03
  24  Prefactor     .70154        .17878        .24774E-03    .21508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7966
  Prefactor  = 5.38846
  Prefactor  = 27.4481
  Prefactor  = 16.5517
  norm       = 0.0001
  Prefactor  = 4.72964
  norm       = 5.62489
  Prefactor  = 0.0001
  norm       = 14.5613
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 18.7839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.509
  Prefactor  = 1.54967
  Prefactor  = 0.0001
  norm       = 1.97144
  norm       = 75.036
  Normalizat = 1.25899
  Prefactor  = 0.701536
 **********
 **   18 **HESSE 
 **********

 FCN=   6344.931     FROM HESSE     STATUS=OK           383 CALLS     3931 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.036        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.5720        .24739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.797        12.444        .36952E-05   -1.4841    
   4  Prefactor     5.3885        12.918        .69268E-05   -1.5244    
   5  Prefactor     27.448        28.979        .30593E-05   -1.4660    
   6  Prefactor     16.552        26.572        .39376E-05   -1.4894    
   7  norm          .10000E-03    40.004        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7296        6.3301        .74064E-05   -1.5273    
   9  norm          5.6249        2.6896        .35027E-05   -1.5234    
  10  Prefactor     .10000E-03    5.6971        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.561        4.3106        .17111E-04   -1.4945    
  12  Prefactor     .10000E-03    12.853        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.6866        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.784        6.9911        .36966E-05   -1.4841    
  15  Prefactor     .10000E-03    16.781        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.439        .10640       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.9058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.509        25.174        .39520E-05   -1.4895    
  19  Prefactor     1.5497        305.30        .12682E-04   -1.5459    
  20  Prefactor     .10000E-03    5.5021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9714        .32332        .34922E-05   -1.5427    
  22  norm          75.036        61.583        .92711E-05   -1.3973    
  23  Normalizat    1.2590        .25841        .52798E-04   -.84799    
  24  Prefactor     .70154        .17896        .99096E-05   -1.0347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77902e-10
Minuit parameter uncertainties:
  1  0.000124317
  2  1.20791e-05
  3  12.4454
  4  12.9243
  5  28.9935
  6  26.5907
  7  0.000105832
  8  6.33103
  9  2.68968
  10  3.651e-05
  11  4.31067
  12  1.39544e-05
  13  8.83561e-06
  14  6.99138
  15  4.28033e-05
  16  4.34985e-05
  17  2.13759e-05
  18  25.1904
  19  43.7292
  20  1.48319e-05
  21  0.323318
  22  61.6353
  23  0.258677
  24  0.17911
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  7.015e-01  1.791e-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.259e+00  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/433766/likelihoodResults_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.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) = 6344.91613518
delta logL = 0.0151861897175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6344.90752731
delta logL = 0.0237940623174

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6344.908     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      268 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7758        9.0630        .93713E-03   -.47670E-03
   2  Index         2.3970        1.3645        .91031E-02    .17715E-04
   3  Normalizat    1.2519        .24691        .26462E-03   -.60148E-06
   4  Prefactor     .70444        .17719        .24727E-03   -.27586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.77575
  Index      = 2.39705
  Normalizat = 1.25186
  Prefactor  = 0.704442
 **********
 **   18 **HESSE 
 **********

 FCN=   6344.908     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7758        7.0312        .37485E-04   -1.5319    
   2  Index         2.3970        1.0654        .36413E-03   -.54754    
   3  Normalizat    1.2519        .24566        .10585E-04   -.85015    
   4  Prefactor     .70444        .17670        .98907E-05   -1.0335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25621e-10
Minuit parameter uncertainties:
  1  7.03277
  2  1.07674
  3  0.245892
  4  0.176841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433766': 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) = 6344.90752729
delta logL = 0.0237940830957

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.776e+00  7.033e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.397e+00  1.077e+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:  7.044e-01  1.768e-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.252e+00  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.92
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/433766/cmap_HighResolution_482716801_482976001_4FGL_J1424.6+1447_daily_bin939.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2021-09-09 14:30:04.116228', job_id='433766', GAL2='0.70', fit_tolerance='1e-08', EG2='1.25', EG='1.26', time_epoch_completed='1631223004.12', return_code2='0', ts='0.92', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.38e-02', ts2='0.97', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='939' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:30:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 433766: <4FGL_J1424.6+1447_daily_bin939> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin939 216.169 14.784 482716801 482976001 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 :                                   659.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

