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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin548
RA = 344.025, Dec = -27.6739
tmin = 381369601, tmax = 381628801
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='590950', job_status='RUN', time_executed='2021-09-29 02:44:16.575256', time_epoch_executed='1632908656.58' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590950

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590950/ft1_4FGL_J2256.0-2740_daily_bin548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590950/ft2_4FGL_J2256.0-2740_daily_bin548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590950/ft1_4FGL_J2256.0-2740_daily_bin548.fits outfile=/scratch/kocevski/590950/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin548.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=381369601.0 tmax=381628801.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.55
user 3.35
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590950/ft1_filtered_4FGL_J2256.0-2740_daily_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/590950/ft2_4FGL_J2256.0-2740_daily_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/590950/ltcube_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.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/590950/ft2_4FGL_J2256.0-2740_daily_bin548.fits
.....................!
real 11.93
user 11.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590950/ft1_filtered_4FGL_J2256.0-2740_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/590950/ft2_4FGL_J2256.0-2740_daily_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/590950/ltcube_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.fits outfile=/scratch/kocevski/590950/expmap_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.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/590950/ltcube_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.fits
.....................!
real 190.51
user 185.79
sys 4.40

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/590950/ft1_filtered_4FGL_J2256.0-2740_daily_bin548.fits scfile=/scratch/kocevski/590950/ft2_4FGL_J2256.0-2740_daily_bin548.fits outfile=/scratch/kocevski/590950/cmap_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590950/ft1_filtered_4FGL_J2256.0-2740_daily_bin548.fits scfile=/scratch/kocevski/590950/ft2_4FGL_J2256.0-2740_daily_bin548.fits outfile=/scratch/kocevski/590950/cmap_HighResolution_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.168       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10462E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .77732E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .13684E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    135.79       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.849       1.0000         .10000E-03   10000.    
     9 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .94276       1.0000         .10000E-03   10000.    
    12 'norm      '    .18252       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.920       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4100       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.2529       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12033E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .87886E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5958       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .43061       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=   4282.805     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2446 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.178        18.260       -.33796E-06   -.52955E-04
   2  Prefactor     .10000E-03    8.5198        .87958E-06** at limit **
   3  norm          .10000E-03    22.379       -.85179E-06** at limit **
   4  Prefactor     .10000E-03    26.414        .72040E-06** at limit **
   5  Prefactor     .10008E-03    112.51        .66604E-05** at limit **
   6  norm          .10000E-03    4.2958       -.22922E-06** at limit **
   7  Prefactor     135.90        75.112       -.15482E-05   -.20504E-03
   8  Prefactor     21.861        15.240       -.20119E-06   -.92453E-04
   9  norm          .10000E-03    6.8900        .29083E-06** at limit **
  10  Prefactor     .10000E-03    9.6668       -.63837E-06** at limit **
  11  Prefactor     .96157        28.423       -.32046E-06   -.38900E-03
  12  norm          .18144        1.0361       -.98995E-07   -.95494E-03
  13  Prefactor     .10000E-03    25.697        .11717E-06** at limit **
  14  Prefactor     .10000E-03    7.5829       -.37304E-06** at limit **
  15  Prefactor     39.966        21.422        .66953E-06   -.25041E-03
  16  norm          5.4149        8.5505       -.18982E-07   -.60666E-06
  17  Prefactor     .10000E-03    20.308       -.35641E-06** at limit **
  18  norm          7.2515        4.4100       -.53976E-07   -.18598E-04
  19  Prefactor     .10000E-03    16.396        .70570E-06** at limit **
  20  Prefactor     .10002E-03    394.06       -.14176E-04** at limit **
  21  Normalizat    1.5955        .26236        .33564E-05   -.31900E-03
  22  Prefactor     .43100        .22804       -.57244E-05   -.17040E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.178
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010008
  norm       = 0.0001
  Prefactor  = 135.904
  Prefactor  = 21.8609
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.961575
  norm       = 0.181445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.9657
  norm       = 5.41487
  Prefactor  = 0.0001
  norm       = 7.25151
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  Normalizat = 1.59549
  Prefactor  = 0.431
 **********
 **   18 **HESSE 
 **********

 FCN=   4282.805     FROM HESSE     STATUS=OK           340 CALLS     2786 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.178        18.253        .96663E-04   -1.4879    
   2  Prefactor     .10000E-03    8.6488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    22.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10008E-03    129.05        .42329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.3917        .26212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     135.90        75.849        .17281E-03   -1.3371    
   8  Prefactor     21.861        15.256        .85691E-04   -1.4773    
   9  norm          .10000E-03    7.0472        .33332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.6921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .96157        92.318        .32845E-02   -1.5512    
  12  norm          .18144        1.3371        .85169E-03   -1.5623    
  13  Prefactor     .10000E-03    25.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.6131        .17597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     39.966        23.470        .63441E-04   -1.4443    
  16  norm          5.4149        8.5425        .17277E-03   -1.5243    
  17  Prefactor     .10000E-03    20.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.2515        4.4085        .10308E-03   -1.5169    
  19  Prefactor     .10000E-03    16.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    400.93        .20845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5955        .28168        .21893E-03   -.75129    
  22  Prefactor     .43100        .24256        .35320E-03   -1.1525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51865e-09
Minuit parameter uncertainties:
  1  18.2593
  2  5.92603e-05
  3  7.96691e-05
  4  9.14685e-05
  5  0.00644815
  6  5.12317e-05
  7  75.9034
  8  15.2584
  9  2.0448e-05
  10  5.2683e-05
  11  18.8726
  12  0.984861
  13  1.78468e-05
  14  1.38383e-05
  15  23.4751
  16  8.54444
  17  3.34334e-05
  18  4.40873
  19  6.35471e-05
  20  0.00559307
  21  0.281965
  22  0.243144
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.616e-01  1.887e+01  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.310e-01  2.431e-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.595e+00  2.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.94e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.56e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590950/likelihoodResults_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.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) = 4282.79463348
delta logL = 0.0102134850476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4282.78924938
delta logL = 0.0155975890357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0055       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6556       1.0000          .0000       10.000    
     3 'Normalizat'    1.5852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43654       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=   4282.789     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      276 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0086        15.892        .29240E-03    .66448E-04
   2  Index         3.6608        3.3802        .27077E-01    .90950E-05
   3  Normalizat    1.5853        .27384        .21942E-03    .17351E-03
   4  Prefactor     .43642        .23761        .35106E-03   -.83744E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.00863
  Index      = 3.66077
  Normalizat = 1.58533
  Prefactor  = 0.436416
 **********
 **   18 **HESSE 
 **********

 FCN=   4282.789     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0086        14.610        .11696E-04   -1.5425    
   2  Index         3.6608        3.2717        .10831E-02   -.27116    
   3  Normalizat    1.5853        .27410        .43884E-04   -.75408    
   4  Prefactor     .43642        .23787        .14043E-04   -1.1499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8487e-10
Minuit parameter uncertainties:
  1  10.8377
  2  3.59671
  3  0.274356
  4  0.238408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590950': 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) = 4282.78924787
delta logL = 0.015599090847

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.009e+00  1.084e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.661e+00  3.597e+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.364e-01  2.384e-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.585e+00  2.744e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/590950/cmap_HighResolution_381369601_381628801_4FGL_J2256.0-2740_daily_bin548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-02', job_status='DONE', photon_flux_upper_limit='1.94e-07', time_completed='2021-09-29 02:53:05.709433', job_id='590950', GAL2='0.44', fit_tolerance='1e-08', EG2='1.59', EG='1.60', time_epoch_completed='1632909185.71', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='1.56e-02', ts2='0.04', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='548' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 590950: <4FGL_J2256.0-2740_daily_bin548> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin548 344.025 -27.6739 381369601 381628801 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 :                                   529.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            749 sec.

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

