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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin172
RA = 338.799, Dec = -6.3955
tmin = 283910401, tmax = 284169601
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='372881', job_status='RUN', time_executed='2021-09-28 15:21:03.054902', time_epoch_executed='1632867663.05' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/372881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/372881/ft1_4FGL_J2235.1-0623_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/372881/ft1_4FGL_J2235.1-0623_daily_bin172.fits outfile=/scratch/kocevski/372881/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin172.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=283910401.0 tmax=284169601.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 3.57
user 3.35
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.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/372881/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin172.fits evtable="EVENTS" outfile="/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/372881/ltcube_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.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/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits
.....................!
real 15.05
user 14.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/372881/ltcube_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.fits outfile=/scratch/kocevski/372881/expmap_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.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/372881/ltcube_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.fits
.....................!
real 190.02
user 185.26
sys 4.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits scfile=/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits outfile=/scratch/kocevski/372881/cmap_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.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=338.799 yref=-6.3955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits scfile=/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits outfile=/scratch/kocevski/372881/cmap_HighResolution_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.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=338.799 yref=-6.3955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/372881/Model_4FGL_J2235.1-0623_daily_bin172.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits.....................!
real 53.77
user 52.49
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits', '/scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits', expMap='/scratch/kocevski/372881/expmap_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.fits', expCube='/scratch/kocevski/372881/ltcube_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/372881/Model_4FGL_J2235.1-0623_daily_bin172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/372881/ft1_filtered_4FGL_J2235.1-0623_daily_bin172.fits
Spacecraft file(s): /scratch/kocevski/372881/ft2_4FGL_J2235.1-0623_daily_bin172.fits
Exposure map: /scratch/kocevski/372881/expmap_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.fits
Exposure cube: /scratch/kocevski/372881/ltcube_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/372881/Model_4FGL_J2235.1-0623_daily_bin172.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) = 5411.24353812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2376       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19789E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.949       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4402       1.0000         .10000E-03   10000.    
     7 'Prefactor '    101.19       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3894       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.8811       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.9532       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6647       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3262       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5410.716     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2474 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2364        7.9393        .71554E-06   -.80637E-03
   2  Prefactor     .10002E-03    10.746       -.30739E-06** at limit **
   3  Prefactor     30.900        20.686       -.99382E-07    .15684E-04
   4  Prefactor     .10000E-03    14.599        .59197E-06** at limit **
   5  Prefactor     18.948        15.664       -.47117E-07   -.10321E-04
   6  Prefactor     9.4394        9.4095        .25734E-06   -.36399E-03
   7  Prefactor     101.18        114.66       -.36097E-05   -.45171E-04
   8  Prefactor     2.3896        3.7223       -.10121E-07   -.12382E-03
   9  Prefactor     .10000E-03    23.058        .57644E-05** at limit **
  10  norm          9.8808        5.4905        .94829E-07   -.25647E-04
  11  Prefactor     .10000E-03    78.086        .20479E-05** at limit **
  12  norm          1.9531        1.0698        .21835E-07    .34055E-04
  13  Prefactor     .10000E-03    8.7573       -.59530E-07** at limit **
  14  norm          .10000E-03    .43118       -.13386E-07** at limit **
  15  Prefactor     .10000E-03    20.499       -.38853E-05** at limit **
  16  Prefactor     .10000E-03    10.260        .15526E-07** at limit **
  17  Prefactor     5.6628        9.8535        .92098E-06   -.54024E-03
  18  norm          .10000E-03    3.7464        .12031E-06** at limit **
  19  Prefactor     .10000E-03    29.084       -.28927E-05** at limit **
  20  Prefactor     .10000E-03    12.362       -.36596E-06** at limit **
  21  Normalizat    1.3263        .22176       -.24096E-06    .79086E-04
  22  Prefactor     .77546        .14059        .39642E-06    .78074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.23639
  Prefactor  = 0.000100017
  Prefactor  = 30.8996
  Prefactor  = 0.0001
  Prefactor  = 18.9476
  Prefactor  = 9.43943
  Prefactor  = 101.181
  Prefactor  = 2.38955
  Prefactor  = 0.000100002
  norm       = 9.88076
  Prefactor  = 0.0001
  norm       = 1.95314
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.66283
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.32632
  Prefactor  = 0.775461
 **********
 **   18 **HESSE 
 **********

 FCN=   5410.716     FROM HESSE     STATUS=OK           344 CALLS     2818 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2364        9.3657        .74548E-03   -1.5170    
   2  Prefactor     .10002E-03    121.89        .45925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.900        20.470        .72082E-04   -1.4596    
   4  Prefactor     .10000E-03    14.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.948        15.685        .92010E-04   -1.4837    
   6  Prefactor     9.4394        9.6383        .65217E-03   -1.5093    
   7  Prefactor     101.18        115.41        .39968E-04   -1.3693    
   8  Prefactor     2.3896        3.6997        .16860E-03   -1.5399    
   9  Prefactor     .10000E-03    23.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.8808        5.4904        .11826E-03   -1.5079    
  11  Prefactor     .10000E-03    78.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9531        1.0697        .29691E-04   -1.5428    
  13  Prefactor     .10000E-03    8.7955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .44255        .94226E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6628        11.339        .84388E-03   -1.5232    
  18  norm          .10000E-03    3.7512        .13904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    29.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3263        .26060        .27191E-03   -.82784    
  22  Prefactor     .77546        .16330        .22027E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04203e-09
Minuit parameter uncertainties:
  1  9.36763
  2  0.00290576
  3  20.4749
  4  3.54634e-05
  5  15.6889
  6  9.63988
  7  115.666
  8  3.70003
  9  0.000481509
  10  5.49065
  11  0.000297891
  12  1.06973
  13  2.16862e-06
  14  1.1607e-07
  15  0.000302533
  16  1.83642e-06
  17  11.3434
  18  3.02327e-06
  19  0.0002697
  20  2.25845e-05
  21  0.260858
  22  0.163403
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  2.979e-04  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  7.755e-01  1.634e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.326e+00  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/372881/likelihoodResults_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.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): 102
logL (Free Index) = 5410.71562113
delta logL = -6.07736201346e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5410.71556042
delta logL = -5.9947524278e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10540E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1041       1.0000          .0000       10.000    
     3 'Normalizat'    1.3263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   5410.716     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9104.2        .18142E-02** at limit **
   2  Index         2.1229        5.8762        .50000       -.21982E-05
   3  Normalizat    1.3263        .10380        .27191E-03    .25080E-03
   4  Prefactor     .77546        .66597E-01    .22027E-03    .55640E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12285
  Normalizat = 1.32632
  Prefactor  = 0.775464
 **********
 **   18 **HESSE 
 **********

 FCN=   5410.716     FROM HESSE     STATUS=OK            29 CALLS      293 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    87.115        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1229        6.0418        .50000       -.61313    
   3  Normalizat    1.3263        .25131        .54382E-04   -.82784    
   4  Prefactor     .77546        .16128        .44054E-04   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02169e-10
Minuit parameter uncertainties:
  1  0.000380031
  2  4.42879
  3  0.251545
  4  0.161379
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/372881': 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) = 5410.71556037
delta logL = -1.4214492694e-08

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  3.800e-04  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.123e+00  4.429e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  7.755e-01  1.614e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.326e+00  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.799 -6.396

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/372881/cmap_HighResolution_283910401_284169601_4FGL_J2235.1-0623_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2021-09-28 15:30:41.141973', job_id='372881', GAL2='0.78', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1632868241.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='-1.42e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='172' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:30:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 372881: <4FGL_J2235.1-0623_daily_bin172> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin172> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 15:20:48 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:20:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 15:20:49 2021
Terminated at Tue Sep 28 15:30:41 2021
Results reported at Tue Sep 28 15:30:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin172 338.799 -6.3955 283910401 284169601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.1-0623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             343.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            593 sec.

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

