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


Performing analysis on: 4FGL_J0757.1+0956_daily_bin286
RA = 119.286, Dec = 9.9491
tmin = 313459201, tmax = 313718401
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='21633', job_status='RUN', time_executed='2021-08-28 20:19:41.988347', time_epoch_executed='1630207181.99' WHERE source_name='4FGL J0757.1+0956' and cadence='daily' and bin_id='286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21633/ft1_4FGL_J0757.1+0956_daily_bin286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21633/ft1_4FGL_J0757.1+0956_daily_bin286.fits outfile=/scratch/kocevski/21633/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin286.fits ra=119.286 dec=9.9491 rad=12.0 tmin=313459201.0 tmax=313718401.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.26
user 3.09
sys 2.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.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/21633/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin286.fits evtable="EVENTS" outfile="/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.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 2.44
user 0.34
sys 2.05

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits" evtable="EVENTS" scfile=/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits sctable="SC_DATA" outfile=/scratch/kocevski/21633/ltcube_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.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/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits
.....................!
real 13.98
user 11.42
sys 2.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits sctable="SC_DATA" expcube=/scratch/kocevski/21633/ltcube_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.fits outfile=/scratch/kocevski/21633/expmap_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.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/21633/ltcube_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.fits
.....................!
real 194.46
user 185.19
sys 6.57

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 169 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0757.1+0956 @ 119.286 9.9491

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits scfile=/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits outfile=/scratch/kocevski/21633/cmap_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.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=119.286 yref=9.9491 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 2.43
user 0.37
sys 2.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits scfile=/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits outfile=/scratch/kocevski/21633/cmap_HighResolution_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.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=119.286 yref=9.9491 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 2.41
user 0.39
sys 2.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21633/Model_4FGL_J0757.1+0956_daily_bin286.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits.....................!
real 98.32
user 94.32
sys 3.72

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits', '/scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits', expMap='/scratch/kocevski/21633/expmap_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.fits', expCube='/scratch/kocevski/21633/ltcube_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21633/Model_4FGL_J0757.1+0956_daily_bin286.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0757.1+0956'

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  8.647e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21633/ft1_filtered_4FGL_J0757.1+0956_daily_bin286.fits
Spacecraft file(s): /scratch/kocevski/21633/ft2_4FGL_J0757.1+0956_daily_bin286.fits
Exposure map: /scratch/kocevski/21633/expmap_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.fits
Exposure cube: /scratch/kocevski/21633/ltcube_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21633/Model_4FGL_J0757.1+0956_daily_bin286.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) = 6797.02418953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0206       1.0000         .10000E-03   10000.    
     2 'norm      '    5.0443       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23251E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.438       1.0000         .10000E-03   10000.    
     5 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .17506       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4259       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1819       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.073       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13274E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10308E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.9705       1.0000         .10000E-03   10000.    
    16 'norm      '    33.770       1.0000         .10000E-03   10000.    
    17 'norm      '    12.989       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.9458       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6525       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .64664       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6797.005     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2578 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0228        2.1045       -.43341E-07    .11998E-02
   2  norm          5.0436        1.7329       -.96308E-07   -.25926E-02
   3  Prefactor     .10001E-03    276.90       -.18745E-03** at limit **
   4  Prefactor     27.465        38.154        .77154E-05    .18800E-03
   5  norm          .10000E-03    .81942        .16791E-06** at limit **
   6  norm          .15881        .96772       -.21112E-06    .14294E-03
   7  Prefactor     5.4115        10.810       -.62663E-06   -.27685E-03
   8  Prefactor     3.1786        55.666        .33905E-05   -.36259E-04
   9  Prefactor     .10000E-03    1.4188       -.42493E-07** at limit **
  10  norm          .10000E-03    19.409       -.33598E-06** at limit **
  11  Prefactor     26.069        13.668        .39553E-07   -.29765E-04
  12  Prefactor     .10000E-03    201.36        .12561E-03** at limit **
  13  norm          .10000E-03    36.195        .39999E-05** at limit **
  14  Prefactor     .10000E-03    13.690        .11243E-06** at limit **
  15  norm          9.9684        14.902       -.20378E-05   -.10091E-02
  16  norm          33.755        23.420        .59348E-05    .30564E-04
  17  norm          12.990        5.4304       -.79477E-07    .21864E-04
  18  Prefactor     .10000E-03    47.036       -.78228E-05** at limit **
  19  Prefactor     .10000E-03    12.497       -.59601E-07** at limit **
  20  norm          .10000E-03    .38874        .92932E-08** at limit **
  21  Prefactor     9.9585        41.783        .83883E-05   -.10951E-04
  22  Normalizat    1.6527        .20738       -.18653E-05    .37784E-03
  23  Prefactor     .64675        .12430        .60486E-06    .46484E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02278
  norm       = 5.04356
  Prefactor  = 0.000100015
  Prefactor  = 27.4655
  norm       = 0.0001
  norm       = 0.158808
  Prefactor  = 5.41146
  Prefactor  = 3.17861
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.0688
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.96843
  norm       = 33.7555
  norm       = 12.9897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.9585
  Normalizat = 1.65266
  Prefactor  = 0.646752
 **********
 **   18 **HESSE 
 **********

 FCN=   6797.005     FROM HESSE     STATUS=OK           368 CALLS     2946 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0228        2.0894        .11309E-03   -1.5424    
   2  norm          5.0436        1.7349        .30286E-03   -1.5259    
   3  Prefactor     .10001E-03    276.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.465        38.078        .76481E-04   -1.4659    
   5  norm          .10000E-03    1.1743        .13185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .15881        6.4203        .15001E-02   -1.5628    
   7  Prefactor     5.4115        9.8903        .17251E-03   -1.5243    
   8  Prefactor     3.1786        55.370        .22718E-03   -1.5351    
   9  Prefactor     .10000E-03    1.4336        .95831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    19.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.069        13.682        .78454E-04   -1.4686    
  12  Prefactor     .10000E-03    201.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    36.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.9684        15.002        .63451E-03   -1.5076    
  16  norm          33.755        23.439        .68957E-04   -1.4545    
  17  norm          12.990        5.4306        .11114E-03   -1.4987    
  18  Prefactor     .10000E-03    47.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .40492        .10030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9585        41.988        .12706E-03   -1.5077    
  22  Normalizat    1.6527        .23578        .26437E-03   -.73574    
  23  Prefactor     .64675        .14044        .24452E-03   -1.0565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89601e-09
Minuit parameter uncertainties:
  1  2.08949
  2  1.73493
  3  0.00404591
  4  38.1119
  5  1.5017e-05
  6  2.01909
  7  9.89326
  8  26.5613
  9  1.40607e-06
  10  5.71447e-06
  11  13.6832
  12  0.000266674
  13  3.71466e-06
  14  4.53648e-05
  15  15.0074
  16  23.4454
  17  5.43078
  18  0.000238994
  19  1.89092e-07
  20  5.95902e-09
  21  40.9459
  22  0.235936
  23  0.14052
Done.

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

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.607e+01  1.368e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  6.468e-01  1.405e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.653e+00  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.59
Ra Dec: 119.286 9.949
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.77e-05

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) = 6796.98963702
delta logL = 0.0149945183721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6796.98061267
delta logL = 0.0240188706684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.117       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2555       1.0000          .0000       10.000    
     3 'Normalizat'    1.6433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+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=   6796.981     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      233 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.116        16.333        .81567E-04    .50589E-03
   2  Index         2.2555        .50044        .54354E-02    .14113E-03
   3  Normalizat    1.6433        .22817        .26495E-03   -.16177E-03
   4  Prefactor     .65010        .13727        .24396E-03   -.20821E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.1164
  Index      = 2.25552
  Normalizat = 1.64327
  Prefactor  = 0.650098
 **********
 **   18 **HESSE 
 **********

 FCN=   6796.981     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.116        15.748        .16313E-04   -1.4725    
   2  Index         2.2555        .48205        .21741E-03   -.58104    
   3  Normalizat    1.6433        .22801        .52989E-04   -.73828    
   4  Prefactor     .65010        .13727        .97584E-05   -1.0552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45506e-10
Minuit parameter uncertainties:
  1  15.7509
  2  0.483125
  3  0.228155
  4  0.137346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21633': 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) = 6796.98061265
delta logL = 0.0240188880553

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.412e+01  1.575e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.256e+00  4.831e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  6.501e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.643e+00  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.63
Ra Dec: 119.286 9.949
Photon Index (Free Index): 2.26 +/- 0.48
Photon Flux (Free Index): 7.67e-08 +/- 5.45e-08
Energy Flux (Free Index): 3.12e-05 +/- 1.89e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/21633/cmap_HighResolution_313459201_313718401_4FGL_J0757.1+0956_daily_bin286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='3.12e-05', photon_flux_error='3.59e-08', dlogl='2.40e-02', energy_flux='3.38e-05', photon_flux2='7.67e-08', job_status='DONE', time_completed='2021-08-28 20:31:00.778214', photon_index_error2='0.48', photon_index2='2.26', ts='9.59', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='1.89e-05', EG='1.65', time_epoch_completed='1630207860.78', return_code='0', job_id='21633', GAL2='0.65', EG2='1.64', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='5.45e-08', ts2='9.63', photon_index='2.15' WHERE bin_id='286' AND source_name='4FGL J0757.1+0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:31:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 21633: <4FGL_J0757.1+0956_daily_bin286> in cluster <slac> Done

Job <4FGL_J0757.1+0956_daily_bin286> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 20:15:24 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:15:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 20:15:26 2021
Terminated at Sat Aug 28 20:31:01 2021
Results reported at Sat Aug 28 20:31:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0757.1+0956_daily_bin286 119.286 9.9491 313459201 313718401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0757.1+0956 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   704.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

