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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin334
RA = 117.701, Dec = 12.494
tmin = 325900801, tmax = 326160001
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='941429', job_status='RUN', time_executed='2021-08-28 16:04:08.450842', time_epoch_executed='1630191848.45' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941429/ft1_4FGL_J0750.8+1229_daily_bin334.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941429/ft1_4FGL_J0750.8+1229_daily_bin334.fits outfile=/scratch/kocevski/941429/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin334.fits ra=117.701 dec=12.494 rad=12.0 tmin=325900801.0 tmax=326160001.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 7.64
user 3.36
sys 4.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.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/941429/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin334.fits evtable="EVENTS" outfile="/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.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 4.57
user 0.34
sys 4.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits" evtable="EVENTS" scfile=/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits sctable="SC_DATA" outfile=/scratch/kocevski/941429/ltcube_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.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/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits
.....................!
real 17.06
user 12.11
sys 4.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits sctable="SC_DATA" expcube=/scratch/kocevski/941429/ltcube_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.fits outfile=/scratch/kocevski/941429/expmap_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.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/941429/ltcube_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.fits
.....................!
real 196.88
user 186.01
sys 10.28

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 168 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 J0750.8+1229 @ 117.701 12.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits scfile=/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits outfile=/scratch/kocevski/941429/cmap_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.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=117.701 yref=12.494 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 4.76
user 0.36
sys 4.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits scfile=/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits outfile=/scratch/kocevski/941429/cmap_HighResolution_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.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=117.701 yref=12.494 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 4.63
user 0.38
sys 4.09

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941429/Model_4FGL_J0750.8+1229_daily_bin334.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/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits.....................!
real 106.03
user 97.17
sys 6.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits', '/scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits', expMap='/scratch/kocevski/941429/expmap_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.fits', expCube='/scratch/kocevski/941429/ltcube_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941429/Model_4FGL_J0750.8+1229_daily_bin334.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0750.8+1229'

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/941429/ft1_filtered_4FGL_J0750.8+1229_daily_bin334.fits
Spacecraft file(s): /scratch/kocevski/941429/ft2_4FGL_J0750.8+1229_daily_bin334.fits
Exposure map: /scratch/kocevski/941429/expmap_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.fits
Exposure cube: /scratch/kocevski/941429/ltcube_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941429/Model_4FGL_J0750.8+1229_daily_bin334.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) = 7727.6286332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.612       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10347E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11202E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .83484       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.067       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.503       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1392       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.459       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    62.012       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.183       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.667       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.0477       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65168       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3388       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7727.567     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2397 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.612        15.249       -.25595E-06   -.49074E-04
   2  norm          .10000E-03    1.1370       -.27531E-07** at limit **
   3  norm          .10000E-03    .68271        .40045E-07** at limit **
   4  Prefactor     .10000E-03    25.322       -.12456E-04** at limit **
   5  Prefactor     .10000E-03    57.943       -.27038E-04** at limit **
   6  norm          .10000E-03    1.2720        .47452E-06** at limit **
   7  norm          .83488        1.6493       -.49446E-06   -.13602E-02
   8  Prefactor     14.081        11.375       -.36059E-06   -.53791E-03
   9  Prefactor     .10000E-03    21.550        .61766E-05** at limit **
  10  Prefactor     15.483        28.317       -.22490E-04   -.33270E-04
  11  Prefactor     3.1392        3.1737        .69363E-07   -.39699E-03
  12  norm          .10000E-03    11.498       -.11403E-06** at limit **
  13  Prefactor     21.458        13.937       -.14171E-06   -.37900E-04
  14  Prefactor     .10000E-03    54.818       -.37129E-05** at limit **
  15  norm          62.027        69.411        .17114E-04   -.42292E-05
  16  Prefactor     .10000E-03    47.329        .34862E-04** at limit **
  17  norm          14.180        16.691       -.14844E-05   -.21184E-03
  18  norm          .10000E-03    1.4680       -.40973E-08** at limit **
  19  Prefactor     16.673        27.809        .55971E-05   -.58658E-04
  20  Prefactor     9.0485        13.716       -.61493E-06   -.62556E-04
  21  Normalizat    .65173        .20970        .38554E-06   -.13197E-03
  22  Prefactor     1.3388        .13219        .33682E-06   -.11840E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6124
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.834882
  Prefactor  = 14.0808
  Prefactor  = 0.0001
  Prefactor  = 15.4829
  Prefactor  = 3.13919
  norm       = 0.0001
  Prefactor  = 21.4582
  Prefactor  = 0.0001
  norm       = 62.0274
  Prefactor  = 0.0001
  norm       = 14.1801
  norm       = 0.0001
  Prefactor  = 16.6726
  Prefactor  = 9.04849
  Normalizat = 0.651732
  Prefactor  = 1.33883
 **********
 **   18 **HESSE 
 **********

 FCN=   7727.567     FROM HESSE     STATUS=OK           348 CALLS     2745 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.612        15.264        .11279E-03   -1.4998    
   2  norm          .10000E-03    1.1876        .18281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.4840        .14027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    58.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2892        .16679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .83488        1.6181        .15174E-03   -1.5525    
   8  Prefactor     14.081        9.8821        .10679E-03   -1.4957    
   9  Prefactor     .10000E-03    21.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.483        28.275        .10172E-03   -1.4921    
  11  Prefactor     3.1392        3.1621        .14764E-03   -1.5354    
  12  norm          .10000E-03    11.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.458        13.928        .86464E-04   -1.4781    
  14  Prefactor     .10000E-03    54.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          62.027        69.327        .25478E-03   -1.4131    
  16  Prefactor     .10000E-03    47.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.180        16.693        .10635E-03   -1.4955    
  18  norm          .10000E-03    1.4702        .10401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.673        27.794        .98104E-04   -1.4891    
  20  Prefactor     9.0485        13.709        .13325E-03   -1.5106    
  21  Normalizat    .65173        .22703        .39061E-03   -1.0583    
  22  Prefactor     1.3388        .14434        .18659E-03   -.82160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17445e-09
Minuit parameter uncertainties:
  1  15.2684
  2  1.21386e-06
  3  6.87682e-06
  4  6.30815e-06
  5  0.000158158
  6  6.79842e-05
  7  1.61823
  8  9.8832
  9  6.00945e-06
  10  28.2999
  11  3.16227
  12  3.16887e-06
  13  13.9302
  14  8.51358e-06
  15  69.4179
  16  0.000242374
  17  16.6982
  18  2.09699e-06
  19  27.8151
  20  13.7141
  21  0.227353
  22  0.144387
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.139e+00  3.162e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.339e+00  1.444e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  6.517e-01  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.22e-05

TS (Fixed Index): 1.71
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941429/likelihoodResults_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.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) = 7727.29963017
delta logL = 0.267522481345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7727.29177124
delta logL = 0.27538141661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5449       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3783       1.0000          .0000       10.000    
     3 'Normalizat'    .59987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3606       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7727.292     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      245 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5474        21.585        .85721E-02    .18960E-02
   2  Index         3.3777        3.5699        .13067        .28594E-03
   3  Normalizat    .60032        .63182E-01    .91594E-01    .14110E-03
   4  Prefactor     1.3605        .38321E-01    .31629E-01   -.47245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.5474
  Index      = 3.37771
  Normalizat = 0.600321
  Prefactor  = 1.36046
 **********
 **   18 **HESSE 
 **********

 FCN=   7727.292     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5474        10.682        .80129E-04   -1.5459    
   2  Index         3.3777        3.2929        .73549E-02   -.33044    
   3  Normalizat    .60032        .25711        .40585E-03   -1.0797    
   4  Prefactor     1.3605        .15778        .18532E-03   -.81527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37552e-09
Minuit parameter uncertainties:
  1  8.13303
  2  3.6425
  3  0.25762
  4  0.15784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941429': 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) = 7727.29176644
delta logL = 0.275386213722

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.547e+00  8.133e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.378e+00  3.642e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.360e+00  1.578e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  6.003e-01  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 117.701 12.494
Photon Index (Free Index): 3.38 +/- 3.64
Photon Flux (Free Index): 8.24e-08 +/- 1.03e-07
Energy Flux (Free Index): 1.42e-05 +/- 1.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/941429/cmap_HighResolution_325900801_326160001_4FGL_J0750.8+1229_daily_bin334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='1.42e-05', photon_flux_error='4.26e-08', dlogl='2.75e-01', energy_flux='1.21e-05', photon_flux2='8.24e-08', job_status='DONE', time_completed='2021-08-28 16:17:27.280445', photon_index_error2='3.64', photon_index2='3.38', ts='1.71', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.14e-05', EG='0.65', time_epoch_completed='1630192647.28', return_code='0', job_id='941429', GAL2='1.36', EG2='0.60', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='1.03e-07', ts2='2.40', photon_index='2.52' WHERE bin_id='334' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:17:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 941429: <4FGL_J0750.8+1229_daily_bin334> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin334> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 16:00:53 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:00:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 16:00:54 2021
Terminated at Sat Aug 28 16:17:28 2021
Results reported at Sat Aug 28 16:17:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin334 117.701 12.494 325900801 326160001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0750.8+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   855.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

