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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1000
RA = 220.993, Dec = 25.0291
tmin = 498528001, tmax = 498787201
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='723081', job_status='RUN', time_executed='2021-09-10 06:18:30.976398', time_epoch_executed='1631279910.98' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723081

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723081/ft1_4FGL_J1443.9+2501_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723081/ft2_4FGL_J1443.9+2501_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723081/ft1_4FGL_J1443.9+2501_daily_bin1000.fits outfile=/scratch/kocevski/723081/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1000.fits ra=220.993 dec=25.0291 rad=12.0 tmin=498528001.0 tmax=498787201.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.92
user 4.68
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723081/ft2_4FGL_J1443.9+2501_daily_bin1000.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/723081/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1000.fits evtable="EVENTS" outfile="/scratch/kocevski/723081/ft1_filtered_4FGL_J1443.9+2501_daily_bin1000.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.53
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723081/ft1_filtered_4FGL_J1443.9+2501_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/723081/ft2_4FGL_J1443.9+2501_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/723081/ltcube_498528001_498787201_4FGL_J1443.9+2501_daily_bin1000.fits outfile=/scratch/kocevski/723081/expmap_498528001_498787201_4FGL_J1443.9+2501_daily_bin1000.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/723081/ltcube_498528001_498787201_4FGL_J1443.9+2501_daily_bin1000.fits
.....................!
real 191.19
user 185.47
sys 5.30

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/723081/ft1_filtered_4FGL_J1443.9+2501_daily_bin1000.fits scfile=/scratch/kocevski/723081/ft2_4FGL_J1443.9+2501_daily_bin1000.fits outfile=/scratch/kocevski/723081/cmap_498528001_498787201_4FGL_J1443.9+2501_daily_bin1000.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723081/ft1_filtered_4FGL_J1443.9+2501_daily_bin1000.fits scfile=/scratch/kocevski/723081/ft2_4FGL_J1443.9+2501_daily_bin1000.fits outfile=/scratch/kocevski/723081/cmap_HighResolution_498528001_498787201_4FGL_J1443.9+2501_daily_bin1000.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.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0235       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5700       1.0000         .10000E-03   10000.    
     3 'norm      '    5.7828       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0330       1.0000         .10000E-03   10000.    
     6 'norm      '    7.0534       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .29339E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.849       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16947E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6690       1.0000         .10000E-03   10000.    
    15 'norm      '    27.729       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.161       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7838       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7855       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15767E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1897       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=   6637.275     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2813 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0232        2.8862        .16933E-06    .13399E-03
   2  Prefactor     7.5705        9.7186        .23836E-06    .35973E-04
   3  norm          5.7827        2.9896        .40363E-07    .14568E-04
   4  Prefactor     .10000E-03    3.9430       -.13293E-06** at limit **
   5  norm          6.0324        3.1302        .52094E-07    .37892E-04
   6  norm          7.0534        4.5038        .12929E-07    .25614E-04
   7  Prefactor     .10000E-03    16.954       -.11665E-06** at limit **
   8  Prefactor     .10000E-03    7.7438       -.61041E-07** at limit **
   9  norm          .10022E-03    8.1625       -.31907E-05** at limit **
  10  Prefactor     .10000E-03    10.236       -.59522E-07** at limit **
  11  Prefactor     26.860        15.167        .24212E-08    .17703E-03
  12  Prefactor     .10000E-03    9.2524        .14564E-07** at limit **
  13  Prefactor     .10000E-03    95.534        .64251E-06** at limit **
  14  Prefactor     1.6683        4.9521        .16639E-05    .24656E-03
  15  norm          27.737        36.662        .28292E-06    .16189E-04
  16  Prefactor     36.221        46.661        .10188E-05    .10702E-03
  17  Prefactor     .10000E-03    7.9380        .43163E-08** at limit **
  18  norm          2.7835        1.8455        .31687E-06   -.81933E-03
  19  Prefactor     7.8002        14.477       -.50708E-05   -.50109E-03
  20  Prefactor     .10000E-03    271.35       -.60673E-05** at limit **
  21  Normalizat    1.0163        .20136        .20641E-05   -.62756E-04
  22  Prefactor     1.1898        .16185       -.18008E-05    .28837E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.02323
  Prefactor  = 7.57052
  norm       = 5.78267
  Prefactor  = 0.0001
  norm       = 6.03239
  norm       = 7.05338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100224
  Prefactor  = 0.0001
  Prefactor  = 26.8604
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.66831
  norm       = 27.7366
  Prefactor  = 36.2212
  Prefactor  = 0.0001
  norm       = 2.78352
  Prefactor  = 7.80022
  Prefactor  = 0.000100001
  Normalizat = 1.01628
  Prefactor  = 1.18982
 **********
 **   18 **HESSE 
 **********

 FCN=   6637.275     FROM HESSE     STATUS=OK           344 CALLS     3157 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0232        2.8758        .15920E-03   -1.5423    
   2  Prefactor     7.5705        9.7120        .14576E-03   -1.5158    
   3  norm          5.7827        2.9899        .98057E-04   -1.5227    
   4  Prefactor     .10000E-03    3.9689        .15788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0324        3.1288        .10022E-03   -1.5217    
   6  norm          7.0534        4.5045        .13379E-03   -1.5177    
   7  Prefactor     .10000E-03    16.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.7500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10022E-03    27.280        .36968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.860        15.108        .77314E-04   -1.4671    
  12  Prefactor     .10000E-03    9.2619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    96.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6683        4.9446        .30455E-03   -1.5450    
  15  norm          27.737        36.683        .76079E-04   -1.4654    
  16  Prefactor     36.221        46.933        .66645E-04   -1.4504    
  17  Prefactor     .10000E-03    8.0379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7835        1.8505        .72414E-04   -1.5374    
  19  Prefactor     7.8002        14.755        .14371E-03   -1.5149    
  20  Prefactor     .10000E-03    269.23        .20431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0163        .23337        .29869E-03   -.92487    
  22  Prefactor     1.1898        .18773        .22318E-03   -.86645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.59648e-09
Minuit parameter uncertainties:
  1  2.87604
  2  9.71402
  3  2.99
  4  6.11976e-06
  5  3.12886
  6  4.50475
  7  3.4077e-06
  8  1.09807e-05
  9  0.0049411
  10  4.83478e-06
  11  15.1102
  12  2.24003e-06
  13  0.000413546
  14  4.94578
  15  36.7125
  16  46.9809
  17  2.46257e-05
  18  1.85052
  19  14.7621
  20  0.00111164
  21  0.233603
  22  0.187835
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  7.053e+00  4.505e+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:  1.190e+00  1.878e-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.016e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.31
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 2.53e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.52e-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) = 6637.18664704
delta logL = 0.0884618095952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6637.17662979
delta logL = 0.098479058418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3383       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6813       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1891       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=   6637.177     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3362        4.6978        .39858E-02   -.18344E-02
   2  alpha         1.6808        .50756        .42754       -.30985E-04
   3  Normalizat    1.0250        .19349        .67280E-01    .15493E-04
   4  Prefactor     1.1892        .15512        .50508E-01    .52543E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.33617
  alpha      = 1.68076
  Normalizat = 1.02499
  Prefactor  = 1.18915
 **********
 **   18 **HESSE 
 **********

 FCN=   6637.177     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3362        4.9512        .67308E-03   -1.5204    
   2  alpha         1.6808        .64465        .15515E-01   -.33386    
   3  Normalizat    1.0250        .22828        .29763E-03   -.92198    
   4  Prefactor     1.1892        .18360        .22329E-03   -.86666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71056e-12
Minuit parameter uncertainties:
  1  4.95151
  2  0.652935
  3  0.228494
  4  0.183694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723081': 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) = 6637.17662946
delta logL = 0.098479386822

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  6.336e+00  4.952e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.681e+00  6.529e-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:  1.189e+00  1.837e-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.025e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.50
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.68 +/- 0.65
Photon Flux (Free Index): 2.75e-08 +/- 3.05e-08
Energy Flux (Free Index): 2.89e-05 +/- 2.55e-05

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/723081/cmap_HighResolution_498528001_498787201_4FGL_J1443.9+2501_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='2.89e-05', photon_flux_error='2.53e-08', dlogl='9.85e-02', energy_flux='2.37e-05', photon_flux2='2.75e-08', job_status='DONE', time_completed='2021-09-10 06:28:31.584324', photon_index_error2='0.65', photon_index2='1.68', ts='9.31', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='2.55e-05', EG='1.02', time_epoch_completed='1631280511.58', return_code='0', job_id='723081', GAL2='1.19', EG2='1.02', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='3.05e-08', ts2='9.50', photon_index='1.97' WHERE bin_id='1000' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:28:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 723081: <4FGL_J1443.9+2501_daily_bin1000> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1000> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:16:24 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:16:26 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:26 2021
Terminated at Fri Sep 10 06:28:32 2021
Results reported at Fri Sep 10 06:28:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1000 220.993 25.0291 498528001 498787201 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 :                                   593.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            728 sec.

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

