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


Performing analysis on: 4FGL_J1424.1-1750_daily_bin1385
RA = 216.029, Dec = -17.8447
tmin = 598320001, tmax = 598579201
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='417744', job_status='RUN', time_executed='2021-09-09 13:32:09.584157', time_epoch_executed='1631219529.58' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='1385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/417744

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/417744/ft1_4FGL_J1424.1-1750_daily_bin1385.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/417744/ft1_4FGL_J1424.1-1750_daily_bin1385.fits outfile=/scratch/kocevski/417744/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin1385.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=598320001.0 tmax=598579201.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.33
user 3.13
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/417744/ft1_filtered_4FGL_J1424.1-1750_daily_bin1385.fits" evtable="EVENTS" scfile=/scratch/kocevski/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits sctable="SC_DATA" outfile=/scratch/kocevski/417744/ltcube_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.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/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits
.....................!
real 12.52
user 12.12
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/417744/ft1_filtered_4FGL_J1424.1-1750_daily_bin1385.fits evtable="EVENTS" scfile=/scratch/kocevski/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits sctable="SC_DATA" expcube=/scratch/kocevski/417744/ltcube_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.fits outfile=/scratch/kocevski/417744/expmap_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.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/417744/ltcube_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.fits
.....................!
real 190.40
user 185.20
sys 4.79

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/417744/ft1_filtered_4FGL_J1424.1-1750_daily_bin1385.fits scfile=/scratch/kocevski/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits outfile=/scratch/kocevski/417744/cmap_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/417744/ft1_filtered_4FGL_J1424.1-1750_daily_bin1385.fits scfile=/scratch/kocevski/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits outfile=/scratch/kocevski/417744/cmap_HighResolution_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/417744/ft1_filtered_4FGL_J1424.1-1750_daily_bin1385.fits evtable="EVENTS" scfile=/scratch/kocevski/417744/ft2_4FGL_J1424.1-1750_daily_bin1385.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/417744/Model_4FGL_J1424.1-1750_daily_bin1385.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/417744/ft1_filtered_4FGL_J1424.1-1750_daily_bin1385.fits.....................!
real 66.84
user 65.47
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42892E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.280       1.0000         .10000E-03   10000.    
     3 'norm      '    6.5834       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1645       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10790E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.4966       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.633       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.684       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.471       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11259E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.068       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96698       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99060       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=   8484.102     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2044 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    10.242       -.80303E-06** at limit **
   2  Prefactor     16.270        10.651       -.19830E-06   -.32619E-04
   3  norm          6.5811        4.9653        .72970E-06    .84315E-04
   4  Prefactor     4.1653        4.7684        .28367E-05    .32518E-04
   5  Prefactor     .10000E-03    46.534       -.20488E-05** at limit **
   6  norm          .10000E-03    2.1715       -.18795E-07** at limit **
   7  Prefactor     .10000E-03    33.246        .23349E-05** at limit **
   8  norm          4.4961        2.5564        .37912E-07    .58903E-04
   9  Prefactor     .10000E-03    11.038       -.10450E-06** at limit **
  10  norm          12.644        7.8022       -.53335E-07    .37803E-04
  11  Prefactor     22.674        18.681        .55316E-07    .28385E-04
  12  Prefactor     .10000E-03    8.6442       -.14285E-07** at limit **
  13  norm          .10000E-03    4.0677        .50819E-07** at limit **
  14  Prefactor     .10000E-03    1.8537        .16302E-06** at limit **
  15  Prefactor     55.488        58.996       -.12961E-05    .65106E-05
  16  Prefactor     .10000E-03    25.141       -.10536E-05** at limit **
  17  Prefactor     25.084        33.026       -.34569E-06    .38585E-04
  18  Prefactor     .10000E-03    18.528        .73943E-06** at limit **
  19  Normalizat    .96699        .23267       -.18073E-05    .27746E-04
  20  Prefactor     .99058        .94666E-01    .27380E-06   -.77523E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100022
  Prefactor  = 16.2698
  norm       = 6.58111
  Prefactor  = 4.16526
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.49613
  Prefactor  = 0.0001
  norm       = 12.6445
  Prefactor  = 22.6742
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.4877
  Prefactor  = 0.0001
  Prefactor  = 25.0839
  Prefactor  = 0.0001
  Normalizat = 0.966994
  Prefactor  = 0.990582
 **********
 **   18 **HESSE 
 **********

 FCN=   8484.102     FROM HESSE     STATUS=OK           297 CALLS     2341 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    11.702        .83046E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.270        10.683        .99265E-04   -1.4901    
   3  norm          6.5811        4.9619        .78201E-03   -1.5195    
   4  Prefactor     4.1653        4.7746        .98751E-03   -1.5300    
   5  Prefactor     .10000E-03    46.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.1835        .13257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.4961        2.5560        .10513E-03   -1.5284    
   9  Prefactor     .10000E-03    11.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.644        7.8019        .11270E-03   -1.4997    
  11  Prefactor     22.674        18.689        .84101E-04   -1.4755    
  12  Prefactor     .10000E-03    8.6525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.0751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.8642        .12247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     55.488        59.094        .53859E-04   -1.4217    
  16  Prefactor     .10000E-03    25.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.084        32.981        .80008E-04   -1.4706    
  18  Prefactor     .10000E-03    18.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .96699        .27159        .39159E-03   -.94145    
  20  Prefactor     .99058        .11164        .16534E-03   -.93044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51179e-11
Minuit parameter uncertainties:
  1  0.00101433
  2  10.6841
  3  4.96221
  4  4.775
  5  0.000110475
  6  5.47416e-06
  7  0.000118355
  8  2.55601
  9  1.04784e-05
  10  7.80257
  11  18.694
  12  3.91818e-06
  13  6.08428e-06
  14  1.35714e-05
  15  59.1569
  16  0.000111134
  17  33.005
  18  0.000111562
  19  0.271981
  20  0.111664
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.918e-06  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:  9.906e-01  1.117e-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.670e-01  2.720e-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.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/417744/likelihoodResults_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.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) = 8484.10302293
delta logL = -0.000550729469978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8484.10247212
delta logL = 8.46503098728e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8784       1.0000          .0000       10.000    
     3 'Normalizat'    .96700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99058       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=   8484.102     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      242 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10053E-03    45.265        .18142E-02** at limit **
   2  Index         1.8418        7.3486        .50000        .16922E-04
   3  Normalizat    .96699        .12806E-01    .39159E-03   -.11648E-03
   4  Prefactor     .99058        .55065E-02    .16534E-03    .69776E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100529
  Index      = 1.8418
  Normalizat = 0.966989
  Prefactor  = 0.990584
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10053E-03    223.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8418        5.9190        .50000       -.68367    
   3  Normalizat    .96699        .29184E-01    .15664E-04   -.94145    
   4  Prefactor     .99058        .12547E-01    .33068E-04   -.93044    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10427e-08
Minuit parameter uncertainties:
  1  0.0218442
  2  295.556
  3  0.0291846
  4  0.0125475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/417744': 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) = 8484.10247196
delta logL = 2.44646798819e-07

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.005e-04  2.184e-02  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.842e+00  2.956e+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:  9.906e-01  1.255e-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:  9.670e-01  2.918e-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/417744/cmap_HighResolution_598320001_598579201_4FGL_J1424.1-1750_daily_bin1385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', job_status='DONE', photon_flux_upper_limit='5.13e-08', time_completed='2021-09-09 13:44:00.586642', job_id='417744', GAL2='0.99', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631220240.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1385' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:44:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 417744: <4FGL_J1424.1-1750_daily_bin1385> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin1385> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 13:31:34 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:31:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:31:35 2021
Terminated at Thu Sep  9 13:44:01 2021
Results reported at Thu Sep  9 13:44:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin1385 216.029 -17.8447 598320001 598579201 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 :                                   690.09 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             283.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

