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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin231
RA = 216.169, Dec = 14.784
tmin = 299203201, tmax = 299462401
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='429777', job_status='RUN', time_executed='2021-09-09 14:09:16.646384', time_epoch_executed='1631221756.65' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429777

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429777/ft1_4FGL_J1424.6+1447_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429777/ft2_4FGL_J1424.6+1447_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429777/ft1_4FGL_J1424.6+1447_daily_bin231.fits outfile=/scratch/kocevski/429777/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin231.fits ra=216.169 dec=14.784 rad=12.0 tmin=299203201.0 tmax=299462401.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.43
user 3.16
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429777/ft1_filtered_4FGL_J1424.6+1447_daily_bin231.fits" evtable="EVENTS" scfile=/scratch/kocevski/429777/ft2_4FGL_J1424.6+1447_daily_bin231.fits sctable="SC_DATA" outfile=/scratch/kocevski/429777/ltcube_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.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/429777/ft2_4FGL_J1424.6+1447_daily_bin231.fits
.....................!
real 14.27
user 13.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429777/ft1_filtered_4FGL_J1424.6+1447_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/429777/ft2_4FGL_J1424.6+1447_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/429777/ltcube_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.fits outfile=/scratch/kocevski/429777/expmap_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.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/429777/ltcube_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.fits
.....................!
real 191.98
user 185.78
sys 5.78

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/429777/ft1_filtered_4FGL_J1424.6+1447_daily_bin231.fits scfile=/scratch/kocevski/429777/ft2_4FGL_J1424.6+1447_daily_bin231.fits outfile=/scratch/kocevski/429777/cmap_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429777/ft1_filtered_4FGL_J1424.6+1447_daily_bin231.fits scfile=/scratch/kocevski/429777/ft2_4FGL_J1424.6+1447_daily_bin231.fits outfile=/scratch/kocevski/429777/cmap_HighResolution_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11042E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3056       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.702       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    21.947       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.3445       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .21310E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4561       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3302       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7335       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.565       1.0000         .10000E-03   10000.    
    21 'norm      '    .40254       1.0000         .10000E-03   10000.    
    22 'norm      '    24.379       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2347       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0065       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=   6794.707     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2707 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    95.005        .87585E-07** at limit **
   2  Prefactor     .10000E-03    2.2944        .30405E-07** at limit **
   3  Prefactor     5.3039        12.331        .18700E-06   -.30423E-04
   4  Prefactor     17.701        12.772        .51571E-06   -.18198E-03
   5  Prefactor     .10000E-03    6.0256       -.85272E-06** at limit **
   6  Prefactor     .10000E-03    6.1208       -.84586E-07** at limit **
   7  norm          21.948        27.999        .31143E-06    .19460E-04
   8  Prefactor     .10000E-03    4.1462        .70240E-07** at limit **
   9  norm          9.3445        3.5767        .27335E-07    .44561E-04
  10  Prefactor     .10000E-03    3.9333        .43150E-07** at limit **
  11  norm          .10001E-03    1.2898       -.24576E-06** at limit **
  12  Prefactor     .10000E-03    9.6116       -.43968E-07** at limit **
  13  norm          .10000E-03    6.2304        .14203E-05** at limit **
  14  norm          1.4564        3.0565        .29063E-06   -.14126E-03
  15  Prefactor     .10000E-03    11.425        .15341E-05** at limit **
  16  Prefactor     3.3296        20.631        .89659E-05   -.37138E-03
  17  Prefactor     7.7349        14.760       -.14226E-06   -.33290E-04
  18  Prefactor     .10000E-03    12.119       -.13756E-05** at limit **
  19  Prefactor     .10000E-03    31.992        .17086E-06** at limit **
  20  Prefactor     11.565        8.6463        .32436E-07    .59814E-05
  21  norm          .40255        .17049       -.25962E-07   -.46432E-03
  22  norm          24.357        39.980       -.75282E-05   -.36209E-03
  23  Normalizat    1.2349        .20645       -.97565E-06    .71673E-04
  24  Prefactor     1.0063        .15035        .22710E-06   -.18989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.30385
  Prefactor  = 17.7013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.9485
  Prefactor  = 0.0001
  norm       = 9.34448
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 1.45641
  Prefactor  = 0.000100001
  Prefactor  = 3.32959
  Prefactor  = 7.7349
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.5655
  norm       = 0.402545
  norm       = 24.357
  Normalizat = 1.2349
  Prefactor  = 1.00632
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.707     FROM HESSE     STATUS=OK           397 CALLS     3104 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    95.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3202        .12191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3039        12.336        .17449E-03   -1.5247    
   4  Prefactor     17.701        12.881        .47597E-03   -1.4866    
   5  Prefactor     .10000E-03    6.0608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.1242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          21.948        28.009        .85500E-04   -1.4771    
   8  Prefactor     .10000E-03    4.2273        .16388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3445        3.5773        .93031E-04   -1.5096    
  10  Prefactor     .10000E-03    4.0071        .15955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    7.1298        .17905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.6158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.3228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4564        3.0224        .20327E-03   -1.5467    
  15  Prefactor     .10000E-03    11.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3296        25.499        .11090E-02   -1.5343    
  17  Prefactor     7.7349        14.755        .14420E-03   -1.5152    
  18  Prefactor     .10000E-03    12.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    32.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.565        8.6478        .11780E-03   -1.5028    
  21  norm          .40255        .16994        .21352E-04   -1.5581    
  22  norm          24.357        43.006        .81128E-04   -1.4721    
  23  Normalizat    1.2349        .25229        .27158E-03   -.85531    
  24  Prefactor     1.0063        .18415        .22032E-03   -.92519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53527e-09
Minuit parameter uncertainties:
  1  1.46999e-05
  2  1.06152e-06
  3  12.3422
  4  12.8827
  5  7.62106e-05
  6  8.65252e-06
  7  28.0257
  8  4.2007e-06
  9  3.57741
  10  3.68371e-06
  11  0.000391399
  12  6.82083e-06
  13  0.000127394
  14  3.02274
  15  0.000189914
  16  18.4389
  17  14.7618
  18  0.000169647
  19  5.25613e-05
  20  8.64877
  21  0.169936
  22  43.0606
  23  0.252536
  24  0.184269
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.201e-06  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.006e+00  1.843e-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.235e+00  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429777/likelihoodResults_299203201_299462401_4FGL_J1424.6+1447_daily_bin231.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): 102
logL (Free Index) = 6794.70803368
delta logL = -0.0011270736959

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6794.70690663
delta logL = -2.62971298071e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1694       1.0000          .0000       10.000    
     3 'Normalizat'    1.2349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0063       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=   6794.707     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3907        .90712E-02** at limit **
   2  Index         2.1669        5.2326        .50000        .48123E-05
   3  Normalizat    1.2349        .37525E-02    .61401E-01   -.66979E-05
   4  Prefactor     1.0063        .27950E-02    .43927E-01   -.78888E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.1669
  Normalizat = 1.2349
  Prefactor  = 1.00632
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.707     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.222        .16395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1669        5.5711        .50000       -.60240    
   3  Normalizat    1.2349        .12368E-01    .27158E-03   -.85531    
   4  Prefactor     1.0063        .92169E-02    .22032E-03   -.92519    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67909e-08
Minuit parameter uncertainties:
  1  1.63158e-05
  2  112.584
  3  0.0123677
  4  0.0092169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429777': 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): 102
logL (Free Index) = 6794.7069066
delta logL = 5.95537130721e-09

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.632e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.167e+00  1.126e+02  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.006e+00  9.217e-03  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.235e+00  1.237e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2021-09-09 14:20:13.829440', job_id='429777', GAL2='1.01', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631222413.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='231' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 429777: <4FGL_J1424.6+1447_daily_bin231> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin231 216.169 14.784 299203201 299462401 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 :                                   641.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

