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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1060
RA = 220.993, Dec = 25.0291
tmin = 514080001, tmax = 514339201
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='723171', job_status='RUN', time_executed='2021-09-10 06:20:32.531601', time_epoch_executed='1631280032.53' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723171/ft1_4FGL_J1443.9+2501_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723171/ft1_4FGL_J1443.9+2501_daily_bin1060.fits outfile=/scratch/kocevski/723171/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1060.fits ra=220.993 dec=25.0291 rad=12.0 tmin=514080001.0 tmax=514339201.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.60
user 3.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.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/723171/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1060.fits evtable="EVENTS" outfile="/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.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.46
user 0.32
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/723171/ltcube_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.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/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits
.....................!
real 11.80
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/723171/ltcube_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.fits outfile=/scratch/kocevski/723171/expmap_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.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/723171/ltcube_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.fits
.....................!
real 190.46
user 185.38
sys 4.73

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J1443.9+2501 @ 220.993 25.0291

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits scfile=/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits outfile=/scratch/kocevski/723171/cmap_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.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=220.993 yref=25.0291 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits scfile=/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits outfile=/scratch/kocevski/723171/cmap_HighResolution_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.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=220.993 yref=25.0291 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723171/Model_4FGL_J1443.9+2501_daily_bin1060.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/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits.....................!
real 53.96
user 52.56
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits', '/scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits', expMap='/scratch/kocevski/723171/expmap_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.fits', expCube='/scratch/kocevski/723171/ltcube_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/723171/Model_4FGL_J1443.9+2501_daily_bin1060.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1443.9+2501'

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.435e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/723171/ft1_filtered_4FGL_J1443.9+2501_daily_bin1060.fits
Spacecraft file(s): /scratch/kocevski/723171/ft2_4FGL_J1443.9+2501_daily_bin1060.fits
Exposure map: /scratch/kocevski/723171/expmap_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.fits
Exposure cube: /scratch/kocevski/723171/ltcube_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/723171/Model_4FGL_J1443.9+2501_daily_bin1060.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) = 6881.94001847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4858       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.120       1.0000         .10000E-03   10000.    
     3 'norm      '    3.9978       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .38210E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.6927       1.0000         .10000E-03   10000.    
     6 'norm      '    20.786       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .33469E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11614E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5513       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6638       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0435       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2261       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0333       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3990       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.187       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5048       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66936       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6881.938     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     2517 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4853        4.6205        .37204E-06    .13131E-03
   2  Prefactor     15.130        1.1025        .36955E-07   -.15219E-03
   3  norm          3.9975        2.2667        .10649E-06    .90394E-04
   4  Prefactor     .10000E-03    8.8788       -.15719E-05** at limit **
   5  norm          6.6925        3.2975       -.75563E-07    .19552E-04
   6  norm          20.786        6.4281       -.82496E-07    .82961E-03
   7  Prefactor     .10344E-03    604.50        .26290E-04** at limit **
   8  Prefactor     .10007E-03    58.319       -.13097E-05** at limit **
   9  norm          .10000E-03    3.4185        .13669E-05** at limit **
  10  Prefactor     8.5703        9.5061        .39764E-06    .67633E-02
  11  Prefactor     .10000E-03    19.406        .20841E-05** at limit **
  12  Prefactor     3.6362        13.234        .20646E-05   -.25327E-02
  13  Prefactor     8.0212        6.1070        .91009E-06   -.23677E-02
  14  Prefactor     8.2270        1.2773        .35141E-07    .39398E-03
  15  norm          .10000E-03    7.7879       -.20256E-05** at limit **
  16  Prefactor     .10001E-03    16.616       -.24613E-05** at limit **
  17  Prefactor     7.0314        1.3336        .67058E-07    .30805E-03
  18  norm          3.3989        1.3459        .20433E-06    .31467E-03
  19  Prefactor     11.186        1.1146        .24319E-07    .50257E-03
  20  Prefactor     .10000E-03    8.1984       -.19894E-05** at limit **
  21  Normalizat    1.5048        .22037       -.35195E-06    .10152E-03
  22  Prefactor     .66941        .16913        .15973E-05    .10659E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.4853
  Prefactor  = 15.1305
  norm       = 3.99745
  Prefactor  = 0.0001
  norm       = 6.69245
  norm       = 20.7859
  Prefactor  = 0.000103439
  Prefactor  = 0.000100065
  norm       = 0.0001
  Prefactor  = 8.5703
  Prefactor  = 0.000100003
  Prefactor  = 3.63621
  Prefactor  = 8.02123
  Prefactor  = 8.22702
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 7.03145
  norm       = 3.39891
  Prefactor  = 11.1864
  Prefactor  = 0.000100001
  Normalizat = 1.50477
  Prefactor  = 0.669409
 **********
 **   18 **HESSE 
 **********

 FCN=   6881.938     FROM HESSE     STATUS=OK           408 CALLS     2925 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4853        4.5969        .42887E-02   -1.5240    
   2  Prefactor     15.130        9.3347        .25751E-02   -1.4930    
   3  norm          3.9975        2.2663        .50427E-02   -1.5308    
   4  Prefactor     .10000E-03    3.9296        .53981E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.6925        3.3096        .38776E-02   -1.5191    
   6  norm          20.786        6.4390        .21963E-02   -1.4796    
   7  Prefactor     .10344E-03    32.756        .13184       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10007E-03    56.456        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.4182        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5703        13.617        .34270E-02   -1.5122    
  11  Prefactor     .10000E-03    19.212        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.6362        38.165        .52757E-02   -1.5327    
  13  Prefactor     8.0212        31.950        .35343E-02   -1.5141    
  14  Prefactor     8.2270        9.8019        .34946E-02   -1.5134    
  15  norm          .10000E-03    15.781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    16.664        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0314        9.5386        .37816E-02   -1.5178    
  18  norm          3.3989        1.4724        .54861E-02   -1.5339    
  19  Prefactor     11.186        10.441        .29945E-02   -1.5039    
  20  Prefactor     .10000E-03    15.761        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5048        .19244        .55979E-01   -.77644    
  22  Prefactor     .66941        .14833        .61904E-01   -1.0474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84962e-07
Minuit parameter uncertainties:
  1  4.59716
  2  9.33555
  3  2.26634
  4  2.33574e-05
  5  3.30968
  6  6.4392
  7  0.0212383
  8  0.00384882
  9  1.90411e-05
  10  13.6221
  11  0.000460693
  12  23.5797
  13  32.0186
  14  9.80376
  15  6.70452e-05
  16  0.000647121
  17  9.54064
  18  1.47245
  19  10.4428
  20  0.000251074
  21  0.192531
  22  0.148419
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.079e+01  6.439e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  6.694e-01  1.484e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.505e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.94
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 3.62e-08
Energy Flux (Fixed Index): 6.99e-05 +/- 2.17e-05

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) = 6881.70985532
delta logL = 0.22776401425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6881.68283483
delta logL = 0.254784501872

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.797       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7894       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6881.683     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      213 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.800        7.8110        .21448E-02    .10283E-04
   2  alpha         1.7900        .26879        .18460        .89756E-05
   3  Normalizat    1.5149        .18373        .55837E-01    .89149E-06
   4  Prefactor     .66585        .14272        .62065E-01    .25086E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.8002
  alpha      = 1.79005
  Normalizat = 1.51493
  Prefactor  = 0.665846
 **********
 **   18 **HESSE 
 **********

 FCN=   6881.683     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .32E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.800        6.8445        .85793E-04   -1.4774    
   2  alpha         1.7900        .24370        .78845E-02   -.28794    
   3  Normalizat    1.5149        .21278        .24689E-03   -.77360    
   4  Prefactor     .66585        .16509        .27456E-03   -1.0488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21327e-14
Minuit parameter uncertainties:
  1  6.84476
  2  0.244124
  3  0.212905
  4  0.165215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723171': 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) = 6881.6828308
delta logL = 0.254788530019

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.180e+01  6.845e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.790e+00  2.441e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  6.658e-01  1.652e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.515e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.39
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.79 +/- 0.24
Photon Flux (Free Index): 1.03e-07 +/- 3.75e-08
Energy Flux (Free Index): 8.62e-05 +/- 3.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/723171/cmap_HighResolution_514080001_514339201_4FGL_J1443.9+2501_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='8.62e-05', photon_flux_error='3.62e-08', dlogl='2.55e-01', energy_flux='6.99e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-09-10 06:30:15.414922', photon_index_error2='0.24', photon_index2='1.79', ts='31.94', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='3.81e-05', EG='1.50', time_epoch_completed='1631280615.41', return_code='0', job_id='723171', GAL2='0.67', EG2='1.51', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='3.75e-08', ts2='32.39', photon_index='1.97' WHERE bin_id='1060' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:30:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 723171: <4FGL_J1443.9+2501_daily_bin1060> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1060> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:16:32 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:16:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 06:16:34 2021
Terminated at Fri Sep 10 06:30:16 2021
Results reported at Fri Sep 10 06:30:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1060 220.993 25.0291 514080001 514339201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1443.9+2501 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            824 sec.

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

