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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin350
RA = 216.169, Dec = 14.784
tmin = 330048001, tmax = 330307201
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='429984', job_status='RUN', time_executed='2021-09-09 14:09:59.052155', time_epoch_executed='1631221799.05' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429984

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429984/ft1_4FGL_J1424.6+1447_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429984/ft2_4FGL_J1424.6+1447_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429984/ft1_4FGL_J1424.6+1447_daily_bin350.fits outfile=/scratch/kocevski/429984/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin350.fits ra=216.169 dec=14.784 rad=12.0 tmin=330048001.0 tmax=330307201.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.49
user 3.28
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429984/ft1_filtered_4FGL_J1424.6+1447_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/429984/ft2_4FGL_J1424.6+1447_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/429984/ltcube_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.fits outfile=/scratch/kocevski/429984/expmap_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.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/429984/ltcube_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.fits
.....................!
real 190.99
user 185.22
sys 5.37

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/429984/ft1_filtered_4FGL_J1424.6+1447_daily_bin350.fits scfile=/scratch/kocevski/429984/ft2_4FGL_J1424.6+1447_daily_bin350.fits outfile=/scratch/kocevski/429984/cmap_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429984/ft1_filtered_4FGL_J1424.6+1447_daily_bin350.fits scfile=/scratch/kocevski/429984/ft2_4FGL_J1424.6+1447_daily_bin350.fits outfile=/scratch/kocevski/429984/cmap_HighResolution_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.920       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.1837       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70239E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5290       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.8967       1.0000         .10000E-03   10000.    
    14 'norm      '    3.9267       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.984       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17995E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6620       1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.741       1.0000         .10000E-03   10000.    
    21 'norm      '    1.7605       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3316       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86993       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=   7474.477     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2693 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.915        40.562       -.39685E-07   -.14880E-05
   2  Prefactor     .10000E-03    3.1096       -.21520E-06** at limit **
   3  Prefactor     .10000E-03    20.326       -.39894E-06** at limit **
   4  Prefactor     .10000E-03    4.1868       -.97946E-07** at limit **
   5  Prefactor     .10000E-03    31.120       -.72220E-06** at limit **
   6  Prefactor     .10000E-03    18.537       -.23090E-06** at limit **
   7  norm          .10000E-03    22.740       -.30560E-06** at limit **
   8  Prefactor     .10000E-03    2.8894       -.73419E-07** at limit **
   9  norm          8.1833        3.6221        .53171E-08    .63091E-04
  10  Prefactor     .10001E-03    5.6979       -.12446E-05** at limit **
  11  norm          1.5294        1.7189       -.71253E-08    .13752E-03
  12  Prefactor     .10000E-03    16.490       -.28259E-06** at limit **
  13  norm          6.8977        9.6841        .76305E-06    .75386E-04
  14  norm          3.9268        4.3086        .16437E-06    .26554E-04
  15  Prefactor     .10000E-03    18.222        .31187E-06** at limit **
  16  Prefactor     .10000E-03    20.767       -.25718E-06** at limit **
  17  Prefactor     14.958        19.426        .48213E-06    .12982E-04
  18  Prefactor     .10001E-03    65.736        .12753E-04** at limit **
  19  Prefactor     9.7443        61.995       -.33203E-06    .87854E-05
  20  Prefactor     33.738        16.125        .39627E-08    .12059E-04
  21  norm          1.7605        .30640        .67272E-08    .28073E-03
  22  norm          .10000E-03    13.643        .11416E-06** at limit **
  23  Normalizat    1.3323        .21746        .30159E-05    .91442E-04
  24  Prefactor     .86956        .15551       -.23326E-05    .30862E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.9153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.18332
  Prefactor  = 0.000100012
  norm       = 1.52937
  Prefactor  = 0.0001
  norm       = 6.89774
  norm       = 3.92676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9576
  Prefactor  = 0.000100006
  Prefactor  = 9.74434
  Prefactor  = 33.7383
  norm       = 1.76047
  norm       = 0.0001
  Normalizat = 1.33227
  Prefactor  = 0.869558
 **********
 **   18 **HESSE 
 **********

 FCN=   7474.477     FROM HESSE     STATUS=OK           393 CALLS     3086 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.915        40.561        .55660E-04   -1.4266    
   2  Prefactor     .10000E-03    3.1971        .29766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.296        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.2034        .17277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.986        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    22.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.9205        .14346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.1833        3.6214        .10546E-03   -1.5136    
  10  Prefactor     .10001E-03    18.897        .37485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5294        1.7148        .11640E-03   -1.5461    
  12  Prefactor     .10000E-03    16.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.8977        9.6849        .76386E-03   -1.5183    
  14  norm          3.9268        4.3007        .18236E-03   -1.5312    
  15  Prefactor     .10000E-03    18.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.958        19.426        .10347E-03   -1.4934    
  18  Prefactor     .10001E-03    68.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.7443        61.728        .12892E-03   -1.5084    
  20  Prefactor     33.738        16.123        .68987E-04   -1.4546    
  21  norm          1.7605        .30637        .19144E-04   -1.5443    
  22  norm          .10000E-03    13.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3323        .24469        .28021E-03   -.82608    
  24  Prefactor     .86956        .17514        .23972E-03   -.97213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.11139e-10
Minuit parameter uncertainties:
  1  40.5822
  2  2.90112e-06
  3  1.55661e-05
  4  4.17709e-06
  5  6.306e-05
  6  1.3594e-05
  7  2.54423e-05
  8  6.45391e-07
  9  3.62152
  10  0.000964934
  11  1.71485
  12  5.70623e-05
  13  9.68713
  14  4.30102
  15  1.15025e-05
  16  2.40462e-05
  17  19.4344
  18  0.0012869
  19  49.1253
  20  16.1251
  21  0.306367
  22  8.87429e-06
  23  0.244908
  24  0.175248
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.454e-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:  8.696e-01  1.752e-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.332e+00  2.449e-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.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429984/likelihoodResults_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.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) = 7474.47893963
delta logL = -0.00162712066231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7474.47731344
delta logL = -9.36574906518e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10835E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1460       1.0000          .0000       10.000    
     3 'Normalizat'    1.3323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86954       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=   7474.477     FROM MIGRAD    STATUS=FAILED        94 CALLS      245 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10425E-03    1.0790        .14778E-01** at limit **
   2  Index         2.0456        7.4288        .50000        .72176E-04
   3  Normalizat    1.3323        .28770E-02    .28021E-03    .41749E-04
   4  Prefactor     .86956        .20493E-02    .23972E-03   -.30636E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7472.680     FROM SIMPLEX   STATUS=PROGRESS     143 CALLS      388 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27073        1.0790        .31743E-04    .30692E-01
   2  Index         .48330E-05    7.4288        .41966E-02    .72176E-04
   3  Normalizat    1.3338        .28770E-02    .56242E-05    .41749E-04
   4  Prefactor     .87008        .20493E-02    .49105E-05   -.30636E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7472.674     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      463 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27076        .33199        .10610E-01    .46240E-03
   2  Index         .85304E-11    .33468        .50000    ** at limit **
   3  Normalizat    1.3090        .24323        .11208E-04   -.12719E-03
   4  Prefactor     .88270        .17338        .95888E-05   -.16504E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.270757
  Index      = 8.5304e-12
  Normalizat = 1.30898
  Prefactor  = 0.882697
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.674     FROM HESSE     STATUS=OK            29 CALLS      492 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27076        .29096        .49144E-03   -1.5812    
   2  Index         .85304E-11    .71528        .28368E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3090        .24246        .22417E-05   -.83299    
   4  Prefactor     .88270        .17296        .19178E-05   -.96748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76976e-11
Minuit parameter uncertainties:
  1  0.290959
  2  5.00114e-06
  3  0.242667
  4  0.173062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429984': 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) = 7472.67403569
delta logL = 1.80327681152

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.708e-01  2.910e-01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  8.530e-12  5.001e-06  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:  8.827e-01  1.731e-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.309e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.61
Ra Dec: 216.169 14.784
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.71e-09 +/- 2.91e-09
Energy Flux (Free Index): 1.36e-04 +/- 1.45e-04

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/429984/cmap_HighResolution_330048001_330307201_4FGL_J1424.6+1447_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-03', comment='SUCCESS', energy_flux2='1.36e-04', dlogl='1.80e+00', photon_flux2='2.71e-09', job_status='DONE', time_completed='2021-09-09 14:21:08.397919', photon_index_error2='0.00', photon_index2='0.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='4.95e-08', energy_flux_error2='1.45e-04', EG='1.33', time_epoch_completed='1631222468.4', return_code='0', job_id='429984', GAL2='0.88', EG2='1.31', return_code2='0', photon_flux_error2='2.91e-09', ts2='3.61', photon_index='2.17' WHERE bin_id='350' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:21:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 429984: <4FGL_J1424.6+1447_daily_bin350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin350 216.169 14.784 330048001 330307201 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 :                                   665.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            881 sec.

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

