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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin459
RA = 216.169, Dec = 14.784
tmin = 358300801, tmax = 358560001
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='430167', job_status='RUN', time_executed='2021-09-09 14:06:54.383432', time_epoch_executed='1631221614.38' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='459'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430167

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430167/ft1_4FGL_J1424.6+1447_daily_bin459.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430167/ft2_4FGL_J1424.6+1447_daily_bin459.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430167/ft1_4FGL_J1424.6+1447_daily_bin459.fits outfile=/scratch/kocevski/430167/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin459.fits ra=216.169 dec=14.784 rad=12.0 tmin=358300801.0 tmax=358560001.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 5.29
user 5.04
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430167/ft1_filtered_4FGL_J1424.6+1447_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/430167/ft2_4FGL_J1424.6+1447_daily_bin459.fits sctable="SC_DATA" expcube=/scratch/kocevski/430167/ltcube_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.fits outfile=/scratch/kocevski/430167/expmap_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.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/430167/ltcube_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.fits
.....................!
real 190.75
user 185.44
sys 4.92

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/430167/ft1_filtered_4FGL_J1424.6+1447_daily_bin459.fits scfile=/scratch/kocevski/430167/ft2_4FGL_J1424.6+1447_daily_bin459.fits outfile=/scratch/kocevski/430167/cmap_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430167/ft1_filtered_4FGL_J1424.6+1447_daily_bin459.fits scfile=/scratch/kocevski/430167/ft2_4FGL_J1424.6+1447_daily_bin459.fits outfile=/scratch/kocevski/430167/cmap_HighResolution_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.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/430167/ft1_filtered_4FGL_J1424.6+1447_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/430167/ft2_4FGL_J1424.6+1447_daily_bin459.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430167/Model_4FGL_J1424.6+1447_daily_bin459.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/430167/ft1_filtered_4FGL_J1424.6+1447_daily_bin459.fits.....................!
real 50.01
user 48.65
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9351       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.342       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    84.457       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.297       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.2177       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.878       1.0000         .10000E-03   10000.    
    13 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.186       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8704       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.3430       1.0000         .10000E-03   10000.    
    21 'norm      '    .36014       1.0000         .10000E-03   10000.    
    22 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3219       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83963       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=   6433.769     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2707 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    73.789       -.77316E-05** at limit **
   2  Prefactor     3.9327        4.2442        .18078E-05   -.29611E-02
   3  Prefactor     .10000E-03    4.1876        .34665E-07** at limit **
   4  Prefactor     18.341        16.983        .40128E-06    .65950E-05
   5  Prefactor     .10000E-03    7.8854        .22903E-05** at limit **
   6  Prefactor     .10000E-03    11.408        .13176E-05** at limit **
   7  norm          84.454        43.372       -.83332E-06   -.62464E-04
   8  Prefactor     .10000E-03    4.9297       -.56998E-07** at limit **
   9  norm          13.297        3.7942        .22236E-07    .72088E-05
  10  Prefactor     .10000E-03    7.1317       -.14449E-05** at limit **
  11  norm          4.2177        2.9644        .61928E-07   -.27569E-04
  12  Prefactor     12.892        30.722        .82290E-05    .15061E-03
  13  norm          .10000E-03    17.615       -.15432E-07** at limit **
  14  norm          .10000E-03    3.0198        .58166E-07** at limit **
  15  Prefactor     30.188        22.874        .49727E-06    .21465E-04
  16  Prefactor     4.8710        28.918        .10954E-05   -.23736E-03
  17  Prefactor     .10000E-03    5.4152        .21700E-06** at limit **
  18  Prefactor     .10000E-03    10.028       -.21659E-05** at limit **
  19  Prefactor     .10001E-03    47.050        .14788E-04** at limit **
  20  Prefactor     9.3431        8.4156        .77951E-07    .14830E-06
  21  norm          .36016        .19854        .38751E-08   -.39765E-03
  22  norm          .10000E-03    38.808       -.89913E-05** at limit **
  23  Normalizat    1.3219        .21706       -.38611E-06   -.14106E-04
  24  Prefactor     .83964        .15193       -.77884E-06    .40955E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 3.93266
  Prefactor  = 0.0001
  Prefactor  = 18.3415
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 84.4543
  Prefactor  = 0.0001
  norm       = 13.2967
  Prefactor  = 0.0001
  norm       = 4.21774
  Prefactor  = 12.892
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 30.1879
  Prefactor  = 4.871
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 9.34312
  norm       = 0.360158
  norm       = 0.000100004
  Normalizat = 1.3219
  Prefactor  = 0.839635
 **********
 **   18 **HESSE 
 **********

 FCN=   6433.769     FROM HESSE     STATUS=OK           395 CALLS     3102 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    74.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9327        6.3666        .10168E-02   -1.5311    
   3  Prefactor     .10000E-03    4.1928        .16030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.341        17.235        .93518E-04   -1.4851    
   5  Prefactor     .10000E-03    7.9153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          84.454        43.500        .43711E-04   -1.3867    
   8  Prefactor     .10000E-03    4.9866        .17387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.297        3.7977        .80921E-04   -1.4979    
  10  Prefactor     .10000E-03    7.2920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2177        2.9642        .11117E-03   -1.5297    
  12  Prefactor     12.892        30.911        .11162E-03   -1.4990    
  13  norm          .10000E-03    17.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.0749        .13610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     30.188        22.890        .72925E-04   -1.4609    
  16  Prefactor     4.8710        30.475        .91135E-03   -1.5267    
  17  Prefactor     .10000E-03    5.4216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    48.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.3431        8.4203        .13111E-03   -1.5097    
  21  norm          .36016        .19674        .25070E-04   -1.5588    
  22  norm          .10000E-03    39.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3219        .26445        .27156E-03   -.82915    
  24  Prefactor     .83964        .18405        .23572E-03   -.98283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04795e-08
Minuit parameter uncertainties:
  1  0.000899833
  2  6.36768
  3  1.8096e-06
  4  17.2393
  5  9.22479e-05
  6  6.56621e-05
  7  43.5169
  8  3.30592e-06
  9  3.7978
  10  3.82653e-05
  11  2.96427
  12  30.9497
  13  0.000223595
  14  3.3296e-06
  15  22.8971
  16  24.3855
  17  6.64223e-06
  18  9.97072e-05
  19  0.00141688
  20  8.42138
  21  0.196737
  22  0.000771306
  23  0.264719
  24  0.184189
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.306e-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:  8.396e-01  1.842e-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.322e+00  2.647e-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: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430167/likelihoodResults_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.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) = 6433.76951529
delta logL = -0.0009552810061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6433.76856
delta logL = 7.8462107922e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1614       1.0000          .0000       10.000    
     3 'Normalizat'    1.3219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83965       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=   6433.769     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    35.754        .17467E-02** at limit **
   2  Index         2.1391        6.0513        .50000        .14826E-04
   3  Normalizat    1.3219        .13999E-01    .27156E-03   -.20764E-04
   4  Prefactor     .83964        .99906E-02    .23572E-03   -.19002E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100213
  Index      = 2.13913
  Normalizat = 1.3219
  Prefactor  = 0.839635
 **********
 **   18 **HESSE 
 **********

 FCN=   6433.769     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10021E-03    173.10        .34934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1391        8.8374        .50000       -.60915    
   3  Normalizat    1.3219        .31829E-01    .10863E-04   -.82915    
   4  Prefactor     .83964        .22713E-01    .94290E-05   -.98283    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.13216e-09
Minuit parameter uncertainties:
  1  0.0121898
  2  350.652
  3  0.0318294
  4  0.0227134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430167': 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) = 6433.7685599
delta logL = 1.08243511932e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.002e-04  1.219e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.139e+00  3.507e+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:  8.396e-01  2.271e-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.322e+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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/430167/cmap_HighResolution_358300801_358560001_4FGL_J1424.6+1447_daily_bin459.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-09-09 14:17:15.445660', job_id='430167', GAL2='0.84', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1631222235.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='459' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:17:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 430167: <4FGL_J1424.6+1447_daily_bin459> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin459 216.169 14.784 358300801 358560001 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 :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            635 sec.

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

