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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin275
RA = 216.169, Dec = 14.784
tmin = 310608001, tmax = 310867201
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='429848', job_status='RUN', time_executed='2021-09-09 14:06:29.379936', time_epoch_executed='1631221589.38' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429848/ft1_4FGL_J1424.6+1447_daily_bin275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429848/ft2_4FGL_J1424.6+1447_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429848/ft1_4FGL_J1424.6+1447_daily_bin275.fits outfile=/scratch/kocevski/429848/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin275.fits ra=216.169 dec=14.784 rad=12.0 tmin=310608001.0 tmax=310867201.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.48
user 3.25
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429848/ft1_filtered_4FGL_J1424.6+1447_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/429848/ft2_4FGL_J1424.6+1447_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/429848/ltcube_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.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/429848/ft2_4FGL_J1424.6+1447_daily_bin275.fits
.....................!
real 11.93
user 11.53
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429848/ft1_filtered_4FGL_J1424.6+1447_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/429848/ft2_4FGL_J1424.6+1447_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/429848/ltcube_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.fits outfile=/scratch/kocevski/429848/expmap_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.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/429848/ltcube_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.fits
.....................!
real 192.19
user 186.34
sys 5.45

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/429848/ft1_filtered_4FGL_J1424.6+1447_daily_bin275.fits scfile=/scratch/kocevski/429848/ft2_4FGL_J1424.6+1447_daily_bin275.fits outfile=/scratch/kocevski/429848/cmap_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429848/ft1_filtered_4FGL_J1424.6+1447_daily_bin275.fits scfile=/scratch/kocevski/429848/ft2_4FGL_J1424.6+1447_daily_bin275.fits outfile=/scratch/kocevski/429848/cmap_HighResolution_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.306       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.407       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .84350E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4628       1.0000         .10000E-03   10000.    
     7 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.2690       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21789       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.6439       1.0000         .10000E-03   10000.    
    14 'norm      '    .34726       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.015       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.544       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.597       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .31923       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0526       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0795       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=   6774.622     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2733 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.229        50.580       -.11234E-03    .17472E-04
   2  Prefactor     .10000E-03    2.6832        .40622E-06** at limit **
   3  Prefactor     11.410        16.849        .25331E-05    .10793E-03
   4  Prefactor     .10001E-03    7.0837       -.14921E-05** at limit **
   5  Prefactor     .10000E-03    15.291        .81682E-05** at limit **
   6  Prefactor     9.4546        23.898       -.10630E-04   -.11344E-05
   7  norm          .10000E-03    9.0595       -.15168E-05** at limit **
   8  Prefactor     .10000E-03    7.2859        .11253E-05** at limit **
   9  norm          5.2687        2.9498       -.28995E-06    .11488E-03
  10  Prefactor     .23189        4.7258       -.20751E-05   -.13491E-03
  11  norm          .10000E-03    1.0262       -.51569E-07** at limit **
  12  Prefactor     .10000E-03    30.197        .72407E-05** at limit **
  13  norm          7.6483        14.720       -.63153E-06   -.84878E-04
  14  norm          .35796        2.5540       -.12507E-05    .83113E-04
  15  Prefactor     17.011        29.096       -.56879E-05    .73527E-04
  16  Prefactor     18.543        21.661       -.19230E-05    .20570E-04
  17  Prefactor     13.598        18.599       -.16205E-06    .55047E-04
  18  Prefactor     .10000E-03    33.758        .47992E-05** at limit **
  19  Prefactor     .10000E-03    24.223       -.52254E-05** at limit **
  20  Prefactor     .10000E-03    6.9299       -.67542E-06** at limit **
  21  norm          .31919        .18178       -.87857E-07   -.66113E-03
  22  norm          .10000E-03    18.064       -.97546E-05** at limit **
  23  Normalizat    1.0529        .20924        .50690E-05    .39063E-03
  24  Prefactor     1.0792        .14606        .21484E-05    .59301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.2285
  Prefactor  = 0.0001
  Prefactor  = 11.4097
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 9.45463
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.26874
  Prefactor  = 0.231888
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.64827
  norm       = 0.357957
  Prefactor  = 17.0111
  Prefactor  = 18.5432
  Prefactor  = 13.5981
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.319191
  norm       = 0.0001
  Normalizat = 1.05287
  Prefactor  = 1.07925
 **********
 **   18 **HESSE 
 **********

 FCN=   6774.622     FROM HESSE     STATUS=OK           401 CALLS     3134 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.229        50.617        .71612E-04   -1.4590    
   2  Prefactor     .10000E-03    2.7188        .13163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.410        16.849        .11862E-03   -1.5032    
   4  Prefactor     .10001E-03    35.184        .41187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4546        23.894        .13028E-03   -1.5093    
   7  norm          .10000E-03    9.0674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.4491        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.2687        2.9467        .10212E-03   -1.5249    
  10  Prefactor     .23189        24.504        .33712E-02   -1.5612    
  11  norm          .10000E-03    1.0355        .81384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.6483        14.695        .14505E-03   -1.5155    
  14  norm          .35796        12.496        .25366E-02   -1.5588    
  15  Prefactor     17.011        29.015        .97098E-04   -1.4883    
  16  Prefactor     18.543        21.628        .93007E-04   -1.4846    
  17  Prefactor     13.598        18.561        .10862E-03   -1.4970    
  18  Prefactor     .10000E-03    33.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.9762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .31919        .17849        .25221E-04   -1.5595    
  22  norm          .10000E-03    18.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0529        .24366        .29187E-03   -.91280    
  24  Prefactor     1.0792        .17463        .20810E-03   -.90133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8698e-08
Minuit parameter uncertainties:
  1  50.687
  2  6.03003e-05
  3  16.8563
  4  0.00122363
  5  5.19546e-05
  6  23.9185
  7  1.23933e-05
  8  4.97517e-05
  9  2.94682
  10  4.76845
  11  4.70529e-06
  12  8.27566e-05
  13  14.7015
  14  4.23033
  15  29.0388
  16  21.6373
  17  18.5691
  18  3.2279e-05
  19  4.35728e-05
  20  3.19911e-05
  21  0.178489
  22  8.79822e-06
  23  0.243917
  24  0.17472
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.975e-05  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.079e+00  1.747e-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.053e+00  2.439e-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.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429848/likelihoodResults_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.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): 0
logL (Free Index) = 6774.62291514
delta logL = -0.00064049415414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6774.62227414
delta logL = 5.05137904838e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2151       1.0000          .0000       10.000    
     3 'Normalizat'    1.0529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0792       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.

 FCN=   6774.622     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.780        .90712E-02** at limit **
   2  Index         2.2647        5.8622        .50000       -.57688E-04
   3  Normalizat    1.0529        .11752E-01    .65977E-01   -.27847E-03
   4  Prefactor     1.0792        .85139E-02    .38435E-01   -.70423E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26466
  Normalizat = 1.05287
  Prefactor  = 1.07924
 **********
 **   18 **HESSE 
 **********

 FCN=   6774.622     FROM HESSE     STATUS=OK            29 CALLS      247 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.146        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2647        6.0960        .50000       -.57886    
   3  Normalizat    1.0529        .23672        .29186E-03   -.91280    
   4  Prefactor     1.0792        .17178        .20810E-03   -.90133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61591e-09
Minuit parameter uncertainties:
  1  0.000150727
  2  4.86599
  3  0.236958
  4  0.171867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429848': 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): 0
logL (Free Index) = 6774.62227348
delta logL = 1.16845967568e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.507e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.265e+00  4.866e+00  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.079e+00  1.719e-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.053e+00  2.370e-01  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/429848/cmap_HighResolution_310608001_310867201_4FGL_J1424.6+1447_daily_bin275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-09-09 14:16:49.752398', job_id='429848', GAL2='1.08', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631222209.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.17e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='275' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:16:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 429848: <4FGL_J1424.6+1447_daily_bin275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin275 216.169 14.784 310608001 310867201 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 :                                   618.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            631 sec.

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

