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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1106
RA = 216.169, Dec = 14.784
tmin = 526003201, tmax = 526262401
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='434014', job_status='RUN', time_executed='2021-09-09 14:16:48.180607', time_epoch_executed='1631222208.18' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434014

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434014/ft1_4FGL_J1424.6+1447_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434014/ft2_4FGL_J1424.6+1447_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434014/ft1_4FGL_J1424.6+1447_daily_bin1106.fits outfile=/scratch/kocevski/434014/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1106.fits ra=216.169 dec=14.784 rad=12.0 tmin=526003201.0 tmax=526262401.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.77
user 3.55
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434014/ft1_filtered_4FGL_J1424.6+1447_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/434014/ft2_4FGL_J1424.6+1447_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/434014/ltcube_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.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/434014/ft2_4FGL_J1424.6+1447_daily_bin1106.fits
.....................!
real 12.51
user 12.08
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434014/ft1_filtered_4FGL_J1424.6+1447_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/434014/ft2_4FGL_J1424.6+1447_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/434014/ltcube_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.fits outfile=/scratch/kocevski/434014/expmap_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.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/434014/ltcube_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.fits
.....................!
real 190.48
user 185.83
sys 4.14

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/434014/ft1_filtered_4FGL_J1424.6+1447_daily_bin1106.fits scfile=/scratch/kocevski/434014/ft2_4FGL_J1424.6+1447_daily_bin1106.fits outfile=/scratch/kocevski/434014/cmap_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.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/434014/ft1_filtered_4FGL_J1424.6+1447_daily_bin1106.fits scfile=/scratch/kocevski/434014/ft2_4FGL_J1424.6+1447_daily_bin1106.fits outfile=/scratch/kocevski/434014/cmap_HighResolution_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5713       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.316       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0337       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7136       1.0000         .10000E-03   10000.    
    11 'norm      '    7.9897       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10292E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.078       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .58799       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2098       1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1396       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0257       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=   7028.097     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2707 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.769        .35337E-06** at limit **
   2  Prefactor     7.5701        5.6072       -.44363E-06   -.30340E-04
   3  Prefactor     .10000E-03    3.0402       -.23017E-07** at limit **
   4  Prefactor     .10000E-03    9.1898       -.59187E-06** at limit **
   5  Prefactor     .10000E-03    14.561       -.85618E-06** at limit **
   6  Prefactor     21.352        29.508        .41241E-05    .11176E-03
   7  norm          .94338        121.16       -.21545E-04    .60486E-04
   8  Prefactor     .10000E-03    1.9462        .29007E-07** at limit **
   9  norm          .10000E-03    1.4787       -.25996E-06** at limit **
  10  Prefactor     4.7113        5.4948       -.67735E-06   -.31370E-04
  11  norm          7.9894        4.0893       -.16267E-06    .10241E-03
  12  Prefactor     .10000E-03    39.002       -.20655E-05** at limit **
  13  norm          .10000E-03    24.392        .17095E-06** at limit **
  14  norm          .10000E-03    1.7701        .54138E-07** at limit **
  15  Prefactor     .10000E-03    10.202        .12400E-05** at limit **
  16  Prefactor     .10000E-03    17.301       -.25534E-06** at limit **
  17  Prefactor     .10000E-03    6.4298        .64037E-06** at limit **
  18  Prefactor     .10000E-03    33.859        .27094E-05** at limit **
  19  Prefactor     27.059        44.148        .26615E-06    .26754E-04
  20  Prefactor     .61410        7.0115       -.21532E-06    .52929E-04
  21  norm          1.2097        .27030       -.24806E-07    .18954E-03
  22  norm          .10000E-03    13.310       -.19445E-06** at limit **
  23  Normalizat    1.1398        .23152        .12230E-05    .10854E-03
  24  Prefactor     1.0255        .16095        .73530E-06    .64392E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.57007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.3524
  norm       = 0.943376
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.71128
  norm       = 7.98937
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.0589
  Prefactor  = 0.614096
  norm       = 1.20973
  norm       = 0.0001
  Normalizat = 1.1398
  Prefactor  = 1.02555
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5701        5.6094        .14575E-03   -1.5158    
   3  Prefactor     .10000E-03    3.0420        .14276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.3060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.352        29.928        .86755E-04   -1.4783    
   7  norm          .94338        123.53        .70657E-02   -1.5514    
   8  Prefactor     .10000E-03    1.9495        .11419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.0044        .19784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7113        5.4864        .18534E-03   -1.5274    
  11  norm          7.9894        4.0875        .11444E-03   -1.5143    
  12  Prefactor     .10000E-03    39.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    24.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7821        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.4278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    33.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.059        44.127        .76987E-04   -1.4667    
  20  Prefactor     .61410        25.578        .42815E-02   -1.5551    
  21  norm          1.2097        .27019        .19762E-04   -1.5488    
  22  norm          .10000E-03    13.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1398        .26702        .29450E-03   -.88484    
  24  Prefactor     1.0255        .19142        .22103E-03   -.91883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61091e-09
Minuit parameter uncertainties:
  1  2.47061e-05
  2  5.60982
  3  3.63743e-06
  4  8.23007e-05
  5  7.77868e-05
  6  29.9489
  7  21.6347
  8  9.49052e-07
  9  5.30871e-05
  10  5.48703
  11  4.08768
  12  0.000316041
  13  2.98908e-05
  14  2.72958e-06
  15  4.25587e-05
  16  5.85867e-05
  17  3.7771e-06
  18  8.40877e-05
  19  44.1803
  20  7.92944
  21  0.270194
  22  1.73769e-05
  23  0.267336
  24  0.191544
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  9.491e-07  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.026e+00  1.915e-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.140e+00  2.673e-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: 4.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434014/likelihoodResults_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.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) = 7028.09914149
delta logL = -0.00240417130499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7028.09673743
delta logL = -1.08761014417e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1499       1.0000          .0000       10.000    
     3 'Normalizat'    1.1398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0256       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7028.097     FROM MIGRAD    STATUS=FAILED        89 CALLS      240 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10169E-03    28.115        .11653E-02** at limit **
   2  Index         2.0852        7.5236        .50000        .80817E-04
   3  Normalizat    1.1398        .18833E-01    .29451E-03   -.20459E-05
   4  Prefactor     1.0255        .13566E-01    .22103E-03   -.55292E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7028.097     FROM SIMPLEX   STATUS=PROGRESS     128 CALLS      368 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    28.115        .16423E-03** at limit **
   2  Index         2.0650        7.5236        .68817E-02    .80817E-04
   3  Normalizat    1.1397        .18833E-01    .31257E-04   -.20459E-05
   4  Prefactor     1.0255        .13566E-01    .16618E-04   -.55292E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7028.097     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      423 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.531        .23305E-02** at limit **
   2  Index         1.6040        9.0980        .50000        .25127E-06
   3  Normalizat    1.1398        .20129E-01    .11780E-04    .28295E-03
   4  Prefactor     1.0255        .14499E-01    .88413E-05    .18799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.60402
  Normalizat = 1.13981
  Prefactor  = 1.02554
 **********
 **   18 **HESSE 
 **********

 FCN=   7028.097     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      452 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    177.53        .46611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6040        5.4799        .50000       -.74667    
   3  Normalizat    1.1398        .45777E-01    .23561E-05   -.88484    
   4  Prefactor     1.0255        .32970E-01    .17683E-05   -.91883    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.4391e-11
Minuit parameter uncertainties:
  1  0.000243002
  2  669.821
  3  0.0457788
  4  0.0329709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434014': 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) = 7028.0967309
delta logL = 6.42106260784e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.430e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.604e+00  6.698e+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.026e+00  3.297e-02  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.140e+00  4.578e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/434014/cmap_HighResolution_526003201_526262401_4FGL_J1424.6+1447_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-03', job_status='DONE', photon_flux_upper_limit='4.45e-08', time_completed='2021-09-09 14:27:51.014869', job_id='434014', GAL2='1.03', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631222871.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.42e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1106' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:27:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 434014: <4FGL_J1424.6+1447_daily_bin1106> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1106> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:31 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:34 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:16:34 2021
Terminated at Thu Sep  9 14:27:52 2021
Results reported at Thu Sep  9 14:27:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1106 216.169 14.784 526003201 526262401 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 :                                   642.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            681 sec.

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

