/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 26 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 = 5262
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin73
RA = 216.169, Dec = 14.784
tmin = 258249601, tmax = 258508801
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='428380', job_status='RUN', time_executed='2021-09-09 14:02:11.286842', time_epoch_executed='1631221331.29' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428380

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428380/ft1_4FGL_J1424.6+1447_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428380/ft2_4FGL_J1424.6+1447_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428380/ft1_4FGL_J1424.6+1447_daily_bin73.fits outfile=/scratch/kocevski/428380/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin73.fits ra=216.169 dec=14.784 rad=12.0 tmin=258249601.0 tmax=258508801.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 1.20
user 0.97
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428380/ft2_4FGL_J1424.6+1447_daily_bin73.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/428380/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/428380/ft1_filtered_4FGL_J1424.6+1447_daily_bin73.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.50
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428380/ft1_filtered_4FGL_J1424.6+1447_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/428380/ft2_4FGL_J1424.6+1447_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/428380/ltcube_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.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/428380/ft2_4FGL_J1424.6+1447_daily_bin73.fits
.....................!
real 9.70
user 9.02
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428380/ft1_filtered_4FGL_J1424.6+1447_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/428380/ft2_4FGL_J1424.6+1447_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/428380/ltcube_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.fits outfile=/scratch/kocevski/428380/expmap_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.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/428380/ltcube_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.fits
.....................!
real 192.34
user 186.06
sys 5.84

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/428380/ft1_filtered_4FGL_J1424.6+1447_daily_bin73.fits scfile=/scratch/kocevski/428380/ft2_4FGL_J1424.6+1447_daily_bin73.fits outfile=/scratch/kocevski/428380/cmap_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.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.52
user 0.36
sys 0.15

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    101.78       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .39683E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.8006       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5203       1.0000         .10000E-03   10000.    
    11 'norm      '    .10993E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19909E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    38.151       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11832E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.7820       1.0000         .10000E-03   10000.    
    22 'norm      '    .10420E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .69586       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1980       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=   4752.804     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2731 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     101.55        76.473       -.66341E-05    .17320E-05
   2  Prefactor     .10000E-03    1.7427        .26166E-07** at limit **
   3  Prefactor     .10000E-03    11.887       -.40555E-05** at limit **
   4  Prefactor     .10000E-03    17.070        .11439E-04** at limit **
   5  Prefactor     .10000E-03    15.584       -.12018E-04** at limit **
   6  Prefactor     .10000E-03    8.3439        .37108E-06** at limit **
   7  norm          .10007E-03    23.894        .49912E-06** at limit **
   8  Prefactor     .10000E-03    2.5762        .29261E-07** at limit **
   9  norm          3.8006        3.5012       -.14027E-07   -.43456E-04
  10  Prefactor     4.5184        4.9613        .28027E-06    .53887E-03
  11  norm          .10188E-03    1.9157       -.17138E-05** at limit **
  12  Prefactor     .10000E-03    51.741       -.22986E-04** at limit **
  13  norm          38.110        27.106        .35156E-05    .21767E-03
  14  norm          .10000E-03    2.1580        .26839E-07** at limit **
  15  Prefactor     .10000E-03    51.272        .20125E-04** at limit **
  16  Prefactor     .10000E-03    6.7992       -.44280E-07** at limit **
  17  Prefactor     .10000E-03    8.5279       -.49576E-06** at limit **
  18  Prefactor     .10000E-03    13.002        .76169E-05** at limit **
  19  Prefactor     .10000E-03    19.431       -.13579E-05** at limit **
  20  Prefactor     .10000E-03    9.6483        .60679E-06** at limit **
  21  norm          4.7820        .52806       -.11223E-07    .12169E-03
  22  norm          .10000E-03    27.683        .59204E-05** at limit **
  23  Normalizat    .69617        .24265       -.16811E-06    .62074E-04
  24  Prefactor     1.1978        .18629        .96210E-07    .17558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 101.551
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100068
  Prefactor  = 0.0001
  norm       = 3.8006
  Prefactor  = 4.51835
  norm       = 0.00010188
  Prefactor  = 0.000100001
  norm       = 38.1102
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.78196
  norm       = 0.0001
  Normalizat = 0.696166
  Prefactor  = 1.19776
 **********
 **   18 **HESSE 
 **********

 FCN=   4752.804     FROM HESSE     STATUS=OK           391 CALLS     3122 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     101.55        76.400        .19926E-03   -1.3689    
   2  Prefactor     .10000E-03    1.7444        .88878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.3472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10007E-03    195.12        .65496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5797        .10806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8006        3.4942        .11961E-03   -1.5318    
  10  Prefactor     4.5184        4.9628        .77759E-03   -1.5283    
  11  norm          .10188E-03    31.005        .18027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          38.110        27.266        .64889E-04   -1.4473    
  14  norm          .10000E-03    2.1617        .98903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    51.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.8010        .17558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.5411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.7015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.7820        .52835        .16083E-04   -1.5271    
  22  norm          .10000E-03    27.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .69617        .28043        .34938E-03   -1.0404    
  24  Prefactor     1.1978        .21667        .20905E-03   -.86400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73396e-08
Minuit parameter uncertainties:
  1  76.4741
  2  2.1189e-06
  3  2.09095e-05
  4  8.90579e-05
  5  6.83333e-06
  6  1.45932e-06
  7  0.00729082
  8  4.38168e-07
  9  3.49443
  10  4.96323
  11  0.0152792
  12  0.000451727
  13  27.275
  14  7.56512e-07
  15  8.9147e-05
  16  3.83079e-06
  17  2.74638e-06
  18  9.26197e-06
  19  2.02955e-06
  20  8.9959e-08
  21  0.528348
  22  5.10126e-07
  23  0.281005
  24  0.216834
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.382e-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.198e+00  2.168e-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:  6.962e-01  2.810e-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.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428380/likelihoodResults_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.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) = 4752.80544893
delta logL = -0.00177945469932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4752.8036692
delta logL = 2.72231773124e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1485       1.0000          .0000       10.000    
     3 'Normalizat'    .69627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1977       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=   4752.804     FROM MIGRAD    STATUS=FAILED        88 CALLS      239 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10854E-03    4.9257        .11061E-01** at limit **
   2  Index         1.7646        5.3563        .50000        .28521E-04
   3  Normalizat    .69617        .69172E-02    .34938E-03    .15554E-04
   4  Prefactor     1.1978        .53321E-02    .20905E-03    .49315E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4752.804     FROM SIMPLEX   STATUS=UNCHANGED     96 CALLS      335 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10854E-03    4.9257        .27701E-03** at limit **
   2  Index         1.7646        5.3563        .30192E-01    .28521E-04
   3  Normalizat    .69617        .69172E-02    .69458E-04    .15554E-04
   4  Prefactor     1.1978        .53321E-02    .38145E-04    .49315E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4752.804     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      411 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.193        .25283E-02** at limit **
   2  Index         1.5151        6.0094        .50000        .99226E-07
   3  Normalizat    .69617        .29061E-01    .27950E-05   -.47183E-04
   4  Prefactor     1.1978        .22404E-01    .83618E-05   -.64445E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.51515
  Normalizat = 0.696166
  Prefactor  = 1.19775
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    381.14        .50565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5151        5.7146        .50000       -.77116    
   3  Normalizat    .69617        .68321E-01    .55900E-06   -1.0404    
   4  Prefactor     1.1978        .52595E-01    .16724E-05   -.86400    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.75741e-10
Minuit parameter uncertainties:
  1  0.000489315
  2  1286.32
  3  0.0683293
  4  0.0525975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428380': 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) = 4752.80366339
delta logL = 6.07679703535e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.893e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.515e+00  1.286e+03  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.198e+00  5.260e-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:  6.962e-01  6.833e-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/428380/cmap_HighResolution_258249601_258508801_4FGL_J1424.6+1447_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.92e-08', time_completed='2021-09-09 14:11:09.028927', job_id='428380', GAL2='1.20', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1631221869.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='6.08e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='73' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:11:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 428380: <4FGL_J1424.6+1447_daily_bin73> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin73 216.169 14.784 258249601 258508801 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 :                                   535.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            573 sec.

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

