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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin410
RA = 117.701, Dec = 12.494
tmin = 345600001, tmax = 345859201
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='942566', job_status='RUN', time_executed='2021-08-28 16:09:49.818399', time_epoch_executed='1630192189.82' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942566/ft1_4FGL_J0750.8+1229_daily_bin410.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942566/ft1_4FGL_J0750.8+1229_daily_bin410.fits outfile=/scratch/kocevski/942566/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin410.fits ra=117.701 dec=12.494 rad=12.0 tmin=345600001.0 tmax=345859201.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.61
user 3.08
sys 4.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942566/ft1_filtered_4FGL_J0750.8+1229_daily_bin410.fits" evtable="EVENTS" scfile=/scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits sctable="SC_DATA" outfile=/scratch/kocevski/942566/ltcube_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.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/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits
.....................!
real 16.27
user 11.10
sys 5.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942566/ft1_filtered_4FGL_J0750.8+1229_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits sctable="SC_DATA" expcube=/scratch/kocevski/942566/ltcube_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.fits outfile=/scratch/kocevski/942566/expmap_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.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/942566/ltcube_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.fits
.....................!
real 197.21
user 185.42
sys 11.23

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/942566/ft1_filtered_4FGL_J0750.8+1229_daily_bin410.fits scfile=/scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits outfile=/scratch/kocevski/942566/cmap_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.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.72
user 0.37
sys 4.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942566/ft1_filtered_4FGL_J0750.8+1229_daily_bin410.fits scfile=/scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits outfile=/scratch/kocevski/942566/cmap_HighResolution_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.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.70
user 0.38
sys 4.30

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/942566/ft1_filtered_4FGL_J0750.8+1229_daily_bin410.fits', '/scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits', expMap='/scratch/kocevski/942566/expmap_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.fits', expCube='/scratch/kocevski/942566/ltcube_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/942566/Model_4FGL_J0750.8+1229_daily_bin410.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/942566/ft1_filtered_4FGL_J0750.8+1229_daily_bin410.fits
Spacecraft file(s): /scratch/kocevski/942566/ft2_4FGL_J0750.8+1229_daily_bin410.fits
Exposure map: /scratch/kocevski/942566/expmap_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.fits
Exposure cube: /scratch/kocevski/942566/ltcube_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/942566/Model_4FGL_J0750.8+1229_daily_bin410.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) = 7011.27433831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.784       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3011       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3723       1.0000         .10000E-03   10000.    
     7 'norm      '    6.6409       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4558       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.856       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7109       1.0000         .10000E-03   10000.    
    12 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    58.874       1.0000         .10000E-03   10000.    
    18 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    88.256       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.954       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99513       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82052       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=   7011.119     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2404 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.783        14.743       -.52212E-07   -.92488E-06
   2  norm          2.3010        2.2338        .15011E-06    .25764E-03
   3  norm          .10000E-03    .37313       -.15083E-07** at limit **
   4  Prefactor     .10000E-03    102.03        .39708E-05** at limit **
   5  Prefactor     .10000E-03    67.320       -.52661E-05** at limit **
   6  norm          3.3724        2.9460       -.14304E-05   -.52467E-05
   7  norm          6.6409        2.4324        .65969E-07    .31471E-03
   8  Prefactor     4.4506        17.225        .89701E-05    .24836E-04
   9  Prefactor     17.856        15.155       -.46883E-07   -.22917E-05
  10  Prefactor     31.177        39.170       -.11416E-05   -.59096E-05
  11  Prefactor     9.7137        4.6072       -.41424E-07    .19493E-04
  12  norm          .10000E-03    19.247       -.54414E-07** at limit **
  13  Prefactor     .10000E-03    15.016       -.54020E-07** at limit **
  14  Prefactor     .10000E-03    56.193        .14065E-05** at limit **
  15  norm          .10000E-03    55.728        .18628E-05** at limit **
  16  Prefactor     .10000E-03    15.148       -.17113E-07** at limit **
  17  norm          58.873        28.697        .54364E-07    .99014E-05
  18  norm          .10000E-03    2.5649       -.13573E-07** at limit **
  19  Prefactor     88.253        50.394        .36712E-06    .42464E-05
  20  Prefactor     14.955        15.579        .23775E-07    .52267E-06
  21  Normalizat    .99510        .19770       -.85379E-06    .13095E-03
  22  Prefactor     .82058        .11487        .25050E-06    .11847E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.7827
  norm       = 2.30103
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.37236
  norm       = 6.64092
  Prefactor  = 4.45063
  Prefactor  = 17.8557
  Prefactor  = 31.1769
  Prefactor  = 9.7137
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 58.8726
  norm       = 0.0001
  Prefactor  = 88.2529
  Prefactor  = 14.9547
  Normalizat = 0.995104
  Prefactor  = 0.820578
 **********
 **   18 **HESSE 
 **********

 FCN=   7011.119     FROM HESSE     STATUS=OK           346 CALLS     2750 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.783        14.755        .94973E-04   -1.4864    
   2  norm          2.3010        2.2411        .11547E-03   -1.5405    
   3  norm          .10000E-03    .52632        .99182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    102.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    67.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3724        2.9819        .77589E-04   -1.5341    
   7  norm          6.6409        2.4328        .75843E-04   -1.5193    
   8  Prefactor     4.4506        17.463        .95379E-03   -1.5286    
   9  Prefactor     17.856        15.160        .94783E-04   -1.4863    
  10  Prefactor     31.177        39.273        .71755E-04   -1.4591    
  11  Prefactor     9.7137        4.6470        .11392E-03   -1.5085    
  12  norm          .10000E-03    19.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    56.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    55.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          58.873        28.709        .52288E-04   -1.4172    
  18  norm          .10000E-03    2.5770        .13092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     88.253        50.621        .42768E-04   -1.3826    
  20  Prefactor     14.955        15.624        .10357E-03   -1.4934    
  21  Normalizat    .99510        .22816        .30342E-03   -.93195    
  22  Prefactor     .82058        .13234        .20396E-03   -.98974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44552e-11
Minuit parameter uncertainties:
  1  14.7577
  2  2.24119
  3  1.99533e-06
  4  0.000395314
  5  0.000749355
  6  2.98202
  7  2.43287
  8  17.4832
  9  15.1632
  10  39.3054
  11  4.64718
  12  8.63393e-07
  13  6.04211e-06
  14  4.67431e-05
  15  7.1746e-05
  16  4.00066e-06
  17  28.716
  18  4.4066e-07
  19  50.6459
  20  15.6282
  21  0.228381
  22  0.132392
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  9.714e+00  4.647e+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:  8.206e-01  1.324e-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:  9.951e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.74
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 1.31e-07 +/- 6.27e-08
Energy Flux (Fixed Index): 3.74e-05 +/- 1.79e-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) = 7009.05633455
delta logL = 2.06278684062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7009.0453286
delta logL = 2.07379278679

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3105       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7480       1.0000          .0000       10.000    
     3 'Normalizat'    .87639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87186       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=   7009.045     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      253 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3095        10.049        .67480E-02    .40873E-03
   2  Index         3.7483        2.2143        .77411E-01    .18142E-03
   3  Normalizat    .87639        .80277E-01    .72440E-01    .21976E-04
   4  Prefactor     .87187        .48428E-01    .44645E-01    .48895E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.30948
  Index      = 3.74833
  Normalizat = 0.876388
  Prefactor  = 0.871871
 **********
 **   18 **HESSE 
 **********

 FCN=   7009.045     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3095        16.002        .43282E-04   -1.5404    
   2  Index         3.7483        2.8918        .32368E-02   -.25302    
   3  Normalizat    .87639        .22436        .32055E-03   -.97295    
   4  Prefactor     .87187        .13853        .19866E-03   -.97131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21226e-07
Minuit parameter uncertainties:
  1  12.1627
  2  3.09926
  3  0.224597
  4  0.138581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942566': 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) = 7009.04532853
delta logL = 2.07379285986

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.309e+00  1.216e+01  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.748e+00  3.099e+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:  8.719e-01  1.386e-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:  8.764e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.85
Ra Dec: 117.701 12.494
Photon Index (Free Index): 3.75 +/- 3.10
Photon Flux (Free Index): 2.33e-07 +/- 9.65e-08
Energy Flux (Free Index): 3.66e-05 +/- 2.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/942566/cmap_HighResolution_345600001_345859201_4FGL_J0750.8+1229_daily_bin410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.31e-07', energy_flux2='3.66e-05', photon_flux_error='6.27e-08', dlogl='2.07e+00', energy_flux='3.74e-05', photon_flux2='2.33e-07', job_status='DONE', time_completed='2021-08-28 16:21:29.918276', photon_index_error2='3.10', photon_index2='3.75', ts='6.74', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.21e-05', EG='1.00', time_epoch_completed='1630192889.92', return_code='0', job_id='942566', GAL2='0.87', EG2='0.88', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='9.65e-08', ts2='11.85', photon_index='2.52' WHERE bin_id='410' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 942566: <4FGL_J0750.8+1229_daily_bin410> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin410> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 16:05:22 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:05:23 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:05:23 2021
Terminated at Sat Aug 28 16:21:31 2021
Results reported at Sat Aug 28 16:21:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin410 117.701 12.494 345600001 345859201 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 :                                   764.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            969 sec.

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

