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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin404
RA = 344.025, Dec = -27.6739
tmin = 344044801, tmax = 344304001
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='590729', job_status='RUN', time_executed='2021-09-29 02:42:50.648076', time_epoch_executed='1632908570.65' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590729

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590729/ft1_4FGL_J2256.0-2740_daily_bin404.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590729/ft1_4FGL_J2256.0-2740_daily_bin404.fits outfile=/scratch/kocevski/590729/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin404.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=344044801.0 tmax=344304001.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.39
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.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/590729/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin404.fits evtable="EVENTS" outfile="/scratch/kocevski/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.fits" evtable="EVENTS" scfile=/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits sctable="SC_DATA" outfile=/scratch/kocevski/590729/ltcube_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.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/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits
.....................!
real 12.02
user 11.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits sctable="SC_DATA" expcube=/scratch/kocevski/590729/ltcube_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.fits outfile=/scratch/kocevski/590729/expmap_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.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/590729/ltcube_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.fits
.....................!
real 190.66
user 184.95
sys 5.22

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/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.fits scfile=/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits outfile=/scratch/kocevski/590729/cmap_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.fits scfile=/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits outfile=/scratch/kocevski/590729/cmap_HighResolution_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/590729/ft2_4FGL_J2256.0-2740_daily_bin404.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590729/Model_4FGL_J2256.0-2740_daily_bin404.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/590729/ft1_filtered_4FGL_J2256.0-2740_daily_bin404.fits.....................!
real 36.07
user 34.75
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5793       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.905       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10469E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11526E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    105.90       1.0000         .10000E-03   10000.    
     8 'Prefactor '    55.619       1.0000         .10000E-03   10000.    
     9 'norm      '    18.114       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .42246       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.313       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.8065       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.7795       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9200       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0776       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75659       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=   3727.090     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2365 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5240        28.001       -.47587E-04    .92863E-05
   2  Prefactor     .10000E-03    6.3668       -.12450E-06** at limit **
   3  norm          .10000E-03    15.206        .10620E-04** at limit **
   4  Prefactor     37.905        31.850       -.25583E-05    .46575E-05
   5  Prefactor     .10000E-03    12.953       -.13961E-04** at limit **
   6  norm          .10000E-03    2.3898        .70415E-06** at limit **
   7  Prefactor     105.88        76.386       -.15532E-04    .69494E-04
   8  Prefactor     55.625        25.010       -.94677E-06    .13392E-04
   9  norm          18.111        7.5606        .30896E-06   -.11313E-03
  10  Prefactor     .10000E-03    11.468        .67922E-05** at limit **
  11  Prefactor     .10000E-03    7.9335       -.30479E-06** at limit **
  12  norm          .42258        .53994       -.87107E-07   -.38138E-03
  13  Prefactor     .10000E-03    51.617        .34048E-04** at limit **
  14  Prefactor     13.311        21.196       -.39627E-05    .11030E-04
  15  Prefactor     .10000E-03    4.8561        .35662E-07** at limit **
  16  norm          8.8087        12.812       -.22521E-05   -.33877E-05
  17  Prefactor     .10000E-03    36.301       -.20638E-04** at limit **
  18  norm          1.7811        4.6544        .21559E-05   -.17058E-03
  19  Prefactor     8.8968        42.630       -.41608E-04   -.17203E-04
  20  Prefactor     .10000E-03    81.013       -.73164E-05** at limit **
  21  Normalizat    1.0771        .24821        .53102E-05    .80038E-04
  22  Prefactor     .75711        .22607        .71465E-05    .12505E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.52403
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.9051
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 105.883
  Prefactor  = 55.6252
  norm       = 18.1109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.422578
  Prefactor  = 0.0001
  Prefactor  = 13.3111
  Prefactor  = 0.0001
  norm       = 8.8087
  Prefactor  = 0.0001
  norm       = 1.78109
  Prefactor  = 8.89682
  Prefactor  = 0.0001
  Normalizat = 1.07714
  Prefactor  = 0.757109
 **********
 **   18 **HESSE 
 **********

 FCN=   3727.090     FROM HESSE     STATUS=OK           342 CALLS     2707 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5240        28.051        .14567E-03   -1.5159    
   2  Prefactor     .10000E-03    6.4129        .15042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    15.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.905        31.860        .65099E-04   -1.4476    
   5  Prefactor     .10000E-03    12.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.4199        .18311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     105.88        76.091        .39077E-04   -1.3646    
   8  Prefactor     55.625        25.162        .53787E-04   -1.4215    
   9  norm          18.111        7.5235        .94105E-04   -1.4857    
  10  Prefactor     .10000E-03    11.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9912        .16763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .42258        .50811        .47980E-03   -1.5578    
  13  Prefactor     .10000E-03    51.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.311        21.202        .10978E-03   -1.4978    
  15  Prefactor     .10000E-03    4.8637        .13137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.8087        12.827        .13507E-03   -1.5114    
  17  Prefactor     .10000E-03    36.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7811        4.5602        .18615E-03   -1.5441    
  19  Prefactor     8.8968        41.570        .13420E-03   -1.5111    
  20  Prefactor     .10000E-03    81.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0771        .30139        .24740E-03   -.90489    
  22  Prefactor     .75711        .27208        .26929E-03   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71879e-10
Minuit parameter uncertainties:
  1  28.0998
  2  3.46617e-05
  3  6.78515e-05
  4  31.8745
  5  0.000190149
  6  0.000105509
  7  76.1608
  8  25.1665
  9  7.52385
  10  7.5407e-06
  11  5.58631e-06
  12  0.508115
  13  0.000133922
  14  21.2141
  15  4.038e-06
  16  12.8314
  17  8.29536e-05
  18  4.56111
  19  38.5063
  20  3.23342e-05
  21  0.301876
  22  0.27256
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  5.586e-06  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.571e-01  2.726e-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.077e+00  3.019e-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.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590729/likelihoodResults_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.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) = 3727.09108749
delta logL = -0.000596077476075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3727.0904918
delta logL = -3.88069111068e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0152       1.0000          .0000       10.000    
     3 'Normalizat'    1.0770       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75726       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=   3727.090     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      253 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1045.9        .16799E-02** at limit **
   2  Index         2.8192        6.3266        .50000       -.73908E-07
   3  Normalizat    1.0771        .80398E-01    .24740E-03   -.41312E-04
   4  Prefactor     .75711        .75023E-01    .26928E-03   -.39031E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.81919
  Normalizat = 1.07714
  Prefactor  = 0.757107
 **********
 **   18 **HESSE 
 **********

 FCN=   3727.090     FROM HESSE     STATUS=OK            29 CALLS      282 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.093        .33598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8192        5.6484        .50000       -.45133    
   3  Normalizat    1.0771        .28688        .98959E-05   -.90489    
   4  Prefactor     .75711        .26768        .10771E-04   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5753e-11
Minuit parameter uncertainties:
  1  2.41737e-05
  2  152.656
  3  0.287291
  4  0.268144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590729': 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) = 3727.09049121
delta logL = 2.06307504413e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  2.417e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.819e+00  1.527e+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.571e-01  2.681e-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.077e+00  2.873e-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/590729/cmap_HighResolution_344044801_344304001_4FGL_J2256.0-2740_daily_bin404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2021-09-29 02:51:06.072062', job_id='590729', GAL2='0.76', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1632909066.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='404' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:51:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 590729: <4FGL_J2256.0-2740_daily_bin404> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin404> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:22 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:24 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:24 2021
Terminated at Wed Sep 29 02:51:06 2021
Results reported at Wed Sep 29 02:51:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin404 344.025 -27.6739 344044801 344304001 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 :                                   494.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            644 sec.

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

