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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin970
RA = 216.169, Dec = 14.784
tmin = 490752001, tmax = 491011201
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='433813', job_status='RUN', time_executed='2021-09-09 14:18:59.106417', time_epoch_executed='1631222339.11' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='970'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433813

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433813/ft1_4FGL_J1424.6+1447_daily_bin970.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433813/ft2_4FGL_J1424.6+1447_daily_bin970.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433813/ft1_4FGL_J1424.6+1447_daily_bin970.fits outfile=/scratch/kocevski/433813/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin970.fits ra=216.169 dec=14.784 rad=12.0 tmin=490752001.0 tmax=491011201.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 6.29
user 5.68
sys 0.57

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433813/ft2_4FGL_J1424.6+1447_daily_bin970.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/433813/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin970.fits evtable="EVENTS" outfile="/scratch/kocevski/433813/ft1_filtered_4FGL_J1424.6+1447_daily_bin970.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433813/ft1_filtered_4FGL_J1424.6+1447_daily_bin970.fits evtable="EVENTS" scfile=/scratch/kocevski/433813/ft2_4FGL_J1424.6+1447_daily_bin970.fits sctable="SC_DATA" expcube=/scratch/kocevski/433813/ltcube_490752001_491011201_4FGL_J1424.6+1447_daily_bin970.fits outfile=/scratch/kocevski/433813/expmap_490752001_491011201_4FGL_J1424.6+1447_daily_bin970.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/433813/ltcube_490752001_491011201_4FGL_J1424.6+1447_daily_bin970.fits
.....................!
real 191.87
user 186.02
sys 5.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/433813/ft1_filtered_4FGL_J1424.6+1447_daily_bin970.fits scfile=/scratch/kocevski/433813/ft2_4FGL_J1424.6+1447_daily_bin970.fits outfile=/scratch/kocevski/433813/cmap_490752001_491011201_4FGL_J1424.6+1447_daily_bin970.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433813/ft1_filtered_4FGL_J1424.6+1447_daily_bin970.fits scfile=/scratch/kocevski/433813/ft2_4FGL_J1424.6+1447_daily_bin970.fits outfile=/scratch/kocevski/433813/cmap_HighResolution_490752001_491011201_4FGL_J1424.6+1447_daily_bin970.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.58
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8251       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.759       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.558       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5199       1.0000         .10000E-03   10000.    
     7 'norm      '    23.332       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.7190       1.0000         .10000E-03   10000.    
     9 'norm      '    4.4880       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8332       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6182       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.7306       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1120       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38035E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.609       1.0000         .10000E-03   10000.    
    21 'norm      '    .75845       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94060       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0958       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=   8726.172     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2710 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.596        .65190E-06** at limit **
   2  Prefactor     4.8252        4.1131        .48780E-07    .44473E-05
   3  Prefactor     .10000E-03    8.4102       -.59644E-07** at limit **
   4  Prefactor     13.760        14.388       -.24940E-06   -.10611E-04
   5  Prefactor     36.556        26.033       -.43707E-07   -.66584E-06
   6  Prefactor     2.5206        18.729       -.53401E-06   -.26843E-04
   7  norm          23.333        15.190       -.23785E-06   -.12950E-04
   8  Prefactor     9.7187        6.5342       -.25079E-07   -.11488E-04
   9  norm          4.4881        2.5192       -.11815E-07    .26503E-04
  10  Prefactor     1.8337        3.9187        .29709E-07   -.15452E-03
  11  norm          3.6181        2.3717       -.10408E-07   -.25088E-04
  12  Prefactor     .10000E-03    11.093        .37239E-05** at limit **
  13  norm          .10000E-03    8.0457        .22520E-05** at limit **
  14  norm          4.7303        2.7700        .24793E-06   -.15120E-02
  15  Prefactor     .10000E-03    7.4175       -.85266E-06** at limit **
  16  Prefactor     7.1129        17.306       -.11489E-05   -.31377E-04
  17  Prefactor     .10000E-03    7.5530        .20002E-08** at limit **
  18  Prefactor     .10000E-03    5.3460       -.77478E-09** at limit **
  19  Prefactor     .10000E-03    9.5385       -.36829E-05** at limit **
  20  Prefactor     10.609        11.146        .77342E-07   -.23718E-03
  21  norm          .75845        .16893        .19230E-08    .25607E-04
  22  norm          .10000E-03    14.233       -.18804E-05** at limit **
  23  Normalizat    .94052        .19624        .86252E-07   -.20285E-04
  24  Prefactor     1.0959        .13709        .26859E-07   -.25675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.82524
  Prefactor  = 0.0001
  Prefactor  = 13.7599
  Prefactor  = 36.5559
  Prefactor  = 2.52055
  norm       = 23.333
  Prefactor  = 9.71867
  norm       = 4.48808
  Prefactor  = 1.83368
  norm       = 3.61807
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.73029
  Prefactor  = 0.0001
  Prefactor  = 7.11286
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6087
  norm       = 0.758451
  norm       = 0.0001
  Normalizat = 0.940516
  Prefactor  = 1.09589
 **********
 **   18 **HESSE 
 **********

 FCN=   8726.172     FROM HESSE     STATUS=OK           411 CALLS     3121 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8252        4.1164        .16951E-03   -1.5269    
   3  Prefactor     .10000E-03    8.4480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.760        14.439        .10798E-03   -1.4966    
   5  Prefactor     36.556        26.058        .66283E-04   -1.4498    
   6  Prefactor     2.5206        18.782        .25736E-03   -1.5390    
   7  norm          23.333        15.189        .82925E-04   -1.4742    
   8  Prefactor     9.7187        6.5175        .12854E-03   -1.5084    
   9  norm          4.4881        2.5234        .10791E-03   -1.5284    
  10  Prefactor     1.8337        3.9042        .25895E-03   -1.5437    
  11  norm          3.6181        2.3686        .11236E-03   -1.5328    
  12  Prefactor     .10000E-03    11.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.0782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7303        5.7535        .92501E-03   -1.5273    
  15  Prefactor     .10000E-03    7.4321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.1129        17.347        .15042E-03   -1.5175    
  17  Prefactor     .10000E-03    10.745        .76335E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.3493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.5650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.609        11.288        .61505E-03   -1.5056    
  21  norm          .75845        .16885        .17306E-04   -1.5534    
  22  norm          .10000E-03    14.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94052        .23846        .31547E-03   -.95051    
  24  Prefactor     1.0959        .16755        .21013E-03   -.89598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66939e-09
Minuit parameter uncertainties:
  1  1.08639e-05
  2  4.11663
  3  1.10105e-06
  4  14.4424
  5  26.0664
  6  13.7667
  7  15.1917
  8  6.51799
  9  2.52346
  10  3.90476
  11  2.36868
  12  4.63517e-05
  13  2.28715e-05
  14  5.75419
  15  9.00258e-06
  16  17.359
  17  0.000374259
  18  1.66348e-07
  19  4.44056e-05
  20  11.2902
  21  0.168848
  22  2.74891e-05
  23  0.238732
  24  0.167632
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  9.719e+00  6.518e+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

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.096e+00  1.676e-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:  9.405e-01  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.68
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 4.21e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 1.34e-05

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): 0
logL (Free Index) = 8725.73384074
delta logL = 0.438094349374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8725.73297005
delta logL = 0.438965036759

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.759       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7365       1.0000          .0000       10.000    
     3 'Normalizat'    .96123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0877       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.

 FCN=   8725.733     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      297 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.759        8.5505        .11214E-03   -.51553E-03
   2  Index         1.7365        .45294        .91154E-02   -.13748E-03
   3  Normalizat    .96121        .23193        .31246E-03    .17516E-03
   4  Prefactor     1.0878        .16620        .21080E-03    .49319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.759
  Index      = 1.73652
  Normalizat = 0.96121
  Prefactor  = 1.08775
 **********
 **   18 **HESSE 
 **********

 FCN=   8725.733     FROM HESSE     STATUS=OK            23 CALLS      320 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.759        8.5394        .22428E-04   -1.4993    
   2  Index         1.7365        .45233        .36462E-03   -.71114    
   3  Normalizat    .96121        .23214        .12498E-04   -.94342    
   4  Prefactor     1.0878        .16638        .42160E-04   -.89859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98882e-10
Minuit parameter uncertainties:
  1  8.54024
  2  0.453407
  3  0.232384
  4  0.166459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433813': 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) = 8725.73297005
delta logL = 0.438965038429

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.276e+01  8.540e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.737e+00  4.534e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.088e+00  1.665e-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:  9.612e-01  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.57
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.74 +/- 0.45
Photon Flux (Free Index): 2.51e-08 +/- 2.41e-08
Energy Flux (Free Index): 3.64e-05 +/- 3.61e-05

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/433813/cmap_HighResolution_490752001_491011201_4FGL_J1424.6+1447_daily_bin970.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.21e-08', energy_flux2='3.64e-05', photon_flux_error='2.82e-08', dlogl='4.39e-01', energy_flux='1.99e-05', photon_flux2='2.51e-08', job_status='DONE', time_completed='2021-09-09 14:30:01.371937', photon_index_error2='0.45', photon_index2='1.74', ts='4.68', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.61e-05', EG='0.94', time_epoch_completed='1631223001.37', return_code='0', job_id='433813', GAL2='1.09', EG2='0.96', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='2.41e-08', ts2='5.57', photon_index='2.17' WHERE bin_id='970' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:30:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 433813: <4FGL_J1424.6+1447_daily_bin970> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin970> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:19 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:16:20 2021
Terminated at Thu Sep  9 14:30:02 2021
Results reported at Thu Sep  9 14:30:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin970 216.169 14.784 490752001 491011201 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 :                                   656.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            823 sec.

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

