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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin174
RA = 216.169, Dec = 14.784
tmin = 284428801, tmax = 284688001
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='428542', job_status='RUN', time_executed='2021-09-09 14:03:59.913289', time_epoch_executed='1631221439.91' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='174'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428542

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428542/ft1_4FGL_J1424.6+1447_daily_bin174.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428542/ft2_4FGL_J1424.6+1447_daily_bin174.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428542/ft1_4FGL_J1424.6+1447_daily_bin174.fits outfile=/scratch/kocevski/428542/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin174.fits ra=216.169 dec=14.784 rad=12.0 tmin=284428801.0 tmax=284688001.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.55
user 3.33
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428542/ft1_filtered_4FGL_J1424.6+1447_daily_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/428542/ft2_4FGL_J1424.6+1447_daily_bin174.fits sctable="SC_DATA" expcube=/scratch/kocevski/428542/ltcube_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.fits outfile=/scratch/kocevski/428542/expmap_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.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/428542/ltcube_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.fits
.....................!
real 191.86
user 186.47
sys 4.99

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/428542/ft1_filtered_4FGL_J1424.6+1447_daily_bin174.fits scfile=/scratch/kocevski/428542/ft2_4FGL_J1424.6+1447_daily_bin174.fits outfile=/scratch/kocevski/428542/cmap_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428542/ft1_filtered_4FGL_J1424.6+1447_daily_bin174.fits scfile=/scratch/kocevski/428542/ft2_4FGL_J1424.6+1447_daily_bin174.fits outfile=/scratch/kocevski/428542/cmap_HighResolution_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.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.51
user 0.37
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18550       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.396       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.593       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.405       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.8249       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9765       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.1962       1.0000         .10000E-03   10000.    
    14 'norm      '    4.5586       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.634       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.809       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.854       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .92928       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5595       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66832       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=   6640.721     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2724 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3551        118.04       -.32344E-04    .38275E-04
   2  Prefactor     .18996        3.1790       -.42153E-06   -.34386E-03
   3  Prefactor     21.396        16.716        .72106E-06    .21482E-04
   4  Prefactor     12.595        12.214       -.92403E-06    .31216E-04
   5  Prefactor     .10000E-03    13.660        .18072E-06** at limit **
   6  Prefactor     15.407        20.871       -.69433E-06    .34086E-04
   7  norm          .10000E-03    9.1244       -.10500E-04** at limit **
   8  Prefactor     .10000E-03    2.0127        .18782E-07** at limit **
   9  norm          9.8251        3.7720        .51228E-06   -.21443E-03
  10  Prefactor     .10000E-03    1.5005        .49098E-07** at limit **
  11  norm          3.9768        2.8299        .46563E-07   -.15944E-03
  12  Prefactor     .10043E-03    117.62       -.28557E-04** at limit **
  13  norm          9.1804        17.034        .23473E-04   -.10732E-03
  14  norm          4.5588        4.9634       -.27019E-05    .57423E-06
  15  Prefactor     .10000E-03    11.207        .59798E-05** at limit **
  16  Prefactor     30.635        23.474        .35842E-06   -.32402E-04
  17  Prefactor     12.811        16.560       -.34049E-05    .93393E-04
  18  Prefactor     .10000E-03    14.265       -.59050E-05** at limit **
  19  Prefactor     46.856        43.933        .11950E-05    .82912E-05
  20  Prefactor     .10000E-03    8.8136        .80259E-05** at limit **
  21  norm          .92931        .25007        .82197E-08   -.30671E-03
  22  norm          .10000E-03    17.882        .21539E-05** at limit **
  23  Normalizat    1.5593        .21997        .43415E-06    .51427E-04
  24  Prefactor     .66846        .15233       -.15329E-05    .12426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35506
  Prefactor  = 0.189964
  Prefactor  = 21.396
  Prefactor  = 12.5953
  Prefactor  = 0.0001
  Prefactor  = 15.4071
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 9.82507
  Prefactor  = 0.0001
  norm       = 3.97677
  Prefactor  = 0.000100434
  norm       = 9.18043
  norm       = 4.55877
  Prefactor  = 0.0001
  Prefactor  = 30.6348
  Prefactor  = 12.8109
  Prefactor  = 0.000100001
  Prefactor  = 46.8559
  Prefactor  = 0.000100001
  norm       = 0.929305
  norm       = 0.0001
  Normalizat = 1.55928
  Prefactor  = 0.668456
 **********
 **   18 **HESSE 
 **********

 FCN=   6640.721     FROM HESSE     STATUS=OK           401 CALLS     3125 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3551        118.02        .22054E-03   -1.5342    
   2  Prefactor     .18996        12.391        .27988E-02   -1.5621    
   3  Prefactor     21.396        16.725        .86592E-04   -1.4783    
   4  Prefactor     12.595        12.246        .11288E-03   -1.4998    
   5  Prefactor     .10000E-03    13.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.407        20.910        .10204E-03   -1.4923    
   7  norm          .10000E-03    9.0739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0173        .11290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.8251        3.7711        .94506E-04   -1.5081    
  10  Prefactor     .10000E-03    1.5035        .97478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9768        2.8288        .11134E-03   -1.5309    
  12  Prefactor     .10043E-03    125.21        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.1804        17.129        .13216E-03   -1.5102    
  14  norm          4.5588        4.9647        .18347E-03   -1.5281    
  15  Prefactor     .10000E-03    11.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.635        23.472        .72391E-04   -1.4600    
  17  Prefactor     12.811        16.547        .11192E-03   -1.4992    
  18  Prefactor     .10000E-03    14.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.856        43.921        .58578E-04   -1.4338    
  20  Prefactor     .10000E-03    8.8578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .92931        .24967        .20294E-04   -1.5515    
  22  norm          .10000E-03    17.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5593        .26449        .26054E-03   -.76126    
  24  Prefactor     .66846        .18130        .26339E-03   -1.0478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12491e-09
Minuit parameter uncertainties:
  1  39.8817
  2  3.06829
  3  16.7286
  4  12.2482
  5  3.06658e-06
  6  20.9198
  7  0.000197673
  8  1.19818e-06
  9  3.7712
  10  8.33606e-07
  11  2.82894
  12  0.0147667
  13  17.1382
  14  4.96516
  15  0.000113345
  16  23.4795
  17  16.5529
  18  0.000182857
  19  43.9515
  20  0.000153549
  21  0.249675
  22  5.68885e-05
  23  0.264729
  24  0.18146
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.198e-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:  6.685e-01  1.815e-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.559e+00  2.647e-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.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428542/likelihoodResults_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.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) = 6640.72300876
delta logL = -0.00228677325958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6640.7207222
delta logL = -2.20131369133e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1474       1.0000          .0000       10.000    
     3 'Normalizat'    1.5592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66851       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=   6640.721     FROM MIGRAD    STATUS=FAILED        84 CALLS      235 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10177E-03    26.541        .11585E-02** at limit **
   2  Index         2.0836        6.0070        .50000        .87659E-04
   3  Normalizat    1.5593        .18583E-01    .26054E-03    .28336E-04
   4  Prefactor     .66845        .12974E-01    .26339E-03    .93232E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6640.721     FROM SIMPLEX   STATUS=UNCHANGED    115 CALLS      350 TOTAL
                     EDM=   .84E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10177E-03    26.541        .23873E-03** at limit **
   2  Index         2.0836        6.0070        .35371E-03    .87659E-04
   3  Normalizat    1.5593        .18583E-01    .24428E-05    .28336E-04
   4  Prefactor     .66845        .12974E-01    .31745E-05    .93232E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6640.721     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      397 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.309        .23171E-02** at limit **
   2  Index         1.6056        8.2439        .50000        .55536E-06
   3  Normalizat    1.5593        .19340E-01    .52108E-04   -.36767E-03
   4  Prefactor     .66845        .13502E-01    .10536E-04   -.35178E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.60561
  Normalizat = 1.55928
  Prefactor  = 0.668455
 **********
 **   18 **HESSE 
 **********

 FCN=   6640.721     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      426 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    164.59        .46342E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6056        5.8000        .50000       -.74623    
   3  Normalizat    1.5593        .43674E-01    .10422E-04   -.76126    
   4  Prefactor     .66845        .30491E-01    .21071E-05   -1.0478    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.92216e-11
Minuit parameter uncertainties:
  1  0.000459318
  2  579.534
  3  0.0436746
  4  0.0304922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428542': 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) = 6640.72071512
delta logL = 6.86263228999e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.593e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.606e+00  5.795e+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:  6.685e-01  3.049e-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.559e+00  4.367e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/428542/cmap_HighResolution_284428801_284688001_4FGL_J1424.6+1447_daily_bin174.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-03', job_status='DONE', photon_flux_upper_limit='4.53e-08', time_completed='2021-09-09 14:14:26.283465', job_id='428542', GAL2='0.67', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1631222066.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='6.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='174' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:14:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 428542: <4FGL_J1424.6+1447_daily_bin174> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin174> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:45 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:47 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:01:47 2021
Terminated at Thu Sep  9 14:14:27 2021
Results reported at Thu Sep  9 14:14:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin174 216.169 14.784 284428801 284688001 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 :                                   624.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            762 sec.

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

