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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin737
RA = 216.169, Dec = 14.784
tmin = 430358401, tmax = 430617601
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='431792', job_status='RUN', time_executed='2021-09-09 14:14:51.006084', time_epoch_executed='1631222091.01' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431792

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431792/ft1_4FGL_J1424.6+1447_daily_bin737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431792/ft2_4FGL_J1424.6+1447_daily_bin737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431792/ft1_4FGL_J1424.6+1447_daily_bin737.fits outfile=/scratch/kocevski/431792/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin737.fits ra=216.169 dec=14.784 rad=12.0 tmin=430358401.0 tmax=430617601.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 6.02
user 5.68
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431792/ft1_filtered_4FGL_J1424.6+1447_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/431792/ft2_4FGL_J1424.6+1447_daily_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/431792/ltcube_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.fits outfile=/scratch/kocevski/431792/expmap_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.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/431792/ltcube_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.fits
.....................!
real 190.78
user 185.51
sys 4.90

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/431792/ft1_filtered_4FGL_J1424.6+1447_daily_bin737.fits scfile=/scratch/kocevski/431792/ft2_4FGL_J1424.6+1447_daily_bin737.fits outfile=/scratch/kocevski/431792/cmap_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431792/ft1_filtered_4FGL_J1424.6+1447_daily_bin737.fits scfile=/scratch/kocevski/431792/ft2_4FGL_J1424.6+1447_daily_bin737.fits outfile=/scratch/kocevski/431792/cmap_HighResolution_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.142       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.342       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.8126       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.549       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.8197       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.040       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.4695       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.825       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .13407E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    43.220       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4223       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78131       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=   8182.137     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2661 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.143        38.862        .18371E-05    .59087E-06
   2  Prefactor     .10000E-03    1.5490        .34888E-08** at limit **
   3  Prefactor     .10000E-03    15.211        .52191E-06** at limit **
   4  Prefactor     .10000E-03    3.5663       -.25375E-05** at limit **
   5  Prefactor     .10000E-03    4.7001        .36213E-06** at limit **
   6  Prefactor     .10000E-03    18.751       -.12683E-05** at limit **
   7  norm          11.342        17.010        .17017E-06   -.96871E-05
   8  Prefactor     .10000E-03    2.8936       -.32607E-06** at limit **
   9  norm          4.8125        2.3932        .29744E-08   -.94138E-04
  10  Prefactor     .10000E-03    2.6627        .10161E-06** at limit **
  11  norm          11.549        3.4779       -.27137E-06   -.23964E-02
  12  Prefactor     .10000E-03    7.9677       -.25726E-06** at limit **
  13  norm          .10000E-03    3.4350        .15097E-05** at limit **
  14  norm          6.8193        4.6302       -.63680E-07   -.26129E-03
  15  Prefactor     14.041        18.771        .15014E-05   -.11907E-04
  16  Prefactor     2.2276        29.632       -.35480E-05   -.76745E-04
  17  Prefactor     7.4685        13.583       -.21047E-05   -.53209E-04
  18  Prefactor     .10000E-03    18.186        .60282E-06** at limit **
  19  Prefactor     27.833        30.852        .10018E-04    .11901E-04
  20  Prefactor     .10000E-03    3.4183        .10493E-05** at limit **
  21  norm          .13362E-01    .66531E-01   -.13603E-06   -.19922E-02
  22  norm          43.220        30.420       -.73783E-06    .13707E-05
  23  Normalizat    1.4223        .18299        .20494E-06    .11751E-03
  24  Prefactor     .78140        .12862       -.34613E-06    .14151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.1434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3422
  Prefactor  = 0.0001
  norm       = 4.81251
  Prefactor  = 0.0001
  norm       = 11.549
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.81933
  Prefactor  = 14.041
  Prefactor  = 2.22763
  Prefactor  = 7.46845
  Prefactor  = 0.0001
  Prefactor  = 27.8326
  Prefactor  = 0.0001
  norm       = 0.0133615
  norm       = 43.2195
  Normalizat = 1.42228
  Prefactor  = 0.781399
 **********
 **   18 **HESSE 
 **********

 FCN=   8182.137     FROM HESSE     STATUS=OK           397 CALLS     3058 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.143        38.826        .64897E-04   -1.4472    
   2  Prefactor     .10000E-03    1.5581        .10993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.5559        .16638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.342        17.005        .11896E-03   -1.5034    
   8  Prefactor     .10000E-03    2.9115        .15023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8125        2.3917        .95622E-04   -1.5269    
  10  Prefactor     .10000E-03    2.6821        .14409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.549        3.5566        .45115E-03   -1.5028    
  12  Prefactor     .10000E-03    7.9764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.4313        .16360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.8193        4.6307        .15364E-03   -1.5186    
  15  Prefactor     14.041        18.750        .10690E-03   -1.4958    
  16  Prefactor     2.2276        29.801        .27537E-03   -1.5409    
  17  Prefactor     7.4685        13.597        .14674E-03   -1.5161    
  18  Prefactor     .10000E-03    18.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.833        30.347        .75948E-04   -1.4652    
  20  Prefactor     .10000E-03    3.4451        .16321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .13362E-01    .18214        .44412E-03   -1.5685    
  22  norm          43.220        30.422        .60980E-04   -1.4392    
  23  Normalizat    1.4223        .22179        .25507E-03   -.79987    
  24  Prefactor     .78140        .15549        .23321E-03   -1.0042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49167e-10
Minuit parameter uncertainties:
  1  38.8519
  2  2.74367e-07
  3  2.31467e-06
  4  1.31778e-06
  5  3.27809e-07
  6  5.56368e-06
  7  17.0125
  8  1.26048e-06
  9  2.39179
  10  1.19259e-06
  11  3.55665
  12  2.55122e-06
  13  1.36124e-06
  14  4.63097
  15  18.7574
  16  16.3049
  17  13.6025
  18  0.000158788
  19  30.3637
  20  2.13375e-06
  21  0.0982959
  22  30.433
  23  0.221941
  24  0.155579
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.260e-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:  7.814e-01  1.556e-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.422e+00  2.219e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431792/likelihoodResults_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.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) = 8182.13845677
delta logL = -0.00163405847434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8182.13682279
delta logL = -7.38100425224e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1555       1.0000          .0000       10.000    
     3 'Normalizat'    1.4223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78140       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   8182.137     FROM MIGRAD    STATUS=FAILED        85 CALLS      236 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    35.064        .15190E-02** at limit **
   2  Index         2.1015        8.5183        .50000        .39797E-04
   3  Normalizat    1.4223        .15418E-01    .25507E-03   -.11786E-03
   4  Prefactor     .78140        .10870E-01    .23321E-03   -.38366E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8182.137     FROM SIMPLEX   STATUS=UNCHANGED    129 CALLS      365 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    35.064        .30175E-03** at limit **
   2  Index         2.1015        8.5183        .74543E-03    .39797E-04
   3  Normalizat    1.4223        .15418E-01    .33972E-05   -.11786E-03
   4  Prefactor     .78140        .10870E-01    .28981E-05   -.38366E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8182.137     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      411 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.520        .30380E-02** at limit **
   2  Index         1.7620        7.5702        .50000       -.87493E-07
   3  Normalizat    1.4223        .15121E-01    .51015E-04    .12930E-02
   4  Prefactor     .78140        .10661E-01    .93283E-05    .14113E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.762
  Normalizat = 1.42228
  Prefactor  = 0.7814
 **********
 **   18 **HESSE 
 **********

 FCN=   8182.137     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      440 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    187.78        .60760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7620        8.4180        .50000       -.70443    
   3  Normalizat    1.4223        .35790E-01    .10203E-04   -.79986    
   4  Prefactor     .78140        .25231E-01    .18657E-05   -1.0042    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.37686e-10
Minuit parameter uncertainties:
  1  7.66185e-05
  2  688.468
  3  0.0357911
  4  0.0252311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431792': 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) = 8182.13682031
delta logL = 2.40163171839e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.662e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.762e+00  6.885e+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:  7.814e-01  2.523e-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.422e+00  3.579e-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/431792/cmap_HighResolution_430358401_430617601_4FGL_J1424.6+1447_daily_bin737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-03', job_status='DONE', photon_flux_upper_limit='5.12e-08', time_completed='2021-09-09 14:26:46.243134', job_id='431792', GAL2='0.78', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1631222806.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='737' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:26:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 431792: <4FGL_J1424.6+1447_daily_bin737> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin737 216.169 14.784 430358401 430617601 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 :                                   713.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             272.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

