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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin144
RA = 216.169, Dec = 14.784
tmin = 276652801, tmax = 276912001
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='428493', job_status='RUN', time_executed='2021-09-09 14:05:37.274080', time_epoch_executed='1631221537.27' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428493

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428493/ft1_4FGL_J1424.6+1447_daily_bin144.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428493/ft2_4FGL_J1424.6+1447_daily_bin144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428493/ft1_4FGL_J1424.6+1447_daily_bin144.fits outfile=/scratch/kocevski/428493/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin144.fits ra=216.169 dec=14.784 rad=12.0 tmin=276652801.0 tmax=276912001.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.72
user 4.43
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428493/ft1_filtered_4FGL_J1424.6+1447_daily_bin144.fits evtable="EVENTS" scfile=/scratch/kocevski/428493/ft2_4FGL_J1424.6+1447_daily_bin144.fits sctable="SC_DATA" expcube=/scratch/kocevski/428493/ltcube_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.fits outfile=/scratch/kocevski/428493/expmap_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.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/428493/ltcube_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.fits
.....................!
real 191.66
user 186.58
sys 4.69

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/428493/ft1_filtered_4FGL_J1424.6+1447_daily_bin144.fits scfile=/scratch/kocevski/428493/ft2_4FGL_J1424.6+1447_daily_bin144.fits outfile=/scratch/kocevski/428493/cmap_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428493/ft1_filtered_4FGL_J1424.6+1447_daily_bin144.fits scfile=/scratch/kocevski/428493/ft2_4FGL_J1424.6+1447_daily_bin144.fits outfile=/scratch/kocevski/428493/cmap_HighResolution_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.903       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.051       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.996       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.0498       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.865       1.0000         .10000E-03   10000.    
    13 'norm      '    31.174       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.686       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.529       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6174       1.0000         .10000E-03   10000.    
    21 'norm      '    .73052       1.0000         .10000E-03   10000.    
    22 'norm      '    6.2500       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77391       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2876       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=   5586.443     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2726 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.629        .17967E-07** at limit **
   2  Prefactor     .10000E-03    1.5295        .86136E-08** at limit **
   3  Prefactor     19.903        14.274        .52589E-07   -.17554E-05
   4  Prefactor     14.051        11.631        .10947E-06   -.24362E-05
   5  Prefactor     .10000E-03    16.783        .63780E-07** at limit **
   6  Prefactor     15.995        23.308        .88085E-06   -.80084E-05
   7  norm          .10000E-03    8.0913        .28040E-07** at limit **
   8  Prefactor     .10000E-03    2.5319        .26642E-07** at limit **
   9  norm          7.0498        2.9861       -.61835E-08    .73651E-05
  10  Prefactor     .10000E-03    2.2291        .34197E-07** at limit **
  11  norm          .10000E-03    .86183        .19882E-07** at limit **
  12  Prefactor     17.001        111.49       -.13960E-04    .63219E-06
  13  norm          31.069        56.999        .61581E-05   -.15003E-05
  14  norm          .10000E-03    1.5048        .12542E-07** at limit **
  15  Prefactor     .10000E-03    9.0823        .22624E-07** at limit **
  16  Prefactor     .10000E-03    18.610       -.64791E-06** at limit **
  17  Prefactor     24.688        20.053        .10340E-06    .31376E-05
  18  Prefactor     .10000E-03    100.96       -.15073E-06** at limit **
  19  Prefactor     10.517        32.999        .55154E-07    .44806E-06
  20  Prefactor     4.6173        8.3301        .17068E-06   -.17086E-05
  21  norm          .73051        .24994       -.56158E-08    .11386E-03
  22  norm          6.2475        39.383       -.35145E-07    .42000E-06
  23  Normalizat    .77384        .24515       -.22559E-05    .49360E-04
  24  Prefactor     1.2877        .18447        .13333E-05   -.87338E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.903
  Prefactor  = 14.0508
  Prefactor  = 0.0001
  Prefactor  = 15.9952
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.04981
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.0008
  norm       = 31.0695
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6878
  Prefactor  = 0.0001
  Prefactor  = 10.5169
  Prefactor  = 4.61728
  norm       = 0.730507
  norm       = 6.24754
  Normalizat = 0.773842
  Prefactor  = 1.28766
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.443     FROM HESSE     STATUS=OK           397 CALLS     3123 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.5320        .90269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.903        14.282        .89779E-04   -1.4815    
   4  Prefactor     14.051        11.646        .10685E-03   -1.4958    
   5  Prefactor     .10000E-03    16.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.995        23.286        .50071E-03   -1.4908    
   7  norm          .10000E-03    8.0923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5367        .11614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.0498        2.9870        .81720E-04   -1.5177    
  10  Prefactor     .10000E-03    2.2358        .10896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .86837        .67750E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.001        115.02        .97528E-04   -1.4883    
  13  norm          31.069        57.927        .71762E-04   -1.4593    
  14  norm          .10000E-03    1.5133        .89537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.0968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.688        20.032        .80624E-04   -1.4714    
  18  Prefactor     .10000E-03    104.19        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.517        32.983        .12348E-03   -1.5059    
  20  Prefactor     4.6173        8.3238        .18731E-03   -1.5278    
  21  norm          .73051        .24892        .20959E-04   -1.5537    
  22  norm          6.2475        39.440        .16057E-03   -1.5208    
  23  Normalizat    .77384        .27610        .33002E-03   -1.0105    
  24  Prefactor     1.2877        .20887        .20040E-03   -.83675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05896e-10
Minuit parameter uncertainties:
  1  6.49407e-07
  2  3.03074e-07
  3  14.2844
  4  11.6474
  5  4.93377e-06
  6  23.2997
  7  9.82428e-07
  8  6.08549e-07
  9  2.98702
  10  8.84112e-07
  11  1.73831e-08
  12  88.6873
  13  58.0317
  14  6.30477e-09
  15  1.14169e-06
  16  8.79753e-07
  17  20.0373
  18  3.80028e-05
  19  33.0405
  20  8.32587
  21  0.248925
  22  31.4246
  23  0.276603
  24  0.209002
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.085e-07  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:  1.288e+00  2.090e-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:  7.738e-01  2.766e-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.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428493/likelihoodResults_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.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) = 5586.44476629
delta logL = -0.00184920591073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5586.44291687
delta logL = 2.17271917791e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1553       1.0000          .0000       10.000    
     3 'Normalizat'    .77385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2877       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=   5586.443     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      240 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10429E-03    1.6991        .11748E-01** at limit **
   2  Index         1.9795        5.5471        .50000        .37451E-04
   3  Normalizat    .77384        .41371E-02    .33002E-03    .43095E-04
   4  Prefactor     1.2877        .31762E-02    .20040E-03    .41175E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104291
  Index      = 1.97954
  Normalizat = 0.773841
  Prefactor  = 1.28766
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.443     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10429E-03    96.549        .12315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9795        8.6221        .50000       -.64863    
   3  Normalizat    .77384        .32392E-01    .13201E-04   -1.0105    
   4  Prefactor     1.2877        .24860E-01    .40080E-04   -.83675    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11815e-07
Minuit parameter uncertainties:
  1  0.0407727
  2  765.017
  3  0.0323933
  4  0.0248603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428493': 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) = 5586.44291566
delta logL = 1.41982309287e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.043e-04  4.077e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.980e+00  7.650e+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:  1.288e+00  2.486e-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:  7.738e-01  3.239e-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/428493/cmap_HighResolution_276652801_276912001_4FGL_J1424.6+1447_daily_bin144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.28e-03', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-09-09 14:15:35.897853', job_id='428493', GAL2='1.29', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1631222135.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='1.42e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='144' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:15:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 428493: <4FGL_J1424.6+1447_daily_bin144> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin144> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:42 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:43 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:01:43 2021
Terminated at Thu Sep  9 14:15:36 2021
Results reported at Thu Sep  9 14:15:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin144 216.169 14.784 276652801 276912001 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 :                                   596.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             221.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            834 sec.

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

