/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 173 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_bin285
RA = 216.029, Dec = -17.8447
tmin = 313200001, tmax = 313459201
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='410045', job_status='RUN', time_executed='2021-09-09 13:14:30.003590', time_epoch_executed='1631218470.0' WHERE source_name='4FGL J1424.1-1750' and cadence='daily' and bin_id='285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410045

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410045/ft1_4FGL_J1424.1-1750_daily_bin285.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410045/ft2_4FGL_J1424.1-1750_daily_bin285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410045/ft1_4FGL_J1424.1-1750_daily_bin285.fits outfile=/scratch/kocevski/410045/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin285.fits ra=216.029 dec=-17.8447 rad=12.0 tmin=313200001.0 tmax=313459201.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 4.27
user 3.18
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410045/ft2_4FGL_J1424.1-1750_daily_bin285.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/410045/ft1_filteredMKT_4FGL_J1424.1-1750_daily_bin285.fits evtable="EVENTS" outfile="/scratch/kocevski/410045/ft1_filtered_4FGL_J1424.1-1750_daily_bin285.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 5.85
user 0.34
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410045/ft1_filtered_4FGL_J1424.1-1750_daily_bin285.fits" evtable="EVENTS" scfile=/scratch/kocevski/410045/ft2_4FGL_J1424.1-1750_daily_bin285.fits sctable="SC_DATA" outfile=/scratch/kocevski/410045/ltcube_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.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/410045/ft2_4FGL_J1424.1-1750_daily_bin285.fits
.....................!
real 13.88
user 13.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410045/ft1_filtered_4FGL_J1424.1-1750_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/410045/ft2_4FGL_J1424.1-1750_daily_bin285.fits sctable="SC_DATA" expcube=/scratch/kocevski/410045/ltcube_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.fits outfile=/scratch/kocevski/410045/expmap_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.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/410045/ltcube_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.fits
.....................!
real 192.92
user 187.19
sys 5.14

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/410045/ft1_filtered_4FGL_J1424.1-1750_daily_bin285.fits scfile=/scratch/kocevski/410045/ft2_4FGL_J1424.1-1750_daily_bin285.fits outfile=/scratch/kocevski/410045/cmap_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410045/ft1_filtered_4FGL_J1424.1-1750_daily_bin285.fits scfile=/scratch/kocevski/410045/ft2_4FGL_J1424.1-1750_daily_bin285.fits outfile=/scratch/kocevski/410045/cmap_HighResolution_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7641       1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.358       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    54.418       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1364       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.893       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.458       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4443       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.532       1.0000         .10000E-03   10000.    
    16 'Prefactor '    55.873       1.0000         .10000E-03   10000.    
    17 'Prefactor '    64.324       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2992       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86763       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=   6196.010     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     2372 TOTAL
                     EDM=   .66E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0824       -.31525E-07** at limit **
   2  Prefactor     .10000E-03    3.5906        .16376E-07** at limit **
   3  norm          .10000E-03    2.9482       -.31588E-07** at limit **
   4  Prefactor     1.7637        7.0163        .17468E-05    .24669E-05
   5  Prefactor     50.356        46.181       -.30691E-06   -.86712E-05
   6  norm          .10000E-03    2.3502       -.56993E-07** at limit **
   7  Prefactor     54.415        59.825       -.17734E-06   -.71980E-06
   8  norm          3.1367        2.3418        .63611E-07   -.37431E-04
   9  Prefactor     .10000E-03    25.956       -.73616E-06** at limit **
  10  norm          .10000E-03    9.1620        .63373E-06** at limit **
  11  Prefactor     30.887        29.914       -.19073E-06   -.19156E-04
  12  Prefactor     .10000E-03    10.058       -.10645E-05** at limit **
  13  norm          12.459        15.963       -.63070E-06   -.48898E-05
  14  Prefactor     5.4136        17.576        .12646E-05    .10914E-04
  15  Prefactor     16.526        48.199       -.42798E-06   -.23597E-05
  16  Prefactor     56.249        203.78        .88185E-06    .42679E-05
  17  Prefactor     64.288        71.063       -.32797E-05   -.83571E-05
  18  Prefactor     .10000E-03    18.106        .79945E-06** at limit **
  19  Normalizat    1.2990        .27945       -.10206E-05   -.26337E-04
  20  Prefactor     .86768        .11023        .61257E-07   -.10982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.7637
  Prefactor  = 50.3558
  norm       = 0.0001
  Prefactor  = 54.4152
  norm       = 3.13669
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.8869
  Prefactor  = 0.0001
  norm       = 12.4586
  Prefactor  = 5.41355
  Prefactor  = 16.5265
  Prefactor  = 56.2486
  Prefactor  = 64.2875
  Prefactor  = 0.0001
  Normalizat = 1.29905
  Prefactor  = 0.867678
 **********
 **   18 **HESSE 
 **********

 FCN=   6196.010     FROM HESSE     STATUS=OK           287 CALLS     2659 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0834        .15533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.5937        .14567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.9713        .13194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7637        7.0248        .31541E-03   -1.5442    
   5  Prefactor     50.356        46.176        .56512E-04   -1.4288    
   6  norm          .10000E-03    2.3549        .11784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     54.415        59.836        .54374E-04   -1.4231    
   8  norm          3.1367        2.3414        .10084E-03   -1.5354    
   9  Prefactor     .10000E-03    26.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.2891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     30.887        30.037        .72087E-04   -1.4596    
  12  Prefactor     .10000E-03    10.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.459        15.940        .11349E-03   -1.5002    
  14  Prefactor     5.4136        17.640        .17221E-03   -1.5243    
  15  Prefactor     16.526        48.270        .98504E-04   -1.4895    
  16  Prefactor     56.249        204.27        .26833E-03   -1.4207    
  17  Prefactor     64.288        71.023        .50037E-04   -1.4103    
  18  Prefactor     .10000E-03    18.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2990        .32884        .36211E-03   -.83595    
  20  Prefactor     .86768        .13086        .17640E-03   -.97280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45019e-11
Minuit parameter uncertainties:
  1  6.30065e-07
  2  1.23823e-06
  3  1.68379e-06
  4  7.02812
  5  46.209
  6  3.83245e-06
  7  59.9022
  8  2.34142
  9  1.06769e-05
  10  1.00238e-05
  11  30.0516
  12  1.19454e-06
  13  15.9457
  14  17.6565
  15  48.3846
  16  206.902
  17  71.1167
  18  3.33038e-05
  19  0.32937
  20  0.130908
Done.

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

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.195e-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:  8.677e-01  1.309e-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.299e+00  3.294e-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: 6.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410045/likelihoodResults_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.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) = 6196.01049513
delta logL = -0.000473814668112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6196.01002151
delta logL = -1.9322578737e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8836       1.0000          .0000       10.000    
     3 'Normalizat'    1.2990       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86764       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6196.010     FROM MIGRAD    STATUS=FAILED        89 CALLS      239 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    595.62        .18142E-02** at limit **
   2  Index         1.8668        5.5860        .50000        .12284E-04
   3  Normalizat    1.2991        .58111E-01    .36211E-03    .12649E-03
   4  Prefactor     .86768        .23849E-01    .17640E-03   -.51752E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6196.010     FROM SIMPLEX   STATUS=UNCHANGED    182 CALLS      421 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    595.62        .44140E-03** at limit **
   2  Index         1.8668        5.5860        .16314E-05    .12284E-04
   3  Normalizat    1.2991        .58111E-01    .63201E-07    .12649E-03
   4  Prefactor     .86768        .23849E-01    .21554E-07   -.51752E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6196.010     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      455 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1813.5        .36285E-03** at limit **
   2  Index         1.8667        5.8241        .50000        .12281E-04
   3  Normalizat    1.2991        .14394        .14484E-04    .12652E-03
   4  Prefactor     .86768        .59083E-01    .70560E-05   -.51558E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.86672
  Normalizat = 1.29905
  Prefactor  = 0.867676
 **********
 **   18 **HESSE 
 **********

 FCN=   6196.010     FROM HESSE     STATUS=OK            29 CALLS      484 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.424        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8667        5.9000        .50000       -.67726    
   3  Normalizat    1.2991        .31267        .28969E-05   -.83595    
   4  Prefactor     .86768        .12846        .14112E-05   -.97280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21221e-10
Minuit parameter uncertainties:
  1  0.000267196
  2  4.11935
  3  0.313128
  4  0.128506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410045': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6196.01002121
delta logL = 1.07858795673e-07

Extracting fit parameters...

4FGL J1424.1-1750
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.672e-04  1.000e-04  1.000e+04 ( 1.000e-14)
297        Index:  1.867e+00  4.119e+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:  8.677e-01  1.285e-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.299e+00  3.131e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/410045/cmap_HighResolution_313200001_313459201_4FGL_J1424.1-1750_daily_bin285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-03', job_status='DONE', photon_flux_upper_limit='6.53e-08', time_completed='2021-09-09 13:25:10.062541', job_id='410045', GAL2='0.87', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1631219110.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='285' AND source_name='4FGL J1424.1-1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:25:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 410045: <4FGL_J1424.1-1750_daily_bin285> in cluster <slac> Done

Job <4FGL_J1424.1-1750_daily_bin285> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 13:11:12 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:11:13 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:11:13 2021
Terminated at Thu Sep  9 13:25:10 2021
Results reported at Thu Sep  9 13:25:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.1-1750_daily_bin285 216.029 -17.8447 313200001 313459201 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 :                                   630.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             252.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            838 sec.

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

