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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin539
RA = 216.029, Dec = -17.8447
tmin = 379036801, tmax = 379296001
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='411665', job_status='RUN', time_executed='2021-09-09 13:16:55.727479', time_epoch_executed='1631218615.73' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='539'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411665

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411665/ft1_4FGL_J1424.1-1750_daily_bin539.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411665/ft1_4FGL_J1424.1-1750_daily_bin539.fits outfile=/scratch/kocevski/411665/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin539.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=379036801.0 tmax=379296001.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 5.57
user 3.21
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411665/ft1_filtered_4FGL_J1424.1-1750_daily_bin539.fits" evtable="EVENTS" scfile=/scratch/kocevski/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits sctable="SC_DATA" outfile=/scratch/kocevski/411665/ltcube_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.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/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits
.....................!
real 12.92
user 11.86
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411665/ft1_filtered_4FGL_J1424.1-1750_daily_bin539.fits evtable="EVENTS" scfile=/scratch/kocevski/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits sctable="SC_DATA" expcube=/scratch/kocevski/411665/ltcube_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.fits outfile=/scratch/kocevski/411665/expmap_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.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/411665/ltcube_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.fits
.....................!
real 191.08
user 185.77
sys 4.78

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/411665/ft1_filtered_4FGL_J1424.1-1750_daily_bin539.fits scfile=/scratch/kocevski/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits outfile=/scratch/kocevski/411665/cmap_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411665/ft1_filtered_4FGL_J1424.1-1750_daily_bin539.fits scfile=/scratch/kocevski/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits outfile=/scratch/kocevski/411665/cmap_HighResolution_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/411665/ft1_filtered_4FGL_J1424.1-1750_daily_bin539.fits evtable="EVENTS" scfile=/scratch/kocevski/411665/ft2_4FGL_J1424.1-1750_daily_bin539.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411665/Model_4FGL_J1424.1-1750_daily_bin539.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/411665/ft1_filtered_4FGL_J1424.1-1750_daily_bin539.fits.....................!
real 78.00
user 76.65
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79234       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .19238       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4438       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.6089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    31.625       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13969E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59371E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    135.48       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11231E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3838       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0189       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=   9980.690     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2108 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79580        6.1685        .37615E-06   -.88065E-04
   2  Prefactor     .10000E-03    7.4912        .15274E-06** at limit **
   3  norm          .19840        3.2451        .30895E-06   -.15389E-03
   4  Prefactor     .10000E-03    2.9198       -.13089E-05** at limit **
   5  Prefactor     .10000E-03    14.485       -.16544E-06** at limit **
   6  norm          2.4441        6.2075        .58954E-05   -.45827E-03
   7  Prefactor     .10000E-03    34.116       -.49877E-06** at limit **
   8  norm          .10000E-03    .72073       -.50497E-09** at limit **
   9  Prefactor     .10000E-03    7.1663       -.49885E-06** at limit **
  10  norm          4.6072        5.4877        .28899E-06   -.45998E-04
  11  Prefactor     .10000E-03    14.371       -.23031E-06** at limit **
  12  Prefactor     .10000E-03    7.0370        .34460E-06** at limit **
  13  norm          31.639        16.034       -.28360E-06   -.32966E-03
  14  Prefactor     .10004E-03    3.2252       -.26236E-07** at limit **
  15  Prefactor     .10000E-03    34.638       -.11359E-06** at limit **
  16  Prefactor     .10000E-03    428.07        .40863E-04** at limit **
  17  Prefactor     135.49        60.331       -.36184E-05   -.58554E-03
  18  Prefactor     .10000E-03    20.151        .88754E-07** at limit **
  19  Normalizat    1.3829        .23546       -.19228E-05   -.39343E-03
  20  Prefactor     1.0193        .95458E-01    .13093E-06   -.81306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.795804
  Prefactor  = 0.0001
  norm       = 0.198403
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.44411
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.60715
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 31.6392
  Prefactor  = 0.000100043
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 135.487
  Prefactor  = 0.0001
  Normalizat = 1.38295
  Prefactor  = 1.01933
 **********
 **   18 **HESSE 
 **********

 FCN=   9980.690     FROM HESSE     STATUS=OK           287 CALLS     2395 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79580        39.372        .47161E-02   -1.5530    
   2  Prefactor     .10000E-03    7.5488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19840        21.218        .34186E-02   -1.5619    
   4  Prefactor     .10000E-03    11.125        .32114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4441        6.2631        .13085E-02   -1.5395    
   7  Prefactor     .10000E-03    34.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .72902        .82804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.6072        5.4811        .18749E-03   -1.5279    
  11  Prefactor     .10000E-03    14.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.0389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          31.639        15.992        .71251E-04   -1.4582    
  14  Prefactor     .10004E-03    17.938        .31877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    34.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    421.05        .21070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     135.49        59.276        .34601E-04   -1.3375    
  18  Prefactor     .10000E-03    20.736        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3829        .27635        .37425E-03   -.81123    
  20  Prefactor     1.0193        .11390        .17868E-03   -.92088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83575e-08
Minuit parameter uncertainties:
  1  11.2022
  2  4.3358e-06
  3  4.10402
  4  0.000212798
  5  5.22936e-06
  6  6.26478
  7  2.93594e-05
  8  2.74321e-08
  9  1.14501e-05
  10  5.48167
  11  1.01901e-05
  12  3.94687e-07
  13  15.9942
  14  0.0017479
  15  2.22076e-05
  16  0.00195786
  17  59.3025
  18  9.06811e-05
  19  0.276647
  20  0.113929
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.947e-07  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.019e+00  1.139e-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.383e+00  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/411665/likelihoodResults_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.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) = 9980.69066747
delta logL = -0.000674711593092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9980.68999265
delta logL = 1.09959728434e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8760       1.0000          .0000       10.000    
     3 'Normalizat'    1.3830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0193       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=   9980.690     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      242 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10122E-03    51.635        .18142E-02** at limit **
   2  Index         1.8228        5.3340        .50000        .22679E-04
   3  Normalizat    1.3830        .15491E-01    .37425E-03   -.51095E-04
   4  Prefactor     1.0193        .65166E-02    .17868E-03   -.18316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101217
  Index      = 1.82279
  Normalizat = 1.38295
  Prefactor  = 1.01933
 **********
 **   18 **HESSE 
 **********

 FCN=   9980.690     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10122E-03    246.36        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8228        8.9981        .50000       -.68858    
   3  Normalizat    1.3830        .34953E-01    .14970E-04   -.81123    
   4  Prefactor     1.0193        .14700E-01    .35737E-04   -.92088    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.63723e-08
Minuit parameter uncertainties:
  1  0.034771
  2  426.874
  3  0.0349535
  4  0.0147002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411665': 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) = 9980.68999234
delta logL = 4.13267116528e-07

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.012e-04  3.477e-02  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.823e+00  4.269e+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:  1.019e+00  1.470e-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.383e+00  3.495e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/411665/cmap_HighResolution_379036801_379296001_4FGL_J1424.1-1750_daily_bin539.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2021-09-09 13:30:22.353631', job_id='411665', GAL2='1.02', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631219422.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='539' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:30:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 411665: <4FGL_J1424.1-1750_daily_bin539> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin539> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Thu Sep  9 13:16:40 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:16:42 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:16:42 2021
Terminated at Thu Sep  9 13:30:23 2021
Results reported at Thu Sep  9 13:30:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin539 216.029 -17.8447 379036801 379296001 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 :                                   776.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

