/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 133 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 = 7450
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin50
RA = 216.169, Dec = 14.784
tmin = 252288001, tmax = 252547201
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='428346', job_status='RUN', time_executed='2021-09-09 14:03:58.656872', time_epoch_executed='1631221438.66' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428346

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428346/ft1_4FGL_J1424.6+1447_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428346/ft2_4FGL_J1424.6+1447_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428346/ft1_4FGL_J1424.6+1447_daily_bin50.fits outfile=/scratch/kocevski/428346/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin50.fits ra=216.169 dec=14.784 rad=12.0 tmin=252288001.0 tmax=252547201.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 2.63
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428346/ft2_4FGL_J1424.6+1447_daily_bin50.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/428346/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin50.fits evtable="EVENTS" outfile="/scratch/kocevski/428346/ft1_filtered_4FGL_J1424.6+1447_daily_bin50.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.52
user 0.32
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428346/ft1_filtered_4FGL_J1424.6+1447_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/428346/ft2_4FGL_J1424.6+1447_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/428346/ltcube_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.fits outfile=/scratch/kocevski/428346/expmap_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.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/428346/ltcube_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.fits
.....................!
real 193.61
user 187.78
sys 5.45

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/428346/ft1_filtered_4FGL_J1424.6+1447_daily_bin50.fits scfile=/scratch/kocevski/428346/ft2_4FGL_J1424.6+1447_daily_bin50.fits outfile=/scratch/kocevski/428346/cmap_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.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/428346/ft1_filtered_4FGL_J1424.6+1447_daily_bin50.fits scfile=/scratch/kocevski/428346/ft2_4FGL_J1424.6+1447_daily_bin50.fits outfile=/scratch/kocevski/428346/cmap_HighResolution_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.315       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28814       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2884       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.499       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.528       1.0000         .10000E-03   10000.    
     7 'norm      '    13.700       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8166       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.287       1.0000         .10000E-03   10000.    
    13 'norm      '    8.6667       1.0000         .10000E-03   10000.    
    14 'norm      '    .20925E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10892E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.931       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6057       1.0000         .10000E-03   10000.    
    21 'norm      '    4.7638       1.0000         .10000E-03   10000.    
    22 'norm      '    31.304       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5195       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66112       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=   10325.89     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2367 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.315        20.929        .14702E-06    .35775E-05
   2  Prefactor     .27172        1.7230       -.38191E-06   -.31179E-03
   3  Prefactor     9.2879        11.903       -.84538E-06   -.27385E-04
   4  Prefactor     .10000E-03    3.5811       -.18072E-06** at limit **
   5  Prefactor     20.497        18.545       -.17438E-05   -.12302E-04
   6  Prefactor     12.528        12.472        .25672E-07    .28754E-05
   7  norm          13.700        15.093       -.44926E-06   -.97054E-05
   8  Prefactor     .10000E-03    1.3409        .27991E-06** at limit **
   9  norm          5.8171        2.7032       -.94764E-07   -.95249E-04
  10  Prefactor     .10000E-03    2.6157        .39297E-06** at limit **
  11  norm          .10000E-03    .56193       -.15105E-06** at limit **
  12  Prefactor     23.294        29.262        .29508E-04   -.67208E-06
  13  norm          8.6338        18.180       -.19202E-04   -.31060E-04
  14  norm          .10000E-03    2.1910        .56981E-07** at limit **
  15  Prefactor     .10000E-03    3.4935       -.11338E-06** at limit **
  16  Prefactor     .10000E-03    35.081       -.41442E-05** at limit **
  17  Prefactor     .10000E-03    3.5716        .10250E-06** at limit **
  18  Prefactor     31.927        20.441       -.29995E-05   -.58382E-05
  19  Prefactor     .10000E-03    8.6716       -.89342E-06** at limit **
  20  Prefactor     4.6062        6.0790       -.13850E-06   -.15678E-03
  21  norm          4.7636        .37573        .30396E-08    .66908E-03
  22  norm          31.304        29.847       -.40620E-06    .20597E-05
  23  Normalizat    1.5195        .17484        .21759E-06    .16815E-04
  24  Prefactor     .66114        .12383       -.14328E-06    .16598E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3152
  Prefactor  = 0.271716
  Prefactor  = 9.28785
  Prefactor  = 0.0001
  Prefactor  = 20.4974
  Prefactor  = 12.5276
  norm       = 13.6998
  Prefactor  = 0.0001
  norm       = 5.81707
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.2943
  norm       = 8.63381
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.9272
  Prefactor  = 0.0001
  Prefactor  = 4.60619
  norm       = 4.76358
  norm       = 31.3041
  Normalizat = 1.51951
  Prefactor  = 0.661141
 **********
 **   18 **HESSE 
 **********

 FCN=   10325.89     FROM HESSE     STATUS=OK           407 CALLS     2774 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.315        20.922        .10586E-03   -1.4951    
   2  Prefactor     .27172        8.6716        .25495E-02   -1.5604    
   3  Prefactor     9.2879        11.887        .13150E-03   -1.5098    
   4  Prefactor     .10000E-03    3.5920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.497        18.570        .88464E-04   -1.4802    
   6  Prefactor     12.528        12.480        .11317E-03   -1.5000    
   7  norm          13.700        15.097        .10821E-03   -1.4968    
   8  Prefactor     .10000E-03    1.3421        .11489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8171        2.7025        .11008E-03   -1.5226    
  10  Prefactor     .10000E-03    6.8086        .31556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .56618        .74372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.294        29.294        .83006E-04   -1.4742    
  13  norm          8.6338        18.230        .13616E-03   -1.5120    
  14  norm          .10000E-03    5.0887        .29209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.4941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.5756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.927        20.446        .70909E-04   -1.4577    
  19  Prefactor     .10000E-03    8.6725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6062        6.0730        .18755E-03   -1.5279    
  21  norm          4.7636        .37594        .16891E-04   -1.5271    
  22  norm          31.304        29.853        .71613E-04   -1.4588    
  23  Normalizat    1.5195        .21435        .26745E-03   -.77232    
  24  Prefactor     .66114        .15203        .27480E-03   -1.0507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8818e-10
Minuit parameter uncertainties:
  1  20.9326
  2  3.06991
  3  11.8899
  4  1.29936e-06
  5  18.5748
  6  12.4827
  7  15.1011
  8  5.61892e-07
  9  2.70254
  10  9.42095e-05
  11  2.64187e-07
  12  29.3117
  13  18.2417
  14  7.75464e-06
  15  4.39969e-06
  16  1.51518e-05
  17  6.18388e-06
  18  20.4504
  19  1.0263e-05
  20  6.0738
  21  0.375945
  22  29.8672
  23  0.214476
  24  0.152129
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.619e-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:  6.611e-01  1.521e-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.520e+00  2.145e-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: 3.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428346/likelihoodResults_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.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) = 10325.8957146
delta logL = -0.00341933562777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10325.8922945
delta logL = 7.64703145251e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1483       1.0000          .0000       10.000    
     3 'Normalizat'    1.5195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66117       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10325.89     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      225 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4170        .90712E-02** at limit **
   2  Index         1.5758        5.9578        .50000        .14825E-07
   3  Normalizat    1.5195        .80299E-02    .60480E-01    .86631E-04
   4  Prefactor     .66114        .57299E-02    .62117E-01    .11558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.5758
  Normalizat = 1.51951
  Prefactor  = 0.661141
 **********
 **   18 **HESSE 
 **********

 FCN=   10325.89     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      256 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.289        .13538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5758        5.7066        .50000       -.75438    
   3  Normalizat    1.5195        .21812E-01    .26745E-03   -.77232    
   4  Prefactor     .66114        .15548E-01    .27480E-03   -1.0507    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.92565e-12
Minuit parameter uncertainties:
  1  1.35791e-05
  2  324.403
  3  0.0218121
  4  0.0155483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428346': 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) = 10325.8922849
delta logL = 1.03937636595e-05

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.358e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.576e+00  3.244e+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.611e-01  1.555e-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.520e+00  2.181e-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/428346/cmap_HighResolution_252288001_252547201_4FGL_J1424.6+1447_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', job_status='DONE', photon_flux_upper_limit='3.25e-08', time_completed='2021-09-09 14:17:05.456230', job_id='428346', GAL2='0.66', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1631222225.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.04e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='50' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:17:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 428346: <4FGL_J1424.6+1447_daily_bin50> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin50 216.169 14.784 252288001 252547201 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 :                                   785.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            932 sec.

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

