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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin265
RA = 216.169, Dec = 14.784
tmin = 308016001, tmax = 308275201
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='429832', job_status='RUN', time_executed='2021-09-09 14:08:34.912533', time_epoch_executed='1631221714.91' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429832

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429832/ft1_4FGL_J1424.6+1447_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429832/ft2_4FGL_J1424.6+1447_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429832/ft1_4FGL_J1424.6+1447_daily_bin265.fits outfile=/scratch/kocevski/429832/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin265.fits ra=216.169 dec=14.784 rad=12.0 tmin=308016001.0 tmax=308275201.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.39
user 3.16
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429832/ft2_4FGL_J1424.6+1447_daily_bin265.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/429832/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin265.fits evtable="EVENTS" outfile="/scratch/kocevski/429832/ft1_filtered_4FGL_J1424.6+1447_daily_bin265.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/429832/ft1_filtered_4FGL_J1424.6+1447_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/429832/ft2_4FGL_J1424.6+1447_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/429832/ltcube_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.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/429832/ft2_4FGL_J1424.6+1447_daily_bin265.fits
.....................!
real 12.12
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429832/ft1_filtered_4FGL_J1424.6+1447_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/429832/ft2_4FGL_J1424.6+1447_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/429832/ltcube_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.fits outfile=/scratch/kocevski/429832/expmap_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.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/429832/ltcube_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.fits
.....................!
real 190.99
user 185.32
sys 5.24

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429832/ft1_filtered_4FGL_J1424.6+1447_daily_bin265.fits scfile=/scratch/kocevski/429832/ft2_4FGL_J1424.6+1447_daily_bin265.fits outfile=/scratch/kocevski/429832/cmap_HighResolution_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    97.445       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6157       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.080       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56972       1.0000         .10000E-03   10000.    
     9 'norm      '    6.4645       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11580E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    39.394       1.0000         .10000E-03   10000.    
    14 'norm      '    .18712E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.920       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.595       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14044E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.898       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .12144       1.0000         .10000E-03   10000.    
    22 'norm      '    24.675       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2276       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93570       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=   6107.121     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2808 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     97.439        84.309        .74685E-07   -.82426E-05
   2  Prefactor     2.6166        4.5389        .50443E-06    .20913E-03
   3  Prefactor     .10000E-03    8.7497       -.17873E-06** at limit **
   4  Prefactor     .10000E-03    2.9861       -.75600E-07** at limit **
   5  Prefactor     .10000E-03    24.535       -.37965E-06** at limit **
   6  Prefactor     16.084        24.278        .27785E-06    .19877E-04
   7  norm          .10000E-03    9.3013       -.41192E-07** at limit **
   8  Prefactor     .59240        6.1430        .13699E-05   -.13220E-03
   9  norm          6.4642        2.7732        .16436E-07   -.95234E-04
  10  Prefactor     .10000E-03    3.4912       -.90219E-06** at limit **
  11  norm          .10000E-03    .57535       -.29847E-07** at limit **
  12  Prefactor     .10000E-03    61.598        .18034E-06** at limit **
  13  norm          39.401        22.593        .12597E-05    .32760E-03
  14  norm          .52349E-01    3.9767        .19006E-05   -.13455E-02
  15  Prefactor     14.927        17.712       -.24741E-07   -.66353E-04
  16  Prefactor     20.601        24.412       -.80608E-07    .42681E-05
  17  Prefactor     .10000E-03    7.2363        .88629E-06** at limit **
  18  Prefactor     .10005E-03    105.63        .13499E-04** at limit **
  19  Prefactor     13.946        49.030        .44526E-07    .11982E-04
  20  Prefactor     .10000E-03    2.1478       -.41935E-08** at limit **
  21  norm          .12145        .14231        .15278E-06    .43812E-02
  22  norm          24.681        43.043        .40786E-06    .17292E-04
  23  Normalizat    1.2280        .20874        .10695E-05   -.15557E-03
  24  Prefactor     .93529        .15671       -.14586E-05   -.18028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 97.4395
  Prefactor  = 2.61655
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0837
  norm       = 0.0001
  Prefactor  = 0.592403
  norm       = 6.46424
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 39.4007
  norm       = 0.0523487
  Prefactor  = 14.9271
  Prefactor  = 20.6013
  Prefactor  = 0.0001
  Prefactor  = 0.000100053
  Prefactor  = 13.9465
  Prefactor  = 0.0001
  norm       = 0.12145
  norm       = 24.6806
  Normalizat = 1.22801
  Prefactor  = 0.93529
 **********
 **   18 **HESSE 
 **********

 FCN=   6107.121     FROM HESSE     STATUS=OK           401 CALLS     3209 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     97.439        84.280        .40720E-04   -1.3731    
   2  Prefactor     2.6166        4.5223        .21102E-03   -1.5384    
   3  Prefactor     .10000E-03    8.7732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9904        .13187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.084        24.284        .99879E-04   -1.4906    
   7  norm          .10000E-03    9.3050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .59240        14.050        .34935E-02   -1.5554    
   9  norm          6.4642        2.7736        .82733E-04   -1.5199    
  10  Prefactor     .10000E-03    7.5470        .26976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .57686        .57880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    61.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          39.401        22.593        .63861E-04   -1.4452    
  14  norm          .52349E-01    39.226        .21719E-02   -1.5662    
  15  Prefactor     14.927        17.709        .10369E-03   -1.4935    
  16  Prefactor     20.601        24.367        .88259E-04   -1.4800    
  17  Prefactor     .10000E-03    7.2624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    109.10        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.946        48.898        .10744E-03   -1.4961    
  20  Prefactor     .10000E-03    2.1485        .11185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .12145        .13469        .31530E-03   -1.5638    
  22  norm          24.681        43.085        .80642E-04   -1.4714    
  23  Normalizat    1.2280        .24884        .26418E-03   -.85742    
  24  Prefactor     .93529        .18736        .21915E-03   -.94919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27202e-08
Minuit parameter uncertainties:
  1  84.3838
  2  4.52289
  3  1.28429e-05
  4  4.59106e-06
  5  8.95428e-05
  6  24.2989
  7  1.01481e-05
  8  5.77105
  9  2.77368
  10  7.86285e-05
  11  7.77432e-07
  12  0.00020571
  13  22.598
  14  2.8651
  15  17.7156
  16  24.3786
  17  8.47534e-05
  18  0.00480389
  19  49.039
  20  3.85066e-07
  21  0.134688
  22  43.1394
  23  0.249082
  24  0.187493
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.924e-01  5.771e+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:  9.353e-01  1.875e-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.228e+00  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429832/likelihoodResults_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.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) = 6107.11793809
delta logL = 0.00293191102901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6107.11671085
delta logL = 0.00415914999485

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93569       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9870       1.0000          .0000       10.000    
     3 'Normalizat'    1.2287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93453       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=   6107.117     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      263 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93507        13.952        .51746E-03   -.79532E-05
   2  Index         1.9870        1.8065        .75905E-02   -.56690E-05
   3  Normalizat    1.2288        .24630        .26410E-03   -.30105E-03
   4  Prefactor     .93444        .18291        .21924E-03   -.46608E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.935075
  Index      = 1.98701
  Normalizat = 1.2288
  Prefactor  = 0.934438
 **********
 **   18 **HESSE 
 **********

 FCN=   6107.117     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93507        13.341        .20698E-04   -1.5515    
   2  Index         1.9870        1.7701        .30362E-03   -.64675    
   3  Normalizat    1.2288        .24652        .52821E-04   -.85717    
   4  Prefactor     .93444        .18305        .43848E-04   -.94948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9864e-10
Minuit parameter uncertainties:
  1  7.0655
  2  1.83396
  3  0.246755
  4  0.183176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429832': 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) = 6107.11671067
delta logL = 0.00415932935721

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  9.351e-01  7.066e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.987e+00  1.834e+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:  9.344e-01  1.832e-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.229e+00  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/429832/cmap_HighResolution_308016001_308275201_4FGL_J1424.6+1447_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2021-09-09 14:18:40.154406', job_id='429832', GAL2='0.93', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631222320.15', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.16e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='265' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:18:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 429832: <4FGL_J1424.6+1447_daily_bin265> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin265 216.169 14.784 308016001 308275201 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            742 sec.

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

