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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1559
RA = 220.993, Dec = 25.0291
tmin = 643420801, tmax = 643680001
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='724876', job_status='RUN', time_executed='2021-09-10 06:21:55.446821', time_epoch_executed='1631280115.45' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724876

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724876/ft1_4FGL_J1443.9+2501_daily_bin1559.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724876/ft2_4FGL_J1443.9+2501_daily_bin1559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724876/ft1_4FGL_J1443.9+2501_daily_bin1559.fits outfile=/scratch/kocevski/724876/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1559.fits ra=220.993 dec=25.0291 rad=12.0 tmin=643420801.0 tmax=643680001.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.51
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724876/ft1_filtered_4FGL_J1443.9+2501_daily_bin1559.fits" evtable="EVENTS" scfile=/scratch/kocevski/724876/ft2_4FGL_J1443.9+2501_daily_bin1559.fits sctable="SC_DATA" outfile=/scratch/kocevski/724876/ltcube_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.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/724876/ft2_4FGL_J1443.9+2501_daily_bin1559.fits
.....................!
real 11.65
user 11.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724876/ft1_filtered_4FGL_J1443.9+2501_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/724876/ft2_4FGL_J1443.9+2501_daily_bin1559.fits sctable="SC_DATA" expcube=/scratch/kocevski/724876/ltcube_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.fits outfile=/scratch/kocevski/724876/expmap_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.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/724876/ltcube_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.fits
.....................!
real 192.74
user 187.47
sys 4.89

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/724876/ft1_filtered_4FGL_J1443.9+2501_daily_bin1559.fits scfile=/scratch/kocevski/724876/ft2_4FGL_J1443.9+2501_daily_bin1559.fits outfile=/scratch/kocevski/724876/cmap_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724876/ft1_filtered_4FGL_J1443.9+2501_daily_bin1559.fits scfile=/scratch/kocevski/724876/ft2_4FGL_J1443.9+2501_daily_bin1559.fits outfile=/scratch/kocevski/724876/cmap_HighResolution_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.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.53
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.218       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7515       1.0000         .10000E-03   10000.    
     3 'norm      '    5.9066       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0785       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.019       1.0000         .10000E-03   10000.    
     7 'Prefactor '    61.403       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5182       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40868       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7777       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9160       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1783       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3789       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    51.815       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75998       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0148       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=   5906.133     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2396 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.217        4.0805        .25706E-07   -.65042E-04
   2  Prefactor     5.7521        4.8572       -.14817E-07   -.22105E-04
   3  norm          5.9058        2.9029        .41695E-07   -.32963E-04
   4  Prefactor     1.0770        4.4429        .10142E-05    .55494E-04
   5  norm          .10000E-03    1.1670        .87467E-07** at limit **
   6  norm          17.016        6.5472        .12146E-06   -.29228E-04
   7  Prefactor     61.391        34.090        .12473E-05   -.17818E-04
   8  Prefactor     .10000E-03    33.898       -.44071E-06** at limit **
   9  norm          2.5168        7.8806        .53051E-05   -.42219E-04
  10  Prefactor     .22973        9.2833       -.43634E-06    .62339E-04
  11  Prefactor     .10000E-03    22.786        .16766E-05** at limit **
  12  Prefactor     .10000E-03    7.5694       -.38931E-07** at limit **
  13  Prefactor     .10000E-03    13.932        .41417E-06** at limit **
  14  Prefactor     9.7758        7.6817        .63068E-07   -.25332E-04
  15  norm          .10000E-03    19.728       -.15730E-05** at limit **
  16  Prefactor     9.8985        40.444        .55148E-05    .89760E-05
  17  Prefactor     5.1737        10.132        .41833E-06   -.15183E-04
  18  norm          2.3791        1.4486        .78417E-07   -.51682E-04
  19  Prefactor     .10000E-03    12.046        .15367E-06** at limit **
  20  Prefactor     51.823        47.165       -.56358E-06   -.69326E-05
  21  Normalizat    .76008        .18273       -.91132E-06   -.12365E-03
  22  Prefactor     1.0149        .14811       -.52918E-06   -.13485E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2171
  Prefactor  = 5.75211
  norm       = 5.90581
  Prefactor  = 1.07698
  norm       = 0.0001
  norm       = 17.0161
  Prefactor  = 61.3911
  Prefactor  = 0.0001
  norm       = 2.51675
  Prefactor  = 0.229729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.77578
  norm       = 0.0001
  Prefactor  = 9.8985
  Prefactor  = 5.1737
  norm       = 2.37907
  Prefactor  = 0.0001
  Prefactor  = 51.8226
  Normalizat = 0.760077
  Prefactor  = 1.01489
 **********
 **   18 **HESSE 
 **********

 FCN=   5906.133     FROM HESSE     STATUS=OK           346 CALLS     2742 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.217        4.0879        .90138E-04   -1.5038    
   2  Prefactor     5.7521        4.8472        .15060E-03   -1.5228    
   3  norm          5.9058        2.9038        .88677E-04   -1.5222    
   4  Prefactor     1.0770        4.4083        .30741E-03   -1.5500    
   5  norm          .10000E-03    1.1809        .81049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.016        6.5511        .97086E-04   -1.4883    
   7  Prefactor     61.391        34.204        .51206E-04   -1.4139    
   8  Prefactor     .10000E-03    34.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5168        7.8837        .12873E-02   -1.5391    
  10  Prefactor     .22973        184.47        .44851E-02   -1.5612    
  11  Prefactor     .10000E-03    23.259        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.5756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.7758        7.6865        .12815E-03   -1.5083    
  15  norm          .10000E-03    19.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.8985        40.923        .12725E-03   -1.5079    
  17  Prefactor     5.1737        10.126        .17666E-03   -1.5253    
  18  norm          2.3791        1.4423        .67363E-04   -1.5399    
  19  Prefactor     .10000E-03    12.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     51.823        47.091        .55716E-04   -1.4267    
  21  Normalizat    .76008        .21477        .28124E-03   -1.0157    
  22  Prefactor     1.0149        .17495        .20350E-03   -.92235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3791e-10
Minuit parameter uncertainties:
  1  4.08797
  2  4.84756
  3  2.90384
  4  4.35819
  5  4.54937e-06
  6  6.55134
  7  34.2148
  8  0.000106178
  9  7.88697
  10  13.0574
  11  7.22861e-05
  12  3.9103e-06
  13  1.21142e-05
  14  7.68732
  15  3.32694e-05
  16  40.3006
  17  10.1298
  18  1.44231
  19  5.90671e-05
  20  47.125
  21  0.215006
  22  0.175053
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.702e+01  6.551e+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.015e+00  1.751e-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:  7.601e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.81
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 9.57e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 5.73e-05 +/- 2.20e-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) = 5904.73789628
delta logL = 1.3951278149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5904.71347423
delta logL = 1.4195498577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.959       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6117       1.0000          .0000       5.0000    
     3 'Normalizat'    .69003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0478       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=   5904.713     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      246 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.957        57.536        .28960E-02    .94172E-04
   2  alpha         2.6118        3.7300        .16796        .64083E-04
   3  Normalizat    .69001        .12554        .66319E-01    .24851E-04
   4  Prefactor     1.0478        .83001E-01    .40041E-01    .19942E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9574
  alpha      = 2.61176
  Normalizat = 0.690015
  Prefactor  = 1.04781
 **********
 **   18 **HESSE 
 **********

 FCN=   5904.713     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.957        6.7705        .85597E-04   -1.5016    
   2  alpha         2.6118        .43021        .70665E-02    .44719E-01
   3  Normalizat    .69001        .20994        .29344E-03   -1.0429    
   4  Prefactor     1.0478        .17188        .20045E-03   -.91152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97316e-09
Minuit parameter uncertainties:
  1  6.77091
  2  0.432368
  3  0.21018
  4  0.17197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724876': 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) = 5904.71347418
delta logL = 1.4195499079

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.196e+01  6.771e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.612e+00  4.324e-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.048e+00  1.720e-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:  6.900e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.59
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.61 +/- 0.43
Photon Flux (Free Index): 1.53e-07 +/- 5.84e-08
Energy Flux (Free Index): 4.20e-05 +/- 1.60e-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/724876/cmap_HighResolution_643420801_643680001_4FGL_J1443.9+2501_daily_bin1559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.57e-08', energy_flux2='4.20e-05', photon_flux_error='3.69e-08', dlogl='1.42e+00', energy_flux='5.73e-05', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-09-10 06:30:50.037558', photon_index_error2='0.43', photon_index2='2.61', ts='13.81', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.60e-05', EG='0.76', time_epoch_completed='1631280650.04', return_code='0', job_id='724876', GAL2='1.05', EG2='0.69', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='5.84e-08', ts2='16.59', photon_index='1.97' WHERE bin_id='1559' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:30:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 724876: <4FGL_J1443.9+2501_daily_bin1559> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1559 220.993 25.0291 643420801 643680001 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 :                                   533.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            552 sec.

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

