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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin568
RA = 216.051, Dec = 4.5628
tmin = 386553601, tmax = 386812801
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='422885', job_status='RUN', time_executed='2021-09-09 13:48:38.651924', time_epoch_executed='1631220518.65' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/422885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/422885/ft1_4FGL_J1424.2+0433_daily_bin568.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/422885/ft1_4FGL_J1424.2+0433_daily_bin568.fits outfile=/scratch/kocevski/422885/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin568.fits ra=216.051 dec=4.5628 rad=12.0 tmin=386553601.0 tmax=386812801.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 4.90
user 4.48
sys 0.36

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.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/422885/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin568.fits evtable="EVENTS" outfile="/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.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.51
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits" evtable="EVENTS" scfile=/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits sctable="SC_DATA" outfile=/scratch/kocevski/422885/ltcube_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.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/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits
.....................!
real 12.42
user 11.96
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits sctable="SC_DATA" expcube=/scratch/kocevski/422885/ltcube_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.fits outfile=/scratch/kocevski/422885/expmap_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.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/422885/ltcube_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.fits
.....................!
real 191.47
user 185.44
sys 5.59

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.2+0433 @ 216.051 4.5628

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits scfile=/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits outfile=/scratch/kocevski/422885/cmap_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.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.051 yref=4.5628 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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits scfile=/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits outfile=/scratch/kocevski/422885/cmap_HighResolution_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.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.051 yref=4.5628 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.67
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/422885/Model_4FGL_J1424.2+0433_daily_bin568.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/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits.....................!
real 43.46
user 41.79
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits', '/scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits', expMap='/scratch/kocevski/422885/expmap_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.fits', expCube='/scratch/kocevski/422885/ltcube_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/422885/Model_4FGL_J1424.2+0433_daily_bin568.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.2+0433'

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/422885/ft1_filtered_4FGL_J1424.2+0433_daily_bin568.fits
Spacecraft file(s): /scratch/kocevski/422885/ft2_4FGL_J1424.2+0433_daily_bin568.fits
Exposure map: /scratch/kocevski/422885/expmap_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.fits
Exposure cube: /scratch/kocevski/422885/ltcube_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/422885/Model_4FGL_J1424.2+0433_daily_bin568.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) = 5244.47622415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    9.3055       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8835       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .83687       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.512       1.0000         .10000E-03   10000.    
     7 'norm      '    25.296       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    21.290       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9237       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.733       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11800E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    30.417       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52368       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8124       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0087       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5244.438     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2224 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6496        .10438E-08** at limit **
   2  Prefactor     9.2995        21.936       -.80415E-05   -.27342E-03
   3  Prefactor     2.8829        2.4222        .51342E-06   -.23228E-02
   4  Prefactor     .88490        16.455        .28970E-05   -.18474E-03
   5  Prefactor     .10000E-03    14.777        .10954E-05** at limit **
   6  Prefactor     18.510        17.665        .47179E-07    .35833E-05
   7  norm          25.296        16.291        .51791E-08   -.16137E-04
   8  Prefactor     .10000E-03    16.558       -.86509E-06** at limit **
   9  norm          21.288        24.590       -.56806E-06   -.32821E-04
  10  Prefactor     2.9218        7.0608        .18917E-05    .84586E-05
  11  Prefactor     12.732        10.687        .59010E-07    .18270E-04
  12  Prefactor     .10000E-03    35.166       -.56361E-06** at limit **
  13  Prefactor     .10000E-03    48.481        .13010E-05** at limit **
  14  norm          30.417        22.544        .86426E-06    .29770E-04
  15  Prefactor     .10000E-03    11.999       -.39419E-06** at limit **
  16  Prefactor     .10000E-03    13.964        .67660E-07** at limit **
  17  norm          .52362        .22176        .39000E-09   -.38705E-04
  18  norm          3.8121        2.5038        .11618E-07   -.54262E-04
  19  norm          .10000E-03    6.8420       -.62876E-07** at limit **
  20  Normalizat    1.0089        .23413       -.23732E-06   -.22181E-03
  21  Prefactor     1.0014        .14887        .58128E-07   -.26464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.29947
  Prefactor  = 2.88292
  Prefactor  = 0.884901
  Prefactor  = 0.0001
  Prefactor  = 18.5105
  norm       = 25.2958
  Prefactor  = 0.0001
  norm       = 21.2877
  Prefactor  = 2.92177
  Prefactor  = 12.7318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.4167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.523625
  norm       = 3.81208
  norm       = 0.0001
  Normalizat = 1.00891
  Prefactor  = 1.00138
 **********
 **   18 **HESSE 
 **********

 FCN=   5244.438     FROM HESSE     STATUS=OK           321 CALLS     2545 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7339        .13501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2995        22.517        .13138E-03   -1.5098    
   3  Prefactor     2.8829        4.6941        .96987E-03   -1.5368    
   4  Prefactor     .88490        91.882        .51002E-02   -1.5520    
   5  Prefactor     .10000E-03    14.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.510        17.672        .93089E-04   -1.4847    
   7  norm          25.296        16.297        .79647E-04   -1.4702    
   8  Prefactor     .10000E-03    16.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.288        24.597        .86808E-04   -1.4785    
  10  Prefactor     2.9218        7.0136        .23758E-03   -1.5366    
  11  Prefactor     12.732        10.670        .11225E-03   -1.4994    
  12  Prefactor     .10000E-03    35.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    48.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          30.417        22.513        .72648E-04   -1.4604    
  15  Prefactor     .10000E-03    12.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .52362        .22102        .21506E-04   -1.5563    
  18  norm          3.8121        2.5036        .89359E-04   -1.5317    
  19  norm          .10000E-03    6.9412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0089        .28578        .29649E-03   -.92733    
  21  Prefactor     1.0014        .18162        .19640E-03   -.92684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85e-09
Minuit parameter uncertainties:
  1  5.73632e-07
  2  22.5374
  3  4.69466
  4  18.0616
  5  2.79166e-05
  6  17.6768
  7  16.2994
  8  3.50081e-05
  9  24.6084
  10  7.01553
  11  10.6714
  12  3.53781e-05
  13  5.24823e-05
  14  22.5191
  15  1.70924e-05
  16  1.27368e-06
  17  0.221016
  18  2.50368
  19  1.97836e-06
  20  0.286212
  21  0.181728
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.129e+01  2.461e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.001e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.009e+00  2.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.93e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.47e-05

TS (Fixed Index): 1.15
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 7.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/422885/likelihoodResults_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.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) = 5243.73149593
delta logL = 0.706017108867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5243.72754998
delta logL = 0.70996305577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5109       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1667       1.0000          .0000       5.0000    
     3 'Normalizat'    .95150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   5243.728     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      300 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5114        18.624        .12995E-03    .76727E-04
   2  alpha         3.1672        1.1670        .11545E-01    .18282E-04
   3  Normalizat    .95112        .28086        .30436E-03    .85163E-04
   4  Prefactor     1.0233        .18273        .19441E-03    .14700E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.5114
  alpha      = 3.16716
  Normalizat = 0.951121
  Prefactor  = 1.02328
 **********
 **   18 **HESSE 
 **********

 FCN=   5243.728     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5114        14.986        .51978E-05   -1.5091    
   2  alpha         3.1672        .95200        .46180E-03    .27014    
   3  Normalizat    .95112        .27943        .12175E-04   -.94686    
   4  Prefactor     1.0233        .18223        .38882E-04   -.91958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81813e-11
Minuit parameter uncertainties:
  1  14.9924
  2  0.978695
  3  0.27986
  4  0.182341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/422885': 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) = 5243.72754884
delta logL = 0.709964196484

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  9.511e+00  1.499e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  3.167e+00  9.787e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.023e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.511e-01  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 216.051 4.563
Photon Index (Free Index): 3.17 +/- 0.98
Photon Flux (Free Index): 6.16e-08 +/- 5.79e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.06e-05

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/422885/cmap_HighResolution_386553601_386812801_4FGL_J1424.2+0433_daily_bin568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-05', comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='1.33e-05', photon_flux_error='2.23e-08', dlogl='7.10e-01', energy_flux='1.27e-05', photon_flux2='6.16e-08', job_status='DONE', time_completed='2021-09-09 13:57:52.302286', photon_index_error2='0.98', photon_index2='3.17', ts='1.15', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.76e-08', energy_flux_error2='1.06e-05', EG='1.01', time_epoch_completed='1631221072.3', return_code='0', job_id='422885', GAL2='1.02', EG2='0.95', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='5.79e-08', ts2='2.60', photon_index='1.98' WHERE bin_id='568' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:57:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 422885: <4FGL_J1424.2+0433_daily_bin568> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin568> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 13:46:10 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:46:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:46:12 2021
Terminated at Thu Sep  9 13:57:53 2021
Results reported at Thu Sep  9 13:57:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin568 216.051 4.5628 386553601 386812801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.2+0433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   534.61 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            703 sec.

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

