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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin253
RA = 216.029, Dec = -17.8447
tmin = 304905601, tmax = 305164801
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='408809', job_status='RUN', time_executed='2021-09-09 13:06:43.505232', time_epoch_executed='1631218003.51' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408809

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408809/ft1_4FGL_J1424.1-1750_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408809/ft1_4FGL_J1424.1-1750_daily_bin253.fits outfile=/scratch/kocevski/408809/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin253.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=304905601.0 tmax=305164801.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.25
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408809/ft1_filtered_4FGL_J1424.1-1750_daily_bin253.fits" evtable="EVENTS" scfile=/scratch/kocevski/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits sctable="SC_DATA" outfile=/scratch/kocevski/408809/ltcube_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.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/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits
.....................!
real 11.93
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408809/ft1_filtered_4FGL_J1424.1-1750_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/408809/ltcube_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.fits outfile=/scratch/kocevski/408809/expmap_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.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/408809/ltcube_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.fits
.....................!
real 191.74
user 185.74
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/408809/ft1_filtered_4FGL_J1424.1-1750_daily_bin253.fits scfile=/scratch/kocevski/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits outfile=/scratch/kocevski/408809/cmap_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408809/ft1_filtered_4FGL_J1424.1-1750_daily_bin253.fits scfile=/scratch/kocevski/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits outfile=/scratch/kocevski/408809/cmap_HighResolution_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.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/408809/ft1_filtered_4FGL_J1424.1-1750_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/408809/ft2_4FGL_J1424.1-1750_daily_bin253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408809/Model_4FGL_J1424.1-1750_daily_bin253.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/408809/ft1_filtered_4FGL_J1424.1-1750_daily_bin253.fits.....................!
real 64.79
user 63.27
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.579       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11455E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.6500       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.1958       1.0000         .10000E-03   10000.    
     6 'norm      '    5.3019       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.243       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2765       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .41732       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    20.334       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.411       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.235       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97623       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7804.998     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1726 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.587        17.984       -.29611E-04   -.29232E-03
   2  Prefactor     .10032E-03    17.223        .22019E-04** at limit **
   3  norm          5.6489        4.5045        .52927E-05    .81258E-03
   4  Prefactor     .10000E-03    5.1236       -.20010E-05** at limit **
   5  Prefactor     9.1879        1.4370       -.24962E-06    .33096E-03
   6  norm          5.2990        1.0497        .26536E-06   -.33131E-03
   7  Prefactor     26.242        5.4315        .59625E-05   -.11200E-01
   8  norm          2.2749        3.0448       -.94977E-06    .24767E-03
   9  Prefactor     .10058E-03    6503.1        .49495E-03** at limit **
  10  norm          .10000E-03    2.6354        .16684E-05** at limit **
  11  Prefactor     .10179E-03    7.1932       -.26577E-05** at limit **
  12  Prefactor     .10000E-03    11.538       -.16031E-04** at limit **
  13  norm          20.327        1.4190        .15356E-05    .16336E-02
  14  Prefactor     .10000E-03    1.5191        .22401E-05** at limit **
  15  Prefactor     52.409        1.0133        .92360E-07    .56229E-03
  16  Prefactor     .10064E-03    13.544        .45544E-05** at limit **
  17  Prefactor     51.224        2.4656       -.96572E-06    .71664E-02
  18  Prefactor     .10000E-03    4.2842        .16567E-06** at limit **
  19  Normalizat    .97642        .28905       -.90365E-06    .10071E-03
  20  Prefactor     1.0325        .12034       -.62896E-05    .21188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5867
  Prefactor  = 0.000100318
  norm       = 5.64889
  Prefactor  = 0.0001
  Prefactor  = 9.18792
  norm       = 5.29904
  Prefactor  = 26.2424
  norm       = 2.27491
  Prefactor  = 0.00010058
  norm       = 0.0001
  Prefactor  = 0.000101785
  Prefactor  = 0.0001
  norm       = 20.3267
  Prefactor  = 0.0001
  Prefactor  = 52.4092
  Prefactor  = 0.000100635
  Prefactor  = 51.2242
  Prefactor  = 0.0001
  Normalizat = 0.976422
  Prefactor  = 1.03247
 **********
 **   18 **HESSE 
 **********

 FCN=   7804.998     FROM HESSE     STATUS=OK           341 CALLS     2067 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.587        19.038        .28236E-02   -1.4998    
   2  Prefactor     .10032E-03    19.170        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.6489        4.5168        .42250E-02   -1.5233    
   4  Prefactor     .10000E-03    5.0156        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1879        27.831        .33041E-02   -1.5102    
   6  norm          5.2990        6.7457        .43638E-02   -1.5248    
   7  Prefactor     26.242        49.932        .19550E-02   -1.4683    
   8  norm          2.2749        3.0707        .68038E-02   -1.5406    
   9  Prefactor     .10058E-03    18.933        .13371       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.6258        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10179E-03    17.676        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.624        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          20.327        16.509        .22206E-02   -1.4806    
  14  Prefactor     .10000E-03    1.5198        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.409        41.871        .13850E-02   -1.4259    
  16  Prefactor     .10064E-03    17.225        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     51.224        54.107        .14007E-02   -1.4275    
  18  Prefactor     .10000E-03    4.2810        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .97642        .25367        .92414E-01   -.93825    
  20  Prefactor     1.0325        .10379        .41075E-01   -.91655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62421e-06
Minuit parameter uncertainties:
  1  19.0467
  2  0.00494019
  3  4.51702
  4  5.38074e-05
  5  27.8701
  6  6.74669
  7  50.0116
  8  3.0709
  9  0.00663068
  10  2.21973e-05
  11  0.0112383
  12  4.2567e-05
  13  16.5123
  14  2.54618e-05
  15  41.895
  16  0.00661722
  17  54.1592
  18  1.67133e-05
  19  0.25398
  20  0.103809
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  4.257e-05  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.032e+00  1.038e-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:  9.764e-01  2.540e-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: 5.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408809/likelihoodResults_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.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) = 7804.99817677
delta logL = -0.000409282990404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7804.99776743
delta logL = 5.61858541914e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8816       1.0000          .0000       10.000    
     3 'Normalizat'    .97642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0325       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=   7804.998     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      211 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3683        .90712E-02** at limit **
   2  Index         1.8642        5.7187        .50000        .10820E-04
   3  Normalizat    .97642        .37910E-02    .92414E-01    .11934E-04
   4  Prefactor     1.0325        .15962E-02    .41068E-01   -.82682E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.86415
  Normalizat = 0.976421
  Prefactor  = 1.03247
 **********
 **   18 **HESSE 
 **********

 FCN=   7804.998     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8642        7.3295        .50000       -.67791    
   3  Normalizat    .97642        .12062E-01    .40930E-03   -.93825    
   4  Prefactor     1.0325        .50917E-02    .16725E-03   -.91655    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.47267e-08
Minuit parameter uncertainties:
  1  0.000289667
  2  94.0318
  3  0.0120623
  4  0.00509172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408809': 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) = 7804.99776738
delta logL = 1.06223524199e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  1.032e+00  5.092e-03  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:  9.764e-01  1.206e-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/408809/cmap_HighResolution_304905601_305164801_4FGL_J1424.1-1750_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.92e-08', time_completed='2021-09-09 13:17:21.850828', job_id='408809', GAL2='1.03', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631218641.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='253' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:17:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 408809: <4FGL_J1424.1-1750_daily_bin253> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin253> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 13:06:26 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:06:28 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:06:28 2021
Terminated at Thu Sep  9 13:17:22 2021
Results reported at Thu Sep  9 13:17:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin253 216.029 -17.8447 304905601 305164801 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 :                                   633.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

