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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin456
RA = 216.169, Dec = 14.784
tmin = 357523201, tmax = 357782401
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='430163', job_status='RUN', time_executed='2021-09-09 14:09:23.556362', time_epoch_executed='1631221763.56' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430163

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430163/ft1_4FGL_J1424.6+1447_daily_bin456.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430163/ft2_4FGL_J1424.6+1447_daily_bin456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430163/ft1_4FGL_J1424.6+1447_daily_bin456.fits outfile=/scratch/kocevski/430163/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin456.fits ra=216.169 dec=14.784 rad=12.0 tmin=357523201.0 tmax=357782401.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.54
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430163/ft2_4FGL_J1424.6+1447_daily_bin456.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/430163/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin456.fits evtable="EVENTS" outfile="/scratch/kocevski/430163/ft1_filtered_4FGL_J1424.6+1447_daily_bin456.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/430163/ft1_filtered_4FGL_J1424.6+1447_daily_bin456.fits" evtable="EVENTS" scfile=/scratch/kocevski/430163/ft2_4FGL_J1424.6+1447_daily_bin456.fits sctable="SC_DATA" outfile=/scratch/kocevski/430163/ltcube_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.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/430163/ft2_4FGL_J1424.6+1447_daily_bin456.fits
.....................!
real 11.96
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430163/ft1_filtered_4FGL_J1424.6+1447_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/430163/ft2_4FGL_J1424.6+1447_daily_bin456.fits sctable="SC_DATA" expcube=/scratch/kocevski/430163/ltcube_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.fits outfile=/scratch/kocevski/430163/expmap_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.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/430163/ltcube_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.fits
.....................!
real 191.81
user 187.41
sys 4.01

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/430163/ft1_filtered_4FGL_J1424.6+1447_daily_bin456.fits scfile=/scratch/kocevski/430163/ft2_4FGL_J1424.6+1447_daily_bin456.fits outfile=/scratch/kocevski/430163/cmap_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.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 1.30
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430163/ft1_filtered_4FGL_J1424.6+1447_daily_bin456.fits scfile=/scratch/kocevski/430163/ft2_4FGL_J1424.6+1447_daily_bin456.fits outfile=/scratch/kocevski/430163/cmap_HighResolution_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.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.57
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5784       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.6732       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.516       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.951       1.0000         .10000E-03   10000.    
     7 'norm      '    .10215E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3467       1.0000         .10000E-03   10000.    
     9 'norm      '    11.341       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    28.390       1.0000         .10000E-03   10000.    
    14 'norm      '    8.0998       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.515       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.367       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .55920E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .41044E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3273       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7004.808     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     2296 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5807        1.1187        .47655E-07   -.13695E-02
   2  Prefactor     4.6891        1.0208        .10770E-07   -.54301E-03
   3  Prefactor     .10003E-03    4.9526        .19308E-05** at limit **
   4  Prefactor     9.6683        1.0658       -.80713E-08    .89109E-03
   5  Prefactor     27.517        1.0503        .12772E-07   -.21368E-02
   6  Prefactor     25.956        1.3340        .33575E-07   -.55324E-02
   7  norm          .10005E-03    9.6655       -.39578E-05** at limit **
   8  Prefactor     2.3466        1.0293       -.20760E-07    .80843E-04
   9  norm          11.340        1.0843        .74089E-08   -.29877E-02
  10  Prefactor     .10000E-03    1.6321        .25882E-07** at limit **
  11  norm          3.6024        2.7720       -.24671E-06    .14404E-03
  12  Prefactor     .10156E-03    16.037       -.52400E-06** at limit **
  13  norm          28.392        1.0917        .14571E-07   -.27732E-02
  14  norm          8.1011        1.0056       -.18738E-08   -.25925E-03
  15  Prefactor     23.514        1.0113       -.48956E-08    .81683E-03
  16  Prefactor     .10005E-03    6.8313        .31998E-07** at limit **
  17  Prefactor     .10001E-03    4.4306       -.10130E-05** at limit **
  18  Prefactor     17.366        1.0062       -.38722E-08    .46068E-03
  19  Prefactor     .10176E-03    13.090       -.22858E-06** at limit **
  20  Prefactor     .10000E-03    2.9652        .16914E-05** at limit **
  21  norm          .86973E-03    2.5512       -.18532E-05** at limit **
  22  norm          .28838E-03    .91486       -.31242E-06** at limit **
  23  Normalizat    1.3274        .24104        .13978E-05   -.82197E-04
  24  Prefactor     .79004        .17139       -.15285E-05   -.18093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.5807
  Prefactor  = 4.68906
  Prefactor  = 0.000100031
  Prefactor  = 9.66829
  Prefactor  = 27.5174
  Prefactor  = 25.9557
  norm       = 0.000100045
  Prefactor  = 2.34662
  norm       = 11.3397
  Prefactor  = 0.0001
  norm       = 3.60245
  Prefactor  = 0.000101558
  norm       = 28.3921
  norm       = 8.1011
  Prefactor  = 23.5136
  Prefactor  = 0.00010005
  Prefactor  = 0.000100007
  Prefactor  = 17.3661
  Prefactor  = 0.000101762
  Prefactor  = 0.0001
  norm       = 0.000869732
  norm       = 0.000288377
  Normalizat = 1.32739
  Prefactor  = 0.790039
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.808     FROM HESSE     STATUS=OK           457 CALLS     2753 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5807        140.55        .47031E-02   -1.5280    
   2  Prefactor     4.6891        3.9942        .46461E-02   -1.5275    
   3  Prefactor     .10003E-03    5.0995        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.6683        14.218        .32211E-02   -1.5086    
   5  Prefactor     27.517        33.741        .19093E-02   -1.4658    
   6  Prefactor     25.956        26.556        .19659E-02   -1.4689    
   7  norm          .10005E-03    9.9347        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3466        5.7432        .66901E-02   -1.5402    
   9  norm          11.340        3.6383        .29741E-02   -1.5034    
  10  Prefactor     .10000E-03    1.6249        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6024        2.7993        .53226E-02   -1.5328    
  12  Prefactor     .10156E-03    29.200        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          28.392        20.885        .18797E-02   -1.4642    
  14  norm          8.1011        4.6568        .35219E-02   -1.5139    
  15  Prefactor     23.514        21.421        .20651E-02   -1.4738    
  16  Prefactor     .10005E-03    7.0465        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    4.4885        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.366        19.790        .24027E-02   -1.4874    
  19  Prefactor     .10176E-03    25.388        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0093        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .86973E-03    .64825E-01    .10550E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28838E-03    31.701        .17597       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3274        .20879        .59941E-01   -.82753    
  24  Prefactor     .79004        .14219        .43589E-01   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16359e-07
Minuit parameter uncertainties:
  1  50.8784
  2  3.99445
  3  0.000790163
  4  14.2234
  5  33.7645
  6  26.5682
  7  0.00133774
  8  5.7445
  9  3.63833
  10  8.29691e-07
  11  2.79937
  12  0.0134982
  13  20.8907
  14  4.657
  15  21.4282
  16  0.00118262
  17  0.00035877
  18  19.798
  19  0.0133815
  20  6.66561e-05
  21  0.0141277
  22  0.154636
  23  0.208927
  24  0.142257
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.347e+00  5.745e+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

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  7.900e-01  1.423e-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.327e+00  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 7.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430163/likelihoodResults_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.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) = 7004.7636513
delta logL = 0.0439187796546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7004.75525958
delta logL = 0.0523105060438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7062       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5984       1.0000          .0000       10.000    
     3 'Normalizat'    1.3191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79283       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=   7004.755     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      216 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7062        73.854        .80480E-02    .63102E-03
   2  Index         2.5985        2.7443        .23204        .53105E-04
   3  Normalizat    1.3191        .36208E-01    .60097E-01    .65837E-05
   4  Prefactor     .79283        .25041E-01    .43624E-01    .16115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70618
  Index      = 2.59847
  Normalizat = 1.31906
  Prefactor  = 0.792826
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.755     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7062        5.5136        .20553E-03   -1.5447    
   2  Index         2.5985        1.5359        .80709E-02   -.50100    
   3  Normalizat    1.3191        .24320        .26579E-03   -.82999    
   4  Prefactor     .79283        .17044        .23410E-03   -.99993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13334e-10
Minuit parameter uncertainties:
  1  5.51525
  2  1.56917
  3  0.243407
  4  0.17055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430163': 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) = 7004.75525957
delta logL = 0.0523105097409

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.706e+00  5.515e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.598e+00  1.569e+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:  7.928e-01  1.706e-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.319e+00  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/430163/cmap_HighResolution_357523201_357782401_4FGL_J1424.6+1447_daily_bin456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.96e-08', time_completed='2021-09-09 14:19:46.892754', job_id='430163', GAL2='0.79', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1631222386.89', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='5.23e-02', ts2='0.33', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='456' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 430163: <4FGL_J1424.6+1447_daily_bin456> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin456 216.169 14.784 357523201 357782401 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 :                                   607.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             312.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            785 sec.

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

