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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1483
RA = 344.025, Dec = -27.6739
tmin = 623721601, tmax = 623980801
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='594325', job_status='RUN', time_executed='2021-09-29 02:53:13.566361', time_epoch_executed='1632909193.57' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594325

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594325/ft1_4FGL_J2256.0-2740_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594325/ft1_4FGL_J2256.0-2740_daily_bin1483.fits outfile=/scratch/kocevski/594325/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1483.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=623721601.0 tmax=623980801.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 5.19
user 4.90
sys 0.23

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594325/ft1_filtered_4FGL_J2256.0-2740_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/594325/ltcube_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.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/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits
.....................!
real 11.54
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594325/ft1_filtered_4FGL_J2256.0-2740_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/594325/ltcube_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.fits outfile=/scratch/kocevski/594325/expmap_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.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/594325/ltcube_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.fits
.....................!
real 190.38
user 185.54
sys 4.53

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/594325/ft1_filtered_4FGL_J2256.0-2740_daily_bin1483.fits scfile=/scratch/kocevski/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits outfile=/scratch/kocevski/594325/cmap_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594325/ft1_filtered_4FGL_J2256.0-2740_daily_bin1483.fits scfile=/scratch/kocevski/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits outfile=/scratch/kocevski/594325/cmap_HighResolution_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.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/594325/ft1_filtered_4FGL_J2256.0-2740_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/594325/ft2_4FGL_J2256.0-2740_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594325/Model_4FGL_J2256.0-2740_daily_bin1483.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/594325/ft1_filtered_4FGL_J2256.0-2740_daily_bin1483.fits.....................!
real 32.95
user 31.68
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11782E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9428       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.5294       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .47783E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.786       1.0000         .10000E-03   10000.    
     9 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2932       1.0000         .10000E-03   10000.    
    12 'norm      '    4.8196       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.920       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.087       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .23081E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.2899       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.980       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11662E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2088       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69181       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=   3276.056     FROM MIGRAD    STATUS=CONVERGED    883 CALLS     3142 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7316        .14502E-02** at limit **
   2  Prefactor     .10020E-03    66.167        .37823E-02** at limit **
   3  norm          .10000E-03    15.483        .18142E-02** at limit **
   4  Prefactor     4.9560        67.397        .18090E-03   -.83992E-04
   5  Prefactor     .10000E-03    26.457        .18142E-02** at limit **
   6  norm          4.5318        3.9230        .90148E-04    .71070E-03
   7  Prefactor     .10661E-03    140.59        .15388    ** at limit **
   8  Prefactor     23.785        26.816        .82131E-04   -.54468E-04
   9  norm          .10000E-03    2.9929        .96537E-03** at limit **
  10  Prefactor     .10000E-03    23.233        .18142E-02** at limit **
  11  Prefactor     4.2886        44.604        .19444E-03   -.68966E-04
  12  norm          4.8192        2.1258        .35049E-04    .22138E-03
  13  Prefactor     12.941        69.989        .11144E-03    .11630E-04
  14  Prefactor     .10000E-03    8.3755        .16176E-02** at limit **
  15  Prefactor     .10000E-03    26.966        .18142E-02** at limit **
  16  norm          10.086        11.470        .12616E-03   -.43614E-04
  17  Prefactor     .10000E-03    71.279        .18142E-02** at limit **
  18  norm          6.2873        5.8639        .11589E-03   -.84023E-04
  19  Prefactor     23.990        57.440        .81799E-04    .38915E-05
  20  Prefactor     .10000E-03    92.223        .18142E-02** at limit **
  21  Normalizat    1.2092        .36091        .24396E-03   -.88761E-04
  22  Prefactor     .69145        .30717        .28650E-03   -.13583E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100204
  norm       = 0.0001
  Prefactor  = 4.95596
  Prefactor  = 0.0001
  norm       = 4.53177
  Prefactor  = 0.000106605
  Prefactor  = 23.7847
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.28859
  norm       = 4.81921
  Prefactor  = 12.9412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0865
  Prefactor  = 0.0001
  norm       = 6.28731
  Prefactor  = 23.9898
  Prefactor  = 0.0001
  Normalizat = 1.20924
  Prefactor  = 0.691448
 **********
 **   18 **HESSE 
 **********

 FCN=   3276.056     FROM HESSE     STATUS=OK           330 CALLS     3472 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7317        .29004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10020E-03    67.469        .75645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    15.484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9560        67.320        .72360E-05   -1.5263    
   5  Prefactor     .10000E-03    26.467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.5318        3.9414        .18030E-04   -1.5282    
   7  Prefactor     .10661E-03    154.75        .14570       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.785        26.815        .32853E-05   -1.4732    
   9  norm          .10000E-03    2.9930        .19307E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2886        44.388        .77774E-05   -1.5294    
  12  norm          4.8192        2.1215        .14020E-05   -1.5269    
  13  Prefactor     12.941        69.944        .44576E-05   -1.4988    
  14  Prefactor     .10000E-03    8.3756        .32352E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.971        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.086        11.470        .50465E-05   -1.5073    
  17  Prefactor     .10000E-03    71.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.2873        5.8633        .46355E-05   -1.5206    
  19  Prefactor     23.990        57.422        .32720E-05   -1.4728    
  20  Prefactor     .10000E-03    92.224        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2092        .36124        .48792E-04   -.86318    
  22  Prefactor     .69145        .30750        .11460E-04   -1.0386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70026e-09
Minuit parameter uncertainties:
  1  8.57849e-06
  2  0.0074368
  3  2.33287e-05
  4  36.5812
  5  0.000168871
  6  3.94164
  7  0.0641094
  8  26.8281
  9  2.74312e-06
  10  3.17557e-05
  11  27.6204
  12  2.12148
  13  60.2812
  14  1.79323e-05
  15  1.54852e-05
  16  11.4721
  17  0.000198619
  18  5.86382
  19  57.5548
  20  9.82376e-05
  21  0.361988
  22  0.308261
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.289e+00  2.762e+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:  6.914e-01  3.083e-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.209e+00  3.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/594325/likelihoodResults_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.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) = 3276.05584493
delta logL = 1.47338141687e-09

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3276.05584493
delta logL = 2.92038748739e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2886       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0227       1.0000          .0000       10.000    
     3 'Normalizat'    1.2092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69145       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=   3276.056     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      263 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2894        18.926        .19454E-03   -.76846E-05
   2  Index         3.0214        2.5563        .11049E-01   -.18201E-04
   3  Normalizat    1.2093        .33461        .24395E-03    .12303E-04
   4  Prefactor     .69144        .29826        .28650E-03   -.20158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.28937
  Index      = 3.02136
  Normalizat = 1.20926
  Prefactor  = 0.691436
 **********
 **   18 **HESSE 
 **********

 FCN=   3276.056     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2894        18.729        .77817E-05   -1.5294    
   2  Index         3.0214        2.5458        .44197E-03   -.40686    
   3  Normalizat    1.2093        .33538        .97582E-05   -.86317    
   4  Prefactor     .69144        .29882        .11460E-04   -1.0386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2375e-10
Minuit parameter uncertainties:
  1  17.9352
  2  2.69847
  3  0.335974
  4  0.299517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594325': 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) = 3276.05584481
delta logL = 1.20810454973e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.289e+00  1.794e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.021e+00  2.698e+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:  6.914e-01  2.995e-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.209e+00  3.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/594325/cmap_HighResolution_623721601_623980801_4FGL_J2256.0-2740_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-02', job_status='DONE', photon_flux_upper_limit='2.84e-07', time_completed='2021-09-29 03:04:20.175004', job_id='594325', GAL2='0.69', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1632909860.18', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.21e-07', ts2='0.07', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1483' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:04:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 594325: <4FGL_J2256.0-2740_daily_bin1483> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1483> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:48 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:50 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:50:50 2021
Terminated at Wed Sep 29 03:04:20 2021
Results reported at Wed Sep 29 03:04:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1483 344.025 -27.6739 623721601 623980801 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.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

