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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin697
RA = 216.029, Dec = -17.8447
tmin = 419990401, tmax = 420249601
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='413193', job_status='RUN', time_executed='2021-09-09 13:21:48.068557', time_epoch_executed='1631218908.07' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413193

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413193/ft1_4FGL_J1424.1-1750_daily_bin697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413193/ft1_4FGL_J1424.1-1750_daily_bin697.fits outfile=/scratch/kocevski/413193/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin697.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=419990401.0 tmax=420249601.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.89
user 3.17
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.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/413193/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin697.fits evtable="EVENTS" outfile="/scratch/kocevski/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.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.62
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits" evtable="EVENTS" scfile=/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits sctable="SC_DATA" outfile=/scratch/kocevski/413193/ltcube_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.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/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits
.....................!
real 12.87
user 11.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits sctable="SC_DATA" expcube=/scratch/kocevski/413193/ltcube_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.fits outfile=/scratch/kocevski/413193/expmap_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.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/413193/ltcube_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.fits
.....................!
real 192.97
user 186.55
sys 5.94

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/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits scfile=/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits outfile=/scratch/kocevski/413193/cmap_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.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.66
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits scfile=/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits outfile=/scratch/kocevski/413193/cmap_HighResolution_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413193/Model_4FGL_J1424.1-1750_daily_bin697.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/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits.....................!
real 65.37
user 64.00
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits', '/scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits', expMap='/scratch/kocevski/413193/expmap_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.fits', expCube='/scratch/kocevski/413193/ltcube_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/413193/Model_4FGL_J1424.1-1750_daily_bin697.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/413193/ft1_filtered_4FGL_J1424.1-1750_daily_bin697.fits
Spacecraft file(s): /scratch/kocevski/413193/ft2_4FGL_J1424.1-1750_daily_bin697.fits
Exposure map: /scratch/kocevski/413193/expmap_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.fits
Exposure cube: /scratch/kocevski/413193/ltcube_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/413193/Model_4FGL_J1424.1-1750_daily_bin697.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) = 7759.72234114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.8051       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.153       1.0000         .10000E-03   10000.    
     5 'Prefactor '    76.648       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8950       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.5149       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0321       1.0000         .10000E-03   10000.    
    13 'norm      '    30.689       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .66357E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .87767E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    103.76       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2976       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .64057       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2638       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=   7759.714     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2117 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8459       -.11431E-06** at limit **
   2  Prefactor     .10000E-03    5.2345       -.95610E-07** at limit **
   3  norm          5.8070        8.2847        .30357E-06   -.65694E-04
   4  Prefactor     10.152        7.1549       -.95552E-06   -.10209E-03
   5  Prefactor     76.647        68.620        .28979E-06   -.57925E-04
   6  norm          1.8977        6.2503        .89183E-05   -.28198E-03
   7  Prefactor     .10000E-03    67.428       -.20277E-06** at limit **
   8  norm          5.5150        3.6175       -.49571E-07   -.10029E-03
   9  Prefactor     .10000E-03    30.786       -.18900E-06** at limit **
  10  norm          .10000E-03    2.9190       -.47826E-07** at limit **
  11  Prefactor     .10000E-03    15.603       -.11521E-06** at limit **
  12  Prefactor     5.0293        35.736        .30353E-06   -.39541E-04
  13  norm          30.697        18.496       -.88755E-06   -.75131E-03
  14  Prefactor     .10003E-03    5.3245        .10833E-05** at limit **
  15  Prefactor     .10000E-03    38.735       -.97798E-07** at limit **
  16  Prefactor     .10002E-03    955.89        .21553E-04** at limit **
  17  Prefactor     103.67        51.230       -.41180E-05   -.18522E-04
  18  Prefactor     9.3009        16.172        .57667E-06   -.12621E-03
  19  Normalizat    .64070        .31082       -.42258E-06   -.42082E-03
  20  Prefactor     1.2637        .12625       -.94163E-06   -.14435E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.80697
  Prefactor  = 10.1525
  Prefactor  = 76.6474
  norm       = 1.89766
  Prefactor  = 0.0001
  norm       = 5.51495
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.02933
  norm       = 30.6974
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 103.671
  Prefactor  = 9.30093
  Normalizat = 0.640704
  Prefactor  = 1.2637
 **********
 **   18 **HESSE 
 **********

 FCN=   7759.714     FROM HESSE     STATUS=OK           297 CALLS     2414 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.2493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.8070        8.2569        .16669E-03   -1.5226    
   4  Prefactor     10.152        7.1510        .12575E-03   -1.5071    
   5  Prefactor     76.647        68.482        .45866E-04   -1.3955    
   6  norm          1.8977        6.2583        .15111E-02   -1.5432    
   7  Prefactor     .10000E-03    67.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5150        3.6077        .12793E-03   -1.5238    
   9  Prefactor     .10000E-03    31.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.9250        .14695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.0293        35.586        .17926E-03   -1.5259    
  13  norm          30.697        18.549        .72326E-04   -1.4599    
  14  Prefactor     .10003E-03    7.0547        .57007E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    980.69        .37811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     103.67        53.040        .19737E-03   -1.3668    
  18  Prefactor     9.3009        16.169        .13143E-03   -1.5098    
  19  Normalizat    .64070        .32144        .53833E-03   -1.0628    
  20  Prefactor     1.2637        .13396        .16720E-03   -.84393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45923e-09
Minuit parameter uncertainties:
  1  1.30891e-05
  2  8.11803e-06
  3  8.25851
  4  7.15164
  5  68.5528
  6  6.26041
  7  0.000172648
  8  3.60787
  9  1.19921e-05
  10  2.84094e-06
  11  1.29669e-05
  12  26.7785
  13  18.5522
  14  0.000957578
  15  4.35928e-05
  16  0.00939345
  17  53.0647
  18  16.1765
  19  0.322385
  20  0.133998
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  5.029e+00  2.678e+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:  1.264e+00  1.340e-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:  6.407e-01  3.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 216.029 -17.845
Photon Flux Upper Limit: 9.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413193/likelihoodResults_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.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) = 7759.57223169
delta logL = 0.141667313646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7759.54059481
delta logL = 0.173304187671

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1382       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .60259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2707       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7759.541     FROM MIGRAD    STATUS=FAILED        88 CALLS      294 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1387        150.63        .15043E-03    .19435E-02
   2  Index         3.0501        6.2851        .73705E-02    .44253E-03
   3  Normalizat    .60290        .25717        .55395E-03    .26121E-03
   4  Prefactor     1.2706        .10574        .16677E-03    .79927E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7759.541     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      386 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1387        150.63        .21337E-03    .19435E-02
   2  Index         3.0501        6.2851        .12096E-02    .44253E-03
   3  Normalizat    .60290        .25717        .20228E-03    .26121E-03
   4  Prefactor     1.2706        .10574        .31494E-04    .79927E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7759.541     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      415 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1389        7.2397        .60172E-05    .22551E-02
   2  Index         3.0500        1.5918        .29482E-03    .32619E-03
   3  Normalizat    .60290        .31571        .22158E-04    .26454E-03
   4  Prefactor     1.2706        .13227        .33354E-04    .83624E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13891
  Index      = 3.05003
  Normalizat = 0.602904
  Prefactor  = 1.27059
 **********
 **   18 **HESSE 
 **********

 FCN=   7759.541     FROM HESSE     STATUS=OK            23 CALLS      438 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1389        6.5671        .12034E-05   -1.5495    
   2  Index         3.0500        1.5186        .11793E-04   -.40063    
   3  Normalizat    .60290        .31568        .44316E-05   -1.0786    
   4  Prefactor     1.2706        .13225        .66708E-05   -.84186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61838e-09
Minuit parameter uncertainties:
  1  5.47037
  2  1.54761
  3  0.316627
  4  0.132286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413193': 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) = 7759.54059411
delta logL = 0.173304895804

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.139e+00  5.470e+00  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  3.050e+00  1.548e+00  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:  1.271e+00  1.323e-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:  6.029e-01  3.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/413193/cmap_HighResolution_419990401_420249601_4FGL_J1424.1-1750_daily_bin697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2021-09-09 13:33:07.489643', job_id='413193', GAL2='1.27', fit_tolerance='1e-08', EG2='0.60', EG='0.64', time_epoch_completed='1631219587.49', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.73e-01', ts2='0.40', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='697' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:33:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 413193: <4FGL_J1424.1-1750_daily_bin697> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin697> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 13:21:36 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:21:37 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:21:37 2021
Terminated at Thu Sep  9 13:33:07 2021
Results reported at Thu Sep  9 13:33:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin697 216.029 -17.8447 419990401 420249601 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 :                                   676.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            691 sec.

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

