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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin781
RA = 216.169, Dec = 14.784
tmin = 441763201, tmax = 442022401
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='431858', job_status='RUN', time_executed='2021-09-09 14:13:39.151360', time_epoch_executed='1631222019.15' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='781'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431858

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431858/ft1_4FGL_J1424.6+1447_daily_bin781.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431858/ft2_4FGL_J1424.6+1447_daily_bin781.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431858/ft1_4FGL_J1424.6+1447_daily_bin781.fits outfile=/scratch/kocevski/431858/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin781.fits ra=216.169 dec=14.784 rad=12.0 tmin=441763201.0 tmax=442022401.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.46
user 3.22
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431858/ft1_filtered_4FGL_J1424.6+1447_daily_bin781.fits" evtable="EVENTS" scfile=/scratch/kocevski/431858/ft2_4FGL_J1424.6+1447_daily_bin781.fits sctable="SC_DATA" outfile=/scratch/kocevski/431858/ltcube_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.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/431858/ft2_4FGL_J1424.6+1447_daily_bin781.fits
.....................!
real 11.68
user 11.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431858/ft1_filtered_4FGL_J1424.6+1447_daily_bin781.fits evtable="EVENTS" scfile=/scratch/kocevski/431858/ft2_4FGL_J1424.6+1447_daily_bin781.fits sctable="SC_DATA" expcube=/scratch/kocevski/431858/ltcube_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.fits outfile=/scratch/kocevski/431858/expmap_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.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/431858/ltcube_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.fits
.....................!
real 190.72
user 185.46
sys 4.92

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/431858/ft1_filtered_4FGL_J1424.6+1447_daily_bin781.fits scfile=/scratch/kocevski/431858/ft2_4FGL_J1424.6+1447_daily_bin781.fits outfile=/scratch/kocevski/431858/cmap_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431858/ft1_filtered_4FGL_J1424.6+1447_daily_bin781.fits scfile=/scratch/kocevski/431858/ft2_4FGL_J1424.6+1447_daily_bin781.fits outfile=/scratch/kocevski/431858/cmap_HighResolution_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.974       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5946       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1677       1.0000         .10000E-03   10000.    
     7 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.6404       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13382       1.0000         .10000E-03   10000.    
    11 'norm      '    12.409       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0694       1.0000         .10000E-03   10000.    
    13 'norm      '    .11267E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    64.265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.570       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4775       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3999       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84574       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=   7298.651     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     3099 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.922        53.578       -.32439E-06   -.78042E-04
   2  Prefactor     2.5944        2.6154       -.17950E-07    .19469E-04
   3  Prefactor     .10000E-03    5.4815       -.66454E-07** at limit **
   4  Prefactor     .10000E-03    7.4387        .66256E-07** at limit **
   5  Prefactor     .10000E-03    10.194       -.17670E-07** at limit **
   6  Prefactor     4.1682        28.352        .44390E-06   -.15450E-04
   7  norm          .10000E-03    15.201       -.57855E-08** at limit **
   8  Prefactor     .10000E-03    3.1031        .22819E-07** at limit **
   9  norm          7.6406        3.1406        .18804E-07    .13757E-04
  10  Prefactor     .14176        4.2845       -.42739E-06    .34308E-03
  11  norm          12.409        4.1314        .15899E-08    .88429E-04
  12  Prefactor     8.0835        27.977       -.51101E-05   -.16136E-03
  13  norm          .10019E-03    16.636        .31803E-05** at limit **
  14  norm          64.266        10.556       -.81394E-08   -.20865E-05
  15  Prefactor     .10000E-03    26.683        .32430E-07** at limit **
  16  Prefactor     .10000E-03    27.534        .46162E-06** at limit **
  17  Prefactor     .10000E-03    8.5411        .13779E-06** at limit **
  18  Prefactor     .10000E-03    14.477        .97883E-07** at limit **
  19  Prefactor     23.571        29.306        .10544E-06   -.17608E-05
  20  Prefactor     1.4775        13.285        .22653E-05   -.40355E-04
  21  norm          .10000E-03    .57074E-01    .45848E-07** at limit **
  22  norm          .10000E-03    13.004        .65568E-07** at limit **
  23  Normalizat    1.3995        .20590        .39126E-06   -.21132E-03
  24  Prefactor     .84595        .15066       -.11104E-05   -.13893E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.9222
  Prefactor  = 2.59435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.16815
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.6406
  Prefactor  = 0.141759
  norm       = 12.4087
  Prefactor  = 8.0835
  norm       = 0.000100189
  norm       = 64.2662
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.5714
  Prefactor  = 1.47753
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.39953
  Prefactor  = 0.845952
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.651     FROM HESSE     STATUS=OK           401 CALLS     3500 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.922        53.373        .59133E-04   -1.4352    
   2  Prefactor     2.5944        2.6171        .13506E-03   -1.5386    
   3  Prefactor     .10000E-03    5.4920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.5447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.1682        28.430        .19743E-03   -1.5300    
   7  norm          .10000E-03    15.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1207        .14692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.6406        3.1413        .94038E-04   -1.5155    
  10  Prefactor     .14176        34.411        .33146E-02   -1.5633    
  11  norm          12.409        4.1270        .95325E-04   -1.5003    
  12  Prefactor     8.0835        28.255        .14114E-03   -1.5139    
  13  norm          .10019E-03    100.29        .57728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          64.266        10.559        .50060E-04   -1.4103    
  15  Prefactor     .10000E-03    26.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.5814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.571        29.308        .82507E-04   -1.4737    
  20  Prefactor     1.4775        13.004        .35324E-03   -1.5465    
  21  norm          .10000E-03    .75657E-01    .39615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    13.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3995        .25293        .26462E-03   -.80642    
  24  Prefactor     .84595        .18278        .24027E-03   -.98056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58817e-09
Minuit parameter uncertainties:
  1  53.4281
  2  2.61718
  3  5.26767e-06
  4  3.98892e-06
  5  1.10417e-05
  6  21.7863
  7  1.25597e-05
  8  4.70964e-06
  9  3.14139
  10  4.41828
  11  4.12707
  12  28.3022
  13  0.00872658
  14  10.5592
  15  1.31161e-05
  16  3.59545e-05
  17  1.23864e-05
  18  7.80919e-06
  19  29.3263
  20  8.76904
  21  1.40139e-07
  22  2.28935e-05
  23  0.253156
  24  0.182912
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.710e-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:  8.460e-01  1.829e-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.400e+00  2.532e-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.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431858/likelihoodResults_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.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) = 7298.65236334
delta logL = -0.00152347924632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7298.65084056
delta logL = -6.94018126524e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1474       1.0000          .0000       10.000    
     3 'Normalizat'    1.3996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84594       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=   7298.651     FROM MIGRAD    STATUS=FAILED        90 CALLS      241 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10139E-03    29.871        .15053E-02** at limit **
   2  Index         2.0899        6.0169        .50000        .52913E-04
   3  Normalizat    1.3995        .14706E-01    .26461E-03    .23114E-04
   4  Prefactor     .84595        .10751E-01    .24027E-03   -.12302E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7298.651     FROM SIMPLEX   STATUS=PROGRESS     121 CALLS      362 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10128E-03    29.871        .25705E-03** at limit **
   2  Index         2.0886        6.0169        .44237E-03    .52913E-04
   3  Normalizat    1.3995        .14706E-01    .20499E-05    .23114E-04
   4  Prefactor     .84595        .10751E-01    .23609E-05   -.12302E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7298.651     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      418 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.354        .30107E-02** at limit **
   2  Index         1.7405        5.1496        .50000        .69213E-07
   3  Normalizat    1.3995        .13705E-01    .10585E-04   -.24919E-04
   4  Prefactor     .84595        .10019E-01    .96109E-05   -.85168E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.74048
  Normalizat = 1.39953
  Prefactor  = 0.845952
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.651     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      447 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    151.19        .60213E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7405        5.8576        .50000       -.71009    
   3  Normalizat    1.3995        .31737E-01    .21169E-05   -.80642    
   4  Prefactor     .84595        .23201E-01    .19222E-05   -.98056    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.04006e-10
Minuit parameter uncertainties:
  1  4.34623e-05
  2  480.1
  3  0.0317372
  4  0.0232017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431858': 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) = 7298.65083654
delta logL = 3.32368654199e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.346e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.740e+00  4.801e+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:  8.460e-01  2.320e-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.400e+00  3.174e-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/431858/cmap_HighResolution_441763201_442022401_4FGL_J1424.6+1447_daily_bin781.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.56e-08', time_completed='2021-09-09 14:25:12.667315', job_id='431858', GAL2='0.85', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1631222712.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.32e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='781' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:25:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 431858: <4FGL_J1424.6+1447_daily_bin781> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin781> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:34 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11: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:11:34 2021
Terminated at Thu Sep  9 14:25:13 2021
Results reported at Thu Sep  9 14:25:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin781 216.169 14.784 441763201 442022401 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 :                                   691.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             318.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            819 sec.

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

