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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin544
RA = 344.025, Dec = -27.6739
tmin = 380332801, tmax = 380592001
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='590944', job_status='RUN', time_executed='2021-09-29 02:44:09.498804', time_epoch_executed='1632908649.5' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590944/ft1_4FGL_J2256.0-2740_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590944/ft2_4FGL_J2256.0-2740_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590944/ft1_4FGL_J2256.0-2740_daily_bin544.fits outfile=/scratch/kocevski/590944/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin544.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=380332801.0 tmax=380592001.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.96
user 3.23
sys 0.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590944/ft1_filtered_4FGL_J2256.0-2740_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/590944/ft2_4FGL_J2256.0-2740_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/590944/ltcube_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.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/590944/ft2_4FGL_J2256.0-2740_daily_bin544.fits
.....................!
real 11.90
user 11.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590944/ft1_filtered_4FGL_J2256.0-2740_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/590944/ft2_4FGL_J2256.0-2740_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/590944/ltcube_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.fits outfile=/scratch/kocevski/590944/expmap_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.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/590944/ltcube_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.fits
.....................!
real 193.27
user 187.53
sys 5.35

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/590944/ft1_filtered_4FGL_J2256.0-2740_daily_bin544.fits scfile=/scratch/kocevski/590944/ft2_4FGL_J2256.0-2740_daily_bin544.fits outfile=/scratch/kocevski/590944/cmap_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590944/ft1_filtered_4FGL_J2256.0-2740_daily_bin544.fits scfile=/scratch/kocevski/590944/ft2_4FGL_J2256.0-2740_daily_bin544.fits outfile=/scratch/kocevski/590944/cmap_HighResolution_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.901       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.810       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10649E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .12459E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    144.39       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10427E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .92574       1.0000         .10000E-03   10000.    
    12 'norm      '    .10170E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.030       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .33729E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13942E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3944       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .48723       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=   3922.988     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2420 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.899        23.829        .11341E-06   -.61322E-04
   2  Prefactor     .10000E-03    12.744       -.18300E-05** at limit **
   3  norm          .10000E-03    8.3129        .50833E-06** at limit **
   4  Prefactor     23.798        27.301        .76834E-07   -.34163E-04
   5  Prefactor     .10000E-03    14.278        .38409E-05** at limit **
   6  norm          .10001E-03    2.9422        .23829E-05** at limit **
   7  Prefactor     144.37        68.680       -.85763E-05   -.45500E-04
   8  Prefactor     .10000E-03    8.2626       -.18206E-05** at limit **
   9  norm          2.2302        3.2694        .59993E-08   -.45891E-03
  10  Prefactor     .10000E-03    8.3892        .14102E-05** at limit **
  11  Prefactor     .95191        7.9030        .12066E-05   -.32567E-03
  12  norm          .10000E-03    .34937       -.34737E-07** at limit **
  13  Prefactor     .10000E-03    20.516        .21688E-05** at limit **
  14  Prefactor     .10000E-03    7.1256        .10427E-06** at limit **
  15  Prefactor     .10000E-03    6.6711       -.31915E-07** at limit **
  16  norm          10.033        9.6375       -.63307E-06   -.57685E-03
  17  Prefactor     .10000E-03    32.945       -.91153E-06** at limit **
  18  norm          .10005E-03    2.3327       -.59786E-06** at limit **
  19  Prefactor     .10000E-03    197.95       -.26745E-05** at limit **
  20  Prefactor     .10000E-03    69.129        .64052E-06** at limit **
  21  Normalizat    1.3950        .22196        .13370E-05   -.32127E-03
  22  Prefactor     .48656        .19558       -.35302E-06   -.13168E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.8991
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 23.7978
  Prefactor  = 0.000100003
  norm       = 0.000100015
  Prefactor  = 144.371
  Prefactor  = 0.000100001
  norm       = 2.23017
  Prefactor  = 0.000100001
  Prefactor  = 0.951909
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0327
  Prefactor  = 0.0001
  norm       = 0.000100051
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.39501
  Prefactor  = 0.486555
 **********
 **   18 **HESSE 
 **********

 FCN=   3922.988     FROM HESSE     STATUS=OK           340 CALLS     2760 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.899        23.814        .70942E-04   -1.4578    
   2  Prefactor     .10000E-03    12.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.3117        .17634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.798        27.361        .82091E-04   -1.4732    
   5  Prefactor     .10000E-03    14.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    6.3109        .20282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     144.37        69.451        .33532E-04   -1.3299    
   8  Prefactor     .10000E-03    8.2130        .17488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2302        3.2431        .12804E-03   -1.5409    
  10  Prefactor     .10000E-03    8.3527        .17659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .95191        19.670        .28460E-02   -1.5513    
  12  norm          .10000E-03    .55885        .66769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.1433        .16329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.6837        .15782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.033        9.7839        .63261E-03   -1.5074    
  17  Prefactor     .10000E-03    32.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10005E-03    16.665        .18281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    201.72        .19698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    69.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3950        .26111        .20784E-03   -.80773    
  22  Prefactor     .48656        .22840        .30399E-03   -1.1260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83469e-09
Minuit parameter uncertainties:
  1  23.8214
  2  0.000236978
  3  3.92937e-05
  4  27.3749
  5  0.000434896
  6  0.000606603
  7  69.49
  8  0.000193464
  9  3.24334
  10  0.00014978
  11  8.65712
  12  3.91864e-06
  13  0.000379449
  14  1.3415e-05
  15  1.10495e-05
  16  9.78544
  17  0.000186868
  18  0.00184331
  19  0.00142658
  20  0.000224121
  21  0.261355
  22  0.228831
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.519e-01  8.657e+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.866e-01  2.288e-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.395e+00  2.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
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/590944/likelihoodResults_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.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) = 3922.91834304
delta logL = 0.0695082781317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3922.90344935
delta logL = 0.0844019719921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0478       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4553       1.0000          .0000       10.000    
     3 'Normalizat'    1.3722       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49990       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.

 FCN=   3922.903     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      237 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0441        219.59        .72227E-02    .45142E-03
   2  Index         4.4541        6.1945        .50000        .12297E-04
   3  Normalizat    1.3723        .51908E-01    .47321E-01   -.53206E-05
   4  Prefactor     .49983        .46995E-01    .67810E-01    .16264E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04414
  Index      = 4.45409
  Normalizat = 1.37232
  Prefactor  = 0.499827
 **********
 **   18 **HESSE 
 **********

 FCN=   3922.903     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0441        9.2105        .20837E-03   -1.5422    
   2  Index         4.4541        6.9818        .23898E-01   -.10940    
   3  Normalizat    1.3723        .25785        .20918E-03   -.81433    
   4  Prefactor     .49983        .22919        .30016E-03   -1.1198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27657e-09
Minuit parameter uncertainties:
  1  8.68014
  2  5.0432
  3  0.258091
  4  0.229618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590944': 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) = 3922.90344878
delta logL = 0.084402542067

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.044e+00  8.680e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  4.454e+00  5.043e+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.998e-01  2.296e-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.372e+00  2.581e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/590944/cmap_HighResolution_380332801_380592001_4FGL_J2256.0-2740_daily_bin544.png

Cleaning up...

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

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:52:39.789103', job_id='590944', GAL2='0.50', fit_tolerance='1e-08', EG2='1.37', EG='1.40', time_epoch_completed='1632909159.79', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.49', dlogl='8.44e-02', ts2='0.20', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='544' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:52:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 590944: <4FGL_J2256.0-2740_daily_bin544> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin544> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:36 2021
Job was executed on host(s) <bullet0274>, 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:52:40 2021
Results reported at Wed Sep 29 02:52:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin544 344.025 -27.6739 380332801 380592001 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 :                                   508.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             222.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            724 sec.

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

