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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin1302
RA = 216.029, Dec = -17.8447
tmin = 576806401, tmax = 577065601
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='417617', job_status='RUN', time_executed='2021-09-09 13:32:58.866072', time_epoch_executed='1631219578.87' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/417617

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/417617/ft1_4FGL_J1424.1-1750_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/417617/ft1_4FGL_J1424.1-1750_daily_bin1302.fits outfile=/scratch/kocevski/417617/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin1302.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=576806401.0 tmax=577065601.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.35
user 2.08
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.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/417617/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin1302.fits evtable="EVENTS" outfile="/scratch/kocevski/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.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.42
user 0.25
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/417617/ltcube_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.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/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits
.....................!
real 8.92
user 8.63
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/417617/ltcube_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.fits outfile=/scratch/kocevski/417617/expmap_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.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/417617/ltcube_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.fits
.....................!
real 139.36
user 135.72
sys 3.36

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/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits scfile=/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits outfile=/scratch/kocevski/417617/cmap_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.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.46
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits scfile=/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits outfile=/scratch/kocevski/417617/cmap_HighResolution_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.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.44
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/417617/Model_4FGL_J1424.1-1750_daily_bin1302.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/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits.............!
real 12.27
user 10.40
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits', '/scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits', expMap='/scratch/kocevski/417617/expmap_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.fits', expCube='/scratch/kocevski/417617/ltcube_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/417617/Model_4FGL_J1424.1-1750_daily_bin1302.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/417617/ft1_filtered_4FGL_J1424.1-1750_daily_bin1302.fits
Spacecraft file(s): /scratch/kocevski/417617/ft2_4FGL_J1424.1-1750_daily_bin1302.fits
Exposure map: /scratch/kocevski/417617/expmap_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.fits
Exposure cube: /scratch/kocevski/417617/ltcube_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/417617/Model_4FGL_J1424.1-1750_daily_bin1302.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 171.758363523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 169.647737047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1439       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2346       1.0000         .10000E-03   10000.    
     3 'norm      '    2.7629       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8010       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7417       1.0000         .10000E-03   10000.    
     6 'norm      '    2.7678       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6487       1.0000         .10000E-03   10000.    
     8 'norm      '    .34640       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2765       1.0000         .10000E-03   10000.    
    10 'norm      '    325.83       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1944       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .96809       1.0000         .10000E-03   10000.    
    13 'norm      '    .23537E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25525E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2527       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.7637       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7868       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .42582E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81279       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   169.6163     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      227 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1439        1.1603         .0000         .0000    
   2  Prefactor     3.2346        1.0125         .0000         .0000    
   3  norm          2.7629        1.0174         .0000         .0000    
   4  Prefactor     2.8010        1.0169         .0000         .0000    
   5  Prefactor     3.7417        1.0092         .0000         .0000    
   6  norm          2.7678        1.0173         .0000         .0000    
   7  Prefactor     7.6487        1.0021         .0000         .0000    
   8  norm          .10000E-03    .28231        .13457E-04** at limit **
   9  Prefactor     1.2765        1.1106         .0000         .0000    
  10  norm          325.73        .99985        .25787E-06    .27675E-02
  11  Prefactor     .10037E-03    .48609E-01    .34721E-03** at limit **
  12  Prefactor     .10149E-03    .42591        .34598E-03** at limit **
  13  norm          .10000E-03    .20885        .11815E-03** at limit **
  14  Prefactor     .10000E-03    .20930        .69231E-05** at limit **
  15  Prefactor     .21029E-03    .59649E-01    .18561E-03** at limit **
  16  Prefactor     .12472E-03    .37192E-01    .20116E-03** at limit **
  17  Prefactor     .10002E-03    .43555E-01   -.11826E-03** at limit **
  18  Prefactor     .10000E-03    .21316        .25770E-04** at limit **
  19  Normalizat    .10000E-01    .25505        .62008E-03** at limit **
  20  Prefactor     .81290        1.1611       -.24756E-03    .10969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14393
  Prefactor  = 3.23462
  norm       = 2.76293
  Prefactor  = 2.80097
  Prefactor  = 3.74169
  norm       = 2.76781
  Prefactor  = 7.6487
  norm       = 0.0001
  Prefactor  = 1.27646
  norm       = 325.725
  Prefactor  = 0.000100374
  Prefactor  = 0.000101491
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000210294
  Prefactor  = 0.000124725
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.812904
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   169.6163     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     585.07        583.63         .0000       -1.5494    
   2  Prefactor     3.2346        1.0125         .0000       -1.5348    
   3  norm          2.7629        1.0174         .0000       -1.5376    
   4  Prefactor     2.8010        1.0169         .0000       -1.5373    
   5  Prefactor     3.7417        1.0092         .0000       -1.5321    
   6  norm          2.7678        1.0173         .0000       -1.5375    
   7  Prefactor     7.6487        1.0021         .0000       -1.5155    
   8  norm          .10000E-03    .28231        .13457E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2765        1.1106         .0000       -1.5482    
  10  norm          325.73        .99985        .25787E-06   -1.2079    
  11  Prefactor     .10037E-03    .48609E-01    .34721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10149E-03    .42591        .34598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20885        .11815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .20930        .69231E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .21029E-03    .59649E-01    .18561E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12472E-03    .37192E-01    .20116E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    .43555E-01   -.11826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .21316        .25770E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .25505        .62008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .81290        1.1611       -.24756E-03   -.99254    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.29662e-11
Minuit parameter uncertainties:
  1  1.16033
  2  1.01247
  3  1.01739
  4  1.01689
  5  1.00922
  6  1.01733
  7  1.00215
  8  4.45262e-07
  9  1.11061
  10  0.999846
  11  0.000269688
  12  0.00159375
  13  3.61284e-06
  14  2.20534e-07
  15  0.00512989
  16  0.00191788
  17  5.25978e-05
  18  6.27516e-07
  19  5.89823e-07
  20  1.19925
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 169.6163359

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.015e-04  1.594e-03  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:  8.129e-01  1.199e+00  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.000e-02  5.898e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 216.029 -17.845
Photon Flux Upper Limit: 1.02e-05 ph cm-2 s-1
Energy Flux Upper Limit: 7.60e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/417617/likelihoodResults_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.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) = 169.616338483
delta logL = -2.58246996054e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 169.61634428
delta logL = -8.37924045527e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96306E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9001       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81307       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=   169.6163     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      234 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    490.13        .18144E-01** at limit **
   2  Index         2.0402        5.3391        .50000        .27746E-06
   3  Normalizat    .10000E-01    .51106E-03    .68541E-03** at limit **
   4  Prefactor     .81291        .77360E-02    .13833E-03    .64548E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Index      = 2.04022
  Normalizat = 0.01
  Prefactor  = 0.812906
 **********
 **   18 **HESSE 
 **********

 FCN=   169.6163     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      263 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    2283.2        .36287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0402        7.8441        .50000       -.63348    
   3  Normalizat    .10000E-01    .25518E-02    .13708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .81291        .17287E-01    .27666E-04   -.99254    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43036e-09
Minuit parameter uncertainties:
  1  0.0143145
  2  620.12
  3  1.33546e-07
  4  0.0172873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/417617': 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) = 169.616335908
delta logL = -7.69216512708e-09

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.431e-02  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  2.040e+00  6.201e+02  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:  8.129e-01  1.729e-02  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.000e-02  1.335e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.029 -17.845

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/417617/cmap_HighResolution_576806401_577065601_4FGL_J1424.1-1750_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.60e-01', job_status='DONE', photon_flux_upper_limit='1.02e-05', time_completed='2021-09-09 13:37:23.513527', job_id='417617', GAL2='0.81', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631219843.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.81', dlogl='-7.69e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1302' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:37:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 417617: <4FGL_J1424.1-1750_daily_bin1302> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin1302> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 13:31:26 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:31:27 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:31:27 2021
Terminated at Thu Sep  9 13:37:24 2021
Results reported at Thu Sep  9 13:37:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin1302 216.029 -17.8447 576806401 577065601 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 :                                   245.00 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             346.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   356 sec.
    Turnaround time :                            358 sec.

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

