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


Performing analysis on: 4FGL_J0757.1+0956_daily_bin288
RA = 119.286, Dec = 9.9491
tmin = 313977601, tmax = 314236801
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='21636', job_status='RUN', time_executed='2021-08-28 20:18:10.674989', time_epoch_executed='1630207090.68' WHERE source_name='4FGL J0757.1+0956' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21636

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21636/ft1_4FGL_J0757.1+0956_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21636/ft1_4FGL_J0757.1+0956_daily_bin288.fits outfile=/scratch/kocevski/21636/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin288.fits ra=119.286 dec=9.9491 rad=12.0 tmin=313977601.0 tmax=314236801.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 12.51
user 3.19
sys 9.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.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/21636/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin288.fits evtable="EVENTS" outfile="/scratch/kocevski/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.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 9.68
user 0.35
sys 9.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits" evtable="EVENTS" scfile=/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits sctable="SC_DATA" outfile=/scratch/kocevski/21636/ltcube_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.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/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits
.....................!
real 22.16
user 11.47
sys 10.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/21636/ltcube_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.fits outfile=/scratch/kocevski/21636/expmap_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.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/21636/ltcube_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.fits
.....................!
real 202.80
user 185.63
sys 16.63

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/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits scfile=/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits outfile=/scratch/kocevski/21636/cmap_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.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 9.34
user 0.36
sys 8.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits scfile=/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits outfile=/scratch/kocevski/21636/cmap_HighResolution_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.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 9.56
user 0.39
sys 8.92

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21636/Model_4FGL_J0757.1+0956_daily_bin288.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/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits.....................!
real 93.91
user 80.32
sys 13.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits', '/scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits', expMap='/scratch/kocevski/21636/expmap_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.fits', expCube='/scratch/kocevski/21636/ltcube_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21636/Model_4FGL_J0757.1+0956_daily_bin288.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/21636/ft1_filtered_4FGL_J0757.1+0956_daily_bin288.fits
Spacecraft file(s): /scratch/kocevski/21636/ft2_4FGL_J0757.1+0956_daily_bin288.fits
Exposure map: /scratch/kocevski/21636/expmap_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.fits
Exposure cube: /scratch/kocevski/21636/ltcube_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21636/Model_4FGL_J0757.1+0956_daily_bin288.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) = 6418.7411898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88865       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1780       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.357       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7244       1.0000         .10000E-03   10000.    
     6 'norm      '    4.9685       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9397       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28968E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.6426       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7025       1.0000         .10000E-03   10000.    
    12 'Prefactor '    108.08       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.250       1.0000         .10000E-03   10000.    
    15 'norm      '    11.765       1.0000         .10000E-03   10000.    
    16 'norm      '    8.8535       1.0000         .10000E-03   10000.    
    17 'norm      '    7.9717       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.926       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.539       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67278       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1691       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=   6418.716     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2191 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88377        1.7640        .41630E-06    .46475E-03
   2  norm          3.1778        1.4017        .18193E-08    .20154E-03
   3  Prefactor     .10000E-03    22.994       -.12402E-07** at limit **
   4  Prefactor     22.374        36.430       -.30560E-05    .11133E-04
   5  norm          3.7245        1.8960       -.22515E-06    .14721E-03
   6  norm          4.9690        2.2864        .90936E-07    .24928E-04
   7  Prefactor     5.9379        11.443        .21538E-05    .39809E-04
   8  Prefactor     .10000E-03    14.951        .24154E-07** at limit **
   9  Prefactor     .10000E-03    1.6938       -.78726E-06** at limit **
  10  norm          3.6325        16.844       -.16666E-06    .36151E-04
  11  Prefactor     2.7007        8.3292        .36194E-05   -.10559E-04
  12  Prefactor     108.01        107.57        .80380E-05    .16244E-04
  13  norm          .10000E-03    31.299       -.28257E-06** at limit **
  14  Prefactor     18.251        20.734       -.33318E-07    .81168E-05
  15  norm          11.767        14.250        .53026E-07    .22173E-05
  16  norm          8.8550        17.067       -.20621E-07    .58465E-05
  17  norm          7.9722        4.7249        .35083E-07    .70276E-05
  18  Prefactor     .10000E-03    22.311        .26257E-06** at limit **
  19  Prefactor     19.930        14.801       -.12573E-07    .28029E-04
  20  norm          .10000E-03    .33316       -.10680E-07** at limit **
  21  Prefactor     14.543        23.708       -.43663E-06    .67283E-05
  22  Normalizat    .67234        .20907       -.44850E-06    .18031E-03
  23  Prefactor     1.1692        .13817       -.79152E-07    .21447E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.883773
  norm       = 3.17782
  Prefactor  = 0.0001
  Prefactor  = 22.3743
  norm       = 3.72448
  norm       = 4.96904
  Prefactor  = 5.93789
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.63254
  Prefactor  = 2.70072
  Prefactor  = 108.013
  norm       = 0.0001
  Prefactor  = 18.2515
  norm       = 11.7673
  norm       = 8.85502
  norm       = 7.97223
  Prefactor  = 0.0001
  Prefactor  = 19.9299
  norm       = 0.0001
  Prefactor  = 14.5428
  Normalizat = 0.67234
  Prefactor  = 1.16924
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.716     FROM HESSE     STATUS=OK           380 CALLS     2571 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88377        1.5934        .14094E-02   -1.5520    
   2  norm          3.1778        1.3995        .60201E-04   -1.5351    
   3  Prefactor     .10000E-03    23.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.374        36.141        .84713E-04   -1.4762    
   5  norm          3.7245        1.9026        .66369E-04   -1.5322    
   6  norm          4.9690        2.2850        .77950E-04   -1.5262    
   7  Prefactor     5.9379        11.488        .82383E-03   -1.5221    
   8  Prefactor     .10000E-03    14.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.790        .19100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6325        16.723        .21167E-03   -1.5327    
  11  Prefactor     2.7007        8.3171        .12390E-02   -1.5379    
  12  Prefactor     108.01        107.45        .19343E-03   -1.3626    
  13  norm          .10000E-03    31.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.251        20.718        .93753E-04   -1.4853    
  15  norm          11.767        14.232        .11679E-03   -1.5022    
  16  norm          8.8550        17.043        .13471E-03   -1.5113    
  17  norm          7.9722        4.7197        .12843E-03   -1.5143    
  18  Prefactor     .10000E-03    22.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.930        14.830        .89727E-04   -1.4815    
  20  norm          .10000E-03    .34129        .90263E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.543        23.710        .10504E-03   -1.4945    
  22  Normalizat    .67234        .22693        .35117E-03   -1.0500    
  23  Prefactor     1.1692        .15336        .19109E-03   -.87283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68492e-10
Minuit parameter uncertainties:
  1  1.59343
  2  1.39953
  3  1.10387e-05
  4  36.176
  5  1.90267
  6  2.28499
  7  11.4919
  8  5.73367e-06
  9  0.000364219
  10  15.595
  11  8.32067
  12  107.646
  13  2.91494e-06
  14  20.7262
  15  14.2363
  16  17.0521
  17  4.7199
  18  4.49377e-06
  19  14.8331
  20  1.85545e-08
  21  23.7251
  22  0.227241
  23  0.153421
Done.

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

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.701e+00  8.321e+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

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.169e+00  1.534e-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:  6.723e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 119.286 9.949
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21636/likelihoodResults_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.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) = 6418.03498742
delta logL = 0.680557536669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6417.8851989
delta logL = 0.830346059039

Fit tolerance = 1e-08

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

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

 FCN=   6417.885     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8949        8.0331        .38198E-02   -.18940E-02
   2  Index         1.1184        .44628        .27985       -.65892E-04
   3  Normalizat    .67152        .18984        .79303E-01    .30584E-04
   4  Prefactor     1.1679        .13358        .35437E-01   -.18517E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.89489
  Index      = 1.11842
  Normalizat = 0.671516
  Prefactor  = 1.16794
 **********
 **   18 **HESSE 
 **********

 FCN=   6417.885     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8949        9.3507        .15279E-03   -1.5183    
   2  Index         1.1184        .58610        .10964E-01   -.88880    
   3  Normalizat    .67152        .20881        .35115E-03   -1.0503    
   4  Prefactor     1.1679        .14732        .19106E-03   -.87324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75947e-09
Minuit parameter uncertainties:
  1  9.35264
  2  0.589534
  3  0.209053
  4  0.147369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21636': 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) = 6417.8851989
delta logL = 0.830346060879

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  6.895e+00  9.353e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  1.118e+00  5.895e-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:  1.168e+00  1.474e-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:  6.715e-01  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.81
Ra Dec: 119.286 9.949
Photon Index (Free Index): 1.12 +/- 0.59
Photon Flux (Free Index): 6.34e-09 +/- 8.01e-09
Energy Flux (Free Index): 6.71e-05 +/- 1.08e-04

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/21636/cmap_HighResolution_313977601_314236801_4FGL_J0757.1+0956_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', comment='SUCCESS', energy_flux2='6.71e-05', dlogl='8.30e-01', photon_flux2='6.34e-09', job_status='DONE', time_completed='2021-08-28 20:31:21.193409', photon_index_error2='0.59', photon_index2='1.12', ts='0.14', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='7.54e-08', energy_flux_error2='1.08e-04', EG='0.67', time_epoch_completed='1630207881.19', return_code='0', job_id='21636', GAL2='1.17', EG2='0.67', return_code2='0', photon_flux_error2='8.01e-09', ts2='1.81', photon_index='2.15' WHERE bin_id='288' AND source_name='4FGL J0757.1+0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:31:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0133>
Subject: Job 21636: <4FGL_J0757.1+0956_daily_bin288> in cluster <slac> Done

Job <4FGL_J0757.1+0956_daily_bin288> 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) <bullet0133>, 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:23 2021
Results reported at Sat Aug 28 20:31:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0757.1+0956_daily_bin288 119.286 9.9491 313977601 314236801 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 :                                   928.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            959 sec.

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

