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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1465
RA = 220.993, Dec = 25.0291
tmin = 619056001, tmax = 619315201
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='724740', job_status='RUN', time_executed='2021-09-10 06:23:37.328884', time_epoch_executed='1631280217.33' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724740/ft1_4FGL_J1443.9+2501_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724740/ft1_4FGL_J1443.9+2501_daily_bin1465.fits outfile=/scratch/kocevski/724740/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1465.fits ra=220.993 dec=25.0291 rad=12.0 tmin=619056001.0 tmax=619315201.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.61
user 3.39
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.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/724740/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1465.fits evtable="EVENTS" outfile="/scratch/kocevski/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/724740/ltcube_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.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/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits
.....................!
real 11.81
user 11.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/724740/ltcube_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.fits outfile=/scratch/kocevski/724740/expmap_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.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/724740/ltcube_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.fits
.....................!
real 190.69
user 184.83
sys 5.37

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/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits scfile=/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits outfile=/scratch/kocevski/724740/cmap_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits scfile=/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits outfile=/scratch/kocevski/724740/cmap_HighResolution_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.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/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724740/Model_4FGL_J1443.9+2501_daily_bin1465.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/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits.....................!
real 52.21
user 50.29
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits', '/scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits', expMap='/scratch/kocevski/724740/expmap_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.fits', expCube='/scratch/kocevski/724740/ltcube_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724740/Model_4FGL_J1443.9+2501_daily_bin1465.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/724740/ft1_filtered_4FGL_J1443.9+2501_daily_bin1465.fits
Spacecraft file(s): /scratch/kocevski/724740/ft2_4FGL_J1443.9+2501_daily_bin1465.fits
Exposure map: /scratch/kocevski/724740/expmap_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.fits
Exposure cube: /scratch/kocevski/724740/ltcube_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724740/Model_4FGL_J1443.9+2501_daily_bin1465.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) = 6638.48363012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.986       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.6528       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26485E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .47886       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11457E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.631       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6257       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12836E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .73311E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    1.3904       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10540E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1197       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0860       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6638.418     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2071 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.987        6.0378        .25331E-07   -.18686E-04
   2  Prefactor     .10000E-03    5.7868        .77453E-07** at limit **
   3  norm          3.6528        2.0458       -.40739E-07   -.12585E-03
   4  Prefactor     .10007E-03    8.8882        .21350E-05** at limit **
   5  norm          .47647        2.2166        .22850E-05    .37389E-03
   6  norm          .10000E-03    1.8133       -.89032E-09** at limit **
   7  Prefactor     .10000E-03    29.152       -.96097E-06** at limit **
   8  Prefactor     .10000E-03    32.470       -.27392E-06** at limit **
   9  norm          .10000E-03    3.6762        .28016E-08** at limit **
  10  Prefactor     .10000E-03    5.7204       -.45799E-07** at limit **
  11  Prefactor     .10000E-03    7.9929       -.16624E-06** at limit **
  12  Prefactor     19.640        20.723        .63263E-07   -.77837E-05
  13  Prefactor     17.979        24.857       -.52384E-06   -.16190E-03
  14  Prefactor     .10000E-03    8.7789        .36982E-06** at limit **
  15  norm          2.6143        117.42       -.62904E-06   -.29439E-04
  16  Prefactor     .10000E-03    36.298        .11444E-05** at limit **
  17  Prefactor     .10002E-03    4.8206       -.18488E-06** at limit **
  18  norm          1.3905        1.0326        .37347E-07    .56461E-04
  19  Prefactor     .10000E-03    2.7914       -.98641E-08** at limit **
  20  Prefactor     .10000E-03    10.429       -.21651E-06** at limit **
  21  Normalizat    1.1196        .19636       -.60952E-06   -.25413E-03
  22  Prefactor     1.0861        .15381        .21312E-06   -.30095E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.9871
  Prefactor  = 0.0001
  norm       = 3.6528
  Prefactor  = 0.000100069
  norm       = 0.476465
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.64
  Prefactor  = 17.9793
  Prefactor  = 0.0001
  norm       = 2.61432
  Prefactor  = 0.000100003
  Prefactor  = 0.000100023
  norm       = 1.39053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11961
  Prefactor  = 1.08607
 **********
 **   18 **HESSE 
 **********

 FCN=   6638.418     FROM HESSE     STATUS=OK           344 CALLS     2415 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.987        6.0702        .87433E-04   -1.4791    
   2  Prefactor     .10000E-03    5.8910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6528        2.0494        .84956E-04   -1.5326    
   4  Prefactor     .10007E-03    22.035        .37166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .47647        2.3373        .24071E-03   -1.5570    
   6  norm          .10000E-03    1.8234        .10713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6928        .15257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.0278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.640        20.724        .90397E-04   -1.4821    
  13  Prefactor     17.979        24.934        .94374E-04   -1.4860    
  14  Prefactor     .10000E-03    8.8928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6143        118.89        .25168E-03   -1.5385    
  16  Prefactor     .10000E-03    36.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    5.4291        .57337E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.3905        1.0262        .68798E-04   -1.5472    
  19  Prefactor     .10000E-03    2.7952        .13290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1196        .23118        .27683E-03   -.89125    
  22  Prefactor     1.0861        .18155        .22200E-03   -.89913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63635e-09
Minuit parameter uncertainties:
  1  6.07037
  2  4.69589e-06
  3  2.04948
  4  0.00246571
  5  2.11048
  6  7.59409e-08
  7  0.000495331
  8  0.000145196
  9  1.1082e-06
  10  8.81072e-06
  11  4.16572e-05
  12  20.7313
  13  24.9481
  14  9.1579e-05
  15  35.3336
  16  0.000665913
  17  0.0007079
  18  1.02622
  19  3.18951e-07
  20  6.94791e-05
  21  0.231392
  22  0.181653
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  7.594e-08  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:  1.086e+00  1.817e-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.120e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 4.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724740/likelihoodResults_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.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) = 6638.42058187
delta logL = -0.00258929642314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6638.41797971
delta logL = 1.28658693939e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7189       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0861       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6638.374     FROM MIGRAD    STATUS=FAILED       181 CALLS      385 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73248E-01    .33024        .21005E-02   -.50021E-02
   2  alpha         4.3943        4.0755        .16541        .77248E-03
   3  Normalizat    1.0992        .23586        .27683E-03   -.68583E-05
   4  Prefactor     1.0944        .18114        .22200E-03    .20637E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6638.374     FROM SIMPLEX   STATUS=UNCHANGED     71 CALLS      456 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73248E-01    .33024        .62927E-04   -1.5762    
   2  alpha         4.3943        4.0755        .75625E-02    .85979    
   3  Normalizat    1.0992        .23586        .29706E-03   -.89777    
   4  Prefactor     1.0944        .18114        .20675E-03   -.89647    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6638.374     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      491 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73248E-01    2.9784        .69635E-04   -.10122E-04
   2  alpha         4.3943        3.4931        .33082E-01    .13564E-05
   3  Normalizat    1.0992        .23425        .11073E-04    .12320E-05
   4  Prefactor     1.0944        .18076        .88802E-05    .10242E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0732483
  alpha      = 4.39426
  Normalizat = 1.09921
  Prefactor  = 1.09437
 **********
 **   18 **HESSE 
 **********

 FCN=   6638.374     FROM HESSE     STATUS=OK            25 CALLS      516 TOTAL
                     EDM=   .42E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73248E-01    .89349        .27854E-05   -1.5762    
   2  alpha         4.3943        4.6525        .13233E-02    .85979    
   3  Normalizat    1.0992        .23478        .22146E-05   -.89777    
   4  Prefactor     1.0944        .18094        .17760E-05   -.89647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20458e-14
Minuit parameter uncertainties:
  1  0.51131
  2  3.52829
  3  0.235007
  4  0.181042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724740': 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) = 6638.37419376
delta logL = 0.0437988132389

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  7.325e-02  5.113e-01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  4.394e+00  3.528e+00  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:  1.094e+00  1.810e-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.099e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.993 25.029

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/724740/cmap_HighResolution_619056001_619315201_4FGL_J1443.9+2501_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-05', job_status='DONE', photon_flux_upper_limit='4.71e-08', time_completed='2021-09-10 06:36:18.014022', job_id='724740', GAL2='1.09', fit_tolerance='1e-08', EG2='1.10', EG='1.12', time_epoch_completed='1631280978.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.38e-02', ts2='0.10', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1465' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:36:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 724740: <4FGL_J1443.9+2501_daily_bin1465> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1465> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:29 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:31 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:21:31 2021
Terminated at Fri Sep 10 06:36:18 2021
Results reported at Fri Sep 10 06:36:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1465 220.993 25.0291 619056001 619315201 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 :                                   596.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

