/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 3 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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin315
RA = 344.025, Dec = -27.6739
tmin = 320976001, tmax = 321235201
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='590590', job_status='RUN', time_executed='2021-09-29 02:40:25.284681', time_epoch_executed='1632908425.28' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590590

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590590/ft1_4FGL_J2256.0-2740_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590590/ft1_4FGL_J2256.0-2740_daily_bin315.fits outfile=/scratch/kocevski/590590/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin315.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=320976001.0 tmax=321235201.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.50
user 3.26
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.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/590590/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin315.fits evtable="EVENTS" outfile="/scratch/kocevski/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits" evtable="EVENTS" scfile=/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits sctable="SC_DATA" outfile=/scratch/kocevski/590590/ltcube_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.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/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits
.....................!
real 12.34
user 11.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/590590/ltcube_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.fits outfile=/scratch/kocevski/590590/expmap_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.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/590590/ltcube_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.fits
.....................!
real 191.51
user 185.96
sys 4.77

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/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits scfile=/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits outfile=/scratch/kocevski/590590/cmap_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits scfile=/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits outfile=/scratch/kocevski/590590/cmap_HighResolution_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.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.55
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590590/Model_4FGL_J2256.0-2740_daily_bin315.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/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits.....................!
real 37.20
user 35.87
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits', '/scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits', expMap='/scratch/kocevski/590590/expmap_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.fits', expCube='/scratch/kocevski/590590/ltcube_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/590590/Model_4FGL_J2256.0-2740_daily_bin315.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/590590/ft1_filtered_4FGL_J2256.0-2740_daily_bin315.fits
Spacecraft file(s): /scratch/kocevski/590590/ft2_4FGL_J2256.0-2740_daily_bin315.fits
Exposure map: /scratch/kocevski/590590/expmap_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.fits
Exposure cube: /scratch/kocevski/590590/ltcube_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/590590/Model_4FGL_J2256.0-2740_daily_bin315.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) = 3928.30861318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.458       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    144.82       1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.581       1.0000         .10000E-03   10000.    
     9 'norm      '    10.768       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.9740       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0365       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3018       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10562E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.7276       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    83.140       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1843       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80006       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=   3928.298     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2369 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.466        32.235       -.23890E-06   -.11071E-05
   2  Prefactor     .10000E-03    3.6762        .34304E-07** at limit **
   3  norm          .10000E-03    27.032       -.76395E-06** at limit **
   4  Prefactor     .10000E-03    13.473       -.16467E-05** at limit **
   5  Prefactor     .10000E-03    18.566        .37405E-06** at limit **
   6  norm          .10000E-03    1.3739       -.34639E-06** at limit **
   7  Prefactor     144.78        75.841        .25965E-05   -.78596E-05
   8  Prefactor     48.578        23.899        .11250E-06    .21485E-05
   9  norm          10.767        6.8227        .10847E-06   -.55033E-05
  10  Prefactor     .10000E-03    6.4404       -.50373E-07** at limit **
  11  Prefactor     .10000E-03    5.9848       -.93628E-07** at limit **
  12  norm          1.9739        .91082       -.22682E-07   -.10739E-03
  13  Prefactor     5.0367        132.51        .65295E-06    .36388E-06
  14  Prefactor     .10000E-03    12.552        .12014E-05** at limit **
  15  Prefactor     .10000E-03    4.4613       -.50741E-07** at limit **
  16  norm          2.3018        8.2208        .46277E-05   -.25400E-05
  17  Prefactor     .10000E-03    96.712        .28465E-06** at limit **
  18  norm          3.7303        4.6094       -.40408E-06   -.10168E-03
  19  Prefactor     7.5508        68.125        .11703E-04   -.10028E-04
  20  Prefactor     83.133        194.03       -.89393E-06   -.87311E-05
  21  Normalizat    1.1845        .25438        .39042E-06   -.15301E-04
  22  Prefactor     .79991        .22506       -.21138E-05   -.26959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.4665
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 144.779
  Prefactor  = 48.5781
  norm       = 10.7672
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.97393
  Prefactor  = 5.03671
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.30181
  Prefactor  = 0.0001
  norm       = 3.7303
  Prefactor  = 7.55085
  Prefactor  = 83.133
  Normalizat = 1.18453
  Prefactor  = 0.79991
 **********
 **   18 **HESSE 
 **********

 FCN=   3928.298     FROM HESSE     STATUS=OK           342 CALLS     2711 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.466        32.252        .52472E-04   -1.4177    
   2  Prefactor     .10000E-03    3.6803        .11736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    27.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3824        .71754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     144.78        75.978        .16741E-03   -1.3296    
   8  Prefactor     48.578        24.116        .57532E-04   -1.4313    
   9  norm          10.767        6.8314        .60930E-03   -1.5052    
  10  Prefactor     .10000E-03    6.4421        .15533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.9959        .14962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9739        .91041        .38062E-04   -1.5427    
  13  Prefactor     5.0367        132.59        .17918E-03   -1.5259    
  14  Prefactor     .10000E-03    12.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.4666        .12928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3018        8.2804        .13524E-02   -1.5405    
  17  Prefactor     .10000E-03    96.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7303        4.5911        .13573E-03   -1.5322    
  19  Prefactor     7.5508        67.896        .14544E-03   -1.5158    
  20  Prefactor     83.133        196.19        .44053E-04   -1.3882    
  21  Normalizat    1.1845        .31207        .25583E-03   -.87082    
  22  Prefactor     .79991        .27152        .28232E-03   -.99732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84916e-10
Minuit parameter uncertainties:
  1  32.2617
  2  2.2193e-06
  3  2.12107e-05
  4  1.77439e-05
  5  7.955e-05
  6  1.30989e-05
  7  76.0291
  8  24.1203
  9  6.83189
  10  2.37158e-06
  11  1.00421e-05
  12  0.910421
  13  51.8113
  14  4.54926e-06
  15  3.29619e-06
  16  8.28449
  17  7.75359e-05
  18  4.59152
  19  45.3529
  20  197.752
  21  0.312566
  22  0.271978
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.004e-05  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:  7.999e-01  2.720e-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.185e+00  3.126e-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: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590590/likelihoodResults_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.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): 0
logL (Free Index) = 3928.29857744
delta logL = -0.000792105764958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3928.2977854
delta logL = -6.14272721577e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0234       1.0000          .0000       10.000    
     3 'Normalizat'    1.1845       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80000       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=   3928.298     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      246 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    971.42        .14963E-02** at limit **
   2  Index         3.0292        6.1700        .50000       -.94510E-06
   3  Normalizat    1.1845        .10628        .25583E-03    .23064E-04
   4  Prefactor     .79991        .98788E-01    .28232E-03    .15081E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 3.02925
  Normalizat = 1.18453
  Prefactor  = 0.799911
 **********
 **   18 **HESSE 
 **********

 FCN=   3928.298     FROM HESSE     STATUS=OK            29 CALLS      275 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    7.0983        .29926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0292        6.4739        .50000       -.40514    
   3  Normalizat    1.1845        .28668        .10233E-04   -.87082    
   4  Prefactor     .79991        .26647        .11293E-04   -.99732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57036e-09
Minuit parameter uncertainties:
  1  0.000419893
  2  179.423
  3  0.287059
  4  0.266899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590590': 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) = 3928.29778534
delta logL = 8.91759555088e-10

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.199e-04  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.029e+00  1.794e+02  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:  7.999e-01  2.669e-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.185e+00  2.871e-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/590590/cmap_HighResolution_320976001_321235201_4FGL_J2256.0-2740_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', job_status='DONE', photon_flux_upper_limit='1.58e-07', time_completed='2021-09-29 02:48:54.783966', job_id='590590', GAL2='0.80', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632908934.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='8.92e-10', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='315' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:48:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 590590: <4FGL_J2256.0-2740_daily_bin315> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin315> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:12 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:14 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:40:14 2021
Terminated at Wed Sep 29 02:48:55 2021
Results reported at Wed Sep 29 02:48:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin315 344.025 -27.6739 320976001 321235201 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 :                                   505.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            523 sec.

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

