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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin188
RA = 216.169, Dec = 14.784
tmin = 288057601, tmax = 288316801
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='429712', job_status='RUN', time_executed='2021-09-09 14:10:13.566623', time_epoch_executed='1631221813.57' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429712

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429712/ft1_4FGL_J1424.6+1447_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429712/ft2_4FGL_J1424.6+1447_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429712/ft1_4FGL_J1424.6+1447_daily_bin188.fits outfile=/scratch/kocevski/429712/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin188.fits ra=216.169 dec=14.784 rad=12.0 tmin=288057601.0 tmax=288316801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.56
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429712/ft2_4FGL_J1424.6+1447_daily_bin188.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/429712/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin188.fits evtable="EVENTS" outfile="/scratch/kocevski/429712/ft1_filtered_4FGL_J1424.6+1447_daily_bin188.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429712/ft1_filtered_4FGL_J1424.6+1447_daily_bin188.fits" evtable="EVENTS" scfile=/scratch/kocevski/429712/ft2_4FGL_J1424.6+1447_daily_bin188.fits sctable="SC_DATA" outfile=/scratch/kocevski/429712/ltcube_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.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/429712/ft2_4FGL_J1424.6+1447_daily_bin188.fits
.....................!
real 12.13
user 11.80
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429712/ft1_filtered_4FGL_J1424.6+1447_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/429712/ft2_4FGL_J1424.6+1447_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/429712/ltcube_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.fits outfile=/scratch/kocevski/429712/expmap_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.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/429712/ltcube_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.fits
.....................!
real 190.69
user 185.67
sys 4.65

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/429712/ft1_filtered_4FGL_J1424.6+1447_daily_bin188.fits scfile=/scratch/kocevski/429712/ft2_4FGL_J1424.6+1447_daily_bin188.fits outfile=/scratch/kocevski/429712/cmap_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429712/ft1_filtered_4FGL_J1424.6+1447_daily_bin188.fits scfile=/scratch/kocevski/429712/ft2_4FGL_J1424.6+1447_daily_bin188.fits outfile=/scratch/kocevski/429712/cmap_HighResolution_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.6610       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.518       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.588       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.977       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.0225       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 '    .10038E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10585E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .23206E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.036       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.264       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .50630       1.0000         .10000E-03   10000.    
    22 'norm      '    24.405       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2207       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91000       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=   7106.571     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2672 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.214       -.53700E-05** at limit **
   2  Prefactor     1.6605        3.2179       -.55375E-06   -.73860E-03
   3  Prefactor     17.517        11.836       -.87038E-08   -.26827E-05
   4  Prefactor     15.588        12.414       -.10824E-06   -.35321E-04
   5  Prefactor     11.977        17.373       -.38520E-06   -.28429E-04
   6  Prefactor     .10000E-03    24.382        .17225E-04** at limit **
   7  norm          .10000E-03    8.3059        .33940E-05** at limit **
   8  Prefactor     .10000E-03    2.5788        .99974E-08** at limit **
   9  norm          8.0228        3.4616       -.64582E-07    .85540E-04
  10  Prefactor     .10000E-03    6.3483        .38921E-05** at limit **
  11  norm          .10000E-03    .75096       -.63407E-07** at limit **
  12  Prefactor     .10000E-03    12.601        .18505E-06** at limit **
  13  norm          .10000E-03    21.280       -.10267E-04** at limit **
  14  norm          .10011E-03    5.5314       -.10136E-05** at limit **
  15  Prefactor     .10000E-03    7.3935       -.40521E-05** at limit **
  16  Prefactor     24.031        19.412       -.15490E-05    .28184E-04
  17  Prefactor     .10000E-03    4.3946        .25636E-06** at limit **
  18  Prefactor     .10000E-03    7.0047       -.27294E-05** at limit **
  19  Prefactor     25.261        27.392       -.28351E-05    .13725E-04
  20  Prefactor     .10000E-03    4.9987       -.34846E-06** at limit **
  21  norm          .50629        .17704        .42356E-08    .19486E-03
  22  norm          24.380        40.638       -.35648E-04    .28076E-05
  23  Normalizat    1.2205        .19538       -.10278E-05    .14668E-03
  24  Prefactor     .91019        .14017        .25008E-05   -.97218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.6605
  Prefactor  = 17.5169
  Prefactor  = 15.588
  Prefactor  = 11.9771
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.02277
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100107
  Prefactor  = 0.0001
  Prefactor  = 24.0309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2607
  Prefactor  = 0.0001
  norm       = 0.506295
  norm       = 24.3799
  Normalizat = 1.22053
  Prefactor  = 0.910191
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.571     FROM HESSE     STATUS=OK           403 CALLS     3075 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6605        3.1928        .20423E-03   -1.5450    
   3  Prefactor     17.517        11.835        .95693E-04   -1.4871    
   4  Prefactor     15.588        12.433        .10144E-03   -1.4918    
   5  Prefactor     11.977        17.376        .11575E-03   -1.5016    
   6  Prefactor     .10000E-03    24.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.3102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5911        .13219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0228        3.4613        .99349E-04   -1.5141    
  10  Prefactor     .10000E-03    6.5209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .75575        .71330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    21.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10011E-03    6.6120        .55743E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.4031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.031        19.410        .81704E-04   -1.4727    
  17  Prefactor     .10000E-03    4.3997        .17259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.0111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.261        27.393        .79697E-04   -1.4702    
  20  Prefactor     .10000E-03    5.0088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .50629        .17626        .20237E-04   -1.5566    
  22  norm          24.380        40.691        .81085E-04   -1.4720    
  23  Normalizat    1.2205        .23856        .27255E-03   -.85971    
  24  Prefactor     .91019        .17095        .22147E-03   -.95786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.40888e-10
Minuit parameter uncertainties:
  1  6.93401e-06
  2  3.19314
  3  11.8369
  4  12.4353
  5  17.3833
  6  0.000118145
  7  1.00156e-05
  8  6.34056e-06
  9  3.46142
  10  5.44654e-05
  11  1.37919e-06
  12  5.49401e-06
  13  4.95762e-05
  14  0.00168339
  15  2.02658e-06
  16  19.4154
  17  1.1411e-06
  18  5.55889e-06
  19  27.4065
  20  2.10062e-06
  21  0.17626
  22  40.7369
  23  0.23877
  24  0.171052
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.341e-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.102e-01  1.711e-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.221e+00  2.388e-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: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429712/likelihoodResults_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.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) = 7106.57241988
delta logL = -0.00183281320096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7106.57058803
delta logL = -9.6459643828e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10791E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1455       1.0000          .0000       10.000    
     3 'Normalizat'    1.2206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91018       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=   7106.571     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      240 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10162E-03    27.139        .13598E-02** at limit **
   2  Index         2.0854        8.2164        .50000        .68871E-04
   3  Normalizat    1.2205        .15064E-01    .27255E-03    .47427E-04
   4  Prefactor     .91019        .10805E-01    .22147E-03   -.30594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010162
  Index      = 2.08545
  Normalizat = 1.22053
  Prefactor  = 0.910193
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.571     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10162E-03    112.67        .27196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0854        5.3374        .50000       -.62231    
   3  Normalizat    1.2205        .31825E-01    .10902E-04   -.85971    
   4  Prefactor     .91019        .22826E-01    .88589E-05   -.95786    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.06439e-08
Minuit parameter uncertainties:
  1  0.0270726
  2  287.774
  3  0.0318255
  4  0.022826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429712': 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) = 7106.57058571
delta logL = 1.35755180963e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.016e-04  2.707e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.085e+00  2.878e+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.102e-01  2.283e-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.221e+00  3.183e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/429712/cmap_HighResolution_288057601_288316801_4FGL_J1424.6+1447_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.80e-03', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2021-09-09 14:20:55.212306', job_id='429712', GAL2='0.91', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631222455.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.36e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='188' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 429712: <4FGL_J1424.6+1447_daily_bin188> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin188 216.169 14.784 288057601 288316801 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            887 sec.

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

