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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin966
RA = 344.025, Dec = -27.6739
tmin = 489715201, tmax = 489974401
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='592597', job_status='RUN', time_executed='2021-09-29 02:49:33.380450', time_epoch_executed='1632908973.38' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='966'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592597

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592597/ft1_4FGL_J2256.0-2740_daily_bin966.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592597/ft1_4FGL_J2256.0-2740_daily_bin966.fits outfile=/scratch/kocevski/592597/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin966.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=489715201.0 tmax=489974401.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.09
user 3.87
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.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/592597/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin966.fits evtable="EVENTS" outfile="/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits" evtable="EVENTS" scfile=/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits sctable="SC_DATA" outfile=/scratch/kocevski/592597/ltcube_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.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/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits
.....................!
real 11.76
user 11.35
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits evtable="EVENTS" scfile=/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits sctable="SC_DATA" expcube=/scratch/kocevski/592597/ltcube_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.fits outfile=/scratch/kocevski/592597/expmap_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.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/592597/ltcube_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.fits
.....................!
real 191.16
user 185.73
sys 5.04

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

Setting source of interest to:
4FGL J2256.0-2740 @ 344.025 -27.6739

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits scfile=/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits outfile=/scratch/kocevski/592597/cmap_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.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=344.025 yref=-27.6739 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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits scfile=/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits outfile=/scratch/kocevski/592597/cmap_HighResolution_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.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=344.025 yref=-27.6739 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits evtable="EVENTS" scfile=/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592597/Model_4FGL_J2256.0-2740_daily_bin966.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/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits.....................!
real 46.10
user 44.78
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits', '/scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits', expMap='/scratch/kocevski/592597/expmap_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.fits', expCube='/scratch/kocevski/592597/ltcube_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/592597/Model_4FGL_J2256.0-2740_daily_bin966.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2256.0-2740'

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.060e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/592597/ft1_filtered_4FGL_J2256.0-2740_daily_bin966.fits
Spacecraft file(s): /scratch/kocevski/592597/ft2_4FGL_J2256.0-2740_daily_bin966.fits
Exposure map: /scratch/kocevski/592597/expmap_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.fits
Exposure cube: /scratch/kocevski/592597/ltcube_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/592597/Model_4FGL_J2256.0-2740_daily_bin966.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) = 5548.88298271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9120       1.0000         .10000E-03   10000.    
     3 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.147       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.490       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.027       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1950       1.0000         .10000E-03   10000.    
     9 'norm      '    4.3975       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30979       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.728       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.384       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4390       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .44214       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5548.846     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2390 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.756        .17092E-05** at limit **
   2  Prefactor     4.9117        5.3308        .64027E-06   -.61988E-05
   3  norm          .10000E-03    20.162        .11610E-05** at limit **
   4  Prefactor     16.148        18.664       -.19370E-06   -.28657E-05
   5  Prefactor     24.489        12.199        .75190E-06   -.29966E-04
   6  norm          .10000E-03    1.0807       -.29208E-07** at limit **
   7  Prefactor     40.018        38.368       -.71494E-05   -.57672E-04
   8  Prefactor     2.1946        1.6213        .13746E-06   -.12313E-02
   9  norm          4.3979        3.3708        .69799E-07   -.24092E-03
  10  Prefactor     .10000E-03    5.4231        .48606E-06** at limit **
  11  Prefactor     .30321        3.8035        .65182E-06   -.99317E-04
  12  norm          .10000E-03    .15554        .14577E-07** at limit **
  13  Prefactor     15.733        38.303        .63769E-05    .63166E-05
  14  Prefactor     .10000E-03    8.6072       -.18917E-06** at limit **
  15  Prefactor     .10000E-03    4.8235       -.28972E-06** at limit **
  16  norm          10.384        8.1041        .87034E-08    .33861E-05
  17  Prefactor     .10000E-03    23.055       -.41826E-05** at limit **
  18  norm          .10000E-03    .94797       -.24228E-06** at limit **
  19  Prefactor     .10000E-03    9.9645       -.17880E-07** at limit **
  20  Prefactor     .10000E-03    71.827       -.23989E-05** at limit **
  21  Normalizat    1.4392        .18131        .78756E-06   -.20791E-03
  22  Prefactor     .44201        .16667       -.18493E-05   -.40047E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.91173
  norm       = 0.0001
  Prefactor  = 16.1481
  Prefactor  = 24.4889
  norm       = 0.0001
  Prefactor  = 40.0179
  Prefactor  = 2.19458
  norm       = 4.39793
  Prefactor  = 0.0001
  Prefactor  = 0.30321
  norm       = 0.0001
  Prefactor  = 15.7328
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3836
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.43918
  Prefactor  = 0.442006
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.846     FROM HESSE     STATUS=OK           340 CALLS     2730 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9117        5.3261        .17307E-03   -1.5265    
   3  norm          .10000E-03    20.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.148        18.667        .99673E-04   -1.4904    
   5  Prefactor     24.489        12.213        .80944E-04   -1.4718    
   6  norm          .10000E-03    1.0947        .75355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     40.018        38.446        .63356E-04   -1.4442    
   8  Prefactor     2.1946        5.6913        .13888E-02   -1.5412    
   9  norm          4.3979        3.4642        .10987E-03   -1.5289    
  10  Prefactor     .10000E-03    5.4353        .16929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .30321        31.116        .25438E-02   -1.5598    
  12  norm          .10000E-03    .15912        .56715E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.733        38.313        .10099E-03   -1.4914    
  14  Prefactor     .10000E-03    8.6968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8596        .15952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.384        8.1027        .12434E-03   -1.5063    
  17  Prefactor     .10000E-03    23.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .95291        .70800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.9771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    71.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4392        .21155        .19613E-03   -.79502    
  22  Prefactor     .44201        .19150        .31399E-03   -1.1472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40144e-09
Minuit parameter uncertainties:
  1  2.73163e-05
  2  5.32666
  3  5.84537e-05
  4  18.6733
  5  12.2145
  6  3.0575e-05
  7  38.4699
  8  5.69271
  9  3.46434
  10  5.20988e-06
  11  6.14544
  12  1.32079e-07
  13  38.373
  14  6.35209e-06
  15  5.9065e-06
  16  8.10352
  17  1.59384e-05
  18  1.39443e-07
  19  7.76146e-07
  20  1.27109e-05
  21  0.211676
  22  0.191777
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.032e-01  6.145e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  4.420e-01  1.918e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.439e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 9.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592597/likelihoodResults_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.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) = 5548.80812765
delta logL = 0.0377121500205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5548.77530788
delta logL = 0.0705319166163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2271       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4342       1.0000          .0000       10.000    
     3 'Normalizat'    1.4206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+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=   5548.775     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      287 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2250        5.9138        .21330E-03   -.66624E-05
   2  Index         4.4297        6.9908        .30863E-01    .78967E-04
   3  Normalizat    1.4211        .20923        .19712E-03   -.40371E-06
   4  Prefactor     .45268        .19228        .31047E-03   -.13548E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22502
  Index      = 4.42967
  Normalizat = 1.42107
  Prefactor  = 0.452684
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.775     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2250        4.4878        .85320E-05   -1.5487    
   2  Index         4.4297        3.7620        .61725E-02   -.11431    
   3  Normalizat    1.4211        .20938        .78850E-05   -.80021    
   4  Prefactor     .45268        .19249        .12419E-04   -1.1420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83001e-13
Minuit parameter uncertainties:
  1  4.489
  2  4.26806
  3  0.20951
  4  0.192768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592597': 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) = 5548.77530171
delta logL = 0.070538093536

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.225e+00  4.489e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  4.430e+00  4.268e+00  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  4.527e-01  1.928e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.421e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 344.025 -27.674

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/592597/cmap_HighResolution_489715201_489974401_4FGL_J2256.0-2740_daily_bin966.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.91e-03', job_status='DONE', photon_flux_upper_limit='9.88e-08', time_completed='2021-09-29 02:59:36.414971', job_id='592597', GAL2='0.45', fit_tolerance='1e-08', EG2='1.42', EG='1.44', time_epoch_completed='1632909576.42', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='7.05e-02', ts2='0.15', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='966' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:59:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 592597: <4FGL_J2256.0-2740_daily_bin966> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin966> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:37 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:45:38 2021
Terminated at Wed Sep 29 02:59:37 2021
Results reported at Wed Sep 29 02:59:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin966 344.025 -27.6739 489715201 489974401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2256.0-2740 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   601.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             239.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

