/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 181 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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin200
RA = 216.169, Dec = 14.784
tmin = 291168001, tmax = 291427201
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='429731', job_status='RUN', time_executed='2021-09-09 14:09:20.008408', time_epoch_executed='1631221760.01' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429731/ft1_4FGL_J1424.6+1447_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429731/ft2_4FGL_J1424.6+1447_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429731/ft1_4FGL_J1424.6+1447_daily_bin200.fits outfile=/scratch/kocevski/429731/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin200.fits ra=216.169 dec=14.784 rad=12.0 tmin=291168001.0 tmax=291427201.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.44
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429731/ft2_4FGL_J1424.6+1447_daily_bin200.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/429731/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin200.fits evtable="EVENTS" outfile="/scratch/kocevski/429731/ft1_filtered_4FGL_J1424.6+1447_daily_bin200.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.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429731/ft1_filtered_4FGL_J1424.6+1447_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/429731/ft2_4FGL_J1424.6+1447_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/429731/ltcube_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.fits outfile=/scratch/kocevski/429731/expmap_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.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/429731/ltcube_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.fits
.....................!
real 190.27
user 184.83
sys 5.08

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/429731/ft1_filtered_4FGL_J1424.6+1447_daily_bin200.fits scfile=/scratch/kocevski/429731/ft2_4FGL_J1424.6+1447_daily_bin200.fits outfile=/scratch/kocevski/429731/cmap_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429731/ft1_filtered_4FGL_J1424.6+1447_daily_bin200.fits scfile=/scratch/kocevski/429731/ft2_4FGL_J1424.6+1447_daily_bin200.fits outfile=/scratch/kocevski/429731/cmap_HighResolution_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    4.5710       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30798       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2961       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6610       1.0000         .10000E-03   10000.    
     9 'norm      '    6.7734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2924       1.0000         .10000E-03   10000.    
    11 'norm      '    .21707E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    28.636       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.952       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.297       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.913       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7170       1.0000         .10000E-03   10000.    
    21 'norm      '    .12245       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4493       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66866       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=   5942.396     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2728 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.389       -.42287E-05** at limit **
   2  Prefactor     4.5709        3.9477        .43049E-07    .18789E-03
   3  Prefactor     .30401        19.680       -.35892E-05    .53099E-03
   4  Prefactor     5.2947        9.9230        .36917E-07   -.70048E-04
   5  Prefactor     .10000E-03    42.786        .56430E-06** at limit **
   6  Prefactor     .10000E-03    15.901        .10577E-05** at limit **
   7  norm          .10000E-03    11.533       -.12308E-05** at limit **
   8  Prefactor     5.6613        6.8425        .13017E-06   -.20270E-03
   9  norm          6.7735        3.0129       -.27141E-07    .35944E-05
  10  Prefactor     5.2929        5.0925        .16442E-07   -.38909E-03
  11  norm          .10000E-03    1.2397        .34099E-07** at limit **
  12  Prefactor     .10000E-03    24.244        .44007E-05** at limit **
  13  norm          28.635        22.512       -.35083E-06   -.80659E-04
  14  norm          .10000E-03    2.1882        .13023E-07** at limit **
  15  Prefactor     14.951        22.946       -.11478E-07   -.61623E-05
  16  Prefactor     24.296        20.690       -.98683E-06   -.16174E-03
  17  Prefactor     .10000E-03    4.5591       -.50806E-07** at limit **
  18  Prefactor     18.910        18.386       -.10925E-05   -.17472E-03
  19  Prefactor     .10000E-03    10.596        .32746E-06** at limit **
  20  Prefactor     5.7167        6.9974       -.10436E-06   -.27823E-04
  21  norm          .12244        .14304       -.10384E-07   -.30559E-03
  22  norm          .10000E-03    23.346       -.96730E-06** at limit **
  23  Normalizat    1.4493        .20624        .48537E-06    .29684E-03
  24  Prefactor     .66872        .14619        .13879E-06    .26915E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 4.57086
  Prefactor  = 0.304012
  Prefactor  = 5.29466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.66126
  norm       = 6.77351
  Prefactor  = 5.29291
  norm       = 0.000100001
  Prefactor  = 0.000100004
  norm       = 28.6353
  norm       = 0.0001
  Prefactor  = 14.9513
  Prefactor  = 24.2955
  Prefactor  = 0.0001
  Prefactor  = 18.9098
  Prefactor  = 0.0001
  Prefactor  = 5.71671
  norm       = 0.122437
  norm       = 0.0001
  Normalizat = 1.44929
  Prefactor  = 0.668723
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.396     FROM HESSE     STATUS=OK           401 CALLS     3129 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.5709        3.9511        .13806E-03   -1.5280    
   3  Prefactor     .30401        159.94        .47469E-02   -1.5598    
   4  Prefactor     5.2947        11.936        .87324E-03   -1.5248    
   5  Prefactor     .10000E-03    43.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6613        7.2408        .84415E-03   -1.5232    
   9  norm          6.7735        3.0145        .86297E-04   -1.5187    
  10  Prefactor     5.2929        6.7307        .87355E-03   -1.5248    
  11  norm          .10000E-03    11.808        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          28.635        22.581        .74868E-04   -1.4637    
  14  norm          .10000E-03    2.2334        .11134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.951        22.927        .10358E-03   -1.4934    
  16  Prefactor     24.296        20.682        .81266E-04   -1.4722    
  17  Prefactor     .10000E-03    4.5635        .16074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.910        18.398        .92097E-04   -1.4838    
  19  Prefactor     .10000E-03    10.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.7167        6.9993        .16799E-03   -1.5230    
  21  norm          .12244        .13313        .30245E-03   -1.5638    
  22  norm          .10000E-03    23.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4493        .25415        .23796E-03   -.79213    
  24  Prefactor     .66872        .17549        .24005E-03   -1.0477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02398e-08
Minuit parameter uncertainties:
  1  0.000595368
  2  3.95136
  3  13.9814
  4  11.941
  5  0.000100812
  6  0.000121002
  7  0.000125787
  8  7.24187
  9  3.01452
  10  6.73167
  11  0.000175887
  12  0.000655403
  13  22.5875
  14  3.89956e-07
  15  22.9406
  16  20.6876
  17  2.28464e-06
  18  18.4031
  19  3.28675e-05
  20  7.00029
  21  0.133131
  22  0.000139708
  23  0.254377
  24  0.175638
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.661e+00  7.242e+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:  6.687e-01  1.756e-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.449e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429731/likelihoodResults_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.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) = 5942.25245242
delta logL = 0.143572041365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5942.24273402
delta logL = 0.153290447636

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3982       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8035       1.0000          .0000       10.000    
     3 'Normalizat'    1.4591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66334       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=   5942.243     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      278 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3987        10.023        .13833E-03   -.76661E-03
   2  Index         1.8034        .62565        .99482E-02   -.20887E-03
   3  Normalizat    1.4592        .24138        .23729E-03    .11010E-03
   4  Prefactor     .66332        .17358        .24089E-03    .15088E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.39868
  Index      = 1.8034
  Normalizat = 1.45916
  Prefactor  = 0.663325
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.243     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3987        9.9165        .55333E-05   -1.5128    
   2  Index         1.8034        .61915        .39793E-03   -.69361    
   3  Normalizat    1.4592        .24158        .47458E-04   -.78933    
   4  Prefactor     .66332        .17374        .96355E-05   -1.0498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64084e-09
Minuit parameter uncertainties:
  1  9.9184
  2  0.621854
  3  0.241767
  4  0.173885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429731': 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) = 5942.24273399
delta logL = 0.153290473417

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.399e+00  9.918e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.803e+00  6.219e-01  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:  6.633e-01  1.739e-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.459e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.80 +/- 0.62
Photon Flux (Free Index): 1.84e-08 +/- 2.60e-08
Energy Flux (Free Index): 2.18e-05 +/- 3.41e-05

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/429731/cmap_HighResolution_291168001_291427201_4FGL_J1424.6+1447_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.49e-03', comment='SUCCESS', energy_flux2='2.18e-05', dlogl='1.53e-01', photon_flux2='1.84e-08', job_status='DONE', time_completed='2021-09-09 14:19:28.919774', photon_index_error2='0.62', photon_index2='1.80', ts='0.91', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='9.85e-08', energy_flux_error2='3.41e-05', EG='1.45', time_epoch_completed='1631222368.92', return_code='0', job_id='429731', GAL2='0.66', EG2='1.46', return_code2='0', photon_flux_error2='2.60e-08', ts2='1.22', photon_index='2.17' WHERE bin_id='200' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 429731: <4FGL_J1424.6+1447_daily_bin200> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin200> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:09 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:11 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:06:11 2021
Terminated at Thu Sep  9 14:19:29 2021
Results reported at Thu Sep  9 14:19:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin200 216.169 14.784 291168001 291427201 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 :                                   593.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             225.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

