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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin698
RA = 216.029, Dec = -17.8447
tmin = 420249601, tmax = 420508801
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='413195', job_status='RUN', time_executed='2021-09-09 13:23:57.041023', time_epoch_executed='1631219037.04' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413195

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413195/ft1_4FGL_J1424.1-1750_daily_bin698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413195/ft1_4FGL_J1424.1-1750_daily_bin698.fits outfile=/scratch/kocevski/413195/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin698.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=420249601.0 tmax=420508801.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.46
user 3.15
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413195/ft1_filtered_4FGL_J1424.1-1750_daily_bin698.fits" evtable="EVENTS" scfile=/scratch/kocevski/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits sctable="SC_DATA" outfile=/scratch/kocevski/413195/ltcube_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.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/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits
.....................!
real 12.08
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413195/ft1_filtered_4FGL_J1424.1-1750_daily_bin698.fits evtable="EVENTS" scfile=/scratch/kocevski/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits sctable="SC_DATA" expcube=/scratch/kocevski/413195/ltcube_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.fits outfile=/scratch/kocevski/413195/expmap_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.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/413195/ltcube_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.fits
.....................!
real 192.85
user 186.93
sys 5.48

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/413195/ft1_filtered_4FGL_J1424.1-1750_daily_bin698.fits scfile=/scratch/kocevski/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits outfile=/scratch/kocevski/413195/cmap_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.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.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413195/ft1_filtered_4FGL_J1424.1-1750_daily_bin698.fits scfile=/scratch/kocevski/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits outfile=/scratch/kocevski/413195/cmap_HighResolution_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.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.69
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413195/ft1_filtered_4FGL_J1424.1-1750_daily_bin698.fits evtable="EVENTS" scfile=/scratch/kocevski/413195/ft2_4FGL_J1424.1-1750_daily_bin698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413195/Model_4FGL_J1424.1-1750_daily_bin698.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/413195/ft1_filtered_4FGL_J1424.1-1750_daily_bin698.fits.....................!
real 69.49
user 67.40
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0251       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11401E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.879       1.0000         .10000E-03   10000.    
     6 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.233       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1680       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.679       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.881       1.0000         .10000E-03   10000.    
    13 'norm      '    11.454       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12487E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.253       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10662E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2911       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0260       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=   8084.594     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2087 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0237        13.200        .18874E-05    .42548E-04
   2  Prefactor     .10000E-03    4.8097        .71431E-07** at limit **
   3  norm          .10000E-03    1.3834       -.33375E-08** at limit **
   4  Prefactor     .10000E-03    3.1782        .50667E-06** at limit **
   5  Prefactor     30.855        43.009       -.52271E-06   -.26402E-04
   6  norm          .10000E-03    4.8741        .23470E-06** at limit **
   7  Prefactor     12.209        52.500       -.45146E-06   -.75089E-05
   8  norm          4.1678        2.8149       -.41803E-07   -.37118E-04
   9  Prefactor     .10000E-03    7.1908        .26217E-07** at limit **
  10  norm          13.677        10.295       -.13794E-06   -.15333E-04
  11  Prefactor     7.1482        35.701       -.41409E-06   -.37145E-05
  12  Prefactor     14.867        33.607        .13923E-06    .31457E-05
  13  norm          11.454        17.719       -.39100E-06    .35170E-04
  14  Prefactor     .10000E-03    5.6461       -.29096E-05** at limit **
  15  Prefactor     .10000E-03    31.068        .29898E-06** at limit **
  16  Prefactor     .10000E-03    77.193       -.48240E-05** at limit **
  17  Prefactor     13.161        50.590        .47765E-06    .13413E-05
  18  Prefactor     .10000E-03    31.524        .91231E-06** at limit **
  19  Normalizat    1.2913        .26812        .11456E-05   -.32340E-04
  20  Prefactor     1.0260        .10536       -.56719E-06    .86670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.02374
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 30.855
  norm       = 0.0001
  Prefactor  = 12.2088
  norm       = 4.16778
  Prefactor  = 0.0001
  norm       = 13.677
  Prefactor  = 7.14823
  Prefactor  = 14.8669
  norm       = 11.4542
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.1607
  Prefactor  = 0.0001
  Normalizat = 1.29133
  Prefactor  = 1.02595
 **********
 **   18 **HESSE 
 **********

 FCN=   8084.594     FROM HESSE     STATUS=OK           293 CALLS     2380 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0237        13.248        .66707E-03   -1.5107    
   2  Prefactor     .10000E-03    4.8149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.3857        .10327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.6299        .30366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.855        43.021        .72103E-04   -1.4596    
   6  norm          .10000E-03    4.9317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.209        52.611        .11453E-03   -1.5009    
   8  norm          4.1678        2.8130        .11872E-03   -1.5300    
   9  Prefactor     .10000E-03    7.1945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.677        10.263        .10830E-03   -1.4968    
  11  Prefactor     7.1482        35.728        .14990E-03   -1.5173    
  12  Prefactor     14.867        33.528        .10383E-03   -1.4937    
  13  norm          11.454        17.633        .11837E-03   -1.5031    
  14  Prefactor     .10000E-03    5.6998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    77.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.161        50.728        .11003E-03   -1.4982    
  18  Prefactor     .10000E-03    32.357        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2913        .31133        .38634E-03   -.83826    
  20  Prefactor     1.0260        .12302        .17596E-03   -.91869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16592e-10
Minuit parameter uncertainties:
  1  13.2527
  2  8.78578e-06
  3  1.02124e-06
  4  0.000281558
  5  43.0642
  6  3.56257e-06
  7  50.7633
  8  2.81309
  9  2.65059e-07
  10  10.2641
  11  31.9923
  12  33.5705
  13  17.6411
  14  2.11777e-05
  15  1.68815e-05
  16  0.000121752
  17  50.8951
  18  5.22848e-05
  19  0.311785
  20  0.123057
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.487e+01  3.357e+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.026e+00  1.231e-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.291e+00  3.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/413195/likelihoodResults_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.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) = 8082.46719801
delta logL = 2.12714299738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8082.42672331
delta logL = 2.16761769424

Fit tolerance = 1e-08

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

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

 FCN=   8082.427     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      279 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55071        3.6468        .76775E-02    .84352E-03
   2  Index         3.6915        1.2999        .63315E-01    .29640E-03
   3  Normalizat    1.1119        .73201E-01    .92862E-01    .16816E-04
   4  Prefactor     1.0665        .30019E-01    .39032E-01   -.11279E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.550708
  Index      = 3.69155
  Normalizat = 1.11194
  Prefactor  = 1.06645
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.427     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55071        7.5409        .34661E-04   -1.5560    
   2  Index         3.6915        2.1464        .24735E-02   -.26477    
   3  Normalizat    1.1119        .26949        .41134E-03   -.89369    
   4  Prefactor     1.0665        .11078        .17276E-03   -.90546    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.2245e-07
Minuit parameter uncertainties:
  1  4.07595
  2  2.2243
  3  0.269824
  4  0.110801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413195': 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) = 8082.4267218
delta logL = 2.16761920476

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  5.507e-01  4.076e+00  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  3.692e+00  2.224e+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.066e+00  1.108e-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.112e+00  2.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.89
Ra Dec: 216.029 -17.845
Photon Index (Free Index): 3.69 +/- 2.22
Photon Flux (Free Index): 1.76e-07 +/- 9.40e-08
Energy Flux (Free Index): 2.80e-05 +/- 1.98e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/413195/cmap_HighResolution_420249601_420508801_4FGL_J1424.1-1750_daily_bin698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.51e-03', comment='SUCCESS', energy_flux2='2.80e-05', dlogl='2.17e+00', photon_flux2='1.76e-07', job_status='DONE', time_completed='2021-09-09 13:35:31.033617', photon_index_error2='2.22', photon_index2='3.69', ts='0.25', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.98e-05', EG='1.29', time_epoch_completed='1631219731.03', return_code='0', job_id='413195', GAL2='1.07', EG2='1.11', return_code2='102', photon_flux_error2='9.40e-08', ts2='4.89', photon_index='1.90' WHERE bin_id='698' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:35:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 413195: <4FGL_J1424.1-1750_daily_bin698> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin698> 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) <bullet0034>, 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:35:31 2021
Results reported at Thu Sep  9 13:35:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin698 216.029 -17.8447 420249601 420508801 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 :                                   689.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            835 sec.

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

