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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin320
RA = 216.029, Dec = -17.8447
tmin = 322272001, tmax = 322531201
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='410099', job_status='RUN', time_executed='2021-09-09 13:15:29.995934', time_epoch_executed='1631218530.0' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410099

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410099/ft1_4FGL_J1424.1-1750_daily_bin320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410099/ft1_4FGL_J1424.1-1750_daily_bin320.fits outfile=/scratch/kocevski/410099/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin320.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=322272001.0 tmax=322531201.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.43
user 3.22
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.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/410099/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin320.fits evtable="EVENTS" outfile="/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits" evtable="EVENTS" scfile=/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits sctable="SC_DATA" outfile=/scratch/kocevski/410099/ltcube_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.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/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits
.....................!
real 15.70
user 15.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits evtable="EVENTS" scfile=/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits sctable="SC_DATA" expcube=/scratch/kocevski/410099/ltcube_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.fits outfile=/scratch/kocevski/410099/expmap_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.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/410099/ltcube_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.fits
.....................!
real 191.09
user 185.91
sys 4.71

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.1-1750 @ 216.029 -17.8447

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits scfile=/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits outfile=/scratch/kocevski/410099/cmap_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.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.029 yref=-17.8447 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits scfile=/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits outfile=/scratch/kocevski/410099/cmap_HighResolution_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.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.029 yref=-17.8447 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits evtable="EVENTS" scfile=/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410099/Model_4FGL_J1424.1-1750_daily_bin320.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/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits.....................!
real 59.53
user 57.80
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits', '/scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits', expMap='/scratch/kocevski/410099/expmap_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.fits', expCube='/scratch/kocevski/410099/ltcube_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/410099/Model_4FGL_J1424.1-1750_daily_bin320.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.1-1750'

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.529e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.900e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  4.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/410099/ft1_filtered_4FGL_J1424.1-1750_daily_bin320.fits
Spacecraft file(s): /scratch/kocevski/410099/ft2_4FGL_J1424.1-1750_daily_bin320.fits
Exposure map: /scratch/kocevski/410099/expmap_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.fits
Exposure cube: /scratch/kocevski/410099/ltcube_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/410099/Model_4FGL_J1424.1-1750_daily_bin320.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) = 6602.4102266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9198       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.286       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7049       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.515       1.0000         .10000E-03   10000.    
    13 'norm      '    22.457       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    62.907       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .47015E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    71.439       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.093       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6893       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .68891       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6602.406     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2034 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8990        .81922E-07** at limit **
   2  Prefactor     .10000E-03    12.769        .17576E-06** at limit **
   3  norm          3.9191        5.3037        .32711E-07   -.97300E-06
   4  Prefactor     17.286        8.6640        .14267E-07    .84721E-05
   5  Prefactor     .10000E-03    32.616        .29770E-06** at limit **
   6  norm          .10000E-03    3.2567        .40987E-07** at limit **
   7  Prefactor     .10000E-03    31.363       -.11927E-06** at limit **
   8  norm          3.3147        2.7371       -.93235E-07    .11299E-04
   9  Prefactor     .10000E-03    11.002        .48754E-07** at limit **
  10  norm          1.7045        12.881        .26549E-05    .26358E-05
  11  Prefactor     .10000E-03    6.9532        .10177E-07** at limit **
  12  Prefactor     22.512        22.607       -.25302E-06   -.28456E-04
  13  norm          22.453        17.658        .65776E-07    .46745E-04
  14  Prefactor     .10000E-03    4.9181       -.15619E-05** at limit **
  15  Prefactor     62.904        64.073        .10036E-06    .97119E-05
  16  Prefactor     .10000E-03    461.38       -.21648E-04** at limit **
  17  Prefactor     71.515        58.430       -.63933E-06    .31560E-04
  18  Prefactor     12.098        18.095        .31539E-06    .54702E-04
  19  Normalizat    1.6894        .27708       -.34228E-06    .71154E-04
  20  Prefactor     .68891        .10498        .12333E-06    .13844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.91909
  Prefactor  = 17.2857
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.31472
  Prefactor  = 0.0001
  norm       = 1.7045
  Prefactor  = 0.0001
  Prefactor  = 22.5115
  norm       = 22.4531
  Prefactor  = 0.0001
  Prefactor  = 62.9042
  Prefactor  = 0.0001
  Prefactor  = 71.5146
  Prefactor  = 12.0975
  Normalizat = 1.68943
  Prefactor  = 0.68891
 **********
 **   18 **HESSE 
 **********

 FCN=   6602.406     FROM HESSE     STATUS=OK           287 CALLS     2321 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9191        5.2960        .20377E-03   -1.5312    
   4  Prefactor     17.286        8.7058        .96332E-04   -1.4876    
   5  Prefactor     .10000E-03    32.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.2619        .14314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    31.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3147        2.7377        .11662E-03   -1.5344    
   9  Prefactor     .10000E-03    11.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7045        12.933        .16103E-02   -1.5447    
  11  Prefactor     .10000E-03    6.9568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.512        22.642        .84416E-04   -1.4759    
  13  norm          22.453        17.657        .84523E-04   -1.4760    
  14  Prefactor     .10000E-03    4.9232        .17474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     62.904        64.092        .50593E-04   -1.4120    
  16  Prefactor     .10000E-03    461.24        .19286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     71.515        58.305        .47496E-04   -1.4015    
  18  Prefactor     12.098        18.137        .11519E-03   -1.5012    
  19  Normalizat    1.6894        .32684        .33125E-03   -.72586    
  20  Prefactor     .68891        .12403        .19273E-03   -1.0396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33045e-11
Minuit parameter uncertainties:
  1  6.64091e-07
  2  1.87676e-06
  3  5.29662
  4  8.70645
  5  3.82504e-05
  6  1.54226e-07
  7  3.54064e-05
  8  2.73784
  9  1.23381e-06
  10  9.3929
  11  2.91611e-07
  12  22.6501
  13  17.6616
  14  9.43883e-06
  15  64.1629
  16  0.000493176
  17  58.352
  18  18.1456
  19  0.327257
  20  0.124082
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  2.251e+01  2.265e+01  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.900e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  4.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  6.889e-01  1.241e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.689e+00  3.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.10
Ra Dec: 216.029 -17.845
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.83e-08 +/- 2.84e-08
Energy Flux (Fixed Index): 2.54e-05 +/- 2.55e-05

TS (Fixed Index): 3.10
Ra Dec: 216.029 -17.845
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410099/likelihoodResults_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.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): 0
logL (Free Index) = 6602.05602672
delta logL = 0.350122290726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6602.02088097
delta logL = 0.385268042613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.557       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3551       1.0000          .0000       10.000    
     3 'Normalizat'    1.7020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+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=   6602.021     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      285 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.559        33.519        .69175E-04   -.87432E-05
   2  Index         1.3551        .58463        .11912E-01    .75071E-04
   3  Normalizat    1.7020        .31033        .33026E-03   -.22341E-04
   4  Prefactor     .68754        .12265        .19290E-03   -.16266E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.5589
  Index      = 1.35512
  Normalizat = 1.70197
  Prefactor  = 0.687543
 **********
 **   18 **HESSE 
 **********

 FCN=   6602.021     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.559        33.535        .13835E-04   -1.4549    
   2  Index         1.3551        .58504        .23824E-02   -.81682    
   3  Normalizat    1.7020        .31060        .13210E-04   -.72251    
   4  Prefactor     .68754        .12276        .77159E-05   -1.0402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04179e-12
Minuit parameter uncertainties:
  1  33.5537
  2  0.587931
  3  0.310952
  4  0.122812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410099': 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) = 6602.02088097
delta logL = 0.385268045298

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  3.356e+01  3.355e+01  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.355e+00  5.879e-01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  4.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  6.875e-01  1.228e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.702e+00  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.88
Ra Dec: 216.029 -17.845
Photon Index (Free Index): 1.36 +/- 0.59
Photon Flux (Free Index): 1.30e-08 +/- 1.78e-08
Energy Flux (Free Index): 6.67e-05 +/- 9.38e-05

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/410099/cmap_HighResolution_322272001_322531201_4FGL_J1424.1-1750_daily_bin320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.16e-03', comment='SUCCESS', photon_flux='2.83e-08', energy_flux2='6.67e-05', photon_flux_error='2.84e-08', dlogl='3.85e-01', energy_flux='2.54e-05', photon_flux2='1.30e-08', job_status='DONE', time_completed='2021-09-09 13:25:46.705530', photon_index_error2='0.59', photon_index2='1.36', ts='3.10', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='9.38e-05', EG='1.69', time_epoch_completed='1631219146.71', return_code='0', job_id='410099', GAL2='0.69', EG2='1.70', return_code2='0', energy_flux_error='2.55e-05', photon_flux_error2='1.78e-08', ts2='3.88', photon_index='1.90' WHERE bin_id='320' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:25:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 410099: <4FGL_J1424.1-1750_daily_bin320> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin320> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 13:11:17 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:11:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:11:21 2021
Terminated at Thu Sep  9 13:25:47 2021
Results reported at Thu Sep  9 13:25:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin320 216.029 -17.8447 322272001 322531201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.1-1750 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             230.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            870 sec.

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

