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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin515
RA = 216.169, Dec = 14.784
tmin = 372816001, tmax = 373075201
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='431461', job_status='RUN', time_executed='2021-09-09 14:14:51.653132', time_epoch_executed='1631222091.65' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431461

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431461/ft1_4FGL_J1424.6+1447_daily_bin515.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431461/ft2_4FGL_J1424.6+1447_daily_bin515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431461/ft1_4FGL_J1424.6+1447_daily_bin515.fits outfile=/scratch/kocevski/431461/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin515.fits ra=216.169 dec=14.784 rad=12.0 tmin=372816001.0 tmax=373075201.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 4.48
user 4.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431461/ft2_4FGL_J1424.6+1447_daily_bin515.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/431461/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin515.fits evtable="EVENTS" outfile="/scratch/kocevski/431461/ft1_filtered_4FGL_J1424.6+1447_daily_bin515.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.53
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431461/ft1_filtered_4FGL_J1424.6+1447_daily_bin515.fits" evtable="EVENTS" scfile=/scratch/kocevski/431461/ft2_4FGL_J1424.6+1447_daily_bin515.fits sctable="SC_DATA" outfile=/scratch/kocevski/431461/ltcube_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.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/431461/ft2_4FGL_J1424.6+1447_daily_bin515.fits
.....................!
real 11.97
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431461/ft1_filtered_4FGL_J1424.6+1447_daily_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/431461/ft2_4FGL_J1424.6+1447_daily_bin515.fits sctable="SC_DATA" expcube=/scratch/kocevski/431461/ltcube_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.fits outfile=/scratch/kocevski/431461/expmap_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.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/431461/ltcube_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.fits
.....................!
real 190.49
user 185.82
sys 4.18

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/431461/ft1_filtered_4FGL_J1424.6+1447_daily_bin515.fits scfile=/scratch/kocevski/431461/ft2_4FGL_J1424.6+1447_daily_bin515.fits outfile=/scratch/kocevski/431461/cmap_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431461/ft1_filtered_4FGL_J1424.6+1447_daily_bin515.fits scfile=/scratch/kocevski/431461/ft2_4FGL_J1424.6+1447_daily_bin515.fits outfile=/scratch/kocevski/431461/cmap_HighResolution_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7683       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91793E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.189       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10969E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    31.447       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.9560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39510       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.918       1.0000         .10000E-03   10000.    
    13 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.4793       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1802       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .97476E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3988       1.0000         .10000E-03   10000.    
    21 'norm      '    .36876       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2859       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93458       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6111.900     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2346 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10279E-03    68.560         .0000    ** at limit **
   2  Prefactor     .10000E-03    4.1886         .0000    ** at limit **
   3  Prefactor     4.7686        12.249         .0000        .13282E-03
   4  Prefactor     .10338E-03    8.3427         .0000    ** at limit **
   5  Prefactor     13.184        23.619         .0000        .85798E-03
   6  Prefactor     .10000E-03    19.388         .0000    ** at limit **
   7  norm          31.443        26.676         .0000        .11355E-02
   8  Prefactor     .10000E-03    2.8651         .0000    ** at limit **
   9  norm          6.9555        3.1743         .0000       -.20970E-03
  10  Prefactor     .39477        6.1816         .0000        .46016E-01
  11  norm          .10000E-03    1.2277         .0000    ** at limit **
  12  Prefactor     12.889        19.741         .0000        .14385E-02
  13  norm          .10017E-03    16.547         .0000    ** at limit **
  14  norm          4.4789        4.1509         .0000        .12106E-02
  15  Prefactor     .10000E-03    7.8927         .0000    ** at limit **
  16  Prefactor     4.1752        25.002         .0000        .17897E-03
  17  Prefactor     .10000E-03    8.0040         .0000    ** at limit **
  18  Prefactor     .10000E-03    7.4294         .0000    ** at limit **
  19  Prefactor     .10020E-03    23.845         .0000    ** at limit **
  20  Prefactor     7.3975        9.4955         .0000        .16423E-03
  21  norm          .36874        .17804         .0000        .20809E-03
  22  norm          .10005E-03    14.167         .0000    ** at limit **
  23  Normalizat    1.2861        .20932         .0000       -.52629E-05
  24  Prefactor     .93455        .15239         .0000       -.23430E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102792
  Prefactor  = 0.0001
  Prefactor  = 4.76857
  Prefactor  = 0.00010338
  Prefactor  = 13.1839
  Prefactor  = 0.0001
  norm       = 31.4432
  Prefactor  = 0.0001
  norm       = 6.95548
  Prefactor  = 0.394772
  norm       = 0.0001
  Prefactor  = 12.8887
  norm       = 0.000100168
  norm       = 4.47891
  Prefactor  = 0.0001
  Prefactor  = 4.17525
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100205
  Prefactor  = 7.39748
  norm       = 0.368736
  norm       = 0.000100049
  Normalizat = 1.2861
  Prefactor  = 0.934549
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.900     FROM HESSE     STATUS=OK           391 CALLS     2737 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10279E-03    68.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2945        .31238E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7686        12.235        .18425E-03   -1.5271    
   4  Prefactor     .10338E-03    54.873        .42619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.184        23.622        .11030E-03   -1.4982    
   6  Prefactor     .10000E-03    19.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          31.443        26.668        .71451E-04   -1.4586    
   8  Prefactor     .10000E-03    2.8836        .12920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9555        3.1734        .90979E-04   -1.5180    
  10  Prefactor     .39477        6.4235        .18706E-02   -1.5582    
  11  norm          .10000E-03    1.2734        .16911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.889        19.676        .11145E-03   -1.4990    
  13  norm          .10017E-03    16.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.4789        4.1516        .14881E-03   -1.5285    
  15  Prefactor     .10000E-03    7.9077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.1752        24.867        .19712E-03   -1.5299    
  17  Prefactor     .10000E-03    37.357        .42586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.4357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10020E-03    23.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3975        9.4902        .14745E-03   -1.5164    
  21  norm          .36874        .17662        .22026E-04   -1.5587    
  22  norm          .10005E-03    14.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2861        .25160        .26069E-03   -.83982    
  24  Prefactor     .93455        .18563        .22109E-03   -.94944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39086e-07
Minuit parameter uncertainties:
  1  0.0277816
  2  1.71438e-05
  3  12.2416
  4  0.0272631
  5  23.6383
  6  0.00010408
  7  26.6784
  8  9.10458e-06
  9  3.17343
  10  3.18485
  11  8.62848e-06
  12  19.6854
  13  0.00333625
  14  4.15185
  15  0.000114912
  16  20.3913
  17  0.000542906
  18  6.4765e-05
  19  0.00442814
  20  9.4921
  21  0.176618
  22  0.00167003
  23  0.251841
  24  0.18576
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  9.105e-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:  9.345e-01  1.858e-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.286e+00  2.518e-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.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431461/likelihoodResults_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.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) = 6111.9011589
delta logL = -0.00164597032472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6111.89951475
delta logL = -1.82586882147e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11319E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1437       1.0000          .0000       10.000    
     3 'Normalizat'    1.2860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93466       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=   6111.900     FROM MIGRAD    STATUS=FAILED        90 CALLS      238 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10160E-03    28.976        .13351E-02** at limit **
   2  Index         2.0831        6.1436        .50000        .66930E-04
   3  Normalizat    1.2861        .15483E-01    .26069E-03   -.81115E-05
   4  Prefactor     .93455        .11465E-01    .22109E-03   -.21700E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6111.900     FROM SIMPLEX   STATUS=UNCHANGED    123 CALLS      361 TOTAL
                     EDM=   .90E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10160E-03    28.976        .28338E-03** at limit **
   2  Index         2.0831        6.1436        .51724E-03    .66930E-04
   3  Normalizat    1.2861        .15483E-01    .20089E-05   -.81115E-05
   4  Prefactor     .93455        .11465E-01    .24635E-05   -.21700E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6111.900     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      408 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.678        .26702E-02** at limit **
   2  Index         1.6633        6.3828        .50000        .53915E-06
   3  Normalizat    1.2861        .15123E-01    .10428E-04    .34910E-03
   4  Prefactor     .93455        .11199E-01    .88435E-05    .42037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.66326
  Normalizat = 1.2861
  Prefactor  = 0.93455
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.900     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      437 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    163.85        .53403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6633        6.9180        .50000       -.73064    
   3  Normalizat    1.2861        .34187E-01    .20855E-05   -.83982    
   4  Prefactor     .93455        .25320E-01    .17687E-05   -.94944    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.10704e-10
Minuit parameter uncertainties:
  1  0.000683651
  2  477.288
  3  0.0341874
  4  0.0253198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431461': 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) = 6111.89950811
delta logL = 4.81271854369e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.837e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.663e+00  4.773e+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.346e-01  2.532e-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.286e+00  3.419e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/431461/cmap_HighResolution_372816001_373075201_4FGL_J1424.6+1447_daily_bin515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.07e-03', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2021-09-09 14:24:39.321635', job_id='431461', GAL2='0.93', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1631222679.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='515' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:24:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 431461: <4FGL_J1424.6+1447_daily_bin515> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin515 216.169 14.784 372816001 373075201 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 :                                   584.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             248.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

