/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 171 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 = 7450
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin50
RA = 220.993, Dec = 25.0291
tmin = 252288001, tmax = 252547201
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='718598', job_status='RUN', time_executed='2021-09-10 06:04:32.185733', time_epoch_executed='1631279072.19' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718598

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718598/ft1_4FGL_J1443.9+2501_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718598/ft2_4FGL_J1443.9+2501_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718598/ft1_4FGL_J1443.9+2501_daily_bin50.fits outfile=/scratch/kocevski/718598/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin50.fits ra=220.993 dec=25.0291 rad=12.0 tmin=252288001.0 tmax=252547201.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 2.57
user 2.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718598/ft1_filtered_4FGL_J1443.9+2501_daily_bin50.fits" evtable="EVENTS" scfile=/scratch/kocevski/718598/ft2_4FGL_J1443.9+2501_daily_bin50.fits sctable="SC_DATA" outfile=/scratch/kocevski/718598/ltcube_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.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/718598/ft2_4FGL_J1443.9+2501_daily_bin50.fits
.....................!
real 12.42
user 12.08
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718598/ft1_filtered_4FGL_J1443.9+2501_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/718598/ft2_4FGL_J1443.9+2501_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/718598/ltcube_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.fits outfile=/scratch/kocevski/718598/expmap_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.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/718598/ltcube_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.fits
.....................!
real 189.75
user 184.63
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/718598/ft1_filtered_4FGL_J1443.9+2501_daily_bin50.fits scfile=/scratch/kocevski/718598/ft2_4FGL_J1443.9+2501_daily_bin50.fits outfile=/scratch/kocevski/718598/cmap_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718598/ft1_filtered_4FGL_J1443.9+2501_daily_bin50.fits scfile=/scratch/kocevski/718598/ft2_4FGL_J1443.9+2501_daily_bin50.fits outfile=/scratch/kocevski/718598/cmap_HighResolution_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.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.56
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.0268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15963       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.6560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.514       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6543       1.0000         .10000E-03   10000.    
    15 'norm      '    31.177       1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.374       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.981       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1865       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83915       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=   7720.065     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2352 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .80912        .41008E-09** at limit **
   2  Prefactor     .10000E-03    1.4722        .17171E-09** at limit **
   3  norm          6.0268        2.7722        .14243E-07   -.22174E-04
   4  Prefactor     .14434        3.0529        .10170E-05   -.53960E-03
   5  norm          .10000E-03    .61303        .47130E-08** at limit **
   6  norm          .10000E-03    2.7727        .62416E-08** at limit **
   7  Prefactor     .10000E-03    14.900        .51968E-06** at limit **
   8  Prefactor     .10000E-03    3.9268        .45864E-08** at limit **
   9  norm          9.6539        7.4657        .68833E-07    .57128E-04
  10  Prefactor     .10000E-03    4.8117       -.20455E-06** at limit **
  11  Prefactor     .10000E-03    38.936       -.28409E-05** at limit **
  12  Prefactor     43.519        23.818       -.37050E-06   -.16707E-04
  13  Prefactor     .10000E-03    10.201       -.43070E-06** at limit **
  14  Prefactor     3.6540        5.4020        .20275E-05    .26655E-03
  15  norm          31.177        29.837       -.35548E-07   -.20097E-05
  16  Prefactor     58.367        48.098        .10527E-05    .80086E-05
  17  Prefactor     .10000E-03    4.5289        .20093E-06** at limit **
  18  norm          13.981        2.2595       -.12577E-07   -.17788E-03
  19  Prefactor     .10000E-03    7.7407        .19803E-06** at limit **
  20  Prefactor     .10000E-03    45.154        .37716E-05** at limit **
  21  Normalizat    1.1864        .16743        .22251E-06   -.41257E-04
  22  Prefactor     .83922        .13042       -.42491E-06   -.22188E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.02677
  Prefactor  = 0.144345
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.65387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.5188
  Prefactor  = 0.0001
  Prefactor  = 3.65399
  norm       = 31.177
  Prefactor  = 58.3671
  Prefactor  = 0.0001
  norm       = 13.9807
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1864
  Prefactor  = 0.839216
 **********
 **   18 **HESSE 
 **********

 FCN=   7720.065     FROM HESSE     STATUS=OK           342 CALLS     2694 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .81115        .77172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.4732        .10409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.0268        2.7734        .95584E-04   -1.5217    
   4  Prefactor     .14434        41.682        .26135E-02   -1.5632    
   5  norm          .10000E-03    .61835        .67160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.8629        .28561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9276        .17004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.6539        7.4678        .12896E-03   -1.5086    
  10  Prefactor     .10000E-03    4.8163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    39.518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.519        23.821        .60775E-04   -1.4388    
  13  Prefactor     .10000E-03    10.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.6540        5.4170        .10566E-02   -1.5326    
  15  norm          31.177        29.844        .35880E-03   -1.4591    
  16  Prefactor     58.367        48.130        .52509E-04   -1.4179    
  17  Prefactor     .10000E-03    4.5949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.981        2.2638        .51076E-04   -1.4960    
  19  Prefactor     .10000E-03    7.7589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    45.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1864        .19721        .25506E-03   -.87024    
  22  Prefactor     .83922        .15309        .23164E-03   -.98299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08911e-09
Minuit parameter uncertainties:
  1  2.99244e-08
  2  1.04283e-06
  3  2.77349
  4  4.90752
  5  2.81107e-07
  6  1.28687e-08
  7  8.29187e-06
  8  1.7322e-06
  9  7.4685
  10  3.12069e-06
  11  0.000113019
  12  23.8266
  13  3.15708e-07
  14  5.41772
  15  29.8582
  16  48.1625
  17  2.68212e-06
  18  2.26384
  19  8.76002e-07
  20  7.4407e-05
  21  0.19733
  22  0.153171
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.287e-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:  8.392e-01  1.532e-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.186e+00  1.973e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/718598/likelihoodResults_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.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) = 7720.06643859
delta logL = -0.00166613361489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7720.06475566
delta logL = 1.67877942658e-05

Fit tolerance = 1e-08

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

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

 FCN=   7719.935     FROM MIGRAD    STATUS=CONVERGED    186 CALLS      404 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27621E-01    .74257E-01    .27046E-03    .29874E-01
   2  alpha         5.0000        4.9049        .50000    ** at limit **
   3  Normalizat    1.1609        .20067        .25749E-03   -.84728E-04
   4  Prefactor     .85041        .15320        .23026E-03   -.47596E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0276205
  alpha      = 5
  Normalizat = 1.16089
  Prefactor  = 0.850412
 **********
 **   18 **HESSE 
 **********

 FCN=   7719.935     FROM HESSE     STATUS=OK            31 CALLS      435 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27621E-01    .67212E-01    .54092E-04   -1.5675    
   2  alpha         5.0000        4.7462        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1609        .20122        .10300E-04   -.87820    
   4  Prefactor     .85041        .15346        .92104E-05   -.97896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46262e-11
Minuit parameter uncertainties:
  1  0.0672118
  2  6.29609e-05
  3  0.201349
  4  0.153535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718598': 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) = 7719.9346539
delta logL = 0.130118552173

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.762e-02  6.721e-02  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  6.296e-05  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:  8.504e-01  1.535e-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.161e+00  2.013e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/718598/cmap_HighResolution_252288001_252547201_4FGL_J1443.9+2501_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', job_status='DONE', photon_flux_upper_limit='4.51e-08', time_completed='2021-09-10 06:15:48.400750', job_id='718598', GAL2='0.85', fit_tolerance='1e-08', EG2='1.16', EG='1.19', time_epoch_completed='1631279748.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.30e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='50' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:15:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 718598: <4FGL_J1443.9+2501_daily_bin50> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin50> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 06:01:30 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:01: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:01:31 2021
Terminated at Fri Sep 10 06:15:50 2021
Results reported at Fri Sep 10 06:15:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin50 220.993 25.0291 252288001 252547201 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 :                                   673.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            860 sec.

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

