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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin292
RA = 216.169, Dec = 14.784
tmin = 315014401, tmax = 315273601
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='429875', job_status='RUN', time_executed='2021-09-09 14:08:16.212935', time_epoch_executed='1631221696.21' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429875

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429875/ft1_4FGL_J1424.6+1447_daily_bin292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429875/ft2_4FGL_J1424.6+1447_daily_bin292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429875/ft1_4FGL_J1424.6+1447_daily_bin292.fits outfile=/scratch/kocevski/429875/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin292.fits ra=216.169 dec=14.784 rad=12.0 tmin=315014401.0 tmax=315273601.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.57
user 3.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429875/ft2_4FGL_J1424.6+1447_daily_bin292.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/429875/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin292.fits evtable="EVENTS" outfile="/scratch/kocevski/429875/ft1_filtered_4FGL_J1424.6+1447_daily_bin292.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429875/ft1_filtered_4FGL_J1424.6+1447_daily_bin292.fits" evtable="EVENTS" scfile=/scratch/kocevski/429875/ft2_4FGL_J1424.6+1447_daily_bin292.fits sctable="SC_DATA" outfile=/scratch/kocevski/429875/ltcube_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.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/429875/ft2_4FGL_J1424.6+1447_daily_bin292.fits
.....................!
real 11.72
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429875/ft1_filtered_4FGL_J1424.6+1447_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/429875/ft2_4FGL_J1424.6+1447_daily_bin292.fits sctable="SC_DATA" expcube=/scratch/kocevski/429875/ltcube_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.fits outfile=/scratch/kocevski/429875/expmap_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.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/429875/ltcube_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.fits
.....................!
real 190.28
user 185.12
sys 4.75

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/429875/ft1_filtered_4FGL_J1424.6+1447_daily_bin292.fits scfile=/scratch/kocevski/429875/ft2_4FGL_J1424.6+1447_daily_bin292.fits outfile=/scratch/kocevski/429875/cmap_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429875/ft1_filtered_4FGL_J1424.6+1447_daily_bin292.fits scfile=/scratch/kocevski/429875/ft2_4FGL_J1424.6+1447_daily_bin292.fits outfile=/scratch/kocevski/429875/cmap_HighResolution_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25785E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9406       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17487       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.017       1.0000         .10000E-03   10000.    
     7 'norm      '    13.205       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.142       1.0000         .10000E-03   10000.    
     9 'norm      '    7.8058       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.6515       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5670       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.905       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3298       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11928       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1755       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0522       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=   7208.829     FROM MIGRAD    STATUS=CONVERGED    980 CALLS     3572 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.097        .18354    ** at limit **
   2  Prefactor     7.9385        5.3593        .14229E-03   -.12416E-03
   3  Prefactor     .10000E-03    10.076        .18142E-02** at limit **
   4  Prefactor     .10410        12.114        .67992E-01    .25940E-03
   5  Prefactor     .10000E-03    10.714        .18142E-02** at limit **
   6  Prefactor     34.004        28.568        .68707E-04   -.15223E-04
   7  norm          13.208        15.806        .11023E-03   -.17533E-05
   8  Prefactor     13.140        8.6689        .11049E-03   -.32308E-04
   9  norm          7.8055        3.0704        .90601E-04    .12548E-05
  10  Prefactor     .10000E-03    4.0969        .16698E-02** at limit **
  11  norm          .10000E-03    2.2461        .24503E-03** at limit **
  12  Prefactor     .10000E-03    13.146        .18142E-02** at limit **
  13  norm          2.6530        8.2888        .25035E-03   -.14836E-03
  14  norm          .10000E-03    1.1682        .89586E-03** at limit **
  15  Prefactor     8.5664        24.637        .13696E-03   -.35611E-04
  16  Prefactor     39.902        28.146        .63453E-04   -.35654E-04
  17  Prefactor     9.3234        16.286        .13121E-03   -.53721E-05
  18  Prefactor     .10000E-03    16.031        .18142E-02** at limit **
  19  Prefactor     .10000E-03    17.506        .18142E-02** at limit **
  20  Prefactor     .10000E-03    4.0562        .16684E-02** at limit **
  21  norm          .11913        .12765        .32791E-03    .20343E-02
  22  norm          .10000E-03    22.784        .18142E-02** at limit **
  23  Normalizat    1.1759        .26301        .29432E-03   -.10646E-03
  24  Prefactor     1.0521        .18145        .22034E-03   -.29943E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.93855
  Prefactor  = 0.0001
  Prefactor  = 0.1041
  Prefactor  = 0.0001
  Prefactor  = 34.0039
  norm       = 13.2083
  Prefactor  = 13.1397
  norm       = 7.80545
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.65299
  norm       = 0.0001
  Prefactor  = 8.56638
  Prefactor  = 39.9017
  Prefactor  = 9.32344
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.119131
  norm       = 0.0001
  Normalizat = 1.17585
  Prefactor  = 1.05212
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.829     FROM HESSE     STATUS=OK           395 CALLS     3967 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.269        .18287       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9385        5.3590        .56916E-05   -1.5144    
   3  Prefactor     .10000E-03    10.079        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10410        10.317        .75554E-01   -1.5643    
   5  Prefactor     .10000E-03    10.714        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.004        28.566        .27483E-05   -1.4541    
   7  norm          13.208        15.807        .44092E-05   -1.4981    
   8  Prefactor     13.140        8.6684        .44197E-05   -1.4983    
   9  norm          7.8055        3.0704        .36240E-05   -1.5149    
  10  Prefactor     .10000E-03    4.0980        .33396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.2461        .49006E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.146        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.6530        8.2881        .10014E-04   -1.5382    
  14  norm          .10000E-03    1.1682        .17917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.5664        24.631        .54782E-05   -1.5123    
  16  Prefactor     39.902        28.142        .25381E-05   -1.4444    
  17  Prefactor     9.3234        16.284        .52483E-05   -1.5097    
  18  Prefactor     .10000E-03    16.032        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.0564        .33368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .11913        .12758        .13117E-04   -1.5639    
  22  norm          .10000E-03    22.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1759        .26306        .11773E-04   -.87352    
  24  Prefactor     1.0521        .18164        .44069E-04   -.91012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54123e-10
Minuit parameter uncertainties:
  1  0.000259802
  2  5.35937
  3  4.0037e-06
  4  2.07201
  5  2.93993e-06
  6  28.5775
  7  15.8119
  8  8.66922
  9  3.07042
  10  2.15537e-05
  11  7.09591e-06
  12  8.52492e-05
  13  8.29171
  14  4.09219e-08
  15  24.6597
  16  28.1511
  17  16.2918
  18  9.13128e-05
  19  1.53478e-05
  20  1.26867e-06
  21  0.127578
  22  2.94033e-06
  23  0.263352
  24  0.18175
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.314e+01  8.669e+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:  1.052e+00  1.818e-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.176e+00  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.73
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.69e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 2.69e-05 +/- 1.78e-05

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) = 7208.82926575
delta logL = 8.80968927959e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7208.82922269
delta logL = 0.000131150993184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.227       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1635       1.0000          .0000       10.000    
     3 'Normalizat'    1.1764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0520       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=   7208.829     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      232 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.236        216.44        .27534E-02    .70601E-04
   2  Index         2.1642        3.4148        .12267        .14039E-03
   3  Normalizat    1.1764        .11746        .66514E-01    .16112E-04
   4  Prefactor     1.0519        .63580E-01    .39793E-01    .20141E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2364
  Index      = 2.16419
  Normalizat = 1.17637
  Prefactor  = 1.05192
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.829     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.236        10.969        .11014E-03   -1.4980    
   2  Index         2.1642        .49664        .64169E-02   -.60306    
   3  Normalizat    1.1764        .25217        .29426E-03   -.87336    
   4  Prefactor     1.0519        .17944        .22036E-03   -.91018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55591e-12
Minuit parameter uncertainties:
  1  10.9704
  2  0.497848
  3  0.252428
  4  0.179544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429875': 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) = 7208.82921908
delta logL = 0.00013476030108

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.324e+01  1.097e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.164e+00  4.978e-01  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.052e+00  1.795e-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.176e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.71
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.16 +/- 0.50
Photon Flux (Free Index): 5.64e-08 +/- 4.66e-08
Energy Flux (Free Index): 2.71e-05 +/- 2.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/429875/cmap_HighResolution_315014401_315273601_4FGL_J1424.6+1447_daily_bin292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.69e-08', energy_flux2='2.71e-05', photon_flux_error='3.75e-08', dlogl='1.35e-04', energy_flux='2.69e-05', photon_flux2='5.64e-08', job_status='DONE', time_completed='2021-09-09 14:18:51.588634', photon_index_error2='0.50', photon_index2='2.16', ts='4.73', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.21e-05', EG='1.18', time_epoch_completed='1631222331.59', return_code='0', job_id='429875', GAL2='1.05', EG2='1.18', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='4.66e-08', ts2='4.71', photon_index='2.17' WHERE bin_id='292' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:18:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 429875: <4FGL_J1424.6+1447_daily_bin292> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin292 216.169 14.784 315014401 315273601 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 :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

